Skip to main content
POST
/
api
/
orchestrator-agent-sessions
Create OrchestratorAgentSession
curl --request POST \
  --url https://platform.kodexa.ai/api/orchestrator-agent-sessions \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "agentRuntimeId": "<string>",
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "expiresAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "lastInvokedAt": "2023-11-07T05:31:56Z",
  "metadata": {},
  "organizationId": "<string>",
  "runtimeSessionId": "<string>",
  "status": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>"
}
'
{
  "agentRuntimeId": "<string>",
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "expiresAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "lastInvokedAt": "2023-11-07T05:31:56Z",
  "metadata": {},
  "organizationId": "<string>",
  "runtimeSessionId": "<string>",
  "status": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Body

application/json

An orchestrator agent session tracks an agent's state within a pipeline execution.

agentRuntimeId
string
changeSequence
integer<int32>
createdOn
string<date-time>
expiresAt
string<date-time> | null
id
string
lastInvokedAt
string<date-time> | null
metadata
object
organizationId
string
runtimeSessionId
string
status
string
updatedOn
string<date-time>
uuid
string

Response

Created OrchestratorAgentSession

An orchestrator agent session tracks an agent's state within a pipeline execution.

agentRuntimeId
string
changeSequence
integer<int32>
createdOn
string<date-time>
expiresAt
string<date-time> | null
id
string
lastInvokedAt
string<date-time> | null
metadata
object
organizationId
string
runtimeSessionId
string
status
string
updatedOn
string<date-time>
uuid
string