Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

Body

application/json
address
string

Beta. Addresses the run to an Agent environment in place of session_id or session_name, as lrn:agents/{id}/environments/{environment}. The environment is case-insensitive. Only workspaces enabled for Agent addressing accept it; others get a 403.

Example:

"lrn:agents/support-agent/environments/production"

dotted_order
string
end_time
string
error
string
events
object[]
extra
object
id
string
input_attachments
object
inputs
object
name
string
output_attachments
object
outputs
object
parent_run_id
string
reference_example_id
string
run_type
enum<string>
Available options:
tool,
chain,
llm,
retriever,
embedding,
prompt,
parser
serialized
object
session_id
string
session_name
string
start_time
string
status
string
tags
string[]
trace_id
string

Response

Run created

{key}
any