Colter

Developer quickstart ยท private beta

Your first job, from your application.

Connect Colter the way you would connect Twilio or Resend. Choose a service, run a job within your budget, follow it through events, and review the result. Then hand it the work that outlives a request.

Connect Colter to your application.

Colter is a hosted service. Your application keeps its records, permissions, and business actions and sends Colter the work: a short call, a conversation turn, or a job that runs for hours. The private beta requires an approved account, permitted sources, a published service, a spending policy, and a reviewer for work that needs one.

Start a pilot if your account is not configured. If it is, use the scoped token and workspace slug supplied through your approved setup.

From an MCP client

Add a remote HTTP server at https://api.colter.ai/mcp in your client's MCP settings. Configure Authorization: Bearer YOUR_SCOPED_TOKEN and X-Colter-Workspace: YOUR_WORKSPACE through its protected connection settings.

List the available tools, discover your services, then use colter.purchase_job with a stable request key and maximum price. If your client only supports local stdio, ask the pilot team for the versioned Colter bridge and its installation instructions.

From an application

Follow the REST example below or use the versioned TypeScript/Python client supplied for your pilot. Public registry installation of this revision has not yet been verified. Keep credentials in your application's secret configuration, outside prompts and job input.

Connecting permits access to configured services; a purchase still requires spending authority. The customer reviewer accepts or rejects delivered work in Jobs.

For the account purchase flow, download the OpenAPI description or Postman collection. Import the collection, keep tokens in private environment settings, and send individual requests. Its default mode permits inspection; quote, purchase, acceptance, and customer review each require selecting the corresponding operation mode.

02

Use an approved account and scoped token.

The pilot team provisions your account, permitted sources, service, and spending policy. Your token needs services:read, quotes:read, quotes:write, and jobs:read for this flow. Use the workspace slug on every authenticated request.

export COLTER_TOKEN="your_scoped_token"
export COLTER_SPACE="your-workspace-slug"

curl https://api.colter.ai/api/v2/services \
  -H "Authorization: Bearer $COLTER_TOKEN" \
  -H "X-Colter-Workspace: $COLTER_SPACE"

Select the service key and version returned for your workspace. Public discovery at /api/catalog/v1/services requires no token.

03

Run a job within your budget.

Persist the request key before sending. The example limit is $2, not an advertised service price: one US dollar is 100,000,000 microcents. Replace the service key, version, and schema-valid input with the contract configured for your account.

curl -X POST https://api.colter.ai/api/v2/jobs/purchase \
  -H "Authorization: Bearer $COLTER_TOKEN" \
  -H "X-Colter-Workspace: $COLTER_SPACE" \
  -H "Content-Type: application/json" \
  -d '{
    "service_key": "support_case_investigation",
    "service_version": 1,
    "correlation_id": "your-application-case-42",
    "input_payload": {"question": "What is the appropriate next step for case 42?"},
    "idempotency_key": "support-case-42-investigation-1",
    "max_price_microcents": 200000000
  }'

A successful response includes a durable job when spending is authorized. Otherwise it returns a quote requiring approval. A price above your limit is rejected. If manual approval is needed, inspect the quote and explicitly accept it through POST /api/v2/quotes/:quote_key/accept.

Use context_refs for permitted source references when they are not already configured on the service. Keep the caller's work ID in correlation_id and save the returned job ID with it. Neither field grants authority. After interruption, resume observation with the saved ID or retry the identical purchase payload and key.

MCP exposes the same operation as colter.purchase_job at https://api.colter.ai/mcp.

04

Retrieve evidence and review the delivery.

curl https://api.colter.ai/api/v2/jobs/JOB_KEY/outcome \
  -H "Authorization: Bearer $COLTER_TOKEN" \
  -H "X-Colter-Workspace: $COLTER_SPACE"

The job record carries execution status, submission, buyer resolution, and charge state. Completed execution does not mean the recommendation is correct. Review the evidence in Jobs and accept or reject the delivery. Pilot investigations remain advisory and bill after acceptance.

05

Follow work that outlives the request.

A job that imports, enriches, or reports runs as a durable run. Your application reads its ordered events, appends input when the run asks for it, records approval decisions, and resumes or cancels. Disconnecting never cancels a run; the record is on Colter, not in your process or a browser session.

curl "https://api.colter.ai/api/v1/runs/RUN_KEY/events?after=CURSOR" \
  -H "Authorization: Bearer $COLTER_TOKEN" \
  -H "X-Colter-Workspace: $COLTER_SPACE"

curl -X POST https://api.colter.ai/api/v1/runs/RUN_KEY/input \
  -H "Authorization: Bearer $COLTER_TOKEN" \
  -H "X-Colter-Workspace: $COLTER_SPACE" \
  -H "Content-Type: application/json" \
  -d '{"input": {"answer": "Use the 2026 clause library"}}'

curl https://api.colter.ai/api/v1/runs/RUN_KEY/approvals \
  -H "Authorization: Bearer $COLTER_TOKEN" \
  -H "X-Colter-Workspace: $COLTER_SPACE"

A run pauses with a waiting state when it needs input or an approval. Record a decision at POST /api/v1/runs/RUN_KEY/approvals/APPROVAL_ID/decision; it binds to the exact proposal, so a stale proposal returns a conflict and the agent prepares a new one. Resume with POST /api/v1/runs/RUN_KEY/resume. Every event carries a sequence number, so your app applies them in order and fetches the run snapshot if a cursor expires. Embeddings use POST /api/v1/embeddings; the account usage summary is at GET /api/v1/usage/summary.

Colter persists a checkpoint and the step's intent before any external effect, and the result before advancing. A retry reuses the same operation ID, so a lost reply is reconciled rather than replayed. Colter does not promise exactly-once external delivery; your app records an effect receipt by operation ID for the tools it exposes.

Need help now? Skip the catalog.

Two help desk verbs open a fixed-price job directly. POST /api/v2/help-desk/verify checks work your agent produced: send the work_product, the evidence behind it, and optionally the original request and a rubric. POST /api/v2/help-desk/escalate hands a decision to a person: send the question, your context, a proposed_action, and a deadline_seconds. A manager approves or declines before the deadline and the answer is delivered as the job outcome. Declined is an answer, not a failure. A missed deadline is delivered as unresolved, never silently.

curl -X POST https://api.colter.ai/api/v2/help-desk/escalate \
  -H "Authorization: Bearer $COLTER_TOKEN" \
  -H "X-Colter-Workspace: $COLTER_SPACE" \
  -H "Content-Type: application/json" \
  -d '{
    "idempotency_key": "case-42-cancel-decision-1",
    "max_price_microcents": 100000000,
    "question": "Cancel this subscription? The customer is upset.",
    "context": {"account": "acct_42", "mrr": 120},
    "proposed_action": "Offer one free month before canceling.",
    "deadline_seconds": 3600
  }'

Both verbs take the same idempotency_key and max_price_microcents as a purchase and return the same job shape plus a ticket block. MCP exposes them as colter.verify and colter.escalate.

Retry the same purchase. Repeat only proven work.

Retry with the identical key and payload after a network failure. Changing the request with that key conflicts. HTTP and polling timeouts do not cancel the job. Use its explicit cancellation action when needed; inspect the resulting state before buying a replacement.

Once a sample has been accepted, save it in Automations. New schedules and authenticated events buy the same pinned service through the same spending policy. They start paused for review.

Agent friendly by default.

Every public page has a plain-text twin for agents at /llms.txt, the machine-readable manifest lives at /.well-known/colter, and the agent instructions give exact REST and MCP steps. A coding agent can set up your first job from a copyable prompt on the work check page. Point your harness at https://api.colter.ai/mcp and list tools; the same scopes and spending rules apply as over REST.

Steepworks applications bind an environment to a Colter installation; a thin Elixir client and the Steepcore workflow adapter are part of that setup. Ask the integration team for the current versions during your pilot.