Executions
Copy page
Durable agent execution endpoints
Create durable agent execution
Authorization
bearerAuth Bearer token authentication. Use this for API clients and service-to-service communication. Set the Authorization header to "Bearer ".
In: header
Request Body
application/json
The conversation messages
Response Body
text/event-stream
application/json
application/json
curl -X POST "https://api.pilot.inkeep.com/run/api/executions" \ -H "Content-Type: application/json" \ -d '{ "messages": [ { "content": "string", "role": "system" } ] }'"string"{
"error": "string"
}{
"error": "string"
}Get execution status
Authorization
bearerAuth Bearer token authentication. Use this for API clients and service-to-service communication. Set the Authorization header to "Bearer ".
In: header
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://api.pilot.inkeep.com/run/api/executions/:executionId"{
"agentId": "string",
"conversationId": "string",
"createdAt": "string",
"id": "string",
"status": "running",
"updatedAt": "string"
}{
"error": "string"
}Approve or deny a tool call
Authorization
bearerAuth Bearer token authentication. Use this for API clients and service-to-service communication. Set the Authorization header to "Bearer ".
In: header
Path Parameters
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://api.pilot.inkeep.com/run/api/executions/:executionId/approvals/:toolCallId" \ -H "Content-Type: application/json" \ -d '{ "approved": true }'{
"success": true
}{
"error": "string"
}Reconnect to execution stream
Authorization
bearerAuth Bearer token authentication. Use this for API clients and service-to-service communication. Set the Authorization header to "Bearer ".
In: header
Path Parameters
Response Body
text/event-stream
application/json
curl -X GET "https://api.pilot.inkeep.com/run/api/executions/:executionId/stream""string"{
"error": "string"
}