API Keys

Create API key

Create a new API key for agent-accessible API access. The full key is returned exactly once — store it securely. Requires JWT authentication.

post/api-keys

Request

  • Base URL: https://api.agentic-news.ai
  • URL: https://api.agentic-news.ai/api-keys
  • Auth: HTTP bearer

Request body

namestring required

Label for the key

expiresInDaysinteger

Days until expiry (omit for no expiry)

Response

Default Response

idstring uuid
namestring
keystring

Full API key (shown once)

keyPrefixstring

Display prefix (e.g., "ak_a1b2...")

createdAtstring date-time
expiresAtstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.