---
id: target
title: Target
---

export const Tag = ({children, color}) => (
<span
style={{
      backgroundColor: color,
      borderRadius: '2px',
      color: '#fff',
      padding: '0.2rem',
    }}>
{children}
</span>
);

[Generated query](https://grandstack.io/docs/graphql-schema-generation-augmentation#generated-queries) for Target type nodes.

```graphql
Target(
  _id: ID = 0
  ttd_id: ID = 0
  uniprot_id: ID = 0
  name: String
  type: String
  geneName: String
  function: String
  sequence: String
  license: String
  source: String
  ec_number: String
  bio_class: String
  synonyms: String
  first: Int = 0
  offset: Int = 0
  orderBy: [_TargetOrdering] = []
  filter: _TargetFilter
): [Target]

```

### Arguments

#### `_id` ([`ID`](/docs/api/scalars/id))

#### `ttd_id` ([`ID`](/docs/api/scalars/id))

#### `uniprot_id` ([`ID`](/docs/api/scalars/id))

#### `name` ([`String`](/docs/api/scalars/string))

#### `type` ([`String`](/docs/api/scalars/string))

#### `geneName` ([`String`](/docs/api/scalars/string))

#### `function` ([`String`](/docs/api/scalars/string))

#### `sequence` ([`String`](/docs/api/scalars/string))

#### `license` ([`String`](/docs/api/scalars/string))

#### `source` ([`String`](/docs/api/scalars/string))

#### `ec_number` ([`String`](/docs/api/scalars/string))

#### `bio_class` ([`String`](/docs/api/scalars/string))

#### `synonyms` ([`String`](/docs/api/scalars/string))

#### `first` ([`Int`](/docs/api/scalars/int))

#### `offset` ([`Int`](/docs/api/scalars/int))

#### `orderBy` ([`[_TargetOrdering]`](/docs/api/enums/target-ordering))

#### `filter` ([`_TargetFilter`](/docs/api/inputs/target-filter))

### Type

#### [`Target`](/docs/api/objects/target)
