Session Terminal

Operations of the Interactive Session API. Paths are relative to your deployment's API host.

GET /api/agent-session-api/sessions/{id}/terminal

Describe the terminal screens of a session for the caller: what the caller may do on each and whether an attach would be admitted now. Reads only.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200application/json TerminalDescribeResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

GET /api/agent-session-api/sessions/{id}/terminal/{screen}

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
screenpathTerminalScreenParamyes
StatusDescriptionBody
101Switching Protocols: WebSocket upgrade accepted
403The attach was refused (problem response)
404Not found, or not visible to the caller
503The terminal is unavailable (problem response)