Start Agent
An agent run: a prompt (and optional URLs and JSON Schema) in, the answer with its sources out. It searches, maps and reads pages through the same ladder as a crawl, and charges the same way: pages as they are read (refused pages free), model tokens at the model's price plus 20% (or 1 per 1k tokens on your own connectionId); maxCredits caps the run (2,000 by default). Runs in the background: 202 with next to poll at GET /agent/{id}, or wait up to timeout seconds. With a webhook the run's life is posted to it, signed with webhookSecret (returned here once).
post/api/v1/agent
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
- Auth: none declared
Headers
authorizationstring nullable
x-mesharc-tenantstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.