Endpoints

Endpoint reference grouped by API type. Each row lists the expected input and output at a practical contract level.

Application, SDK, CLI, and automation endpoints.

MethodPathDescriptionExpected InputExpected Output
GET/searchSearch visible workspace resources.Query: q, limit.Grouped search results.
GET/projectsList projects.Query: limit, offset.Project list.
POST/projectsCreate a project.Body: name, description.Created project.
GET/threadsList threads.Query: limit, offset, projectId.Thread list.
POST/threadsCreate a thread.Body: title, source, projectId, agentId, workflowId.Created thread.
GET/threads/:id/messagesList messages.Path: thread id.Ordered message list.
POST/threads/:id/messagesCreate a message.Body: role, content, contentBlocks, acts, metadata.Created message.
GET/threads/:id/runs/:runIdGet run state.Path: thread id, run id.Run detail with outcomes, steps, events, and deliverables.
GET/threads/:id/runs/:runId/eventsStream run events.Query: after. Header: Last-Event-Id optional.Server-sent event stream.
POST/documents/upload-urlCreate upload URL.Body: filename, mimeType, sizeBytes, threadId.Document id and upload URL.
POST/documents/:id/commitCommit uploaded document.Body: file metadata.Committed document.
GET/documents/:id/downloadCreate download URL.Path: document id.Download URL.
GET/agentsList agents.Query: visibility, status.Agent list.
POST/agents/:id/runStart agent run.Body: input, threadId.Created agent run.
GET/workflowsList workflows.Query: visibility, status.Workflow list.
POST/workflows/:id/runStart workflow run.Body: input, threadId.Created workflow run.
GET/pending-actionsList approvals.Query: limit, offset.Pending action list.
POST/pending-actions/:id/approveApprove pending action.Body: optional comment.Updated pending action.
POST/pending-actions/:id/rejectReject pending action.Body: optional reason.Updated pending action.