Documentation Index
Fetch the complete documentation index at: https://docs.openinary.dev/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Auth: API Key or Session
Response
{
"success": true,
"keys": [
{
"id": "key_abc123",
"name": "production",
"start": "oink_xxx",
"prefix": "oink_",
"enabled": true,
"expiresAt": "2025-03-15T10:30:00.000Z",
"createdAt": "2024-03-15T10:30:00.000Z",
"updatedAt": "2024-03-15T10:30:00.000Z",
"remaining": null,
"rateLimitEnabled": false
}
]
}
Unique identifier. Used for update/delete.
Key prefix — safe to display, uniquely identifies the key without exposing the full value.
Key type prefix (e.g. oink_).
Whether the key is currently active.
ISO 8601 expiration timestamp.
ISO 8601 creation timestamp.
ISO 8601 last-modified timestamp.
Remaining request quota. null if unlimited.
Whether per-key rate limiting is configured.
Status codes: 200 success · 401 unauthorized · 500 error
Example
curl http://localhost:3000/api-keys/list \
-H "Authorization: Bearer <api_key>"
Create API Key
Generate a new key.
Update API Key
Rename or enable/disable a key.
Delete API Key
Revoke a key permanently.