{ "opencollection": "1.0.0", "info": { "name": "Portkey AI Gateway Analytics Threads API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "x-portkey-api-key", "value": "{{x-portkey-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Threads", "type": "folder" }, "items": [ { "info": { "name": "Create a thread", "type": "http" }, "http": { "method": "POST", "url": "https://api.portkey.ai/v1/threads" }, "docs": "Create a thread" }, { "info": { "name": "List messages in a thread", "type": "http" }, "http": { "method": "GET", "url": "https://api.portkey.ai/v1/threads/:id/messages", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "List messages in a thread" }, { "info": { "name": "Add a message to a thread", "type": "http" }, "http": { "method": "POST", "url": "https://api.portkey.ai/v1/threads/:id/messages", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Add a message to a thread" }, { "info": { "name": "Run an assistant against a thread", "type": "http" }, "http": { "method": "POST", "url": "https://api.portkey.ai/v1/threads/:id/runs", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Run an assistant against a thread" } ] } ], "bundled": true }