Skip to main content
GET
/
auth
/
provider_keys
List Provider Keys
curl --request GET \
  --url https://api.example.com/auth/provider_keys

List Provider Keys

Retrieve all AI provider API keys stored in your account. Key values are not returned for security.

Endpoint

GET /auth/provider_keys

Authentication

Requires JWT token authentication.

Example Request

curl -X GET https://api.app.shinzo.ai/auth/provider_keys \
  -H "Authorization: Bearer <jwt_token>"

Response

{
  "keys": [
    {
      "uuid": "pk_abc123def456",
      "provider": "anthropic",
      "label": "Production Key",
      "status": "active",
      "created_at": "2025-01-15T10:00:00Z",
      "updated_at": "2025-01-15T10:00:00Z"
    },
    {
      "uuid": "pk_xyz789uvw012",
      "provider": "anthropic",
      "label": "Development Key",
      "status": "active",
      "created_at": "2025-01-10T08:00:00Z",
      "updated_at": "2025-01-18T14:30:00Z"
    }
  ]
}

Response Fields

FieldTypeDescription
uuidstringUnique identifier
providerstringProvider name
labelstringUser-provided label
statusstringKey status (active, inactive, revoked)
created_atstringCreation timestamp (ISO 8601)
updated_atstringLast update timestamp (ISO 8601)

Status Codes

CodeDescription
200Success
401Invalid or missing JWT token
API key values are never returned by this endpoint. Only metadata about the stored keys is provided.