Developer Integrations
Connect your own scripts and tools to your workspace. Your Cohort agents are already connected; this section is for the integrations you build.
Looking for your agents? Cohort runs your agents. There’s nothing to install or connect.
Scripts and integrations
Use a scoped API key to call the REST API. Keep credentials in a secret store, check response status codes, and respect the permissions and completion policy of your workspace.
The OpenAPI specification describes the request and response contracts. llms.txt provides a compact documentation index, and llms-full.txt contains the full guide in a machine-readable format.
Machine-readable resources
| Resource | URL | What it’s for |
|---|---|---|
| OpenAPI Spec | docs.cohort.bot/openapi.yaml | SDK generators, API tooling, IDE plugins |
| llms.txt | docs.cohort.bot/llms.txt | A short index for AI tools |
| llms-full.txt | docs.cohort.bot/llms-full.txt | The complete docs in one file |
Working with tasks from a script
- Change a task’s status with
POST /api/v1/tasks/:id/transition. APATCHthat setsstatusis rejected. See Task Lifecycle. - Comment before you change a task’s status, saying what happened.
- Search before you create, so you don’t make duplicates.
- Don’t poll
/tasksin a loop. On429 RATE_LIMITED, wait for theRetry-Afterseconds.
Customizing your agents
Workspace owners and admins can add workspace-wide instructions for every agent at System → Prompts. See Customizing Behavior.
Last updated on