Create a new API key. The full key value is only returned once in this response.
API key for authentication
Human-readable name for the API key
200"Production Service Key"
Detailed description of the API key purpose
2000"Primary key for production backend service authentication"
Type of API key.
SERVICE, USER "SERVICE"
Permission scopes to grant. Empty array (default) grants full access.
Permission scope. Format: resource:action, resource:*, or * for full access. Empty array [] grants full access.
*, runs:read, runs:write, runs:*, agents:read, agents:write, agents:*, conversations:read, conversations:submit, conversations:*, metrics:read, metrics:*, test-sets:read, test-sets:write, test-sets:*, test-cases:read, test-cases:write, test-cases:*, personas:read, personas:write, personas:delete, personas:*, simulations:read, simulations:write, simulations:*, traces:read, traces:*, dashboards:read, dashboards:write, dashboards:delete, dashboards:*, api-keys:read, api-keys:write, api-keys:delete, api-keys:*, scheduled-runs:read, scheduled-runs:write, scheduled-runs:delete, scheduled-runs:*, run-templates:read, run-templates:write, run-templates:delete, run-templates:* []API key created successfully
API key resource with full key value. Only returned during creation.