Agent Instances
Start an agent instance
post/agent-runtime/agent-instances
Request
- Base URLhttp://localhost:8090/agent-api
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"payload": [
{
"name": "myVariable",
"type": "string",
"valueUrl": "http://...."
}
]
}Response
Indicates the agent instance was started.
Example response
{
"executionTrace": {
"id": "agent-instance-1",
"definitionId": "agent-definition-1",
"definitionName": "Customer Support Agent",
"definitionKey": "customerSupportAgent",
"invocations": [
{
"id": "invoc-1",
"operationKey": "processUserRequest",
"promptTokenCount": 150,
"outputTokenCount": 75,
"exchanges": [
{
"id": "exchange-1",
"type": "user",
"subType": "gpt-4.1-2025-04-14",
"userId": "admin",
"promptTokenCount": 50,
"outputTokenCount": 25,
"parts": [
{
"id": "part-1",
"type": "input",
"subType": "request",
"content": "What is the weather today?",
"invocationSequence": 1
}
]
}
]
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.