Skip to main content
POST
Send a follow-up prompt

Authorizations

Authorization
string
header
required

An API key of your organization, starting with trk_, sent as Authorization: Bearer <key>.

Path Parameters

id
string
required

Unique identifier of the run.

Body

application/json
text
string
required

What you ask the agent to do next.

Minimum string length: 1
model
string

Model for this prompt only. Defaults to the run's model.

Minimum string length: 1

Response

One instruction to the agent and the work it did in response.

One instruction to the agent and the work it did in response.

run_id
string
required

Unique identifier of the run.

index
integer
required

Position of the prompt in its run, starting at 1.

Required range: 1 <= x <= 9007199254740991
text
string
required

What you asked the agent to do.

submitted_at
string
required
status
enum<string>
required

working while the agent works on it. failed or canceled when the run ended before the prompt finished.

Available options:
working,
failed,
canceled
model
string

Model for this prompt, when not the run's.