provider agent_platformagent_applications POST
/api/projects/{project_id}/agent_applications/{id}/approvals/{approval_id}/decide/ @utdk/posthog
/api/projects/{project_id}/agent_applications/{id}/approvals/{approval_id}/decide/ agent_applications_approvals_decide
Approve or reject a queued `agent`-type tool-approval request.
This is the OWNER decision surface — the only PostHog-authoritative one:
team admins decide here, in the console. `principal`-type approvals are
decided by the session principal at the ingress decision API, not here.
The runtime side runs the tool platform-side on approve and wakes the
session with a synthetic tool_result either way.
- approval_id path required
- UUID of the approval request to decide.
- string
- id path required
- A UUID string identifying this agent application.
- string
- project_id path required
- Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.agentApplicationsApprovalsDecide()