Autonomy API
2 endpoints. Every path is relative to the API base URL and needs a bearer token unless it is marked public. See the REST API overview for authentication, errors and pagination.
GET/v1/orgs/{orgId}/autonomy
Returns Approval/Trusted mode for the workspace. Autopilot is not selectable in private alpha.
Path parameters
orgIdstring (uuid)required
Responses
200Returns Approval/Trusted mode for the workspace. Autopilot is not selectable in private alpha.
dataobjectrequiredFields
autonomyModestringrequiredone of
approval,trustedautopilotAvailablefalserequireddescriptionstringrequired
curl -X GET "https://api.adventur.ai/v1/orgs/$ORG_ID/autonomy" \ -H "Authorization: Bearer $ADVENTURAI_TOKEN"PATCH/v1/orgs/{orgId}/autonomy
Sets Approval or Trusted mode. Autopilot writes are rejected. Owner/admin only.
Path parameters
orgIdstring (uuid)required
Request body application/json
autonomyModestringrequiredone of
approval,trusted
Responses
200Sets Approval or Trusted mode. Autopilot writes are rejected. Owner/admin only.
dataobjectrequiredFields
autonomyModestringrequiredone of
approval,trustedautopilotAvailablefalserequireddescriptionstringrequired
curl -X PATCH "https://api.adventur.ai/v1/orgs/$ORG_ID/autonomy" \ -H "Authorization: Bearer $ADVENTURAI_TOKEN" \ -H "Content-Type: application/json" \ -d '{"autonomyMode":"approval"}'