Create key
Issue a key that connects a customer's AI app to your service, returned in full only once.
Authentication
x-api-keystring
Your API key, using a test key for the sandbox and a live key for production.
Path parameters
id
Unique identifier of the resource.
Headers
Idempotency-Key
Unique key used to safely retry the same state-changing request.
Request
This endpoint expects an object.
name
A name that helps the customer tell their keys apart.
expires_at
When the key stops working. Leave it out for a key that never expires.
Response
Key created successfully.
message
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error