{ "opencollection": "1.0.0", "info": { "name": "Braintrust REST ACL API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "ACL", "type": "folder" }, "items": [ { "info": { "name": "List roles", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/role", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Limit the number of objects to return." }, { "name": "org_name", "value": "", "type": "query" } ] }, "docs": "List roles" }, { "info": { "name": "Create role", "type": "http" }, "http": { "method": "POST", "url": "https://api.braintrust.dev/v1/role", "body": { "type": "json", "data": "{}" } }, "docs": "Create role" }, { "info": { "name": "List groups", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/group", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Limit the number of objects to return." }, { "name": "org_name", "value": "", "type": "query" } ] }, "docs": "List groups" }, { "info": { "name": "Create group", "type": "http" }, "http": { "method": "POST", "url": "https://api.braintrust.dev/v1/group", "body": { "type": "json", "data": "{}" } }, "docs": "Create group" }, { "info": { "name": "List acls", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/acl", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Limit the number of objects to return." }, { "name": "object_type", "value": "", "type": "query" }, { "name": "object_id", "value": "", "type": "query" } ] }, "docs": "List ACLs for a given object type and id." }, { "info": { "name": "Create acl", "type": "http" }, "http": { "method": "POST", "url": "https://api.braintrust.dev/v1/acl", "body": { "type": "json", "data": "{}" } }, "docs": "Create acl" }, { "info": { "name": "Delete single acl", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.braintrust.dev/v1/acl", "body": { "type": "json", "data": "{}" } }, "docs": "Delete single acl" }, { "info": { "name": "Batch update acls", "type": "http" }, "http": { "method": "POST", "url": "https://api.braintrust.dev/v1/acl/batch_update", "body": { "type": "json", "data": "{}" } }, "docs": "Batch update acls" } ] } ], "bundled": true }