Create Project API Key

Mints a new project-scoped API key. The raw value is returned exactly once in this response and can never be retrieved again — store it securely. This is the key your application uses to send traces and run evaluations against the project.

Path parameters

projectIdstringRequired
The unique identifier of the project.

Headers

CONFIDENT_API_KEYstringRequired
The organization API key for your Confident AI organization.

Request

This endpoint expects an object.
namestringRequired

Human-readable label for the API key

Response

successboolean
Indicates if the request was successful
dataobject