Back

Otto API documentation

Use the versioned /api/v1 API to connect external agents, importers, automations, and partner systems to Otto. Agents can discover boards, create and search feature requests, comment, vote, and poll a durable event feed.

OpenAPI JSON Manage API keys
boards:read

List boards and read board metadata

requests:read

List requests, read request details, comments, history, and board events

requests:write

Create new feature requests

comments:write

Post agent-authored comments on requests

votes:write

Cast or retract votes on requests

builds:read

Read where an idea's build stands, a build's story, and follow it live

builds:write

Start builds and ask for changes, as the person who minted the key (they must still manage the board)

projects:write

Brainstorm, choose an approach, approve a design, plan a first version and put it on a board, as the key's owner

Quick start
KEY="otto_sk_…"
BOARD="<board uuid>"

curl -H "Authorization: Bearer $KEY"   http://localhost:3000/api/v1/boards

curl -H "Authorization: Bearer $KEY"   "http://localhost:3000/api/v1/boards/$BOARD/requests?status=pending&limit=20"

curl -H "Authorization: Bearer $KEY" -H "Content-Type: application/json"   -d '{"title":"Webhooks for status changes","description":"Push status_changed events to a URL.","value_score":8,"effort_score":4}'   http://localhost:3000/api/v1/boards/$BOARD/requests

curl -H "Authorization: Bearer $KEY"   "http://localhost:3000/api/v1/boards/$BOARD/events?since=2026-06-24T00:00:00Z"
Call sequence

External agents usually verify credentials once, discover accessible boards, read the current roadmap state, create or enrich requests when needed, and then poll the event feed for changes.

1
Verify key
GET /api/v1/me
2
Discover boards
GET /api/v1/boards
3
Inspect board
GET /api/v1/boards/{boardId}
4
Read backlog
GET /api/v1/boards/{boardId}/requests
5
Create request
POST /api/v1/boards/{boardId}/requests
6
Enrich request
POST /api/v1/requests/{requestId}/comments
7
Track changes
GET /api/v1/boards/{boardId}/events
Rendering diagram…

Identity

GET/api/v1/me

Verify the API key and inspect its name, scopes, board scope, and principal.

any valid key
Example response
{
  "api_key_id": "…",
  "name": "GitHub bot",
  "scopes": ["boards:read", "requests:read"],
  "board_id": null,
  "principal": "apikey:…"
}

Boards

GET/api/v1/boards

List boards visible to this key. Board-scoped keys return only their board.

boards:read
Example response
{
  "boards": [
    {
      "id": "…",
      "title": "Core Product",
      "description": "Public roadmap",
      "access_mode": "open",
      "created_at": "2026-06-24T00:00:00.000Z"
    }
  ]
}
GET/api/v1/boards/{boardId}

Read board metadata plus aggregate request/tag counts.

boards:read
Example response
{
  "board": { "id": "…", "title": "Core Product" },
  "counts": {
    "requests_total": 42,
    "requests_open": 27,
    "tags_total": 8
  }
}

Requests

GET/api/v1/boards/{boardId}/requests

List requests with search, filters, pagination, tags, and latest Otto insight.

requests:read
Query params: qstatustaglimitoffsetsinceorder
Example response
{
  "requests": [
    {
      "id": "…",
      "title": "Webhooks",
      "status": "pending",
      "votes_count": 12,
      "otto_severity": "suggest"
    }
  ],
  "pagination": { "limit": 50, "offset": 0, "total": 1 }
}
POST/api/v1/boards/{boardId}/requests

Create a feature request authored by the API key principal. Otto curation runs automatically.

requests:write
Request body
{
  "title": "Webhooks for status changes",
  "description": "Push status_changed events to a URL.",
  "value_score": 8,
  "effort_score": 4,
  "tag_ids": ["…"]
}
Example response
{
  "request": {
    "id": "…",
    "created_by": "apikey:…",
    "status": "pending"
  },
  "curation": { "duplicate": false }
}
GET/api/v1/requests/{requestId}

Read one request with tags, comments, status history, and latest Otto insight.

requests:read
Example response
{
  "request": { "id": "…", "title": "Webhooks" },
  "comments": [],
  "status_history": []
}

Comments

GET/api/v1/requests/{requestId}/comments

List comments on a request in chronological order.

requests:read
Example response
{
  "comments": [
    {
      "id": "…",
      "user_name": "GitHub bot",
      "content": "We found related demand in GitHub issues.",
      "is_agent": true
    }
  ]
}
POST/api/v1/requests/{requestId}/comments

Post a bot/agent comment. Comments created through v1 are marked is_agent=true.

comments:write
Request body
{
  "author_name": "GitHub bot",
  "content": "Linked issue: https://github.com/org/repo/issues/123"
}
Example response
{
  "comment": {
    "id": "…",
    "user_name": "GitHub bot",
    "is_agent": true
  }
}

Votes

POST/api/v1/requests/{requestId}/vote

Vote on behalf of this API key. Each key counts as one voter per request.

votes:write
Request body
{
  "mode": "upvote"
}
Example response
{
  "voted": true,
  "votes_count": 13
}

Projects

POST/api/v1/brainstorm

One turn of the Brainstorm consultation. The caller keeps the history.

projects:write
Request body
{
  "message": "A page where members log a squawk",
  "history": []
}
Example response
{
  "response": "**First version**\n- Log a squawk…"
}
POST/api/v1/brainstorm/options

Two or three approaches to what the conversation discussed. Writes nothing.

projects:write
Request body
{ "history": [ … ] }
Example response
{
  "projectTitle": "Squawk log",
  "recommended": "S-2",
  "options": [{ "key": "S-1", "title": "…", "summary": "…" }]
}
POST/api/v1/projects

Start a project by choosing an approach. It is the key owner's and has no board until its plan is applied.

projects:write
Request body
{ "solution": { "chosenKey": "S-2", "options": [ … ] } }
Example response
{ "projectId": "…", "title": "Squawk log" }
POST/api/v1/projects/{projectId}/design/draft

Otto drafts the high-level design. Saves nothing.

projects:write
Request body
{ "history": [ … ] }
Example response
{ "design": { … }, "readiness": { "ready": true, "blockers": [] } }
PUT/api/v1/projects/{projectId}/design

Save the design as a new version.

projects:write
Request body
{ "design": { … } }
Example response
{ "version": 1, "readiness": { … } }
POST/api/v1/projects/{projectId}/design/decision

Approve the design (the key owner's recorded decision; refused while it is not ready), or reopen it.

projects:write
Request body
{ "decision": "approve", "version": 1 }
Example response
{ "designDecision": { "decision": "approved", … } }
POST/api/v1/projects/{projectId}/plan

Break the approved design down into a first version and later ideas.

projects:write
Request body
{ "history": [ … ] }
Example response
{ "plan": { "requests": [{ "key": "R-1", "title": "…", "later": false }] } }
POST/api/v1/projects/{projectId}/apply

Put the plan on a board the key reaches and its owner manages. A key never creates a board.

projects:write
Request body
{ "board_id": "…", "plan": { … }, "requests": [ … ] }
Example response
{ "board": { … }, "project": { "id": "…" }, "seeded": [ … ] }
GET/api/v1/projects/{projectId}/review

The project's one review: what approving builds, the estimate, the acknowledgement, what blocks it, and the summaryHash to approve with.

builds:read
Example response
{ "small": { "small": true }, "summaryHash": "…", "suggestedCapMicroUsd": 4200000, "blockers": [] }
POST/api/v1/projects/{projectId}/review

Approve and build: the board owner's decision, with the hash of what they were shown.

builds:write
Request body
{ "capUsd": 5, "acknowledged": true, "summaryHash": "…" }
Example response
{ "launched": true, "runError": null }

Builds

GET/api/v1/requests/{requestId}/build

Where an idea's build stands: its PRD decision, its technical spec, and its newest build.

builds:read
Example response
{
  "idea": { "id": "…", "title": "Squawk log", "status": "approved" },
  "prd": { "version": 4, "decision": "approved", "ready": true },
  "build_spec": { "status": "ready", "prd_version": 4 },
  "build": { "id": "…", "status": "succeeded", "pr_url": "https://github.com/…/pull/12", "pr_state": "open", "preview_url": "https://…" }
}
POST/api/v1/requests/{requestId}/build

Start a build of a Planned or Building idea, as the key's owner. Every check a build has in the app runs. With continue_job_id, the build adds to that build's open pull request.

builds:write
Request body
{
  "continue_job_id": "…"
}
Example response
{
  "job_id": "…",
  "message": "Forge job dispatched."
}
POST/api/v1/requests/{requestId}/change-request

Ask for a change to the idea's open pull request. The words go into the PRD, which is approved again through the readiness checklist; wait for build_spec to be ready at prd_version, then start the build with continue_job_id.

builds:write
Request body
{
  "text": "Make grounding squawks red"
}
Example response
{
  "continue_job_id": "…",
  "prd_version": 5,
  "requirement_id": "FR-4",
  "criterion_id": "AC-6"
}
GET/api/v1/builds/{jobId}

One build and its story so far, in plain lines.

builds:read
Example response
{
  "build": { "id": "…", "status": "running" },
  "lines": [{ "text": "The tests pass", "tone": "good", "count": 1 }]
}
GET/api/v1/builds/{jobId}/stream

The build as server-sent events (job, events, done). Reconnect with Last-Event-ID to resume.

builds:read
Example response
event: events
data: [{"seq":7,"kind":"tests.pass","text":"The tests pass"}]

Events

GET/api/v1/boards/{boardId}/events

Polling-friendly event feed for requests, comments, votes, status changes, and Otto reviews.

requests:read
Query params: sinceuntillimittypes
Example response
{
  "events": [
    {
      "type": "status_changed",
      "created_at": "2026-06-24T00:00:00.000Z",
      "request_id": "…",
      "actor": "product_manager",
      "data": { "from_status": "pending", "to_status": "planned" }
    }
  ],
  "next_cursor": null,
  "has_more": false
}

Errors and rate limits

Errors are JSON and use standard HTTP status codes: 400, 401, 403, 404, 429, and 5xx. Rate-limited responses include Retry-After.

{
  "error": "forbidden",
  "message": "API key missing required scope(s): requests:write"
}