Skip to main content
POST
Preview agent

Authorizations

Authorization
string
header
required

Your workspace secret key, sk_live_ followed by 32 hex characters. Create one in the console under Developers.

Path Parameters

agent_id
string
required

The agent's id (agt_…).

Body

application/json
changes
object
variables
object

Response

The rendered text

agent_id
string
agent_revision
integer
archived
boolean
draft
boolean
end_message
string
first_message
string
system_prompt
string
variables
object