> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ApiToken

> ApiToken type. Reference for the ApiToken type in the Codex API: every field, its type, and the operations that return it.

## GraphQL

```
type ApiToken {
  id: String!
  token: String!
  expiresTimeString: String!
  requestLimit: String!
  remaining: String
}
```

### Used By

**Returned by**

* [apiToken](https://docs.codex.io/api-reference/queries/apitoken.md): Get the active short-lived api token for this api key by the short-lived token
* [apiTokens](https://docs.codex.io/api-reference/queries/apitokens.md): Get all active short-lived api tokens for this api key
* [createApiTokens](https://docs.codex.io/api-reference/mutations/createapitokens.md): Create a new set of short-lived api access tokens


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.