---
title: "SDK: autonomy"
description: "The autonomy methods of the Overlane TypeScript SDK, with their signatures. Generated from the SDK types."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.overlane.app/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK: autonomy

{/* Generated by apps/docs/scripts/generate.mjs (SDK pages from the TypeScript types in packages/sdk). Do not edit; run `pnpm --filter @overlane/docs gen`. */}

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](/sdk/)).

## 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`

```ts
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`

```ts
autonomyApprovalsCreate(args: { tenantId: string; body: RequestApprovalBody }, options?: CallOptions): Promise<AutonomyApproval>
```

## autonomyApprovalsGet

Read one approval

- Request: `GET` on `/v1/tenants/{tenantId}/autonomy/approvals/{approvalId}`

```ts
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`

```ts
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`

```ts
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`

```ts
autonomyPut(args: { tenantId: string; body: SetAutonomyRequest }, options?: CallOptions): Promise<AutonomySettingsReply>
```

Source: https://docs.overlane.app/sdk/autonomy/index.mdx
