Projects
| Method | Path | Description |
|---|---|---|
| GET | /api/projects | Every project across every workspace you belong to, each with its non-archived sessions. |
| POST | /api/projects | Import a repository. Body { name, repositoryUrl, orgId }. Returns 201 with { project }. |
| GET | /api/projects/{id} | One project. |
| PATCH | /api/projects/{id} | Rename. Body { name }. |
| DELETE | /api/projects/{id} | Delete the project and queue cleanup of the webhook, sandboxes and Sentry project. Admins only. Returns 204. |
| GET | /api/projects/{id}/deploy-messages | The project's deploy conversation from your most recent deploy onward. |
| GET | /api/projects/{id}/skills?provider=&sessionId= | Skills and slash commands available to the agent. |
orgId is required for an API key, because a key has no active workspace. The repository
URL must point at a repository with the Kosuke GitHub App installed, otherwise the call
fails with the install URL in the message.