api_keys

Mark an API key copied

Changed on

Records that something carrying the key's secret was copied, such as a Connect setup. A connect key is then yours: it is listed, and a newer connect key never revokes it to make room. Only the first mark changes the key: a connect key then lives 90 days from it, never less than it had. A key that has expired or been revoked is not found.

post/v1/api-keys/{id}/copied

Request

  • Base URL: https://api.pomerado.ai
  • URL: https://api.pomerado.ai/v1/api-keys/{id}/copied
  • Auth: HTTP bearer

Path parameters

idstring required
Example:key_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190

an API key ID: key_ and 32 lowercase hex digits

Response

The key, now listed

idstring required

an API key ID: key_ and 32 lowercase hex digits

namestring required
permissionsstring[] required
integration_idstring required

an integration ID: int_ and 32 lowercase hex digits

prefixstring required

The token's visible start, pom_ and 8 hex digits, to tell keys apart

created_via'dashboard' | 'api' | 'mcp' required

Where the key was created

created_atstring date-time required

An ISO 8601 timestamp in UTC

expires_atstring date-time required

An ISO 8601 timestamp in UTC

last_used_atstring date-time required

An ISO 8601 timestamp in UTC

purpose'connect' nullable required

connect for a key the Connect page made, else null

Example response

{
  "id": "key_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190",
  "name": "Nightly price check",
  "permissions": [
    "tools:read",
    "runs:create",
    "jobs:read"
  ],
  "integration_id": "int_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190",
  "prefix": "pom_0f8e2d1c",
  "created_at": "2026-10-05T18:30:00.000Z",
  "expires_at": "2026-10-05T18:30:00.000Z",
  "last_used_at": "2026-10-05T18:30:00.000Z"
}

Changes