Moab logoMoab
Get started
Moab Docs

Reports

One row per operating day — the plan (which agents send how much under which tag, who is archived, who is born) and one entry per planner run.

Base path /api/v1/daily-reports on https://moabcrm.com. Authenticate with Authorization: Bearer $DASH_API_KEY and name the project with the Project-ID header. Writes are validated in declared mode; an operation this resource does not declare answers 405 operation_not_supported.

List reports

GET /api/v1/daily-reports

curl "https://moabcrm.com/api/v1/daily-reports" \
  -H "Authorization: Bearer $DASH_API_KEY" \
  -H "Project-ID: pr_zest"
What did today's Moab runs send, and what is the plan?
data_query {
  "collection": "reports"
}

Returns a paginated list of daily-report objects, newest first.

{
  "object": "list",
  "data": [
    {
      "object": "daily-report",
      "id": "obj_123",
      "plan": {
        "written_by": "planner"
      },
      "created_at": "2026-07-25T12:00:00.000Z",
      "updated_at": "2026-07-25T12:00:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

Parameters

ParameterTypeKindDescription
limitnumberpageRows to return, 1–100. Defaults to 20.
cursorstringpagenext_cursor from the previous page.

Retrieve a daily-report

GET /api/v1/daily-reports/draft-001

curl "https://moabcrm.com/api/v1/daily-reports/draft-001" \
  -H "Authorization: Bearer $DASH_API_KEY" \
  -H "Project-ID: pr_zest"
Open the daily-report {id}
data_get {
  "collection": "reports",
  "object_id": "draft-001"
}

Returns the daily-report object.

{
  "object": "daily-report",
  "id": "obj_123",
  "plan": {
    "written_by": "planner"
  },
  "created_at": "2026-07-25T12:00:00.000Z",
  "updated_at": "2026-07-25T12:00:00.000Z"
}

Parameters

ParameterTypeKindDescription
idstringpathThe daily-report's id or slug.

Create a daily-report

POST /api/v1/daily-reports

curl -X POST "https://moabcrm.com/api/v1/daily-reports" \
  -H "Authorization: Bearer $DASH_API_KEY" \
  -H "Project-ID: pr_zest" \
  -H "Content-Type: application/json" \
  -d '{"plan":{"why":"Best: Cybersec CTO, 18% clicks from 319 emails. Worst: Insurtech CTO, 4 clicks from 61 — retired. 40 of today's 100 test two ideas; Cybersec carries the rest.","agents":[{"agent_id":"agent-ionwarp-cybersec-cto","tag":"winner","sends":60,"why":"18% from 319 emails — keeps sending."},{"agent_id":"agent-ionwarp-logistics-vpeng","tag":"experiment","sends":20,"why":"Testing logistics next to cybersec."},{"agent_id":"agent-ionwarp-healthtech-cto","tag":"none","sends":0,"why":"Waiting — two ideas are already being tested today."},{"agent_id":"agent-ionwarp-insurtech-cto","tag":"none","sends":0,"why":"Retired: no leads left after two searches.","action":"archive","reason":"no_new_leads"}],"new_agents":[{"parent_id":"agent-ionwarp-cybersec-cto","change":{"headcount":"201-500"}},{"strategy":{"name":"Private Equity","sentence":"try PE and hedge-fund tech leaders"},"change":{"industry":"fintech","keywords":["private equity"],"content_id":"content-golden"}}]}}'
Create a new daily-report
data_set {
  "collection": "reports",
  "object_id": "draft-001",
  "data": {
    "plan": {
      "why": "Best: Cybersec CTO, 18% clicks from 319 emails. Worst: Insurtech CTO, 4 clicks from 61 — retired. 40 of today's 100 test two ideas; Cybersec carries the rest.",
      "agents": [
        {
          "agent_id": "agent-ionwarp-cybersec-cto",
          "tag": "winner",
          "sends": 60,
          "why": "18% from 319 emails — keeps sending."
        },
        {
          "agent_id": "agent-ionwarp-logistics-vpeng",
          "tag": "experiment",
          "sends": 20,
          "why": "Testing logistics next to cybersec."
        },
        {
          "agent_id": "agent-ionwarp-healthtech-cto",
          "tag": "none",
          "sends": 0,
          "why": "Waiting — two ideas are already being tested today."
        },
        {
          "agent_id": "agent-ionwarp-insurtech-cto",
          "tag": "none",
          "sends": 0,
          "why": "Retired: no leads left after two searches.",
          "action": "archive",
          "reason": "no_new_leads"
        }
      ],
      "new_agents": [
        {
          "parent_id": "agent-ionwarp-cybersec-cto",
          "change": {
            "headcount": "201-500"
          }
        },
        {
          "strategy": {
            "name": "Private Equity",
            "sentence": "try PE and hedge-fund tech leaders"
          },
          "change": {
            "industry": "fintech",
            "keywords": [
              "private equity"
            ],
            "content_id": "content-golden"
          }
        }
      ]
    }
  }
}

Returns the daily-report object.

{
  "object": "daily-report",
  "id": "obj_123",
  "plan": {
    "written_by": "planner"
  },
  "created_at": "2026-07-25T12:00:00.000Z",
  "updated_at": "2026-07-25T12:00:00.000Z"
}

Parameters

FieldTypeRequiredDescription
planobjectnoThe last planner run's decision. agents[] — one entry per agent considered: tag exactly one of winner | experiment | explore | none, sends the day's allocation (0 for none), every entry carries a one-line why, an action: archive entry carries a coded reason, an action: restore entry brings an archived agent back. lanes — the per-tag sums, summed by the server. new_agents[] — each names a parent_id (a Winner's next-door cell, one thing changed) or a strategy \{name, sentence?\} plus the change (audience + content); the run creates the agent only when the people check finds ≥ 30. new_content[] (≤ 1 a day). written_by, written_at, run_id are server-stamped.
  plan.whytextnoNEEDS-DESCRIPTION
  plan.lanesobjectnoThe per-tag sums of agents[].sends, summed by the server: {winners, experiments, explore}.
  plan.agentsarraynoNEEDS-DESCRIPTION
  plan.new_agentsarraynoNEEDS-DESCRIPTION
  plan.new_contentarraynoNEEDS-DESCRIPTION

Update a daily-report

PATCH /api/v1/daily-reports/draft-001

curl -X PATCH "https://moabcrm.com/api/v1/daily-reports/draft-001" \
  -H "Authorization: Bearer $DASH_API_KEY" \
  -H "Project-ID: pr_zest" \
  -H "Content-Type: application/json" \
  -d '{"plan":{"why":"why","lanes":{},"agents":[],"new_agents":[],"new_content":[]}}'
Update the daily-report {id}
data_set {
  "collection": "reports",
  "object_id": "draft-001",
  "data": {
    "plan": {
      "why": "why",
      "lanes": {},
      "agents": [],
      "new_agents": [],
      "new_content": []
    }
  }
}

Returns the daily-report object.

{
  "object": "daily-report",
  "id": "obj_123",
  "plan": {
    "written_by": "planner"
  },
  "created_at": "2026-07-25T12:00:00.000Z",
  "updated_at": "2026-07-25T12:00:00.000Z"
}

Parameters

FieldTypeRequiredDescription
planobjectnoThe last planner run's decision. agents[] — one entry per agent considered: tag exactly one of winner | experiment | explore | none, sends the day's allocation (0 for none), every entry carries a one-line why, an action: archive entry carries a coded reason, an action: restore entry brings an archived agent back. lanes — the per-tag sums, summed by the server. new_agents[] — each names a parent_id (a Winner's next-door cell, one thing changed) or a strategy \{name, sentence?\} plus the change (audience + content); the run creates the agent only when the people check finds ≥ 30. new_content[] (≤ 1 a day). written_by, written_at, run_id are server-stamped.
  plan.whytextnoNEEDS-DESCRIPTION
  plan.lanesobjectnoThe per-tag sums of agents[].sends, summed by the server: {winners, experiments, explore}.
  plan.agentsarraynoNEEDS-DESCRIPTION
  plan.new_agentsarraynoNEEDS-DESCRIPTION
  plan.new_contentarraynoNEEDS-DESCRIPTION

What comes back (read-only)

Every daily-report carries the envelope below. The fields under it are computed or stamped by the platform — they are returned, never sent.

FieldTypeDescription
objectstringAlways daily-report.
idstringStable object id. Also accepted in place of slug on any path.
slugstringURL-safe name, unique within the collection.
created_atstringISO-8601 timestamp of the first write.
updated_atstringISO-8601 timestamp of the most recent write. The cursor sorts on this.
runsarrayThe ledger, one entry per planner run, written by plan_execute: {run_id, task_id, at, trigger: schedule|press|day_zero, planned, handed_off, delivered, queued, held, agents[{agent_id, tag, planned, handed_off, delivered, queued, held, hold_reason}], verdicts[], archived[{agent_id, reason}], restored[], born[{agent_id, parent_id, strategy, found, outcome}], spawned[{agent_id, need, task_id}], content_spawned[], cost_usd, duration_ms, phases, why, lanes, sandbox, short_inventory[]}. Never sent.
plan_historyarrayThe earlier plans of the same day, when a later run rewrote the plan.
  plan.written_bystringNEEDS-DESCRIPTION
  plan.written_atdateNEEDS-DESCRIPTION
  plan.run_idstringNEEDS-DESCRIPTION

Errors

Failures use { error: { type, code, message, param } }. The full code table is generated at Error Codes.

On this page

Moab logoMoab

Ready to build? Connect an agent and go — no credit card needed to start.

Get startedSee our plans