{ "opencollection": "1.0.0", "info": { "name": "Braintrust Acls Organizations API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Organizations", "type": "folder" }, "items": [ { "info": { "name": "List organizations", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/organization", "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": "org_name", "value": "", "type": "query", "description": "Filter search results to within a particular organization" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List out all organizations. The organizations are sorted by creation date, with the most recently-created organizations coming first" }, { "info": { "name": "Get organization", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/organization/:organization_id", "params": [ { "name": "organization_id", "value": "", "type": "path", "description": "Organization id" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get an organization object by its id" }, { "info": { "name": "Partially update organization", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.braintrust.dev/v1/organization/:organization_id", "params": [ { "name": "organization_id", "value": "", "type": "path", "description": "Organization id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Partially update an organization 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": "Modify organization membership", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.braintrust.dev/v1/organization/members", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Modify organization membership.\n\nOrganization owners can use this endpoint to create service accounts, but service tokens for those accounts must be created in the Braintrust UI, at [**Settings > Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens)." } ] } ], "bundled": true }