ApiKeyCreated
Response struct for API key creation (includes the full key ONCE)
Properties
| Property | Type | Required | Description |
|---|---|---|---|
api_key |
string | Yes | The full API key (seren_<key_id>_<secret>) - shown ONCE. |
created_at |
string | Yes | |
expires_at |
string,null | No | |
id |
string | Yes | |
key_id |
string | Yes | |
name |
string | Yes | |
organization_id |
string | Yes |
View JSON Schema
{
"type": "object",
"description": "Response struct for API key creation (includes the full key ONCE)",
"required": [
"id",
"key_id",
"name",
"api_key",
"organization_id",
"created_at"
],
"properties": {
"api_key": {
"type": "string",
"description": "The full API key (seren_<key_id>_<secret>) - shown ONCE."
},
"created_at": {
"type": "string",
"format": "date-time"
},
"expires_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"id": {
"type": "string",
"format": "uuid"
},
"key_id": {
"type": "string"
},
"name": {
"type": "string"
},
"organization_id": {
"type": "string",
"format": "uuid"
}
}
}