Skip to content

SDK: autonomy

The autonomy methods of the Overlane TypeScript SDK, with their signatures. Generated from the SDK types.

Updated View as MarkdownOpen in ChatGPTOpen in Claude

The autonomy area has 6 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).

autonomyApprovalsAnswer

Approve or deny; an agent lists the evidence it checked and why, and cannot answer its own request

  • Request: POST on /v1/tenants/{tenantId}/autonomy/approvals/{approvalId}/answer
autonomyApprovalsAnswer(args: { tenantId: string; approvalId: string; body: AnswerApprovalBody }, options?: CallOptions): Promise<AutonomyApproval>

autonomyApprovalsCreate

Ask an independent agent or a person to approve an action in an action class

  • Request: POST on /v1/tenants/{tenantId}/autonomy/approvals
autonomyApprovalsCreate(args: { tenantId: string; body: RequestApprovalBody }, options?: CallOptions): Promise<AutonomyApproval>

autonomyApprovalsGet

Read one approval

  • Request: GET on /v1/tenants/{tenantId}/autonomy/approvals/{approvalId}
autonomyApprovalsGet(args: { tenantId: string; approvalId: string }, options?: CallOptions): Promise<AutonomyApproval>

autonomyApprovalsList

Approvals, with who asked, who answered, the evidence and the reason

  • Request: GET on /v1/tenants/{tenantId}/autonomy/approvals
autonomyApprovalsList(args: { tenantId: string; query?: { status?: string } }, options?: CallOptions): Promise<AutonomyApprovalList>

autonomyGet

The team’s autonomy mode, its overrides and what each action class asks for

  • Request: GET on /v1/tenants/{tenantId}/autonomy
autonomyGet(args: { tenantId: string }, options?: CallOptions): Promise<AutonomySettingsReply>

autonomyPut

Change the autonomy mode (a safety class: an agent needs an independent approval)

  • Request: PUT on /v1/tenants/{tenantId}/autonomy
  • Needs an approval for agents: class autonomy_change
autonomyPut(args: { tenantId: string; body: SetAutonomyRequest }, options?: CallOptions): Promise<AutonomySettingsReply>
Navigation

Type to search…

↑↓ navigate↵ selectEsc close

Overlane Agent

Ask about the docs. Answers are quoted from the pages, with links. This panel cannot change anything.

    Questions are answered in your browser from the docs index. Nothing you type here is stored or sent anywhere.