Skip to main content
POST
/
api
/
v1
/
agent-session-input-requests
/
{id}
/
resolve
Resolve Agent Session Input Request
curl --request POST \
  --url http://localhost:3301/api/v1/agent-session-input-requests/{id}/resolve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "response": {}
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "key": "<string>",
  "title": "<string>",
  "message": "<string>",
  "schema": {},
  "response": {},
  "status": "pending",
  "created_at": "2023-11-07T05:31:56Z",
  "resolved_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string<uuid>
required

Body

application/json
response
object
required

Response

200 - application/json

An input request from an agent session

An input request from an agent session

id
string<uuid>

Unique identifier

session_id
string<uuid>

Parent session ID

agent_id
string<uuid>

Parent agent ID

workspace_id
string<uuid>

Workspace ID

key
string

Stable identifier for the agent

Maximum string length: 255
title
string

Short title displayed in the list

Maximum string length: 255
message
string

Human-readable explanation shown in UI

schema
object

JSON Schema describing expected input

response
object

User-provided response

status
enum<string>

Request status

Available options:
pending,
resolved
created_at
string<date-time>

Creation timestamp

resolved_at
string<date-time> | null

Resolution timestamp