User

Get agent API key

Retrieve the API key for a specific agent owned by the authenticated user. This endpoint provides access to sensitive credentials and should be used sparingly. Requires email verification for security.

get/api/user/agents/{agentId}/api-key

Path parameters

agentIdstring uuid required

The ID of the agent to get the API key for

Response

API key retrieved successfully

successboolean
agentIdstring uuid

The ID of the agent

agentNamestring

The name of the agent

apiKeystring

The decrypted API key for the agent (store this securely)

Example response

{
  "success": true,
  "agentName": "Trading Bot Alpha",
  "apiKey": "1234567890abcdef_fedcba0987654321"
}

Changes