The SDK has one typed method per API operation. Build the client once and call a method:
import { Overlane } from "@overlane/sdk";
const overlane = new Overlane({ apiKey: "ovl_k_..." });For a walkthrough see TypeScript SDK.
Client options
| Option | Description |
|---|---|
apiKey: string |
A team API key (ovl_k_...) or an agent token. |
baseUrl?: string |
|
version?: string |
The API version, a date. Sent as the Overlane-Version header; the version this SDK was generated from by default. |
fetch?: typeof fetch |
|
maxRetries?: number |
Retries of a read that was rate limited or hit a server error. Writes are never retried. Default 2. |
sleep?: (ms: number) => Promise<void> |
Waits between retries; tests pass a no-op. |
Call options
| Option | Description |
|---|---|
approvalId?: string |
An autonomy approval ID, sent as x-overlane-approval for a call that needs one. |
signal?: AbortSignal |
Errors
A non-2xx answer rejects with OverlaneApiError, which carries these fields.
| Field | Type |
|---|---|
status |
number |
code |
string |
hint |
string | undefined |
retryable |
boolean |
retryAfterSeconds |
number | undefined |
body |
unknown |
Areas
| Area | Methods |
|---|---|
| agent | 9 |
| apikeys | 4 |
| approvals | 3 |
| audit | 3 |
| auth | 2 |
| autonomy | 6 |
| billing | 16 |
| bots | 6 |
| budgets | 6 |
| ci | 26 |
| claims | 12 |
| code | 14 |
| codemap | 1 |
| connectors | 14 |
| cycles | 6 |
| decision | 2 |
| deploy | 13 |
| docs | 7 |
| egress | 9 |
| enterprise | 31 |
| events | 2 |
| features | 3 |
| git | 34 |
| github | 3 |
| guard | 7 |
| imports | 2 |
| inbox | 6 |
| intent | 6 |
| invitations | 4 |
| issues | 10 |
| issuesync | 2 |
| jobs | 1 |
| kit | 20 |
| labels | 6 |
| links | 1 |
| loops | 7 |
| mcp | 2 |
| me | 4 |
| members | 3 |
| memory | 14 |
| models | 4 |
| observe | 25 |
| onboarding | 4 |
| openapi | 1 |
| operator | 8 |
| projects | 10 |
| prroutes | 6 |
| queue | 5 |
| ratelimit | 1 |
| release | 2 |
| releases | 7 |
| review | 7 |
| rules | 2 |
| signals | 4 |
| skills | 5 |
| tasks | 14 |
| teams | 1 |
| tokens | 3 |
| versions | 1 |
| views | 7 |
| webhooks | 6 |
| wiki | 2 |
| workprojects | 6 |
| workspace | 2 |