{ "opencollection": "1.0.0", "info": { "name": "LangWatch Agents Api Keys API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Api Keys", "type": "folder" }, "items": [ { "info": { "name": "List API keys", "type": "http" }, "http": { "method": "GET", "url": "https://app.langwatch.ai/api/api-keys", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List all API keys owned by the authenticated user in this organization. Requires organization:view permission." }, { "info": { "name": "Create an API key", "type": "http" }, "http": { "method": "POST", "url": "https://app.langwatch.ai/api/api-keys", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new API key. For service keys, pass keyType:\"service\". Optionally scope to specific projects via projectIds (ADMIN on each). Omit projectIds for full org access. The plaintext token is returned once — store it securely." }, { "info": { "name": "Revoke an API key", "type": "http" }, "http": { "method": "DELETE", "url": "https://app.langwatch.ai/api/api-keys/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "API key ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Revoke (soft-delete) an API key. Revoked keys can no longer authenticate. Requires organization:manage permission." } ] } ], "bundled": true }