---
title: "Follow Up Agent"
method: POST
path: "/api/v1/agent/{run_id}/follow-up"
---

# Follow Up Agent

`POST /api/v1/agent/{run_id}/follow-up`

## Request

- Base URL: `https://api.mesharc.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mesharc.dev/api/v1/agent/{run_id}/follow-up`
- Auth: none declared

Ask a follow-up in a conversation: a new run on its thread
(`followsRunId`) that answers `prompt` after everything asked and found
in it before, and may read again, free, the pages the conversation
read. The body is a POST /agent request -- its own URLs, schema,
budget, sites and model -- and the follow-up pays for its own work.
`run_id` is the conversation's latest message, finished: 409 while it
works, for an earlier message (the error names the latest), or past 30
messages; 410 past its keep date.

## Path parameters

- `run_id` string, required

## Headers

- `authorization` string, nullable
- `x-mesharc-tenant` string, nullable

## Request body

- AgentRequest
  - `prompt` string, required
  - `urls` string[], nullable
  - `schema` object, nullable
  - `maxCredits` integer, nullable
  - `maxSteps` integer, nullable
  - `allowedDomains` string[], nullable
  - `timeout` number, nullable
  - `webhook` union
    - object
    - string
  - `connectionId` string, nullable
  - `proposals` boolean, nullable
  - `logins` union
    - string
    - string[]
  - `loginId` string, nullable
  - `dataConnections` string[], nullable

## Response `200`

Successful Response

- AgentResponse
  - `id` string, required
  - `kind` string, required
  - `status` string, required
  - `prompt` string, required
  - `params` object, required
  - `data` union
    - object
    - unknown[]
      - unknown
  - `fieldSources` object
  - `sources` AgentSource[], required
    - `url` string, required
    - `title` string
    - `pageId` string
    - `provider` string, nullable
  - `creditsUsed` integer, required
  - `budget` integer, required
  - `budgetLimited` boolean, required
  - `tokens` object, required
  - `steps` integer, required
  - `model` string, required
  - `threadId` string, required
  - `continuesRunId` string, nullable
  - `continuedBy` string, nullable
  - `followsRunId` string, nullable
  - `followedBy` string, nullable
  - `stopReason` string, required
  - `error` string, required
  - `doing` object, nullable
  - `next` string, nullable
  - `createdAt` string, nullable
  - `startedAt` string, nullable
  - `finishedAt` string, nullable
  - `expiresAt` string, nullable
  - `request_id` string, required
  - `webhookSecret` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mesharc/apis/mesharc-api.md) · [All operations](https://skmtc.dev/mesharc/apis/mesharc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mesharc/apis/mesharc-api/revisions/d63cc02dfec2?raw)
