{ "opencollection": "1.0.0", "info": { "name": "Braintrust Acls ApiKeys API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "ApiKeys", "type": "folder" }, "items": [ { "info": { "name": "List api_keys", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/api_key", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Limit the number of objects to return" }, { "name": "starting_after", "value": "", "type": "query", "description": "Pagination cursor id.\n\nFor example, if the final item in the last page you fetched had an id of `foo`, pass `starting_after=foo` to fetch the next page. Note: you may only pass one of `starting_after` and `ending_before`" }, { "name": "ending_before", "value": "", "type": "query", "description": "Pagination cursor id.\n\nFor example, if the initial item in the last page you fetched had an id of `foo`, pass `ending_before=foo` to fetch the previous page. Note: you may only pass one of `starting_after` and `ending_before`" }, { "name": "ids", "value": "", "type": "query", "description": "Filter search results to a particular set of object IDs. To specify a list of IDs, include the query param multiple times" }, { "name": "api_key_name", "value": "", "type": "query", "description": "Name of the api_key to search for" }, { "name": "org_name", "value": "", "type": "query", "description": "Filter search results to within a particular organization" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List out all API keys. They are sorted by creation date, with the most recently-created keys coming first.\n\nTo create new API keys, go to [**Settings > API keys**](https://www.braintrust.dev/app/~/configuration/org/api-keys) in the Braintrust UI." }, { "info": { "name": "Get api_key", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/api_key/:api_key_id", "params": [ { "name": "api_key_id", "value": "", "type": "path", "description": "ApiKey id" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get an api_key object by its id" }, { "info": { "name": "Delete api_key", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.braintrust.dev/v1/api_key/:api_key_id", "params": [ { "name": "api_key_id", "value": "", "type": "path", "description": "ApiKey id" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete an api_key object by its id" } ] } ], "bundled": true }