Skip to main content
GET
/
v1
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
api-keys
List API Keys
curl --request GET \
  --url https://api.example.com/v1/organizations/{organizationId}/projects/{projectId}/api-keys

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID

Query Parameters

status
string
Filter by status: active or revoked
page
number
Page number (default: 1)
limit
number
Items per page (default: 20)

Response

Returns a paginated list of API Key objects (without key values).
{
  "data": [
    {
      "id": "afd8012b-d81e-41c6-92cd-eed0c6cb3676",
      "name": "iOS Production App",
      "status": "active",
      "createdAt": "2024-03-20T10:00:00Z",
      "updatedAt": "2024-03-20T10:00:00Z",
      "lastUsed": "2024-03-21T15:30:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1,
    "pages": 1
  }
}

Code Examples

curl -X GET "https://api.metabind.ai/v1/organizations/org123/projects/proj456/api-keys?status=active" \
  -H "Authorization: Bearer YOUR_API_KEY"