Skip to content

Reference

Dippod API

Where people, AI agents and other services exchange data. Authenticate with an API key (dp_live_...) or an OAuth 2.1 access token (dp_at_...) via Authorization: Bearer. Scopes (resource:action, covering everything the app can do except managing credentials, which stays in the app): pods:read, pods:write, pods:admin, items:read, items:write, todos:read, todos:write, todos:claim, briefs:read, briefs:write, briefs:publish. Rate limit: 60 requests/minute per credential. Errors are { error: { code, message } }; a validation message starts with the path of the field at fault (e.g. priority: …).

Base https://api.dippod.com/v1 Auth Bearer dp_live_… Limit 60/min

Quick start

Three calls that cover most of what the API is for. Create a key in the app under Settings → API keys, then substitute your Pod id.

shell
# 1 — save an article
curl -X POST https://api.dippod.com/v1/pods/POD_ID/items \
  -H "Authorization: Bearer dp_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"kind":"article","url":"https://example.com/post"}'

# 2 — find it again: keyword and meaning together
curl "https://api.dippod.com/v1/pods/POD_ID/items/search?q=example" \
  -H "Authorization: Bearer dp_live_..."

# 3 — list what is waiting for a person
curl "https://api.dippod.com/v1/pods/POD_ID/items?needs_you=true" \
  -H "Authorization: Bearer dp_live_..."

Authentication

Every request carries Authorization: Bearer dp_live_…. Keys are shown once at creation and stored only as a SHA-256 hash — if you lose one, revoke it and make another.

A key is either account-wide or bound to a single Pod, and carries an explicit set of scopes. A request outside a key's scope fails with 403 rather than quietly returning nothing. Together the scopes cover everything the app can do, so an agent never needs the web UI; the elevated ones (deleting pods and handling their credentials, publishing) are off by default when a key is made. Keys themselves are managed only in the app — no scope lets a credential mint or revoke another. GET /me tells a caller which scopes and Pod binding it holds.

  • pods:read List pods, their settings and RSS subscriptions — never credentials.
  • pods:write Create pods, change their name and look; subscribe and unsubscribe RSS feeds.
  • pods:admin Delete a pod, read and rotate its inbound email address and private feed URL.elevated
  • items:read List, search and read everything saved in a pod, including uploads.
  • items:write Save articles, notes, images and files; rename items; retry a failed or stuck import; delete items.
  • todos:read List and read todos, including their context.
  • todos:write File and edit todos, resolve them as done or dropped, reopen them.
  • todos:claim Take an open todo before working on it, renew or hand back the claim, and resolve what was claimed.
  • briefs:read List and read generated briefs.
  • briefs:write Start a brief on demand instead of waiting for the schedule.
  • briefs:publish Put a brief on a public link, and take it down again.elevated

Rate limits & errors

60 requests per minute per key. Errors always come back in the same shape, with a stable code you can branch on.

error response
{
  "error": {
    "code": "invalid_request",
    "message": "kind=article requires `url`"
  }
}
400 invalid_request The body, a query parameter or the Idempotency-Key header failed validation. The message starts with the field’s path.
401 unauthorized Missing, malformed or revoked key.
403 forbidden Valid key, but it lacks the scope or is bound to another Pod.
404 not_found No such Pod, item or todo — or not yours.
409 conflict State conflict: claiming a todo someone else holds, publishing a brief that is not finished, or reusing an Idempotency-Key for a different kind of write.
413 storage_quota_exceeded The Pod is out of storage. Delete items to free space before retrying.
429 rate_limited Over 60 requests/minute for this key, or 300/minute from one address. Wait for Retry-After.
500 internal Our fault. Safe to retry.

Idempotent writes

POST /pods/{podId}/items and POST /pods/{podId}/todos accept an Idempotency-Key header: up to 200 visible ASCII characters, unique per Pod. Send a fresh key with each new write and the same key when you retry it. A retry returns the original item or todo with 200 instead of 201, and nothing is created twice.

A key longer than 200 characters, or containing spaces or non-ASCII, is a 400. Reusing a key for a different kind of write — a note under a key that already made a todo — is a 409 rather than a replay of the wrong thing.

Endpoints

Items

Everything that lands in a Pod, and how to find it again.
get /pods/{podId}/items

List items

Requires items:read. Newest first, paginated by cursor.

Parameters

  • podId path required string
  • kind query article | image | file | note | todo
  • status query pending | ready | failed
  • source query email | rss | api | manual
  • needs_you query boolean
  • since query string
  • until query string
  • limit query integer
  • cursor query string

Responses

200 Paginated items400 Invalid query or malformed cursor401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /pods/{podId}/items

Add content to a pod

Requires items:write (and todos:write for kind=todo). Creates an item; articles are fetched server-side and run through the ingest pipeline. The item’s source is api. Uploads are base64 in the JSON body. Send an Idempotency-Key to make retries safe.

Parameters

  • podId path required string
  • Idempotency-Key header string

Body

  • kind required article | image | file | note | todo
  • url Required for kind=article string
  • text Required for kind=note/todo string
  • image_base64 Required for kind=image string
  • image_content_type string
  • file_base64 Required for kind=file: the payload as base64 (max 25MB decoded) string
  • file_content_type For kind=file; defaults to application/octet-stream string
  • file_name For kind=image/file: the original filename, kept for downloads string
  • title string
  • author string
  • published_at string
  • origin Free-form provenance (agent name, session…), stored with the item. A `source` key here does not change the item’s `source`. object
  • priority integer
  • context object
  • needs_you Ask for a person: one sentence on why, shown to the pod’s owner with the item. Leave it out to just keep the content. Ignored when the owner has told this credential not to ask; the response’s `needs_you` says which. string

Responses

200 Idempotent replay of an existing item201 Created400 Validation error, or a malformed Idempotency-Key401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential409 The Idempotency-Key was already used for a different kind of write413 Pod storage quota exceeded (code `storage_quota_exceeded`) — uploads and stored article bodies count against the pod’s storage_quota_bytes; delete items to free space429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
get /pods/{podId}/items/{itemId}

Read one item in full

Requires items:read. The complete stored item: cleaned text content, summary, tags, AI description and provenance. This is how an agent pulls a saved document back into context after finding it via search.

Parameters

  • podId path required string
  • itemId path required string

Responses

200 Item detail401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
patch /pods/{podId}/items/{itemId}

Rename an item

Requires items:write. Changes the title only; search picks up the new title at once.

Parameters

  • podId path required string
  • itemId path required string

Body

  • title required The new title; null clears it and the item falls back to its excerpt string | null

Responses

200 Renamed item400 Validation error; the message names the field401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
delete /pods/{podId}/items/{itemId}

Delete an item

Requires items:write. Removes the row, its derived summary/embedding and every stored blob. Irreversible.

Parameters

  • podId path required string
  • itemId path required string

Responses

200 Deleted401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
get /pods/{podId}/items/{itemId}/blob

Download the stored blob

Requires items:read. An upload’s bytes, or the page an article was fetched from. Images are served as themselves; everything else is an octet-stream download.

Parameters

  • podId path required string
  • itemId path required string

Responses

200 The blob401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 No blob for this item429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /pods/{podId}/items/{itemId}/retry

Re-run ingest for a failed or stalled item

Requires items:write. Works on an item with status=failed, or one that has been pending for more than 20 minutes (its ingest stalled). The item is reset to pending and the idempotent ingest pipeline re-runs.

Parameters

  • podId path required string
  • itemId path required string

Responses

200 Item, now pending again401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or neither failed nor stalled429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.

Todos

Work and questions between people and agents.
get /pods/{podId}/todos

List todos

Requires todos:read (or, for keys issued before it existed, items:read, todos:write or todos:claim). Open and claimed todos come highest priority first; resolved ones most recently resolved first.

Parameters

  • podId path required string
  • state query open | claimed | done | dropped
  • claimed_by query string
  • limit query integer

Responses

200 Todos400 Invalid query (e.g. an unknown state)401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /pods/{podId}/todos

Create a todo

Requires todos:write. Send an Idempotency-Key so a retried request does not file the same todo twice.

Parameters

  • podId path required string
  • Idempotency-Key header string

Body

  • text required string
  • title string
  • priority integer
  • context Structured context: repo, files, URLs, a session summary object
  • origin object
  • needs_you Makes it a question for the pod’s owner: one sentence on why you need them. No agent can claim it, and the answer comes back as `resolution_note`. string

Responses

200 Idempotent replay of an existing todo201 Created todo400 Validation error, or a malformed Idempotency-Key401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential409 The Idempotency-Key was already used for a different kind of write429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
get /todos/{id}

Get one todo

Requires todos:read (or, for keys issued before it existed, items:read, todos:write or todos:claim).

Parameters

  • id path required string

Responses

200 Todo401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
patch /todos/{id}

Edit a todo

Requires todos:write. Change the text, title, priority or context; only the fields given change. The state does not change here.

Parameters

  • id path required string

Body

  • text string
  • title string | null
  • priority integer
  • context object | null

Responses

200 Updated todo400 Validation error; the message names the field401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /todos/{id}/reopen

Reopen a claimed or resolved todo

Requires todos:write. Clears the claim and resolution; the todo returns to open.

Parameters

  • id path required string

Responses

200 Reopened401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /todos/{id}/claim

Claim a todo (open → claimed, optimistic lock)

Requires todos:claim. Claims expire back to open after 48h. Claiming a todo you already hold (same claimed_by) renews the claim for another 48h; claiming one held by someone else, or already resolved, is a 409.

Parameters

  • id path required string

Body

  • claimed_by required Who holds the claim, e.g. "claude-code@laptop" string

Responses

200 Claimed, or claim renewed400 Validation error; the message names the field401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential409 Claimed by someone else, or not open429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /todos/{id}/release

Hand a claim back (claimed → open)

Requires todos:claim. Only the current holder can release: claimed_by must match the claim.

Parameters

  • id path required string

Body

  • claimed_by required Who holds the claim, e.g. "claude-code@laptop" string

Responses

200 Released; the todo is open again400 Validation error; the message names the field401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential409 Not claimed, or claimed by someone else429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /todos/{id}/resolve

Resolve a todo (claimed/open → done|dropped)

Requires todos:claim or todos:write. Pass claimed_by to resolve only if the todo is open or still claimed by you — so a worker whose claim expired and was taken over cannot close the new holder’s work.

Parameters

  • id path required string

Body

  • state required done | dropped
  • resolution_note string
  • claimed_by Who is resolving. When given, the resolve only succeeds if the todo is open or still claimed by this worker string

Responses

200 Resolved400 Validation error; the message names the field401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential409 Already resolved, or claimed by someone other than claimed_by429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.

Briefs

For Pods that still have a brief schedule.
get /pods/{podId}/briefs

List briefs (newest first)

Includes generating and failed briefs so status is visible; requires briefs:read.

Parameters

  • podId path required string
  • limit query integer
  • cursor query string

Responses

200 A page of briefs400 Invalid query or malformed cursor401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /pods/{podId}/briefs/generate

Write a brief now

Requires briefs:write. Covers everything since the last brief and starts the workflow; the response is the brief in status=generating — poll GET /pods/{podId}/briefs/{briefId} until it is ready. The scheduled brief still runs on time.

Parameters

  • podId path required string

Responses

202 Brief, generating401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential409 A brief is already being written for this pod429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /pods/{podId}/briefs/{briefId}/publish

Publish a brief on a public link

Requires briefs:publish. Only a finished brief can be published; idempotent.

Parameters

  • podId path required string
  • briefId path required string

Responses

200 Brief with public_url401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 No such brief in this pod409 The brief exists but is not finished429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /pods/{podId}/briefs/{briefId}/unpublish

Take a brief off its public link

Requires briefs:publish. The old link stops working immediately.

Parameters

  • podId path required string
  • briefId path required string

Responses

200 Brief, private again401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
get /pods/{podId}/briefs/latest

Get the latest ready brief

Requires briefs:read.

Parameters

  • podId path required string

Responses

200 Latest brief401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 No brief yet429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
get /pods/{podId}/briefs/{briefId}

Get one brief by id

Requires briefs:read. Poll this after generating until status is ready.

Parameters

  • podId path required string
  • briefId path required string

Responses

200 Brief401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.

Pods

Create and configure Pods, subscribe feeds, manage their credentials.
get /pods

List pods this key can act on

Requires scope pods:read. A pod-bound key sees only its pod; an account-wide key sees all of them. Use the returned ids for every pod-scoped call.

Responses

200 Pods401 Missing, invalid, expired or revoked credential403 The credential lacks the scope429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /pods

Create a pod

Requires pods:write on an account-wide credential; a pod-bound one cannot create pods.

Body

  • name required string
  • description string
  • color sonar | sky | iris | rose | ember | olive | plum | slate
  • icon layers | book | bookmark | briefcase | camera | coffee | compass | flag | flask | folder | globe | heart | home | leaf | music | rocket | star | zap

Responses

201 Created400 Validation error; the message names the field401 Missing, invalid, expired or revoked credential403 The credential lacks the scope, or is bound to one pod429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
get /pods/{podId}

Get one pod with its settings

Requires pods:read. The inbound email address and private feed URL are included only for a credential with pods:admin; otherwise those two fields are null.

Parameters

  • podId path required string

Responses

200 Pod detail401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
patch /pods/{podId}

Change pod settings

Requires pods:write. Name, look, brief schedule, timezone, languages, audio and email delivery — the same controls as the settings page. Only the fields given change.

Parameters

  • podId path required string

Body

  • name string
  • description string | null
  • color sonar | sky | iris | rose | ember | olive | plum | slate
  • icon layers | book | bookmark | briefcase | camera | coffee | compass | flag | flask | folder | globe | heart | home | leaf | music | rocket | star | zap
  • brief_cadence none | daily | weekly | monthly
  • brief_hour integer
  • brief_day_of_week integer
  • brief_day_of_month integer
  • timezone IANA zone, e.g. Asia/Shanghai string
  • language RFC 5646 string
  • brief_language RFC 5646; null = auto string | null
  • audio_enabled boolean
  • email_brief_enabled boolean
  • mirror_images Copy article images into Dippod storage at ingest (applies to new articles) boolean

Responses

200 Updated pod400 Invalid field (e.g. an unknown timezone)401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
delete /pods/{podId}

Delete a pod and everything in it

Requires pods:admin. Irreversible: items, todos, briefs, episodes and subscriptions go with it.

Parameters

  • podId path required string

Responses

200 Deleted401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /pods/{podId}/email/rotate

Issue a new inbound email address

Requires pods:admin. The old address bounces immediately. Returns the pod with the new address.

Parameters

  • podId path required string

Responses

200 Pod with the new address401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /pods/{podId}/feed/rotate

Rotate the private podcast feed URL

Requires pods:admin. Existing subscriptions stop working. Returns the pod with the new URL.

Parameters

  • podId path required string

Responses

200 Pod with the new feed URL401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
get /pods/{podId}/sources

List RSS subscriptions

Requires pods:read.

Parameters

  • podId path required string

Responses

200 Sources401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
post /pods/{podId}/sources

Subscribe to an RSS/Atom feed

Requires pods:write. Only entries the feed publishes from now on are collected; the back catalogue is never imported. The response lists similar subscriptions sharing the same host and path (one publication sliced two ways), which are allowed.

Parameters

  • podId path required string

Body

  • kind required rss
  • url required The feed URL (http/https) string

Responses

201 Subscribed, with similar[]400 Invalid or unreachable feed URL401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential409 Already subscribed to that feed429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.
delete /pods/{podId}/sources/{sourceId}

Unsubscribe a feed

Requires pods:write. Items already collected stay.

Parameters

  • podId path required string
  • sourceId path required string

Responses

200 Removed401 Missing, invalid, expired or revoked credential403 The credential lacks the scope404 Not found, or not reachable with this credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.

Account

Who this credential belongs to.
get /me

Credential introspection

Any valid credential. Which user it belongs to, the pod it is bound to (if any), its scopes, and whether it is an API key or an OAuth grant.

Responses

200 The calling credential401 Missing, invalid, expired or revoked credential429 Over 60 requests/minute for this credential, or over 300/minute from this client address (checked before the credential is looked up). Carries Retry-After.

Using an agent instead of a script?

The same operations are exposed over MCP at https://mcp.dippod.com/mcp, with the same keys.

Agent setup