Skip to content

Route index

These are all the routes the API Worker answers, one line each, from the OpenAPI document this site builds. Any other path returns 404. Paths are relative to the API origin. A route a guide explains links to that section; the rest link to their operation in the OpenAPI explorer, which also says who may call each one.

199 routes, 112 of them explained in a guide.

Health

Conversations

Runs

Schedules

Workspace

Sandbox

Threads

Images

Voice

Approvals

Models

Agents

Skills

  • GET /v1/skillsThe live catalog: each published skill as conversation runs see it.Skills, Routes
  • GET /v1/skill-libraryEvery skill, archived ones included (with archived_at), with its live and newest version, how many drafts wait (drafts_waiting), the newest version's state (newest_status), when it was made and its quality score (newest_created_at, newest_quality_score, whatever its state), and the newest waiting draft (newest_draft).Skills, Routes
  • POST /v1/skill-librarySave {files, reason?, parent_version?} as a draft: a new skill, or with parent_version (the newest version) a new version of one.Skills, Routes
  • POST /v1/skill-library/importImport a public GitHub folder as a draft; see Import from GitHub.Skills, Routes
  • GET /v1/skill-library/{name}/upstreamFor an imported skill, whether its GitHub folder has a newer commit.Skills, Routes
  • GET /v1/skill-library/{name}A skill and all its versions.Skills, Routes
  • POST /v1/skill-library/{name}/archiveArchive the skill: conversation runs stop receiving it, everything is kept.Skills, Routes
  • POST /v1/skill-library/{name}/unarchiveRestore an archived skill as it was, live version included.Skills, Routes
  • GET /v1/skill-library/{name}/versions/{version}Read one versionExplorer, GET /v1/skill-library/{name}/versions/{version}
  • GET /v1/skill-library/{name}/versions/{version}/files/{path}One file of a version, as text.Skills, Routes
  • POST /v1/skill-library/{name}/versions/{version}/publishMake a draft live, or roll back to a superseded version.Skills, Routes
  • GET /v1/skill-library/{name}/versions/{version}/previewWhat the publish gate would decide: policy_passes, the reasons, and the checks (quality, evaluation) and policy it used.Skills, Routes
  • POST /v1/skill-library/{name}/versions/{version}/rejectClose a draft.Skills, Routes
  • GET /v1/skill-library/{name}/evalsThe skill's evaluations, newest first; optional version for one version's.Skills, Routes
  • POST /v1/skill-library/{name}/evalsEvaluate {version}.Skills, Routes
  • GET /v1/skill-library/{name}/feedbackThe skill's feedback, newest first.Skills, Routes
  • POST /v1/skill-library/{name}/feedbackFile {body, suggested_patch?, target_version?} as pending feedback (body at most 8,000 characters, suggested change 32,000).Skills, Routes
  • GET /v1/skill-library/-/feedbackEvery skill's feedback in one status (pending by default), oldest first, paged the same way.Skills, Routes
  • POST /v1/skill-library/-/feedback/{id}/acceptAccept pending feedback.Skills, Routes
  • POST /v1/skill-library/-/feedback/{id}/rejectReject pending feedback with {note} (required, at most 2,000 characters).Skills, Routes
  • GET /v1/skill-library/-/policyThe publish policy in force, the deployment's floor (settings), the library's own rules (library, or null), where the policy in force came from (source: settings, library or library+settings) and its revision.Skills, Routes
  • PATCH /v1/skill-library/-/policySet some of the library's rules: {expected_revision, min_quality?, require_eval?, min_eval_uplift?} (min_eval_uplift: null clears it).Skills, Routes
  • DELETE /v1/skill-library/-/policyDrop the library's rules, so the deployment's settings alone decide.Skills, Routes

Workflows

Evals

Documents

Files

  • GET /v1/filesTheir Files, newest first, 48 a page by default, or only upload, tool or generated ones with source: each image's reference, type, size, name, where it came from (upload, tool, generated) and the threads it was used in that they can still open.Management API, Files
  • DELETE /v1/files/{imageRef}Take an image out of their Files.Management API, Files
  • GET /v1/files/backfillCount stored images that still have no owner, 200 a page: { read, ungranted, cursor?Management API, Files
  • POST /v1/files/backfillAdd images stored before Files to their threads' owners' Files, one page of threads a call; call again with the returned cursor until none comes back.Management API, Files

Memories

Connections

GitHub

Notifications

Auth

People and audit

Operations

Telemetry

MCP

The bearer token is the deployment’s API token, sent as authorization: Bearer …. The thread routes are explained under threads.

model is true when the Worker has a token and a usable model configured; chat, deprecated, carries the same value for older clients. threads is present, and true, when it has a token and thread storage; it does not depend on the model. Health reports configuration only: it does not check the token you hold, call the model provider or probe storage.

A known path called with another method returns 405 as plain text, with an allow header naming the methods that path takes (GET, POST on /v1/threads, GET, PATCH, DELETE on a thread). Each route group (threads, images, approvals, MCP) answers 503 with its own *_not_configured code when the Worker lacks its storage or token. The thread routes check the token first, so an unauthenticated request to them gets 401 before 405.

The OpenAPI explorer has each route’s request and response shapes, and the document itself is at /openapi.json.

The /v1/ routes share a rate limit; see Rate limit.