{ "opencollection": "1.0.0", "info": { "name": "Braintrust REST ACL Prompts API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Prompts", "type": "folder" }, "items": [ { "info": { "name": "List prompts", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/prompt", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Limit the number of objects to return." }, { "name": "project_id", "value": "", "type": "query" }, { "name": "prompt_name", "value": "", "type": "query" }, { "name": "slug", "value": "", "type": "query" } ] }, "docs": "List prompts" }, { "info": { "name": "Create prompt", "type": "http" }, "http": { "method": "POST", "url": "https://api.braintrust.dev/v1/prompt", "body": { "type": "json", "data": "{}" } }, "docs": "Create prompt" }, { "info": { "name": "Create or replace prompt", "type": "http" }, "http": { "method": "PUT", "url": "https://api.braintrust.dev/v1/prompt", "body": { "type": "json", "data": "{}" } }, "docs": "Create or replace a prompt. If a prompt with the same slug already exists in the project, it will be replaced." }, { "info": { "name": "Get prompt", "type": "http" }, "http": { "method": "GET", "url": "https://api.braintrust.dev/v1/prompt/:prompt_id", "params": [ { "name": "prompt_id", "value": "", "type": "path" } ] }, "docs": "Get prompt" }, { "info": { "name": "Partially update prompt", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.braintrust.dev/v1/prompt/:prompt_id", "params": [ { "name": "prompt_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Partially update prompt" }, { "info": { "name": "Delete prompt", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.braintrust.dev/v1/prompt/:prompt_id", "params": [ { "name": "prompt_id", "value": "", "type": "path" } ] }, "docs": "Delete prompt" } ] } ], "bundled": true }