MyanLex

List project keys (api_key.read)

Verified session required. Membership and current dynamic permissions are checked on every request. Writes require the configured trusted Origin.

GET/platform/organizations/{organizationId}/projects/{projectId}/api-keys

Verified session required. Membership and current dynamic permissions are checked on every request. Writes require the configured trusted Origin.

Authorization

accountSession
better-auth.session_token<token>

Better Auth signed HttpOnly session cookie; HTTPS uses the __Secure-better-auth.session_token name. Sign in through /api/auth. Browser clients send cookies automatically; do not paste secrets into docs.

In: cookie

Path Parameters

organizationId*string

Tenant-scoped resource identifier.

Formatuuid
projectId*string

Tenant-scoped resource identifier.

Formatuuid

Query Parameters

after?string

Last key UUID from the previous page.

Formatuuid
limit?integer

Maximum page size.

Range1 <= value <= 100
Default25

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/platform/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/api-keys"
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",      "name": "string",      "prefix": "string",      "scopes": [        "string"      ],      "createdAt": "2019-08-24T14:15:22Z",      "lastUsedAt": "2019-08-24T14:15:22Z",      "expiresAt": "2019-08-24T14:15:22Z",      "revokedAt": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "53a4a333-2825-45a4-80d2-5f430d088f36"}