indiebob

v0.2.0
io.github.chemic/indiebob Checked 18 hours ago Published 23 days ago

IndieBob for agents: metrics, posts, cold outreach written per prospect, and what to do next.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

whoami

Confirm the key is live and list the scopes it holds. Returns no portfolio data, so it is safe to call first. (GET /api/v1; needs the read:projects scope)

list_projects

Every project the key owner has, with health status, stage and settings. Start here: most other capabilities take a project id or slug. (GET /api/v1/projects; needs the read:projects scope)

ParameterTypeDescription
include_archivedbooleantrue to include archived projects (default: exclude).
limitnumber1–200, default 100.
updated_sincestringISO timestamp; only projects changed at or after it.

read_metrics

Daily snapshots per project: MRR, visitors, signups, revenue, health. Date-windowed, not cursor-based, because snapshots are restated when late Stripe events land — re-pull a trailing window and upsert. (GET /api/v1/metrics; needs the read:metrics scope)

ParameterTypeDescription
fromstringYYYY-MM-DD, inclusive. Default: 90 days ago.
limitnumber1–200, default 100.
projectstringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.
tostringYYYY-MM-DD, inclusive. Default: today.

next_actions

The ranked Do Next feed across the whole portfolio — the same rules the Command Center runs, highest priority first, each with why it fired and where it leads. Deterministic: no model runs, so the answer is the same for the same data. (GET /api/v1/actions; needs the read:actions scope)

ParameterTypeDescription
limitnumber1–50, default 10.
projectstringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.

list_posts

Blog posts in the key owner's projects, newest-updated first, with status and SEO score. Bodies are not included — use get_post. (GET /api/v1/content/posts; needs the read:content scope)

ParameterTypeDescription
limitnumber1–200, default 100.
projectstringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.
statusstringdraft | published | archived. Default: everything except archived.

get_post

One post with its markdown body and SEO fields. A post outside the key owner's portfolio 404s exactly like a nonexistent one. (GET /api/v1/content/posts/{postId}; needs the read:content scope)

ParameterTypeDescription
postId *stringPost id.

create_post

Create a draft. Markdown is the source of truth — HTML cannot be submitted, it is rendered server-side. The slug is derived from the title. (POST /api/v1/content/posts; needs the write:content scope)

ParameterTypeDescription
project *stringProject id or slug, inside the key owner's portfolio.
title *stringPost title.
bodyMarkdownstringMarkdown body.
excerptstringShort summary.
metaDescriptionstringSEO description.
metaTitlestringSEO title.

publish_post

Publish or re-publish. THE propagation trigger: it snapshots the body, assigns the OG image and fires the content webhook that pushes the post to mirrored sites. Nothing else takes a post live. (POST /api/v1/content/posts/{postId}/publish; needs the write:content scope)

ParameterTypeDescription
postId *stringPost id.

list_prospects

Cold-outreach prospects for one project, newest first, with status, source and the facts enrichment read off their own website. (GET /api/v1/outreach/prospects; needs the read:outreach scope)

ParameterTypeDescription
project *stringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.
limitnumber1–200, default 50.
searchstringSubstring match on email, company or name.
sourcestringWhere the prospect came from, e.g. launch_venues, import, manual.
statusstringnew | contacted | replied | bounced | rejected. Default: everything but archived.

list_sequences

The project's sequences with their status, step count, whether each is personalised (Bob writes every email per prospect) and how many prospects are enrolled. (GET /api/v1/outreach/sequences; needs the read:outreach scope)

ParameterTypeDescription
project *stringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.

enroll_prospects

Enrol up to 200 prospects. Unsubscribed, rejected and already-enrolled prospects are skipped and counted back, never silently dropped. On a personalised sequence this opens each first touch for Bob to write; if the plan has fewer emails left than prospects, the whole call is refused with 429 rather than parking them behind a limit. (POST /api/v1/outreach/sequences/{sequenceId}/enroll; needs the write:outreach scope)

ParameterTypeDescription
project *stringProject id or slug owning the sequence.
prospectIds *array1–200 prospect ids from list_prospects.
sequenceId *stringSequence id.

list_review_queue

The personalised first touches waiting for a human yes — each with the subject and opening Bob wrote for that prospect, and the prospect it is addressed to. This is what a human approves in the dashboard; an agent can read the same rows. (GET /api/v1/outreach/messages; needs the read:outreach scope)

ParameterTypeDescription
project *stringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.
limitnumber1–200, default 50.
sequenceIdstringNarrow to one sequence.
statestringMessage state; default awaiting_review — the review queue itself.

read_message

One email exactly as it will read, beside their site text, location and address check: what an agent needs before saying yes. (GET /api/v1/outreach/messages/{messageId}; needs the read:outreach scope)

ParameterTypeDescription
messageId *stringMessage id from list_review_queue.
project *stringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.

rewrite_message

Replace the personalised subject, opening or bridge. The same validator as the writer: a refusal lists its reasons. (PATCH /api/v1/outreach/messages/{messageId}; needs the write:outreach scope)

ParameterTypeDescription
messageId *stringMessage id.
project *stringProject id or slug.
bridgestringNew bridge.
openingstringNew opening.
subjectstringNew subject.

regenerate_message

Throw the personalised parts away; the writer starts over on its next tick. (POST /api/v1/outreach/messages/{messageId}/regenerate; needs the write:outreach scope)

ParameterTypeDescription
messageId *stringMessage id.
project *stringProject id or slug.

skip_message

This email never goes and the prospect leaves the sequence, so no follow-up can arrive. Only before sending. (POST /api/v1/outreach/messages/{messageId}/skip; needs the write:outreach scope)

ParameterTypeDescription
messageId *stringMessage id.
project *stringProject id or slug.
reason *stringWhy, kept on the message.

read_sequence

One sequence with its steps, settings and pace. (GET /api/v1/outreach/sequences/{sequenceId}; needs the read:outreach scope)

ParameterTypeDescription
project *stringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.
sequenceId *stringSequence id.

sequence_stats

Sent, opened, replied and bounced, overall and per step, and when the next email can go. (GET /api/v1/outreach/sequences/{sequenceId}/stats; needs the read:outreach scope)

ParameterTypeDescription
project *stringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.
sequenceId *stringSequence id.

update_sequence

Start or pause a sequence, change its daily pace, or merge settings. Personalisation cannot be turned off. (PATCH /api/v1/outreach/sequences/{sequenceId}; needs the write:outreach scope)

ParameterTypeDescription
project *stringProject id or slug.
sequenceId *stringSequence id.
dailySendLimitnumber1–100.
statusstringdraft | active | paused.

create_sequence

A new personalised sequence with its steps, always as a draft. Body also takes steps[{ subjectTemplate, bodyTemplate, delayDays }] and settings. (POST /api/v1/outreach/sequences; needs the write:outreach scope)

ParameterTypeDescription
fromName *stringSender name.
name *stringSequence name.
project *stringProject id or slug.

add_prospect

Add one prospect an agent found. The unsubscribe list refuses, and a bad address is stored as rejected. notes reach the email writer. (POST /api/v1/outreach/prospects; needs the write:outreach scope)

ParameterTypeDescription
email *stringAddress.
project *stringProject id or slug.
companystringCompany.
locationstringCity and country.
notesstringWhat was learned about them; the writer may use it.
websitestringSite URL.

find_address

The address a business publishes on its own website. Stores nothing, and never constructs an address. (POST /api/v1/outreach/find-address; needs the write:outreach scope)

ParameterTypeDescription
project *stringProject id or slug.
website *stringTheir own website.

start_discovery

Find businesses on OpenStreetMap with your own plan. Same allowance and daily cap as the dashboard. (POST /api/v1/outreach/discover; needs the write:outreach scope)

ParameterTypeDescription
project *stringProject id or slug.
targetDescription *stringWho to find.
targetLocation *stringWhere.
maxProspectsnumber5–150.

discovery_status

How a discovery run is going. (GET /api/v1/outreach/discover/{jobId}; needs the read:outreach scope)

ParameterTypeDescription
jobId *stringJob id.
project *stringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.

list_senders

The accounts a project can send from, with no secrets: which is the default, its from-address, its daily limit and its domain status. (GET /api/v1/outreach/senders; needs the read:outreach scope)

ParameterTypeDescription
project *stringProject id or slug. Resolved inside the key owner's portfolio; an unowned value matches nothing rather than 404ing.

use_indiebob_mail

Give a project a sending account on IndieBob Mail. Safe to repeat: a project that has one is refreshed, never given a second. (POST /api/v1/outreach/senders/managed; needs the write:outreach scope)

ParameterTypeDescription
project *stringProject id or slug.

approve_message

The yes on one personalised first touch. Sending window, daily caps and the sequence's sending account still apply afterwards — approving does not send. A message that is not awaiting review answers 409 saying what state it is in. (POST /api/v1/outreach/messages/{messageId}/approve; needs the write:outreach scope)

ParameterTypeDescription
messageId *stringMessage id from list_review_queue.
project *stringProject id or slug owning the message.