Session Permission Grants

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

GET /api/agent-session-api/sessions/{sessionId}/permission-grants

List the session's live "Always allow" permission grants, newest first. Requires the session's write authority: its owner, or an admin of the organization that owns it.

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

ParameterInTypeRequiredDescription
sessionIdpathstringyesSession ID
StatusDescriptionBody
200application/json SessionPermissionGrantDtoDataArrayEnvelope
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

DELETE /api/agent-session-api/sessions/{sessionId}/permission-grants/{grantId}

Revoke one "Always allow" permission grant of the session: its next matching ask opens a decision again. Idempotent: revoking a grant already revoked changes nothing. Requires the session's write authority: its owner, or an admin of the organization that owns it.

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

ParameterInTypeRequiredDescription
grantIdpathstringyesPermission grant ID
sessionIdpathstringyesSession ID
StatusDescriptionBody
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