Prisma ORM 8 is here.Read the docs
Agents

Poll an approval

Reports where an approval stands, so an agent holding an approval_required response can wait for the sponsor's decision and retry. Only the agent the approval belongs to can read it.

GET/v1/agent-approvals/{approvalId}

Reports where an approval stands, so an agent holding an approval_required response can wait for the sponsor's decision and retry. Only the agent the approval belongs to can read it.

Authorization

AuthorizationBearer <token>

OAuth2 authentication

In: header

Scope: workspace:admin, offline_access

Path Parameters

approvalId*string

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/agent-approvals/string"
{  "id": "string",  "status": "pending",  "expiresAt": "string",  "windowExpiresAt": "string",  "decidedAt": "string",  "hint": "string"}