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.
This endpoint requires a Growth or Enterprise plan. Learn more. Returns
See ApiToken
Unique identifier for the token
JWT to be passed into the Authorization header for API requests
ISO time string for the expiry of the token
Number of root fields this api token is allowed to resolve before it’s rate limited
Approximate number of remaining resolutions before this token is rate limited
Arguments
input
CreateApiTokensInput!
required
See CreateApiTokensInput
Number of tokens to create, default is 1
Number of requests allowed per token, represented as a string, default is 5000
Number of milliseconds until the token expires, defaults to 1 hour (3600000)
Troubleshooting Tips
Are there limits on the number of tokens I can generate?
createApiTokens accepts up to 25 tokens per call. There is no per-account limit on how many short-lived tokens you can generate over time.