# nodesDataType

Audience: Developer

Lookup nodes by a list of IDs.

Lookup nodes by a list of IDs.

**Served by:** [management](https://docs.pyck.cloud/api/services/management.md)

## Arguments

| Name | Type | Description |
| --- | --- | --- |
| `ids` | \[ID!\]! | The list of node IDs. |

## Returns

\[[NodeDataType](https://docs.pyck.cloud/api/interfaces/nodedatatype.md)\]!

## Example

Fetches several data types by their global IDs in one request. The result has one entry per ID, in the order of the IDs, and null for an ID that matches no object.

```graphql
query GetNodesDataType($ids: [ID!]!) {
  nodesDataType(ids: $ids) {
    id
    ... on DataType {
      tenantID
      name
      slug
      entity
      version
    }
  }
}
```

**Variables**

```json
{
  "ids": [
    "<data type ID>"
  ]
}
```
