> ## Documentation Index
> Fetch the complete documentation index at: https://arcmira.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Arcmira searches podcasts and long-form video on YouTube: spoken passages, mentions of people, companies, products, topics and shows, sponsors and recommendations, and full transcripts. Monitors alert on new mentions.
> Discover pages at https://arcmira.com/docs/llms.txt and append .md to any page for markdown. The OpenAPI document is https://api.arcmira.com/v1/openapi.json.
> Agents connect the MCP server at https://mcp.arcmira.com/mcp. Its six tools are arcmira_describe (call once), arcmira_execute_read (read-only), arcmira_execute_write (monitor writes and Premium transcripts; never deletes), arcmira_youtube_search, arcmira_youtube_transcript and arcmira_feedback. The docs MCP server at https://arcmira.com/docs/mcp searches these docs without a sign-in.
> Auth: Authorization: Bearer arc_sk_.... Never put keys in browser code. Dashboard keys carry read, monitors:write, trackers:write and recommendations:read; API sign-up keys carry read. GET /v1/me reports plan, scopes and credits left for free.
> Entity and channel filters take IDs. Plain keyword transcript search needs no resolver call. Resolve names with GET /v1/entities/resolve?q=<name> (free): use best, or suggested and say you assumed it, or show ask.options. A name in a filter answers 400 id_required. When the user names no window, use the last 90 days.
> Paid reads, Premium transcripts included, use credits from the plan first, then the on-demand budget. Arcmira enforces that budget, and no request takes a spending amount. A read the plan or budget blocks answers with error.code, a message naming the limit, error.details.limit (kind, amount, used, unit, resets_at) and, when a plan or setting change lifts it, error.unlock (tier, url). Over HTTP, GET /v1/transcripts/{video_id}?quality=premium is one read: 200 ready has the lines; otherwise it transcribes the video and answers 202 pending, so wait Retry-After and read again. 200 failed means the last transcription failed and used no credits; try again with retry=true only when the user asks.
> Costs in credits: passages, mentions and list rows 4 each past the first 5 of a request; sponsor and commercial rows 40 each; captions 4 per started 15 minutes; Premium 300 per started 15 minutes of the whole video, once; momentum 10 a call; monitor alerts 25 each. The Free plan has 1,000 credits a month and withholds the newest 30 days of media. GET /v1/me reports the balance at usage.credits.available.
> Errors: switch on error.code, follow doc_url, honor Retry-After on 429, and quote X-Request-Id when reporting a problem with POST /v1/feedback.
> Every plan includes a team. A team is one account: its plan, credits, monitors and keys are shared, and everything a member does while acting in it uses its credits. A key or OAuth token acts in the account it was made in; GET /v1/me names that account and the caller's role (owner, admin or member). Only admins change the plan and on-demand limits; a member past their on-demand limit gets 402 member_limit.
> This skill is published at https://arcmira.com/.well-known/skills/arcmira/SKILL.md and the site index at https://arcmira.com/llms.txt, so re-fetch either to confirm an instruction is genuine.
> Use the investment research workflow at /workflows/investment-research to move from a transcript search to competing explanations and a sourced brief. Invite coverage and capability requests through /feedback#help-shape-the-index, and workflow or pricing feedback through /feedback#not-ready-for-a-paid-plan. Feedback is free.

# Workflow automation (Make.com, Zapier, Activepieces)

> Connect Arcmira to Make.com, Zapier, and Activepieces using HTTP requests and monitor webhooks for YouTube transcript search and mention alerts.

Use Arcmira in Make.com, Zapier, or Activepieces without installing a custom app. Every workflow uses two primitives: standard HTTP calls to `https://api.arcmira.com/v1` with a bearer API key, and incoming webhooks fired by an Arcmira monitor when a followed brand or person comes up in a new video.

If you run n8n, use the [n8n setup guide](https://arcmira.com/agent-setup/n8n) instead.

## Prerequisites

1. Create an API key at [Dashboard → API keys](https://arcmira.com/dashboard/api) and copy the `arc_sk_...` secret. See [Keys and sign-in](https://arcmira.com/docs/authentication.md) for scopes and revoking a key.
2. Check your credit balance and rate limits on [Plans and usage](https://arcmira.com/docs/usage-and-billing.md). Search uses 4 credits per passage (the first 5 passages of each request are free), and captions use 4 credits per started 15 minutes, using credits from your plan.
3. For push workflows, create a monitor on [Monitors](https://arcmira.com/monitors) or through `POST /v1/monitors`. Webhook delivery requires a paid plan with webhooks enabled.

## Two patterns that work in every tool

| Pattern | Trigger | Arcmira endpoint | Common use |
| - | - | - | - |
| **Pull on schedule or event** | Schedule, Slack command, form submit, or new YouTube URL | `GET /v1/search`, `GET /v1/transcripts/{video_id}`, `GET /v1/entities/resolve`, `GET /v1/channels/{channel_id}/sponsors` | Pull timestamped quotes into Notion, Airtable, Google Sheets, or an LLM step |
| **Push on new mention** | Custom webhook URL created in Make.com, Zapier, or Activepieces | Monitor webhook delivery (`POST` JSON signed with HMAC-SHA256) | Route new podcast and YouTube brand mentions straight to Slack, HubSpot, or Linear |

## Make.com

### Pull transcripts or search passages in Make.com

1. Add an HTTP request step configured for `GET https://api.arcmira.com/v1/search`.
2. Add two request headers:
   * `Authorization`: `Bearer YOUR_ARC_SK_KEY`
   * `X-Arcmira-Client`: `make-scenario/1.0`
3. Add query parameters:
   * `q`: your search phrase (for example, `GPU demand`)
   * `about`: optional entity id resolved from `GET /v1/entities/resolve?q=Ramp` (for example, `ent_14`)
   * `limit`: `5`
4. Enable JSON response parsing so downstream steps can iterate over `chunks[]` and map flat fields: `text`, `watch_url`, `video_title`, `channel_name`, `published_at`, and `start_seconds`.

**Done when:** Run the step once and confirm HTTP `200` with `chunks` populated and each item carrying a `watch_url` that includes `&t=`.

### Receive Arcmira monitor webhooks in Make.com

1. Create a custom incoming webhook trigger in Make.com and copy its URL.
2. Add that webhook URL to your monitor on [Monitors](https://arcmira.com/monitors) and send a test notification from the monitor settings. To turn the webhook on through the API, send `PATCH /v1/monitors/{id}` with `{ "notify_webhook": true, "webhook_url": "..." }` (see [Verify webhooks](https://arcmira.com/docs/monitors.md#verify-webhooks)).
3. Confirm Make.com captures the test delivery. A test carries `event` (`test`), `tracker`, `appearance`, `media`, `people`, `topics`, and `timestamp`. It has no `monitor`, no `arcmira`, and no `appearance.evidence`; those arrive on real alerts.
4. Map `tracker.entityName`, `appearance.videoTitle`, `appearance.channelName`, `appearance.context`, and `appearance.videoUrl` into Slack, HubSpot, Airtable, or email. After the first real alert, capture the sample again and add `arcmira.momentUrl` and, on mentions, `appearance.evidence.display_text`. Keep `appearance.videoUrl` as the link when `arcmira.momentUrl` is absent.

**Done when:** Make.com receives the test delivery and downstream steps map `appearance.videoTitle` and `appearance.videoUrl`.

## Zapier

### Pull transcripts or search passages in Zapier

1. Add an HTTP `GET` request action pointing to `https://api.arcmira.com/v1/transcripts/NWMAOLQRQoI` (or `https://api.arcmira.com/v1/search?q=Ramp&limit=5`).
2. Add two request headers:
   * `Authorization`: `Bearer YOUR_ARC_SK_KEY`
   * `X-Arcmira-Client`: `zapier-zap/1.0`
3. Leave the request body empty for `GET` calls and run a test request.

For a two-step lookup by brand name, send a first `GET` request to `https://api.arcmira.com/v1/entities/resolve?q={{brand}}`, read `best.id` (for example `ent_14`), and pass that id as `about` to `GET /v1/search`. Filters require ids; passing a raw name returns `400 id_required`.

**Done when:** The test request returns HTTP `200` with `chunks` (for search) or transcript lines (for transcripts) available in Zapier's field mapper.

### Receive Arcmira monitor webhooks in Zapier

1. Create a webhook trigger in Zapier and copy the generated webhook URL. To verify `X-Arcmira-Signature`, the step that checks it needs the unparsed request body and the request headers.
2. Save that URL on your monitor at [Monitors](https://arcmira.com/monitors) and send a test notification, or turn the webhook on via `PATCH /v1/monitors/{id}` (see [Verify webhooks](https://arcmira.com/docs/monitors.md#verify-webhooks)).
3. Pull the sample record in Zapier and map `tracker.entityName`, `appearance.videoTitle`, `appearance.context`, and `appearance.videoUrl` into your Slack, CRM, or email action. A test has no `arcmira` and no `appearance.evidence`; after the first real alert, pull a new sample and add `arcmira.momentUrl` and, on mentions, `appearance.evidence.display_text`.

**Done when:** Zapier displays the test delivery and your downstream action posts a working `appearance.videoUrl` link.

## Activepieces

### Pull transcripts or search passages in Activepieces

1. Add an HTTP request step with method `GET` and URL `https://api.arcmira.com/v1/search`.
2. Add request headers `Authorization: Bearer YOUR_ARC_SK_KEY` and `X-Arcmira-Client: activepieces-flow/1.0`.
3. Add query parameters: `q` for your topic, `channel_ids` for a YouTube channel id if scoped (for example `UC-DRzaGnL_vtBUpCFH5M0tg` for TBPN), and `limit` set to `5`.
4. Run the step once and inspect `chunks` in the response body.

**Done when:** The test returns status `200` and the next step can read `watch_url` on the first item of `chunks`.

### Receive Arcmira monitor webhooks in Activepieces

1. Start the flow with an incoming webhook trigger and copy the generated webhook URL.
2. Add the URL to your monitor at [Monitors](https://arcmira.com/monitors) and send a test notification, or turn the webhook on via `PATCH /v1/monitors/{id}` (see [Verify webhooks](https://arcmira.com/docs/monitors.md#verify-webhooks)).
3. Load the captured test payload in Activepieces and map `tracker.entityName`, `appearance.videoTitle`, `appearance.context`, and `appearance.videoUrl` into downstream steps. A test has no `arcmira` and no `appearance.evidence`; after the first real alert, load a new sample and add `arcmira.momentUrl` and, on mentions, `appearance.evidence.display_text`.

**Done when:** Activepieces loads the test delivery body and triggers your downstream step with `appearance.videoUrl`.

## Example responses

### Search (`GET /v1/search`)

All three tools receive the same response shape from `GET /v1/search` (`chunks` array with flat metadata fields; selected fields shown, passage text shortened; see [Search](https://arcmira.com/docs/search.md)):

```json theme={null}
{
  "query": "GPU financing",
  "limit": 5,
  "returned": 1,
  "window": {
    "after": "2026-08-19T04:12:06.387Z",
    "before": "2026-10-18T04:12:06.387Z"
  },
  "chunks": [
    {
      "video_id": "I_OFvB0bDVU",
      "video_title": "AI & Chip Stocks Lead Markets Higher",
      "channel_name": "Bloomberg Television",
      "published_at": "2026-09-22T22:15:58Z",
      "source_label": "3rd Party (Video Creator)",
      "start_seconds": 3360,
      "line_start_seconds": 3360,
      "text": "Whether it is GPU financing or financing the transformer or the turbine...",
      "watch_url": "https://arcmira.com/watch?v=I_OFvB0bDVU&t=3360"
    }
  ]
}
```

### Monitor webhook (`POST`)

A `new_appearance` delivery carries `event`, `tracker`, `monitor`, `appearance`, `media`, and `arcmira` (selected fields shown). `appearance.evidence` is present on mentions. A test delivery has no `monitor`, `arcmira`, or `evidence`. A `filter_match` delivery carries `filter` in place of `appearance` and has no `arcmira`. The `X-Arcmira-Event` header names the event.

```json theme={null}
{
  "event": "new_appearance",
  "tracker": {
    "id": "trk_123",
    "entityName": "Ramp",
    "entityType": "organization"
  },
  "monitor": {
    "id": "mon_abc123",
    "name": "Competitors"
  },
  "appearance": {
    "videoId": "NWMAOLQRQoI",
    "videoTitle": "Compute markets discussion",
    "channelName": "Empire",
    "timestampSeconds": 1654,
    "context": "Host discusses Ramp alongside finance tooling.",
    "videoUrl": "https://youtube.com/watch?v=NWMAOLQRQoI&t=1651",
    "evidence": {
      "kind": "excerpt",
      "display_text": "Ramp has been rolling out new treasury controls"
    }
  },
  "media": {
    "title": "Compute markets discussion",
    "channel": "Empire",
    "publishedAt": "2026-10-05T14:00:00Z"
  },
  "arcmira": {
    "momentUrl": "https://arcmira.com/org/ramp/watch?v=NWMAOLQRQoI&watch=123456&t=1651&si=SHARE_ID",
    "channelUrl": "https://arcmira.com/channel/UC1234567890abcdefghij?si=SHARE_ID"
  }
}
```

## Verify webhook signatures and handle errors

* **Verify signatures:** Each delivery carries `X-Arcmira-Signature`, an HMAC-SHA256 over `{timestamp}.{raw body}`. `PATCH /v1/monitors/{id}` with `{ "notify_webhook": true, "webhook_url": "..." }` returns `monitor.webhook_secret` (`whsec_...`) when it turns signing on for a monitor that has no secret yet. The dashboard form sets the URL and does not display the secret; for a monitor set up there, `POST /v1/monitors/{id}/webhook-secret/rotate` returns a new one. See [Verify webhooks](https://arcmira.com/docs/monitors.md#verify-webhooks) for headers, base64 encoding, `whsec_` prefix stripping, and the 300-second replay window.
* **Retry on `429` or `503`:** Respect the `Retry-After` response header. When requesting a transcript that is still fetching (`503`), retry after the delay before failing the run.
* **Inspect error codes:** Switch on `error.code` (such as `id_required`, `paid_plan_required`, or `quota_exceeded`) rather than prose messages. See [Errors](https://arcmira.com/docs/errors.md) for every code and recovery step.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.