Skip to content

SDK: tokens

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

Updated View as MarkdownOpen in ChatGPTOpen in Claude

The tokens 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).

tokensCreate

Mint an agent token; the secret is shown once

  • Request: POST on /v1/tenants/{tenantId}/tokens
tokensCreate(args: { tenantId: string; body: CreateAgentTokenRequest }, options?: CallOptions): Promise<AgentTokenCreated>

tokensList

List agent tokens

  • Request: GET on /v1/tenants/{tenantId}/tokens
tokensList(args: { tenantId: string }, options?: CallOptions): Promise<Record<string, unknown>>

tokensRevoke

Revoke an agent token

  • Request: DELETE on /v1/tenants/{tenantId}/tokens/{tokenId}
tokensRevoke(args: { tenantId: string; tokenId: 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.