Skip to content

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

Bearer token

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.
  • dataobjectrequired
    Fields
    • autonomyModestringrequired

      one of approval, trusted

    • autopilotAvailablefalserequired
    • descriptionstringrequired
Request
curl -X GET "https://api.adventur.ai/v1/orgs/$ORG_ID/autonomy" \
-H "Authorization: Bearer $ADVENTURAI_TOKEN"

PATCH/v1/orgs/{orgId}/autonomy

Bearer token

Sets Approval or Trusted mode. Autopilot writes are rejected. Owner/admin only.

Path parameters

  • orgIdstring (uuid)required

Request body application/json

  • autonomyModestringrequired

    one of approval, trusted

Responses

200Sets Approval or Trusted mode. Autopilot writes are rejected. Owner/admin only.
  • dataobjectrequired
    Fields
    • autonomyModestringrequired

      one of approval, trusted

    • autopilotAvailablefalserequired
    • descriptionstringrequired
Request
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"}'