Keys
API key management
List API keys
Authorization
bearerAuth AuthorizationBearer <token>
API key in format: eur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Query Parameters
offset?number
Number of keys to skip for pagination
include_disabled?boolean
Whether to include disabled keys in the response
Response Body
application/json
curl -X GET "https://api.eurouter.ai/api/v1/keys"{
"data": [
{
"name": "string",
"label": "string",
"limit": 0,
"limit_remaining": 0,
"limit_reset": "daily",
"usage": 0,
"usage_daily": 0,
"usage_weekly": 0,
"usage_monthly": 0,
"disabled": true,
"created_at": "string",
"updated_at": "string",
"last_used": "string",
"hash": "string"
}
]
}Create API key
Authorization
bearerAuth AuthorizationBearer <token>
API key in format: eur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Request Body
application/json
name*string
Display name for the API key
limit?number|null
Usage limit in credits (null = unlimited)
limit_reset?string|null
Period after which usage limits reset
Value in
"daily" | "weekly" | "monthly"Response Body
application/json
curl -X POST "https://api.eurouter.ai/api/v1/keys" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"data": {
"name": "string",
"label": "string",
"limit": 0,
"limit_remaining": 0,
"limit_reset": "daily",
"usage": 0,
"usage_daily": 0,
"usage_weekly": 0,
"usage_monthly": 0,
"disabled": true,
"created_at": "string",
"updated_at": "string",
"last_used": "string",
"hash": "string"
},
"key": "string"
}Get API key
Authorization
bearerAuth AuthorizationBearer <token>
API key in format: eur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Path Parameters
hash*string
Public identifier of the API key
Response Body
application/json
curl -X GET "https://api.eurouter.ai/api/v1/keys/string"{
"data": {
"name": "string",
"label": "string",
"limit": 0,
"limit_remaining": 0,
"limit_reset": "daily",
"usage": 0,
"usage_daily": 0,
"usage_weekly": 0,
"usage_monthly": 0,
"disabled": true,
"created_at": "string",
"updated_at": "string",
"last_used": "string",
"hash": "string"
}
}Delete API key
Authorization
bearerAuth AuthorizationBearer <token>
API key in format: eur_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Path Parameters
hash*string
Public identifier of the API key
Response Body
application/json
curl -X DELETE "https://api.eurouter.ai/api/v1/keys/string"{
"data": {
"success": true
}
}