{ "opencollection": "1.0.0", "info": { "name": "Braintrust Acls AiSecrets API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "AiSecrets", "type": "folder" }, "items": [ { "info": { "name": "List ai_secrets", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/ai_secret", "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": "ai_secret_name", "value": "", "type": "query", "description": "Name of the ai_secret to search for" }, { "name": "org_name", "value": "", "type": "query", "description": "Filter search results to within a particular organization" }, { "name": "ai_secret_type", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List out all ai_secrets. The ai_secrets are sorted by creation date, with the most recently-created ai_secrets coming first" }, { "info": { "name": "Create ai_secret", "type": "http" }, "http": { "method": "POST", "url": "https://api.braintrust.dev/v1/ai_secret", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new ai_secret. If there is an existing ai_secret with the same name as the one specified in the request, will return the existing ai_secret unmodified" }, { "info": { "name": "Create or replace ai_secret", "type": "http" }, "http": { "method": "PUT", "url": "https://api.braintrust.dev/v1/ai_secret", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create or replace ai_secret. If there is an existing ai_secret with the same name as the one specified in the request, will replace the existing ai_secret with the provided fields" }, { "info": { "name": "Delete single ai_secret", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.braintrust.dev/v1/ai_secret", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a single ai_secret" }, { "info": { "name": "Get ai_secret", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/ai_secret/:ai_secret_id", "params": [ { "name": "ai_secret_id", "value": "", "type": "path", "description": "AiSecret id" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get an ai_secret object by its id" }, { "info": { "name": "Partially update ai_secret", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.braintrust.dev/v1/ai_secret/:ai_secret_id", "params": [ { "name": "ai_secret_id", "value": "", "type": "path", "description": "AiSecret id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Partially update an ai_secret object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null." }, { "info": { "name": "Delete ai_secret", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.braintrust.dev/v1/ai_secret/:ai_secret_id", "params": [ { "name": "ai_secret_id", "value": "", "type": "path", "description": "AiSecret id" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete an ai_secret object by its id" } ] } ], "bundled": true }