Get Agent

An agent run: its status while it works, its answer and sources after. 410 once its results are past their keep date.

get/api/v1/agent/{run_id}

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}
  • Auth: none declared

Path parameters

run_idstring required

Headers

authorizationstring nullable
x-mesharc-tenantstring nullable

Response

Successful Response

idstring required
kindstring required
statusstring required
promptstring required
paramsobject required
fieldSourcesobject
creditsUsedinteger required
budgetinteger required
budgetLimitedboolean required
tokensobject required
stepsinteger required
modelstring required
threadIdstring required
continuesRunIdstring nullable
continuedBystring nullable
followsRunIdstring nullable
followedBystring nullable
stopReasonstring required
errorstring required
doingobject nullable
nextstring nullable
createdAtstring nullable
startedAtstring nullable
finishedAtstring nullable
expiresAtstring nullable
request_idstring required
webhookSecretstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.