Skip to content

SDK: approvals

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

Updated View as MarkdownOpen in ChatGPTOpen in Claude

The approvals area has 3 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).

approvalsAnswer

Answer a task approval

  • Request: POST on /v1/tenants/{tenantId}/projects/{projectId}/approvals/{approvalId}/answer
approvalsAnswer(args: { tenantId: string; projectId: string; approvalId: string; body: AnswerApprovalRequest }, options?: CallOptions): Promise<Record<string, unknown>>

approvalsGet

Read one task approval

  • Request: GET on /v1/tenants/{tenantId}/projects/{projectId}/approvals/{approvalId}
approvalsGet(args: { tenantId: string; projectId: string; approvalId: string }, options?: CallOptions): Promise<Record<string, unknown>>

approvalsList

List a project’s task approvals

  • Request: GET on /v1/tenants/{tenantId}/projects/{projectId}/approvals
approvalsList(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<Record<string, unknown>>
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.