From ddf9bcb0823b8b3cb38a73178954d18a0764d27b Mon Sep 17 00:00:00 2001 From: Daniel Blignaut Date: Mon, 7 Sep 2026 21:15:48 +0200 Subject: [PATCH 1/3] feat(sdk): support customer-hosted ChatKit providers --- .changeset/custom-chatkit-providers.md | 7 + docs/adrs/0043-custom-chatkit-provider-sdk.md | 40 + .../pending/custom-chatkit-providers.md | 61 + packages/api-client/specs/openapi.cloud.json | 37632 ++++++++-------- packages/api-client/src/generated/index.ts | 4 +- packages/api-client/src/generated/sdk.gen.ts | 767 +- .../api-client/src/generated/types.gen.ts | 10669 ++--- packages/sdk-vercel-ai-node/README.md | 1 + packages/sdk-vercel-ai-node/src/handler.ts | 7 +- packages/sdk-vercel-ai-node/src/index.ts | 2 + .../src/session-provider-tools.ts | 24 + .../sdk-vercel-ai-node/test/webhook.test.ts | 64 + packages/sdk/README.md | 19 + .../sdk/examples/custom-chatkit/README.md | 86 + .../sdk/examples/custom-chatkit/agentmail.ts | 458 + packages/sdk/examples/custom-chatkit/linq.ts | 579 + .../sdk/examples/custom-chatkit/server.ts | 89 + .../sdk/examples/custom-chatkit/shared.ts | 221 + packages/sdk/examples/custom-chatkit/store.ts | 163 + .../examples/custom-chatkit/streaming-chat.ts | 104 + .../sdk/examples/custom-chatkit/tsconfig.json | 5 + packages/sdk/package.json | 12 +- packages/sdk/src/chatkit-provider/endpoint.ts | 493 + packages/sdk/src/chatkit-provider/index.ts | 4 + packages/sdk/src/chatkit-provider/runtime.ts | 189 + packages/sdk/src/chatkit-provider/types.ts | 171 + packages/sdk/src/chatkit/custom-providers.ts | 425 + packages/sdk/src/chatkit/index.ts | 55 + packages/sdk/src/chatkit/session-stream.ts | 152 + packages/sdk/src/generated/schema.d.ts | 5368 +-- packages/sdk/src/index.ts | 13 + .../sdk/test/chatkit-provider-parity.test.ts | 535 + packages/sdk/test/chatkit-provider.test.ts | 345 + .../sdk/test/chatkit-session-stream.test.ts | 88 + packages/sdk/tsconfig.json | 8 +- pnpm-lock.yaml | 71 +- 36 files changed, 31939 insertions(+), 26992 deletions(-) create mode 100644 .changeset/custom-chatkit-providers.md create mode 100644 docs/adrs/0043-custom-chatkit-provider-sdk.md create mode 100644 docs/updates/pending/custom-chatkit-providers.md create mode 100644 packages/sdk-vercel-ai-node/src/session-provider-tools.ts create mode 100644 packages/sdk/examples/custom-chatkit/README.md create mode 100644 packages/sdk/examples/custom-chatkit/agentmail.ts create mode 100644 packages/sdk/examples/custom-chatkit/linq.ts create mode 100644 packages/sdk/examples/custom-chatkit/server.ts create mode 100644 packages/sdk/examples/custom-chatkit/shared.ts create mode 100644 packages/sdk/examples/custom-chatkit/store.ts create mode 100644 packages/sdk/examples/custom-chatkit/streaming-chat.ts create mode 100644 packages/sdk/examples/custom-chatkit/tsconfig.json create mode 100644 packages/sdk/src/chatkit-provider/endpoint.ts create mode 100644 packages/sdk/src/chatkit-provider/index.ts create mode 100644 packages/sdk/src/chatkit-provider/runtime.ts create mode 100644 packages/sdk/src/chatkit-provider/types.ts create mode 100644 packages/sdk/src/chatkit/custom-providers.ts create mode 100644 packages/sdk/src/chatkit/session-stream.ts create mode 100644 packages/sdk/test/chatkit-provider-parity.test.ts create mode 100644 packages/sdk/test/chatkit-provider.test.ts create mode 100644 packages/sdk/test/chatkit-session-stream.test.ts diff --git a/.changeset/custom-chatkit-providers.md b/.changeset/custom-chatkit-providers.md new file mode 100644 index 00000000..64c2b80d --- /dev/null +++ b/.changeset/custom-chatkit-providers.md @@ -0,0 +1,7 @@ +--- +"@trytilde/sdk": minor +"@trytilde/sdk-vercel-ai-node": minor +"@trytilde/api-client": minor +--- + +Support customer-hosted ChatKit providers with signed Fetch handlers, scoped runtime clients, contextual session tools, rich delivery, and Linq/AgentMail examples. Deploy compatible API support before using the new methods. diff --git a/docs/adrs/0043-custom-chatkit-provider-sdk.md b/docs/adrs/0043-custom-chatkit-provider-sdk.md new file mode 100644 index 00000000..62c296e6 --- /dev/null +++ b/docs/adrs/0043-custom-chatkit-provider-sdk.md @@ -0,0 +1,40 @@ +# ADR-0043: Framework-neutral ChatKit provider authoring + +Status: Accepted + +## In brief + +- Export authoring and runtime helpers from a dedicated ChatKit provider subpath. +- Separate administrative, connection-runtime, and end-user credentials. +- Keep platform behavior in TypeScript and canonical accounting in Tilde. + +## Context + +A custom provider must express setup, ingestion, rich sends, identities, contextual +session tools, and recovery without requiring a specific agent framework or a +separately provisioned toolkit for each action. + +This extends [SDK ownership](0030-tilde-sdk-and-cli-ownership.md) and preserves +[org/runtime identity separation](0042-org-runtime-identities.md). Platform +extensions follow [ADR-0038](0038-metadata-is-extension-data.md). + +## Decision + +Use standard Fetch Request/Response handlers for signed discovery and versioned +operations. Validate declared schemas/capabilities and keep server-bound execution +context outside model arguments. Provide connection-scoped ingestion, attachment, +conversation, and participant methods. Expose administrative wrappers separately. + +Use stable execution/delivery IDs and explicit applied/absent/uncertain +reconciliation. Private rendering and recipient options flow through canonical +send preparation; reference email adapters redact BCC from public outputs. +Streaming protocol adapters submit canonical turns and relay cursor-based events +using the requesting user's authenticated client. Vercel AI adaptation is optional. + +## Consequences + +The core provider entry point has no Vercel AI requirement. Linq and AgentMail +serve as executable reference adapters, while hosts own deployment, secret +storage, webhook verification, and platform recovery. Backend support must ship +before an SDK release exposes these methods to customers. The example Node host +uses durable encrypted SQLite locally; Tilde's canonical database remains Postgres. diff --git a/docs/updates/pending/custom-chatkit-providers.md b/docs/updates/pending/custom-chatkit-providers.md new file mode 100644 index 00000000..33b9c6a4 --- /dev/null +++ b/docs/updates/pending/custom-chatkit-providers.md @@ -0,0 +1,61 @@ +# Customer-hosted ChatKit SDK + +PR: Pending + +## Intent of the change + +Bring the custom ChatKit provider implementation into Dispatch's supported SDK +packages so customers can host complete transports and contextual tools using +`@trytilde/sdk`, with no dependency on the archived Harness SDK repository. + +## Architecture changes + +See [ADR-0043](../../adrs/0043-custom-chatkit-provider-sdk.md), extending ADR-0030, +ADR-0038, and ADR-0042. Tilde owns authorization and canonical durable execution; +customer backends own platform behavior. SDK, connection-runtime, and user-client +credentials remain separate. + +```mermaid +flowchart LR + API[Tilde API] -->|signed operations| Provider[Customer TypeScript provider] + Provider --> Platform[Platform API] + Provider -->|scoped normalized events| API + Caller -->|user credentials| Stream[Canonical session operations and SSE] +``` + +## Summarized changes + +- Port provider authoring/runtime, definition and connection management, rich + delivery, work diagnostics, and canonical session streams to `packages/sdk`. +- Integrate dynamically discovered custom tools into the existing Vercel AI + `context.session.tools` object and export `sessionProviderTools`. +- Preserve newer room, run, identity, and client APIs. Add the Linq/AgentMail + reference implementations and streaming example under the owning SDK package. +- Regenerate contracts from API PR https://github.com/trytilde/api/pull/276. + Companion public docs: https://github.com/trytilde/docs/pull/36. +- Metadata classification: provider-specific external thread/message details are + interpreted only by the Linq or AgentMail reference adapter. The SDK forwards + opaque extension objects; canonical routing, credentials, leases, and execution + IDs use the signed typed contract, not metadata. +- No OpenBot client surface or fork-owned configuration is changed. No new + external service or global tool install is required; the existing Node 24 + toolchain is used and Ajv reuses the repository's current dependency version. +- Validation on Dispatch `fcee72c`: `openbot sdk refresh` regenerated the client, + validated 689 operations, built all SDK packages, and passed 315 SDK tests. + A subsequent custom endpoint test brings the validated aggregate to 316: + core SDK 150, Vercel Node 152, and other SDK packages 14. `openbot sdk validate` + passed package/export validation; the final changed SDK packages were rebuilt. +- Focused typechecking, example typechecking, formatting, and lint pass. Existing + no-base-to-string warnings remain in older portions of the webhook test file. + Full OpenBot application check/build and browser/Electron e2e were not run + because this changes server SDK packages rather than application surfaces. + +## Critical to apply + +yes + +Deploy the additive API and upgrade workers before releasing the SDK or enabling +custom providers. Consumers use `@trytilde/sdk/chatkit-provider` and configure +backend signing keys, per-connection runtime tokens, and durable backend state. +The reference host's setup guide covers the manually provisioned AgentMail +webhook. No publication, deployment, or live-platform/browser e2e is included. diff --git a/packages/api-client/specs/openapi.cloud.json b/packages/api-client/specs/openapi.cloud.json index 6f002e2c..a0ff10b5 100644 --- a/packages/api-client/specs/openapi.cloud.json +++ b/packages/api-client/specs/openapi.cloud.json @@ -37,6 +37,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -92,93 +101,6 @@ ] } }, - "/api/v1/billing/accounts/{account_id}/enroll": { - "post": { - "tags": [ - "billing", - "v1" - ], - "summary": "An organization administrator explicitly assigns a Core seat to a linked login account.", - "operationId": "billing-enroll-account", - "parameters": [ - { - "name": "account_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BillingContext" - } - } - } - }, - "402": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - } - }, - "/api/v1/billing/accounts/{account_id}/seat": { - "delete": { - "tags": [ - "billing", - "v1" - ], - "summary": "Revoke an account seat without deleting its runtime identity or organization membership.", - "operationId": "billing-remove-account-seat", - "parameters": [ - { - "name": "account_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "" - }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - } - }, "/api/v1/billing/ai-credits/ensure": { "post": { "tags": [ @@ -518,13 +440,13 @@ "v1" ], "summary": "Enroll current human in a product", - "description": "An organization administrator explicitly enrolls their login account in Core. Runtime identities never allocate seats.", + "description": "Creates one deduplicated human Core or Pay seat, synchronizes the exact organization quantity with Autumn, and never bills agent identities.", "operationId": "billing-product-enroll-current-human", "parameters": [ { "name": "product_id", "in": "path", - "description": "tilde_core", + "description": "tilde_core or tilde_pay", "required": true, "schema": { "type": "string" @@ -1794,64 +1716,32 @@ } } }, - "/api/v1/identity/identities": { - "get": { + "/api/v1/identity/invitations/accept": { + "post": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "List identities", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "list-identities", - "parameters": [ - { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "page_size", - "in": "query", - "description": "Page size; defaults to 50 and is clamped to 1..100", - "required": false, - "schema": { - "type": "integer", - "format": "int64" + "summary": "Accept invitation", + "description": "Accept an invitation after verifying the authenticated email and invitation password", + "operationId": "accept-invitation", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AcceptInvitationRequest" + } } }, - { - "name": "next_page_token", - "in": "query", - "description": "Opaque cursor returned by the previous page", - "required": false, - "schema": { - "type": "string" - } - } - ], + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RuntimeIdentityPaginatedResponse" - } - } - } - }, - "401": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/UserInvitation" } } } @@ -1866,63 +1756,31 @@ } } } - }, - "security": [ - { - "org_proxy_token": [] - }, - { - "bearer_token": [] - }, - { - "login_cookie": [] - } - ] - }, - "post": { + } + } + }, + "/api/v1/identity/local-runtime/tunnel-connector": { + "get": { "tags": [ - "identity" - ], - "summary": "Create identity", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "create-identity", - "parameters": [ - { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - } + "identity", + "v1" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateIdentityRequest" - } - } - }, - "required": true - }, + "summary": "Get local runtime tunnel connector", + "description": "Validates the caller's Tilde credentials and returns their Cloudflare tunnel connector token for cloudflared.", + "operationId": "get_local_runtime_tunnel_connector", "responses": { "200": { - "description": "", + "description": "Cloudflare tunnel connector token", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RuntimeIdentity" + "$ref": "#/components/schemas/LocalRuntimeTunnelConnector" } } } }, "401": { - "description": "", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -1931,8 +1789,8 @@ } } }, - "403": { - "description": "", + "503": { + "description": "Local runtime tunnels unavailable", "content": { "application/json": { "schema": { @@ -1944,62 +1802,38 @@ }, "security": [ { - "org_proxy_token": [] + "api_key": [] }, { "bearer_token": [] - }, - { - "login_cookie": [] } ] } }, - "/api/v1/identity/identities/resolve": { - "post": { + "/api/v1/identity/oauth/device/authorize": { + "get": { "tags": [ "identity" ], - "summary": "Resolve identity", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "resolve-identity", + "summary": "Authorize OAuth device code", + "description": "Approves a pending OAuth device-code request for the authenticated user.", + "operationId": "authorize_oauth_device_code", "parameters": [ { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, + "name": "user_code", + "in": "query", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IdentityIdentifier" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RuntimeIdentity" - } - } - } + "description": "Device authorization approved" }, "401": { - "description": "", + "description": "Authentication failed", "content": { "application/json": { "schema": { @@ -2008,8 +1842,8 @@ } } }, - "403": { - "description": "", + "404": { + "description": "Device code not found", "content": { "application/json": { "schema": { @@ -2020,62 +1854,43 @@ } }, "security": [ - { - "org_proxy_token": [] - }, { "bearer_token": [] - }, - { - "login_cookie": [] } ] } }, - "/api/v1/identity/identities/{identity_id}": { - "get": { + "/api/v1/identity/oauth/device/code": { + "post": { "tags": [ "identity" ], - "summary": "Get identity", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "get-identity", - "parameters": [ - { - "name": "identity_id", - "in": "path", - "description": "Identity id", - "required": true, - "schema": { - "type": "string" + "summary": "Start OAuth device authorization", + "description": "Starts OAuth 2.0 Device Authorization Grant for first-party CLI clients.", + "operationId": "start_oauth_device_code", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartOAuthDeviceCodeBody" + } } }, - { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - } - ], + "required": true + }, "responses": { "200": { - "description": "", + "description": "Device authorization created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RuntimeIdentity" + "$ref": "#/components/schemas/StartOAuthDeviceCodeResult" } } } }, - "401": { - "description": "", + "400": { + "description": "Invalid request", "content": { "application/json": { "schema": { @@ -2084,8 +1899,8 @@ } } }, - "403": { - "description": "", + "401": { + "description": "Unsupported client", "content": { "application/json": { "schema": { @@ -2096,70 +1911,41 @@ } }, "security": [ - { - "org_proxy_token": [] - }, - { - "bearer_token": [] - }, - { - "login_cookie": [] - } + {} ] - }, - "patch": { + } + }, + "/api/v1/identity/oauth/register": { + "post": { "tags": [ "identity" ], - "summary": "Update identity", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "update-identity", - "parameters": [ - { - "name": "identity_id", - "in": "path", - "description": "Identity id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - } - ], + "summary": "Register OAuth client", + "description": "Register a public PKCE OAuth client through Dynamic Client Registration. The registration must be scoped to a Tilde org/team by explicit org_id/team_id fields, the x-tilde-org-id header plus team_id, or a Tilde MCP resource URL.", + "operationId": "register_oauth_client", "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateIdentityRequest" + "$ref": "#/components/schemas/RegisterOAuthClientRequest" } } }, "required": true }, "responses": { - "200": { - "description": "", + "201": { + "description": "OAuth client registered", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RuntimeIdentity" + "$ref": "#/components/schemas/RegisterOAuthClientResponse" } } } }, - "401": { - "description": "", + "400": { + "description": "Invalid registration request", "content": { "application/json": { "schema": { @@ -2168,8 +1954,8 @@ } } }, - "403": { - "description": "", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -2180,54 +1966,23 @@ } }, "security": [ - { - "org_proxy_token": [] - }, - { - "bearer_token": [] - }, - { - "login_cookie": [] - } + {} ] } }, - "/api/v1/identity/identities/{identity_id}/identifiers": { - "delete": { + "/api/v1/identity/oauth/token": { + "post": { "tags": [ "identity" ], - "summary": "Remove identity identifier", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "remove-identity-identifier", - "parameters": [ - { - "name": "identity_id", - "in": "path", - "description": "Identity id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - } - ], + "summary": "Exchange PKCE authorization code for tokens", + "description": "Exchange a short-lived PKCE authorization code for a fresh access token and refresh token. Requires code_verifier, client_id, and redirect_uri to match the original authorization request. Body may be either `application/x-www-form-urlencoded` (RFC 6749 §3.2 — preferred for external OAuth clients) or `application/json`.", + "operationId": "exchange_oauth_code", "requestBody": { "content": { - "application/json": { + "application/x-www-form-urlencoded": { "schema": { - "$ref": "#/components/schemas/IdentityIdentifier" + "$ref": "#/components/schemas/ExchangeOAuthCodeBody" } } }, @@ -2235,65 +1990,93 @@ }, "responses": { "200": { - "description": "", + "description": "Tokens issued", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RuntimeIdentity" + "$ref": "#/components/schemas/ExchangeOAuthCodeResult" } } } - } - }, - "security": [ - { - "org_proxy_token": [] }, - { - "bearer_token": [] + "400": { + "description": "Invalid request" }, - { - "login_cookie": [] + "401": { + "description": "Invalid or expired code" } - ] + } } }, - "/api/v1/identity/identities/{identity_id}/link-requests": { - "post": { + "/api/v1/identity/organizations": { + "get": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "Create identity link", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "create-identity-link", + "summary": "List organizations", + "description": "List organizations with pagination", + "operationId": "list-organizations", "parameters": [ { - "name": "identity_id", - "in": "path", - "description": "Identity id", - "required": true, + "name": "page_size", + "in": "query", + "required": false, "schema": { - "type": "string" - } + "type": "integer", + "format": "int64" + }, + "style": "form" }, { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", + "name": "next_page_token", + "in": "query", "required": false, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "List of organizations" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } } + } + }, + "post": { + "tags": [ + "identity", + "v1" ], + "summary": "Create organization", + "description": "Create a new organization", + "operationId": "create-organization", "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateIdentityLinkRequest" + "$ref": "#/components/schemas/CreateOrganizationRequest" } } }, @@ -2301,17 +2084,17 @@ }, "responses": { "200": { - "description": "", + "description": "Organization created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreatedIdentityLink" + "$ref": "#/components/schemas/Organization" } } } }, - "401": { - "description": "", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2320,8 +2103,8 @@ } } }, - "403": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2330,50 +2113,34 @@ } } } - }, - "security": [ - { - "org_proxy_token": [] - } - ] + } } }, - "/api/v1/identity/identities/{identity_id}/team": { + "/api/v1/identity/organizations/{org_id}/openbot/deployments": { "post": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "Provision identity team", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "provision-identity-team", + "summary": "Create a hosted OpenBot instance", + "description": "Creates an isolated Tilde team and OAuth registration, then provisions the requested target. `target: vercel` (default) creates one Vercel runtime project containing the web app, control API, and agent functions plus a persistent Vercel Sandbox, and starts deployment; deprecated control and agent project response fields mirror the runtime project for compatibility. `target: exe` creates one exe.dev VM backed by a Tilde-owned Code Storage repository; the VM redeems a single-use bootstrap bundle and the instance becomes active once its runtime serves /healthz. Custom Cloudflare DNS is a follow-up.", + "operationId": "create_hosted_openbot_deployment", "parameters": [ { - "name": "identity_id", + "name": "org_id", "in": "path", - "description": "Identity id", + "description": "Owning Tilde organization ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProvisionIdentityTeamRequest" + "$ref": "#/components/schemas/CreateHostedOpenBotDeploymentRequest" } } }, @@ -2381,86 +2148,51 @@ }, "responses": { "200": { - "description": "", + "description": "Hosted OpenBot provisioning started", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IdentityTeam" + "$ref": "#/components/schemas/HostedOpenBotDeployment" } } } - } - }, - "security": [ - { - "org_proxy_token": [] }, - { - "bearer_token": [] + "400": { + "description": "Invalid title or slug", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - { - "login_cookie": [] - } - ] - } - }, - "/api/v1/identity/identities/{identity_id}/teams": { - "get": { - "tags": [ - "identity" - ], - "summary": "List identity teams", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "list-identity-teams", - "parameters": [ - { - "name": "identity_id", - "in": "path", - "description": "Identity id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "page_size", - "in": "query", - "description": "Page size; defaults to 50 and is clamped to 1..100", - "required": false, - "schema": { - "type": "integer", - "format": "int64" + "403": { + "description": "Not an organization administrator", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "next_page_token", - "in": "query", - "description": "Opaque cursor returned by the previous page", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", + "503": { + "description": "Hosted OpenBot provisioning is unavailable", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IdentityTeamMembershipPaginatedResponse" + "$ref": "#/components/schemas/Error" } } } @@ -2468,159 +2200,136 @@ }, "security": [ { - "org_proxy_token": [] + "api_key": [] }, { "bearer_token": [] - }, - { - "login_cookie": [] } ] } }, - "/api/v1/identity/identities/{identity_id}/teams/{team_id}": { - "put": { + "/api/v1/identity/organizations/{organization_id}": { + "get": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "Add identity team", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "add-identity-team", + "summary": "Get organization", + "description": "Retrieve an organization by ID", + "operationId": "get-organization", "parameters": [ { - "name": "identity_id", - "in": "path", - "description": "Identity id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", + "name": "organization_id", "in": "path", - "description": "Team id", + "description": "Organization ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } } ], "responses": { "200": { - "description": "", + "description": "Organization found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IdentityTeamMembership" + "$ref": "#/components/schemas/Organization" } } } - } - }, - "security": [ - { - "org_proxy_token": [] }, - { - "bearer_token": [] + "404": { + "description": "Organization not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - { - "login_cookie": [] + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } - ] + } }, "delete": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "Remove identity team", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "remove-identity-team", + "summary": "Delete organization", + "description": "Delete an organization by ID", + "operationId": "delete-organization", "parameters": [ { - "name": "identity_id", - "in": "path", - "description": "Identity id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", + "name": "organization_id", "in": "path", - "description": "Team id", + "description": "Organization ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } } ], "responses": { "200": { - "description": "", + "description": "Organization deleted" + }, + "404": { + "description": "Organization not found", "content": { "application/json": { "schema": { - "default": null + "$ref": "#/components/schemas/Error" } } } - } - }, - "security": [ - { - "org_proxy_token": [] - }, - { - "bearer_token": [] }, - { - "login_cookie": [] + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } - ] - } - }, - "/api/v1/identity/invitations/accept": { - "post": { + } + }, + "patch": { "tags": [ "identity", "v1" ], - "summary": "Accept invitation", - "description": "Accept an invitation after verifying the authenticated email and invitation password", - "operationId": "accept-invitation", + "summary": "Update organization", + "description": "Update an organization's attributes", + "operationId": "update-organization", + "parameters": [ + { + "name": "organization_id", + "in": "path", + "description": "Organization ID", + "required": true, + "schema": { + "type": "string" + } + } + ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AcceptInvitationRequest" + "$ref": "#/components/schemas/UpdateOrganizationRequest" } } }, @@ -2628,17 +2337,20 @@ }, "responses": { "200": { - "description": "", + "description": "Organization updated" + }, + "404": { + "description": "Organization not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AcceptInvitationResponse" + "$ref": "#/components/schemas/Error" } } } }, - "403": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2650,119 +2362,130 @@ } } }, - "/api/v1/identity/link-requests/complete": { - "post": { + "/api/v1/identity/organizations/{organization_id}/members": { + "get": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "Complete identity link", - "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", - "operationId": "complete-identity-link", + "summary": "List organization members", + "description": "List members of an organization", + "operationId": "list-organization-members", "parameters": [ { - "name": "Origin", - "in": "header", - "description": "Hosted Tilde confirmation origin", + "name": "organization_id", + "in": "path", + "description": "Organization ID", "required": true, "schema": { "type": "string" } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "user_type", + "in": "query", + "description": "Filter to `human` or `agent` users.", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IdentityClaimRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", + "description": "List of organization members", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LinkedIdentity" + "$ref": "#/components/schemas/OrganizationMemberWithUserPaginatedResponse" } } } - } - }, - "security": [ - { - "bearer_token": [] }, - { - "login_cookie": [] - } - ] - } - }, - "/api/v1/identity/link-requests/preview": { - "post": { - "tags": [ - "identity" - ], - "summary": "Preview identity link", - "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", - "operationId": "preview-identity-link", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IdentityClaimRequest" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IdentityLinkPreview" + "$ref": "#/components/schemas/Error" } } } } - }, - "security": [ - { - "bearer_token": [] - }, - { - "login_cookie": [] - } - ] - } - }, - "/api/v1/identity/local-runtime/tunnel-connector": { - "get": { + } + }, + "post": { "tags": [ "identity", "v1" ], - "summary": "Get local runtime tunnel connector", - "description": "Validates the caller's Tilde credentials and returns their Cloudflare tunnel connector token for cloudflared.", - "operationId": "get_local_runtime_tunnel_connector", + "summary": "Add organization member", + "description": "Add a user to an organization", + "operationId": "add-organization-member", + "parameters": [ + { + "name": "organization_id", + "in": "path", + "description": "Organization ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AddOrganizationMemberRequest" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Cloudflare tunnel connector token", + "description": "Member added", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LocalRuntimeTunnelConnector" + "$ref": "#/components/schemas/UserOrganization" } } } }, - "401": { - "description": "Unauthorized", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2771,8 +2494,8 @@ } } }, - "503": { - "description": "Local runtime tunnels unavailable", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2781,29 +2504,32 @@ } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/identity/oauth/device/authorize": { - "get": { + "/api/v1/identity/organizations/{organization_id}/members/{user_id}": { + "delete": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "Authorize OAuth device code", - "description": "Approves a pending OAuth device-code request for the authenticated user.", - "operationId": "authorize_oauth_device_code", + "summary": "Remove organization member", + "description": "Remove a user from an organization", + "operationId": "remove-organization-member", "parameters": [ { - "name": "user_code", - "in": "query", + "name": "organization_id", + "in": "path", + "description": "Organization ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "User ID", "required": true, "schema": { "type": "string" @@ -2812,10 +2538,10 @@ ], "responses": { "200": { - "description": "Device authorization approved" + "description": "Member removed" }, - "401": { - "description": "Authentication failed", + "404": { + "description": "Membership not found", "content": { "application/json": { "schema": { @@ -2824,8 +2550,8 @@ } } }, - "404": { - "description": "Device code not found", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -2834,27 +2560,41 @@ } } } - }, - "security": [ + } + }, + "patch": { + "tags": [ + "identity", + "v1" + ], + "summary": "Update organization member role", + "description": "Move an organization member between the organization member and organization admin system groups", + "operationId": "update-organization-member-role", + "parameters": [ { - "bearer_token": [] + "name": "organization_id", + "in": "path", + "description": "Organization ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "user_id", + "in": "path", + "description": "User ID", + "required": true, + "schema": { + "type": "string" + } } - ] - } - }, - "/api/v1/identity/oauth/device/code": { - "post": { - "tags": [ - "identity" ], - "summary": "Start OAuth device authorization", - "description": "Starts OAuth 2.0 Device Authorization Grant for first-party CLI clients.", - "operationId": "start_oauth_device_code", "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StartOAuthDeviceCodeBody" + "$ref": "#/components/schemas/UpdateOrganizationMemberRoleBody" } } }, @@ -2862,17 +2602,17 @@ }, "responses": { "200": { - "description": "Device authorization created", + "description": "Organization member role updated", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StartOAuthDeviceCodeResult" + "$ref": "#/components/schemas/UserOrganization" } } } }, "400": { - "description": "Invalid request", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -2881,8 +2621,8 @@ } } }, - "401": { - "description": "Unsupported client", + "404": { + "description": "Membership not found", "content": { "application/json": { "schema": { @@ -2891,43 +2631,75 @@ } } } - }, - "security": [ - {} - ] + } } }, - "/api/v1/identity/oauth/register": { - "post": { + "/api/v1/identity/organizations/{organization_id}/oidc-providers": { + "get": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "Register OAuth client", - "description": "Register a public PKCE OAuth client through Dynamic Client Registration. The registration must be scoped to a Tilde org/team by explicit org_id/team_id fields, the x-tilde-org-id header plus team_id, or a Tilde MCP resource URL.", - "operationId": "register_oauth_client", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RegisterOAuthClientRequest" - } + "summary": "List organization OIDC providers", + "description": "List custom OIDC providers for an organization", + "operationId": "list-org-oidc-providers", + "parameters": [ + { + "name": "organization_id", + "in": "path", + "description": "Organization ID", + "required": true, + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": [ + "integer", + "null" + ], + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], "responses": { - "201": { - "description": "OAuth client registered", + "200": { + "description": "Organization OIDC providers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RegisterOAuthClientResponse" + "$ref": "#/components/schemas/OrgOidcProviderPaginatedResponse" } } } }, - "400": { - "description": "Invalid registration request", + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -2948,23 +2720,38 @@ } }, "security": [ - {} + { + "api_key": [] + }, + { + "bearer_token": [] + } ] - } - }, - "/api/v1/identity/oauth/token": { + }, "post": { "tags": [ - "identity" + "identity", + "v1" + ], + "summary": "Create organization OIDC provider", + "description": "Create a custom OIDC provider for an organization", + "operationId": "create-org-oidc-provider", + "parameters": [ + { + "name": "organization_id", + "in": "path", + "description": "Organization ID", + "required": true, + "schema": { + "type": "string" + } + } ], - "summary": "Exchange PKCE authorization code for tokens", - "description": "Exchange a short-lived PKCE authorization code for a fresh access token and refresh token. Requires code_verifier, client_id, and redirect_uri to match the original authorization request. Body may be either `application/x-www-form-urlencoded` (RFC 6749 §3.2 — preferred for external OAuth clients) or `application/json`.", - "operationId": "exchange_oauth_code", "requestBody": { "content": { - "application/x-www-form-urlencoded": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ExchangeOAuthCodeBody" + "$ref": "#/components/schemas/CreateOrgOidcProviderRequest" } } }, @@ -2972,54 +2759,37 @@ }, "responses": { "200": { - "description": "Tokens issued", + "description": "Organization OIDC provider created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ExchangeOAuthCodeResult" + "$ref": "#/components/schemas/OrgOidcProvider" } } } }, "400": { - "description": "Invalid request" - }, - "401": { - "description": "Invalid or expired code" - } - } - } - }, - "/api/v1/identity/onboarding/organization": { - "post": { - "tags": [ - "identity" - ], - "summary": "Create the account's first native organization and team", - "operationId": "onboard-organization", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OnboardOrganizationRequest" + "description": "Invalid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OnboardOrganizationResponse" + "$ref": "#/components/schemas/Error" } } } }, - "401": { - "description": "", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3028,8 +2798,8 @@ } } }, - "409": { - "description": "", + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -3041,50 +2811,56 @@ }, "security": [ { - "bearer_token": [] + "api_key": [] }, { - "login_cookie": [] + "bearer_token": [] } ] } }, - "/api/v1/identity/organizations": { + "/api/v1/identity/organizations/{organization_id}/oidc-providers/{provider_id}": { "get": { "tags": [ "identity", "v1" ], - "summary": "List organizations", - "description": "List organizations with pagination", - "operationId": "list-organizations", + "summary": "Get organization OIDC provider", + "description": "Get one custom OIDC provider for an organization", + "operationId": "get-org-oidc-provider", "parameters": [ { - "name": "page_size", - "in": "query", - "required": false, + "name": "organization_id", + "in": "path", + "description": "Organization ID", + "required": true, "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" + "type": "string" + } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "provider_id", + "in": "path", + "description": "OIDC provider ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" + } } ], "responses": { "200": { - "description": "List of organizations" + "description": "Organization OIDC provider", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrgOidcProvider" + } + } + } }, - "400": { - "description": "Bad Request", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -3093,8 +2869,18 @@ } } }, - "500": { - "description": "Internal Server Error", + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", "content": { "application/json": { "schema": { @@ -3103,39 +2889,60 @@ } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] }, - "post": { + "delete": { "tags": [ "identity", "v1" ], - "summary": "Create organization", - "description": "Create a new organization", - "operationId": "create-organization", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateOrganizationRequest" - } + "summary": "Delete organization OIDC provider", + "description": "Delete one custom OIDC provider for an organization", + "operationId": "delete-org-oidc-provider", + "parameters": [ + { + "name": "organization_id", + "in": "path", + "description": "Organization ID", + "required": true, + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "provider_id", + "in": "path", + "description": "OIDC provider ID", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { - "description": "Organization created", + "description": "Organization OIDC provider deleted" + }, + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Organization" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3144,8 +2951,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Not found", "content": { "application/json": { "schema": { @@ -3154,23 +2961,38 @@ } } } - } - } - }, - "/api/v1/identity/organizations/{org_id}/openbot/deployments": { - "post": { + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + }, + "patch": { "tags": [ "identity", "v1" ], - "summary": "Create a hosted OpenBot instance", - "description": "Creates an isolated Tilde team and OAuth registration, then provisions the requested target. `target: vercel` (default) creates one Vercel runtime project containing the web app, control API, and agent functions plus a persistent Vercel Sandbox, and starts deployment; deprecated control and agent project response fields mirror the runtime project for compatibility. `target: exe` creates one exe.dev VM backed by a Tilde-owned Code Storage repository; the VM redeems a single-use bootstrap bundle and the instance becomes active once its runtime serves /healthz. Custom Cloudflare DNS is a follow-up.", - "operationId": "create_hosted_openbot_deployment", + "summary": "Update organization OIDC provider", + "description": "Update one custom OIDC provider for an organization", + "operationId": "update-org-oidc-provider", "parameters": [ { - "name": "org_id", + "name": "organization_id", "in": "path", - "description": "Owning Tilde organization ID", + "description": "Organization ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "provider_id", + "in": "path", + "description": "OIDC provider ID", "required": true, "schema": { "type": "string" @@ -3181,7 +3003,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateHostedOpenBotDeploymentRequest" + "$ref": "#/components/schemas/UpdateOrgOidcProviderRequest" } } }, @@ -3189,17 +3011,17 @@ }, "responses": { "200": { - "description": "Hosted OpenBot provisioning started", + "description": "Organization OIDC provider updated", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HostedOpenBotDeployment" + "$ref": "#/components/schemas/OrgOidcProvider" } } } }, "400": { - "description": "Invalid title or slug", + "description": "Invalid request", "content": { "application/json": { "schema": { @@ -3219,7 +3041,7 @@ } }, "403": { - "description": "Not an organization administrator", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3228,8 +3050,8 @@ } } }, - "503": { - "description": "Hosted OpenBot provisioning is unavailable", + "404": { + "description": "Not found", "content": { "application/json": { "schema": { @@ -3249,15 +3071,15 @@ ] } }, - "/api/v1/identity/organizations/{organization_id}": { - "get": { + "/api/v1/identity/organizations/{organization_id}/oidc-providers/{provider_id}/verify-domain": { + "post": { "tags": [ "identity", "v1" ], - "summary": "Get organization", - "description": "Retrieve an organization by ID", - "operationId": "get-organization", + "summary": "Verify organization OIDC provider domain", + "description": "Verify an organization OIDC provider email domain by checking its DNS TXT record", + "operationId": "verify-org-oidc-provider-domain", "parameters": [ { "name": "organization_id", @@ -3267,21 +3089,30 @@ "schema": { "type": "string" } + }, + { + "name": "provider_id", + "in": "path", + "description": "OIDC provider ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Organization found", + "description": "Organization OIDC provider domain verified", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Organization" + "$ref": "#/components/schemas/OrgOidcProvider" } } } }, - "404": { - "description": "Organization not found", + "400": { + "description": "DNS TXT record is missing or invalid", "content": { "application/json": { "schema": { @@ -3290,8 +3121,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -3299,34 +3130,9 @@ } } } - } - } - }, - "delete": { - "tags": [ - "identity", - "v1" - ], - "summary": "Delete organization", - "description": "Delete an organization by ID", - "operationId": "delete-organization", - "parameters": [ - { - "name": "organization_id", - "in": "path", - "description": "Organization ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Organization deleted" }, - "404": { - "description": "Organization not found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3335,8 +3141,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Not found", "content": { "application/json": { "schema": { @@ -3345,73 +3151,26 @@ } } } - } - }, - "patch": { - "tags": [ - "identity", - "v1" - ], - "summary": "Update organization", - "description": "Update an organization's attributes", - "operationId": "update-organization", - "parameters": [ - { - "name": "organization_id", - "in": "path", - "description": "Organization ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateOrganizationRequest" - } - } - }, - "required": true }, - "responses": { - "200": { - "description": "Organization updated" - }, - "404": { - "description": "Organization not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + "security": [ + { + "api_key": [] }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + { + "bearer_token": [] } - } + ] } }, - "/api/v1/identity/organizations/{organization_id}/members": { + "/api/v1/identity/organizations/{organization_id}/teams": { "get": { "tags": [ "identity", "v1" ], - "summary": "List organization members", - "description": "List members of an organization", - "operationId": "list-organization-members", + "summary": "List teams", + "description": "List teams within an organization", + "operationId": "list-teams", "parameters": [ { "name": "organization_id", @@ -3440,25 +3199,15 @@ "type": "string" }, "style": "form" - }, - { - "name": "user_type", - "in": "query", - "description": "Filter to `human` or `agent` users.", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" } ], "responses": { "200": { - "description": "List of organization members", + "description": "List of teams", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OrganizationMemberWithUserPaginatedResponse" + "$ref": "#/components/schemas/TeamPaginatedResponse" } } } @@ -3490,9 +3239,9 @@ "identity", "v1" ], - "summary": "Add organization member", - "description": "Add a user to an organization", - "operationId": "add-organization-member", + "summary": "Create team", + "description": "Create a new team within an organization", + "operationId": "create-team", "parameters": [ { "name": "organization_id", @@ -3508,7 +3257,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AddOrganizationMemberRequest" + "$ref": "#/components/schemas/CreateTeamRequest" } } }, @@ -3516,11 +3265,11 @@ }, "responses": { "200": { - "description": "Member added", + "description": "Team created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserOrganization" + "$ref": "#/components/schemas/Team" } } } @@ -3548,51 +3297,28 @@ } } }, - "/api/v1/identity/organizations/{organization_id}/members/{user_id}": { - "delete": { + "/api/v1/identity/profile": { + "get": { "tags": [ "identity", "v1" ], - "summary": "Remove organization member", - "description": "Remove a user from an organization", - "operationId": "remove-organization-member", - "parameters": [ - { - "name": "organization_id", - "in": "path", - "description": "Organization ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "user_id", - "in": "path", - "description": "User ID", - "required": true, - "schema": { - "type": "string" - } - } - ], + "summary": "Get my profile", + "description": "Return the authenticated user's editable profile and readonly group memberships.", + "operationId": "get-self-profile", "responses": { "200": { - "description": "Member removed" - }, - "404": { - "description": "Membership not found", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SelfProfileResponse" } } } }, - "500": { - "description": "Internal Server Error", + "401": { + "description": "", "content": { "application/json": { "schema": { @@ -3608,34 +3334,14 @@ "identity", "v1" ], - "summary": "Update organization member role", - "description": "Move an organization member between the organization member and organization admin system groups", - "operationId": "update-organization-member-role", - "parameters": [ - { - "name": "organization_id", - "in": "path", - "description": "Organization ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "user_id", - "in": "path", - "description": "User ID", - "required": true, - "schema": { - "type": "string" - } - } - ], + "summary": "Update my profile", + "description": "Update the authenticated user's display name. Email is immutable here.", + "operationId": "update-self-profile", "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateOrganizationMemberRoleBody" + "$ref": "#/components/schemas/UpdateSelfProfileRequest" } } }, @@ -3643,17 +3349,17 @@ }, "responses": { "200": { - "description": "Organization member role updated", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserOrganization" + "$ref": "#/components/schemas/SelfProfileResponse" } } } }, "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { @@ -3662,8 +3368,8 @@ } } }, - "404": { - "description": "Membership not found", + "401": { + "description": "", "content": { "application/json": { "schema": { @@ -3675,30 +3381,233 @@ } } }, - "/api/v1/identity/organizations/{organization_id}/oidc-providers": { + "/api/v1/identity/profile/avatar": { "get": { "tags": [ "identity", "v1" ], - "summary": "List organization OIDC providers", - "description": "List custom OIDC providers for an organization", - "operationId": "list-org-oidc-providers", - "parameters": [ - { - "name": "organization_id", - "in": "path", - "description": "Organization ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { + "summary": "Download my profile avatar", + "description": "Return the authenticated user's uploaded image or OpenBot avatar reference.", + "operationId": "get-self-avatar", + "responses": { + "200": { + "description": "", + "content": { + "application/octet-stream": { + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "minimum": 0 + } + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "put": { + "tags": [ + "identity", + "v1" + ], + "summary": "Upload my profile avatar", + "description": "Upload a PNG, JPEG, or WebP avatar up to 2 MiB.", + "operationId": "upload-self-avatar", + "requestBody": { + "content": { + "application/octet-stream": { + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "minimum": 0 + } + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SelfProfileAvatarResponse" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "delete": { + "tags": [ + "identity", + "v1" + ], + "summary": "Delete my profile avatar", + "description": "Remove the authenticated user's profile avatar.", + "operationId": "delete-self-avatar", + "responses": { + "200": { + "description": "" + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/api/v1/identity/profile/avatar/openbot": { + "put": { + "tags": [ + "identity", + "v1" + ], + "summary": "Set my OpenBot avatar", + "description": "Select a deterministic animated OpenBot avatar by ID.", + "operationId": "set-self-openbot-avatar", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetOpenBotAvatarRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SelfProfileAvatarResponse" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/api/v1/identity/team-groups": { + "get": { + "tags": [ + "identity", + "v1" + ], + "summary": "List organization team groups", + "description": "List user-managed groups across every team in the current organization; requires organization administration", + "operationId": "list-organization-team-groups", + "parameters": [ + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "user_type", + "in": "query", + "description": "Filter to `human` or `agent` users.", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "User-managed groups across organization teams", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamGroupSummaryPaginatedResponse" + } + } + } + } + } + } + }, + "/api/v1/identity/team/{team_id}/api-key": { + "get": { + "tags": [ + "identity", + "v1" + ], + "operationId": "route_list_api_keys", + "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { "type": [ "integer", "null" @@ -3716,15 +3625,46 @@ "null" ] } + }, + { + "name": "user_id", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "user_type", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Organization OIDC providers", + "description": "List of API keys", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OrgOidcProviderPaginatedResponse" + "$ref": "#/components/schemas/ListApiKeysResponse" } } } @@ -3774,14 +3714,21 @@ "identity", "v1" ], - "summary": "Create organization OIDC provider", - "description": "Create a custom OIDC provider for an organization", - "operationId": "create-org-oidc-provider", + "operationId": "route_create_api_key", "parameters": [ { - "name": "organization_id", + "name": "team_id", "in": "path", - "description": "Organization ID", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -3792,19 +3739,19 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateOrgOidcProviderRequest" + "$ref": "#/components/schemas/CreateApiKeyInner" } } }, "required": true }, "responses": { - "200": { - "description": "Organization OIDC provider created", + "201": { + "description": "API key created successfully", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OrgOidcProvider" + "$ref": "#/components/schemas/CreateApiKeyResponse" } } } @@ -3860,29 +3807,36 @@ ] } }, - "/api/v1/identity/organizations/{organization_id}/oidc-providers/{provider_id}": { - "get": { + "/api/v1/identity/team/{team_id}/api-key/{id}": { + "delete": { "tags": [ "identity", "v1" ], - "summary": "Get organization OIDC provider", - "description": "Get one custom OIDC provider for an organization", - "operationId": "get-org-oidc-provider", + "operationId": "route_delete_api_key", "parameters": [ { - "name": "organization_id", + "name": "team_id", "in": "path", - "description": "Organization ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "provider_id", + "name": "id", "in": "path", - "description": "OIDC provider ID", + "description": "ID of the API key to delete", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -3891,11 +3845,11 @@ ], "responses": { "200": { - "description": "Organization OIDC provider", + "description": "API key deleted successfully", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OrgOidcProvider" + "$ref": "#/components/schemas/TupleUnit" } } } @@ -3921,7 +3875,17 @@ } }, "404": { - "description": "Not found", + "description": "API key not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -3939,29 +3903,31 @@ "bearer_token": [] } ] - }, - "delete": { + } + }, + "/api/v1/identity/team/{team_id}/local-runtime/api-key": { + "get": { "tags": [ "identity", "v1" ], - "summary": "Delete organization OIDC provider", - "description": "Delete one custom OIDC provider for an organization", - "operationId": "delete-org-oidc-provider", + "summary": "Get dev tunnel API key metadata", + "description": "Returns whether the authenticated human user has a dev tunnel API key for the selected team. The secret value is never returned.", + "operationId": "get_local_runtime_tunnel_api_key", "parameters": [ { - "name": "organization_id", + "name": "team_id", "in": "path", - "description": "Organization ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "provider_id", + "name": "team_id", "in": "path", - "description": "OIDC provider ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -3970,20 +3936,17 @@ ], "responses": { "200": { - "description": "Organization OIDC provider deleted" - }, - "401": { - "description": "Unauthorized", + "description": "Dev tunnel API key metadata", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/LocalRuntimeTunnelApiKey" } } } }, - "403": { - "description": "Forbidden", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -3992,8 +3955,8 @@ } } }, - "404": { - "description": "Not found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4012,61 +3975,41 @@ } ] }, - "patch": { + "post": { "tags": [ "identity", "v1" ], - "summary": "Update organization OIDC provider", - "description": "Update one custom OIDC provider for an organization", - "operationId": "update-org-oidc-provider", + "summary": "Generate dev tunnel API key", + "description": "Generates or regenerates the authenticated human user's dev tunnel API key for the selected team and returns the one-time secret value.", + "operationId": "generate_local_runtime_tunnel_api_key", "parameters": [ { - "name": "organization_id", + "name": "team_id", "in": "path", - "description": "Organization ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "provider_id", + "name": "team_id", "in": "path", - "description": "OIDC provider ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateOrgOidcProviderRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Organization OIDC provider updated", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OrgOidcProvider" - } - } - } - }, - "400": { - "description": "Invalid request", + "description": "Dev tunnel API key generated", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/GenerateLocalRuntimeTunnelApiKeyResponse" } } } @@ -4091,8 +4034,8 @@ } } }, - "404": { - "description": "Not found", + "503": { + "description": "Local runtime tunnels unavailable", "content": { "application/json": { "schema": { @@ -4110,31 +4053,29 @@ "bearer_token": [] } ] - } - }, - "/api/v1/identity/organizations/{organization_id}/oidc-providers/{provider_id}/verify-domain": { - "post": { + }, + "delete": { "tags": [ "identity", "v1" ], - "summary": "Verify organization OIDC provider domain", - "description": "Verify an organization OIDC provider email domain by checking its DNS TXT record", - "operationId": "verify-org-oidc-provider-domain", + "summary": "Revoke dev tunnel API key", + "description": "Revokes the authenticated human user's dev tunnel API key for the selected team.", + "operationId": "revoke_local_runtime_tunnel_api_key", "parameters": [ { - "name": "organization_id", + "name": "team_id", "in": "path", - "description": "Organization ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "provider_id", + "name": "team_id", "in": "path", - "description": "OIDC provider ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -4143,21 +4084,11 @@ ], "responses": { "200": { - "description": "Organization OIDC provider domain verified", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OrgOidcProvider" - } - } - } - }, - "400": { - "description": "DNS TXT record is missing or invalid", + "description": "Dev tunnel API key revoked", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/TupleUnit" } } } @@ -4181,16 +4112,6 @@ } } } - }, - "404": { - "description": "Not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } } }, "security": [ @@ -4203,58 +4124,39 @@ ] } }, - "/api/v1/identity/organizations/{organization_id}/teams": { + "/api/v1/identity/teams/{team_entity_id}": { "get": { "tags": [ "identity", "v1" ], - "summary": "List teams", - "description": "List teams within an organization", - "operationId": "list-teams", + "summary": "Get team", + "description": "Retrieve a team by ID", + "operationId": "get-team", "parameters": [ { - "name": "organization_id", + "name": "team_entity_id", "in": "path", - "description": "Organization ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" } ], "responses": { "200": { - "description": "List of teams", + "description": "Team found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TeamPaginatedResponse" + "$ref": "#/components/schemas/Team" } } } }, - "400": { - "description": "Bad Request", + "404": { + "description": "Team not found", "content": { "application/json": { "schema": { @@ -4275,48 +4177,31 @@ } } }, - "post": { + "delete": { "tags": [ "identity", "v1" ], - "summary": "Create team", - "description": "Create a new team within an organization", - "operationId": "create-team", + "summary": "Delete team", + "description": "Delete a team by ID", + "operationId": "delete-team", "parameters": [ { - "name": "organization_id", + "name": "team_entity_id", "in": "path", - "description": "Organization ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTeamRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Team created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Team" - } - } - } - }, - "400": { - "description": "Bad Request", + "description": "Team deleted" + }, + "404": { + "description": "Team not found", "content": { "application/json": { "schema": { @@ -4336,147 +4221,31 @@ } } } - } - }, - "/api/v1/identity/profile": { - "get": { - "tags": [ - "identity", - "v1" - ], - "summary": "Get my profile", - "description": "Return the authenticated user's editable profile and readonly group memberships.", - "operationId": "get-self-profile", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SelfProfileResponse" - } - } - } - }, - "401": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } }, "patch": { "tags": [ "identity", "v1" ], - "summary": "Update my profile", - "description": "Update the authenticated user's display name. Email is immutable here.", - "operationId": "update-self-profile", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateSelfProfileRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SelfProfileResponse" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - } - }, - "/api/v1/identity/profile/avatar": { - "get": { - "tags": [ - "identity", - "v1" - ], - "summary": "Download my profile avatar", - "description": "Return the authenticated user's uploaded image or OpenBot avatar reference.", - "operationId": "get-self-avatar", - "responses": { - "200": { - "description": "", - "content": { - "application/octet-stream": { - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32", - "minimum": 0 - } - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + "summary": "Update team", + "description": "Update a team's attributes", + "operationId": "update-team", + "parameters": [ + { + "name": "team_entity_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } - } - }, - "put": { - "tags": [ - "identity", - "v1" ], - "summary": "Upload my profile avatar", - "description": "Upload a PNG, JPEG, or WebP avatar up to 2 MiB.", - "operationId": "upload-self-avatar", "requestBody": { "content": { - "application/octet-stream": { + "application/json": { "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32", - "minimum": 0 - } + "$ref": "#/components/schemas/UpdateTeamRequest" } } }, @@ -4484,41 +4253,10 @@ }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SelfProfileAvatarResponse" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - }, - "delete": { - "tags": [ - "identity", - "v1" - ], - "summary": "Delete my profile avatar", - "description": "Remove the authenticated user's profile avatar.", - "operationId": "delete-self-avatar", - "responses": { - "200": { - "description": "" + "description": "Team updated" }, "404": { - "description": "", + "description": "Team not found", "content": { "application/json": { "schema": { @@ -4526,42 +4264,9 @@ } } } - } - } - } - }, - "/api/v1/identity/profile/avatar/openbot": { - "put": { - "tags": [ - "identity", - "v1" - ], - "summary": "Set my OpenBot avatar", - "description": "Select a deterministic animated OpenBot avatar by ID.", - "operationId": "set-self-openbot-avatar", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetOpenBotAvatarRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SelfProfileAvatarResponse" - } - } - } }, - "400": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -4573,106 +4278,84 @@ } } }, - "/api/v1/identity/proxy-tokens": { + "/api/v1/identity/teams/{team_entity_id}/groups": { "get": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "List proxy tokens", - "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", - "operationId": "list-proxy-tokens", + "summary": "List team groups", + "description": "List user-managed groups in a team; system groups are excluded", + "operationId": "list-team-groups", "parameters": [ { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, + "name": "team_entity_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { "name": "page_size", "in": "query", - "description": "Page size; defaults to 50 and is clamped to 1..100", "required": false, "schema": { "type": "integer", "format": "int64" - } + }, + "style": "form" }, { "name": "next_page_token", "in": "query", - "description": "Opaque cursor returned by the previous page", "required": false, "schema": { "type": "string" - } + }, + "style": "form" + }, + { + "name": "user_type", + "in": "query", + "description": "Filter to `human` or `agent` users.", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OrgProxyTokenPaginatedResponse" - } - } - } - }, - "401": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "", + "description": "User-managed team groups", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/TeamGroupSummaryPaginatedResponse" } } } } - }, - "security": [ - { - "bearer_token": [] - }, - { - "login_cookie": [] - } - ] + } }, "post": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "Create proxy token", - "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", - "operationId": "create-proxy-token", + "summary": "Create team group", + "description": "Create a team-scoped user-managed group with a unique lowercase alphanumeric-and-hyphen slug", + "operationId": "create-team-group", "parameters": [ { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, + "name": "team_entity_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], @@ -4680,7 +4363,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateProxyTokenRequest" + "$ref": "#/components/schemas/CreateTeamGroupBody" } } }, @@ -4688,17 +4371,17 @@ }, "responses": { "200": { - "description": "", + "description": "Team group created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreatedProxyToken" + "$ref": "#/components/schemas/Group" } } } }, - "401": { - "description": "", + "400": { + "description": "Invalid slug or name", "content": { "application/json": { "schema": { @@ -4707,8 +4390,8 @@ } } }, - "403": { - "description": "", + "409": { + "description": "Group slug already exists", "content": { "application/json": { "schema": { @@ -4717,61 +4400,51 @@ } } } - }, - "security": [ - { - "bearer_token": [] - }, - { - "login_cookie": [] - } - ] + } } }, - "/api/v1/identity/proxy-tokens/{token_id}": { - "delete": { + "/api/v1/identity/teams/{team_entity_id}/groups/{group_slug}": { + "get": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "Revoke proxy token", - "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", - "operationId": "revoke-proxy-token", + "summary": "Get team group", + "description": "Get one user-managed team group by slug", + "operationId": "get-team-group", "parameters": [ { - "name": "token_id", + "name": "team_entity_id", "in": "path", - "description": "Token id", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, + "name": "group_slug", + "in": "path", + "description": "Group slug", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Team group", "content": { "application/json": { "schema": { - "default": null + "$ref": "#/components/schemas/Group" } } } }, - "401": { - "description": "", + "404": { + "description": "Not found", "content": { "application/json": { "schema": { @@ -4779,9 +4452,43 @@ } } } + } + } + }, + "delete": { + "tags": [ + "identity", + "v1" + ], + "summary": "Delete team group", + "description": "Delete a user-managed team group; system groups cannot be addressed by this endpoint", + "operationId": "delete-team-group", + "parameters": [ + { + "name": "team_entity_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } }, - "403": { - "description": "", + { + "name": "group_slug", + "in": "path", + "description": "Group slug", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Team group deleted" + }, + "404": { + "description": "Not found", "content": { "application/json": { "schema": { @@ -4790,43 +4497,33 @@ } } } - }, - "security": [ - { - "bearer_token": [] - }, - { - "login_cookie": [] - } - ] + } }, "patch": { "tags": [ - "identity" + "identity", + "v1" ], - "summary": "Rename proxy token", - "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", - "operationId": "rename-proxy-token", + "summary": "Update team group", + "description": "Rename a user-managed team group while retaining its stable slug", + "operationId": "update-team-group", "parameters": [ { - "name": "token_id", + "name": "team_entity_id", "in": "path", - "description": "Token id", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, + "name": "group_slug", + "in": "path", + "description": "Group slug", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], @@ -4834,7 +4531,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RenameProxyTokenRequest" + "$ref": "#/components/schemas/UpdateTeamGroupBody" } } }, @@ -4842,27 +4539,17 @@ }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "default": null - } - } - } - }, - "401": { - "description": "", + "description": "Team group updated", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Group" } } } }, - "403": { - "description": "", + "404": { + "description": "Not found", "content": { "application/json": { "schema": { @@ -4871,27 +4558,37 @@ } } } - }, - "security": [ - { - "bearer_token": [] - }, - { - "login_cookie": [] - } - ] + } } }, - "/api/v1/identity/team-groups": { + "/api/v1/identity/teams/{team_entity_id}/groups/{group_slug}/members": { "get": { "tags": [ "identity", "v1" ], - "summary": "List organization team groups", - "description": "List user-managed groups across every team in the current organization; requires organization administration", - "operationId": "list-organization-team-groups", + "summary": "List team group members", + "description": "List users in a user-managed team group", + "operationId": "list-team-group-members", "parameters": [ + { + "name": "team_entity_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "group_slug", + "in": "path", + "description": "Group slug", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "page_size", "in": "query", @@ -4924,11 +4621,11 @@ ], "responses": { "200": { - "description": "User-managed groups across organization teams", + "description": "Group members", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TeamGroupSummaryPaginatedResponse" + "$ref": "#/components/schemas/GroupMemberWithUserPaginatedResponse" } } } @@ -4936,16 +4633,18 @@ } } }, - "/api/v1/identity/team/{team_id}/api-key": { - "get": { + "/api/v1/identity/teams/{team_entity_id}/groups/{group_slug}/members/{user_id}": { + "put": { "tags": [ "identity", "v1" ], - "operationId": "route_list_api_keys", + "summary": "Add team group member", + "description": "Idempotently add a current team member to a user-managed team group", + "operationId": "add-team-group-member", "parameters": [ { - "name": "team_id", + "name": "team_entity_id", "in": "path", "description": "Team ID", "required": true, @@ -4954,84 +4653,30 @@ } }, { - "name": "page_size", - "in": "query", - "required": false, + "name": "group_slug", + "in": "path", + "description": "Group slug", + "required": true, "schema": { - "type": [ - "integer", - "null" - ], - "format": "int64" + "type": "string" } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "user_id", + "in": "path", + "description": "User ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "user_id", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "user_type", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "List of API keys", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ListApiKeysResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + "description": "Group member added" }, - "500": { - "description": "Internal server error", + "400": { + "description": "User is not a team member", "content": { "application/json": { "schema": { @@ -5040,126 +4685,39 @@ } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } }, - "post": { + "delete": { "tags": [ "identity", "v1" ], - "operationId": "route_create_api_key", + "summary": "Remove team group member", + "description": "Idempotently remove a user from a user-managed team group", + "operationId": "remove-team-group-member", "parameters": [ { - "name": "team_id", + "name": "team_entity_id", "in": "path", "description": "Team ID", "required": true, "schema": { "type": "string" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateApiKeyInner" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "API key created successfully", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateApiKeyResponse" - } - } - } - }, - "400": { - "description": "Invalid request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - { - "api_key": [] }, { - "bearer_token": [] - } - ] - } - }, - "/api/v1/identity/team/{team_id}/api-key/{id}": { - "delete": { - "tags": [ - "identity", - "v1" - ], - "operationId": "route_delete_api_key", - "parameters": [ - { - "name": "team_id", + "name": "group_slug", "in": "path", - "description": "Team ID", + "description": "Group slug", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "user_id", "in": "path", - "description": "ID of the API key to delete", + "description": "User ID", "required": true, "schema": { "type": "string" @@ -5168,138 +4726,73 @@ ], "responses": { "200": { - "description": "API key deleted successfully", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TupleUnit" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "API key not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] + "description": "Group member removed" } - ] + } } }, - "/api/v1/identity/team/{team_id}/local-runtime/api-key": { + "/api/v1/identity/teams/{team_entity_id}/invitations": { "get": { "tags": [ "identity", "v1" ], - "summary": "Get dev tunnel API key metadata", - "description": "Returns whether the authenticated human user has a dev tunnel API key for the selected team. The secret value is never returned.", - "operationId": "get_local_runtime_tunnel_api_key", + "summary": "List team invitations", + "description": "List current and historical team invitations", + "operationId": "list-team-invitations", "parameters": [ { - "name": "team_id", + "name": "team_entity_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" } ], "responses": { "200": { - "description": "Dev tunnel API key metadata", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LocalRuntimeTunnelApiKey" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/UserInvitationPaginatedResponse" } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } }, "post": { "tags": [ "identity", "v1" ], - "summary": "Generate dev tunnel API key", - "description": "Generates or regenerates the authenticated human user's dev tunnel API key for the selected team and returns the one-time secret value.", - "operationId": "generate_local_runtime_tunnel_api_key", + "summary": "Invite users to team", + "description": "Create or resend up to 100 email invitations with explicit system groups for the current team", + "operationId": "invite-team-users", "parameters": [ { - "name": "team_id", + "name": "team_entity_id", "in": "path", "description": "Team ID", "required": true, @@ -5308,29 +4801,29 @@ } } ], - "responses": { - "200": { - "description": "Dev tunnel API key generated", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GenerateLocalRuntimeTunnelApiKeyResponse" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InviteUsersBody" } } }, - "401": { - "description": "Unauthorized", + "required": true + }, + "responses": { + "200": { + "description": "Invitations sent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/InviteUsersResponse" } } } }, - "403": { - "description": "Forbidden", + "400": { + "description": "Invalid invitation", "content": { "application/json": { "schema": { @@ -5339,8 +4832,8 @@ } } }, - "503": { - "description": "Local runtime tunnels unavailable", + "403": { + "description": "Insufficient role assignment permission", "content": { "application/json": { "schema": { @@ -5349,48 +4842,105 @@ } } } - }, - "security": [ + } + } + }, + "/api/v1/identity/teams/{team_entity_id}/invitations/{invitation_id}": { + "delete": { + "tags": [ + "identity", + "v1" + ], + "summary": "Revoke team invitation", + "description": "Revoke a team invitation", + "operationId": "revoke-team-invitation", + "parameters": [ { - "api_key": [] + "name": "team_entity_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, { - "bearer_token": [] + "name": "invitation_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } - ] - }, - "delete": { + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/identity/teams/{team_entity_id}/members": { + "get": { "tags": [ "identity", "v1" ], - "summary": "Revoke dev tunnel API key", - "description": "Revokes the authenticated human user's dev tunnel API key for the selected team.", - "operationId": "revoke_local_runtime_tunnel_api_key", + "summary": "List team members", + "description": "List members of a team", + "operationId": "list-team-members", "parameters": [ { - "name": "team_id", + "name": "team_entity_id", "in": "path", "description": "Team ID", "required": true, "schema": { "type": "string" } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "user_type", + "in": "query", + "description": "Filter to `human` or `agent` users.", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" } ], "responses": { "200": { - "description": "Dev tunnel API key revoked", + "description": "List of team members", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TupleUnit" + "$ref": "#/components/schemas/TeamMemberWithUserPaginatedResponse" } } } }, - "401": { - "description": "Unauthorized", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5399,8 +4949,8 @@ } } }, - "403": { - "description": "Forbidden", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -5409,26 +4959,16 @@ } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/identity/teams/{team_entity_id}": { - "get": { + } + }, + "post": { "tags": [ "identity", "v1" ], - "summary": "Get team", - "description": "Retrieve a team by ID", - "operationId": "get-team", + "summary": "Add team member", + "description": "Add a user to a team", + "operationId": "add-team-member", "parameters": [ { "name": "team_entity_id", @@ -5440,19 +4980,29 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AddTeamMemberBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Team found", + "description": "Member added", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Team" + "$ref": "#/components/schemas/UserTeam" } } } }, - "404": { - "description": "Team not found", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5472,15 +5022,17 @@ } } } - }, + } + }, + "/api/v1/identity/teams/{team_entity_id}/members/{user_id}": { "delete": { "tags": [ "identity", "v1" ], - "summary": "Delete team", - "description": "Delete a team by ID", - "operationId": "delete-team", + "summary": "Remove team member", + "description": "Remove a user from a team", + "operationId": "remove-team-member", "parameters": [ { "name": "team_entity_id", @@ -5490,14 +5042,23 @@ "schema": { "type": "string" } + }, + { + "name": "user_id", + "in": "path", + "description": "User ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Team deleted" + "description": "Member removed" }, "404": { - "description": "Team not found", + "description": "Membership not found", "content": { "application/json": { "schema": { @@ -5523,9 +5084,9 @@ "identity", "v1" ], - "summary": "Update team", - "description": "Update a team's attributes", - "operationId": "update-team", + "summary": "Update team member role", + "description": "Move a team member between the team member and team admin system groups", + "operationId": "update-team-member-role", "parameters": [ { "name": "team_entity_id", @@ -5535,13 +5096,22 @@ "schema": { "type": "string" } + }, + { + "name": "user_id", + "in": "path", + "description": "User ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateTeamRequest" + "$ref": "#/components/schemas/UpdateMemberRoleBody" } } }, @@ -5549,20 +5119,17 @@ }, "responses": { "200": { - "description": "Team updated" - }, - "404": { - "description": "Team not found", + "description": "Team member role updated", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/UserTeam" } } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -5570,114 +5137,52 @@ } } } - } - } - } - }, - "/api/v1/identity/teams/{team_entity_id}/groups": { - "get": { - "tags": [ - "identity", - "v1" - ], - "summary": "List team groups", - "description": "List user-managed groups in a team; system groups are excluded", - "operationId": "list-team-groups", - "parameters": [ - { - "name": "team_entity_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" }, - { - "name": "user_type", - "in": "query", - "description": "Filter to `human` or `agent` users.", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "User-managed team groups", + "404": { + "description": "Membership not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TeamGroupSummaryPaginatedResponse" + "$ref": "#/components/schemas/Error" } } } } } - }, + } + }, + "/api/v1/identity/temporary-accounts": { "post": { "tags": [ "identity", "v1" ], - "summary": "Create team group", - "description": "Create a team-scoped user-managed group with a unique lowercase alphanumeric-and-hyphen slug", - "operationId": "create-team-group", - "parameters": [ - { - "name": "team_entity_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - } - ], + "summary": "Create temporary account", + "description": "Creates a 24-hour temporary organization, team, agent API key, one-hour claim URL, and six-digit claim PIN. This anonymous agent-first endpoint is rate limited before allocating tenant resources.", + "operationId": "createTemporaryAccount", "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateTeamGroupBody" + "$ref": "#/components/schemas/CreateTemporaryAccountRequest" } } }, "required": true }, "responses": { - "200": { - "description": "Team group created", + "201": { + "description": "Temporary account created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Group" + "$ref": "#/components/schemas/CreateTemporaryAccountResponse" } } } }, "400": { - "description": "Invalid slug or name", + "description": "Invalid request", "content": { "application/json": { "schema": { @@ -5686,8 +5191,18 @@ } } }, - "409": { - "description": "Group slug already exists", + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "503": { + "description": "Temporary account creation rate limited", "content": { "application/json": { "schema": { @@ -5699,48 +5214,68 @@ } } }, - "/api/v1/identity/teams/{team_entity_id}/groups/{group_slug}": { - "get": { + "/api/v1/identity/temporary-accounts/claim-url": { + "post": { "tags": [ "identity", "v1" ], - "summary": "Get team group", - "description": "Get one user-managed team group by slug", - "operationId": "get-team-group", - "parameters": [ - { - "name": "team_entity_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" + "summary": "Generate temporary account claim URL", + "description": "Generates a fresh one-hour claim URL for the authenticated temporary account. The six-digit PIN remains unchanged.", + "operationId": "generateTemporaryAccountClaimUrl", + "responses": { + "200": { + "description": "Temporary account claim URL generated", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GenerateTemporaryAccountClaimUrlResponse" + } + } } }, - { - "name": "group_slug", - "in": "path", - "description": "Group slug", - "required": true, - "schema": { - "type": "string" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "responses": { - "200": { - "description": "Team group", + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Group" + "$ref": "#/components/schemas/Error" } } } }, "404": { - "description": "Not found", + "description": "Temporary account not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "410": { + "description": "Temporary account expired", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -5749,30 +5284,31 @@ } } } - } - }, - "delete": { + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/identity/temporary-accounts/claim/{token}": { + "get": { "tags": [ "identity", "v1" ], - "summary": "Delete team group", - "description": "Delete a user-managed team group; system groups cannot be addressed by this endpoint", - "operationId": "delete-team-group", + "summary": "Redirect temporary account claim page", + "description": "Redirects old API claim links to the frontend claim page. The claim action itself still uses POST on this API path.", + "operationId": "redirectTemporaryAccountClaimPage", "parameters": [ { - "name": "team_entity_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "group_slug", + "name": "token", "in": "path", - "description": "Group slug", + "description": "Claim URL token", "required": true, "schema": { "type": "string" @@ -5780,43 +5316,24 @@ } ], "responses": { - "200": { - "description": "Team group deleted" - }, - "404": { - "description": "Not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + "307": { + "description": "Redirects to the frontend temporary-account claim page" } } }, - "patch": { + "post": { "tags": [ "identity", "v1" ], - "summary": "Update team group", - "description": "Rename a user-managed team group while retaining its stable slug", - "operationId": "update-team-group", + "summary": "Claim temporary account", + "description": "Claims a temporary account into the authenticated human user's target organization using the claim URL token and six-digit PIN.", + "operationId": "claimTemporaryAccount", "parameters": [ { - "name": "team_entity_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "group_slug", + "name": "token", "in": "path", - "description": "Group slug", + "description": "Claim URL token", "required": true, "schema": { "type": "string" @@ -5827,7 +5344,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateTeamGroupBody" + "$ref": "#/components/schemas/ClaimTemporaryAccountRequest" } } }, @@ -5835,17 +5352,67 @@ }, "responses": { "200": { - "description": "Team group updated", + "description": "Temporary account claimed", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Group" + "$ref": "#/components/schemas/ClaimTemporaryAccountResponse" + } + } + } + }, + "400": { + "description": "Invalid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } }, "404": { - "description": "Not found", + "description": "Claim URL not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "410": { + "description": "Temporary account or claim URL expired", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -5854,41 +5421,104 @@ } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/identity/teams/{team_entity_id}/groups/{group_slug}/members": { - "get": { + "/api/v1/identity/temporary-accounts/expire": { + "post": { "tags": [ "identity", "v1" ], - "summary": "List team group members", - "description": "List users in a user-managed team group", - "operationId": "list-team-group-members", + "summary": "Expire temporary accounts", + "description": "Expires and deletes unclaimed temporary accounts whose 24-hour lifetime has elapsed.", + "operationId": "expireTemporaryAccounts", "parameters": [ { - "name": "team_entity_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "limit", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": "integer", + "format": "int64" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "Temporary accounts expired", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ExpireTemporaryAccountsResponse" + } + } } }, - { - "name": "group_slug", - "in": "path", - "description": "Group slug", - "required": true, - "schema": { - "type": "string" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } + } + }, + "security": [ + { + "api_key": [] }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/mcp/available-tool-groups": { + "get": { + "tags": [ + "mcp", + "v1" + ], + "summary": "List public tool groups", + "description": "List globally available tool providers and their tools without authentication", + "operationId": "list-public-available-tool-groups", + "parameters": [ { "name": "page_size", "in": "query", - "required": false, + "required": true, "schema": { "type": "integer", "format": "int64" @@ -5905,23 +5535,51 @@ "style": "form" }, { - "name": "user_type", + "name": "deployment_alias", "in": "query", - "description": "Filter to `human` or `agent` users.", - "required": false, + "required": true, "schema": { "type": "string" }, "style": "form" + }, + { + "name": "include_global", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + }, + "style": "form" } ], "responses": { "200": { - "description": "Group members", + "description": "List public tool groups", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GroupMemberWithUserPaginatedResponse" + "$ref": "#/components/schemas/ToolGroupSourceSerializedPaginatedResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -5929,38 +5587,20 @@ } } }, - "/api/v1/identity/teams/{team_entity_id}/groups/{group_slug}/members/{user_id}": { - "put": { + "/api/v1/openbot/bootstrap/{token}": { + "get": { "tags": [ "identity", "v1" ], - "summary": "Add team group member", - "description": "Idempotently add a current team member to a user-managed team group", - "operationId": "add-team-group-member", + "summary": "Redeem a hosted OpenBot bootstrap token", + "description": "Exchanges the single-use token an exe.dev VM received through its environment for the instance bootstrap bundle: `openbot init` answers, the runtime environment, the secrets written to the mode-0600 environment file (team API key, repository-scoped Code Storage token, organization AI Gateway key), and the bootstrap shell script. The token is invalidated before the bundle is rendered; a second request returns 404.", + "operationId": "get_hosted_openbot_bootstrap_bundle", "parameters": [ { - "name": "team_entity_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "group_slug", - "in": "path", - "description": "Group slug", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "user_id", + "name": "token", "in": "path", - "description": "User ID", + "description": "One-time bootstrap token from ASH_BOOTSTRAP_TOKEN", "required": true, "schema": { "type": "string" @@ -5969,10 +5609,27 @@ ], "responses": { "200": { - "description": "Group member added" + "description": "Bootstrap bundle", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HostedOpenBotBootstrapBundle" + } + } + } }, - "400": { - "description": "User is not a team member", + "404": { + "description": "Unknown, expired, or already redeemed token", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "503": { + "description": "The exe target is not configured", "content": { "application/json": { "schema": { @@ -5982,38 +5639,61 @@ } } } - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/automations": { + "get": { "tags": [ - "identity", + "automations", "v1" ], - "summary": "Remove team group member", - "description": "Idempotently remove a user from a user-managed team group", - "operationId": "remove-team-group-member", + "summary": "List unified routines", + "description": "Lists native Routine roots and their schedule or event triggers, filterable by agent.", + "operationId": "automations-list", "parameters": [ { - "name": "team_entity_id", + "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "group_slug", - "in": "path", - "description": "Group slug", - "required": true, + "name": "agent_id", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } }, { - "name": "user_id", + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", "in": "path", - "description": "User ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -6022,23 +5702,38 @@ ], "responses": { "200": { - "description": "Group member removed" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoutinePaginatedResponse" + } + } + } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/identity/teams/{team_entity_id}/invitations": { + "/api/v1/team/{team_id}/automations/{routine_id}": { "get": { "tags": [ - "identity", + "automations", "v1" ], - "summary": "List team invitations", - "description": "List current and historical team invitations", - "operationId": "list-team-invitations", + "summary": "Get a unified routine", + "description": "Gets the native root, trigger configuration, schedule telemetry, and version.", + "operationId": "automations-get", "parameters": [ { - "name": "team_entity_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -6046,23 +5741,21 @@ } }, { - "name": "page_size", - "in": "query", - "required": false, + "name": "routine_id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" + "$ref": "#/components/schemas/WrappedUuidV4" + } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" + } } ], "responses": { @@ -6071,24 +5764,58 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserInvitationPaginatedResponse" + "$ref": "#/components/schemas/Routine" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] }, - "post": { + "put": { "tags": [ - "identity", + "automations", "v1" ], - "summary": "Invite users to team", - "description": "Create or resend up to 100 email invitations with explicit system groups for the current team", - "operationId": "invite-team-users", + "summary": "Create or replace a unified routine", + "description": "Atomically persists the Routine root and its complete native schedule/event trigger set.", + "operationId": "automations-put", "parameters": [ { - "name": "team_entity_id", + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "routine_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", "description": "Team ID", "required": true, @@ -6101,7 +5828,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InviteUsersBody" + "$ref": "#/components/schemas/PutRoutineBody" } } }, @@ -6109,17 +5836,17 @@ }, "responses": { "200": { - "description": "Invitations sent", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InviteUsersResponse" + "$ref": "#/components/schemas/Routine" } } } }, "400": { - "description": "Invalid invitation", + "description": "", "content": { "application/json": { "schema": { @@ -6127,32 +5854,28 @@ } } } + } + }, + "security": [ + { + "api_key": [] }, - "403": { - "description": "Insufficient role assignment permission", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + { + "bearer_token": [] } - } - } - }, - "/api/v1/identity/teams/{team_entity_id}/invitations/{invitation_id}": { + ] + }, "delete": { "tags": [ - "identity", + "automations", "v1" ], - "summary": "Revoke team invitation", - "description": "Revoke a team invitation", - "operationId": "revoke-team-invitation", + "summary": "Delete a unified routine", + "description": "Deletes the Routine root and cascading triggers when no schedule execution holds a live lease.", + "operationId": "automations-delete", "parameters": [ { - "name": "team_entity_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -6160,8 +5883,17 @@ } }, { - "name": "invitation_id", + "name": "routine_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -6170,30 +5902,63 @@ ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteRoutineResponse" + } + } + } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/identity/teams/{team_entity_id}/members": { + "/api/v1/team/{team_id}/automations/{routine_id}/executions": { "get": { "tags": [ - "identity", + "automations", "v1" ], - "summary": "List team members", - "description": "List members of a team", - "operationId": "list-team-members", + "summary": "List routine executions", + "description": "Lists durable manual, schedule, and event executions for one visible Routine.", + "operationId": "automations-list-executions", "parameters": [ { - "name": "team_entity_id", + "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, + { + "name": "routine_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "agent_id", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, { "name": "page_size", "in": "query", @@ -6201,73 +5966,79 @@ "schema": { "type": "integer", "format": "int64" - }, - "style": "form" + } }, { "name": "next_page_token", "in": "query", "required": false, "schema": { - "type": "string" - }, - "style": "form" + "type": [ + "string", + "null" + ] + } }, { - "name": "user_type", - "in": "query", - "description": "Filter to `human` or `agent` users.", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" + } } ], "responses": { "200": { - "description": "List of team members", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TeamMemberWithUserPaginatedResponse" - } - } - } - }, - "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/RoutineExecutionPaginatedResponse" } } } + } + }, + "security": [ + { + "api_key": [] }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + { + "bearer_token": [] } - } - }, + ] + } + }, + "/api/v1/team/{team_id}/automations/{routine_id}/ownership": { "post": { "tags": [ - "identity", + "automations", "v1" ], - "summary": "Add team member", - "description": "Add a user to a team", - "operationId": "add-team-member", + "summary": "Set routine ownership", + "description": "Sets the persisted ownership mode and preserves an effective-user grant when made private.", + "operationId": "automations-set-ownership", "parameters": [ { - "name": "team_entity_id", + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "routine_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", "description": "Team ID", "required": true, @@ -6280,7 +6051,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AddTeamMemberBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -6288,115 +6059,124 @@ }, "responses": { "200": { - "description": "Member added", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserTeam" - } - } - } - }, - "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceAuthorization" } } } + } + }, + "security": [ + { + "api_key": [] }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + { + "bearer_token": [] } - } + ] } }, - "/api/v1/identity/teams/{team_entity_id}/members/{user_id}": { - "delete": { + "/api/v1/team/{team_id}/automations/{routine_id}/run": { + "post": { "tags": [ - "identity", + "automations", "v1" ], - "summary": "Remove team member", - "description": "Remove a user from a team", - "operationId": "remove-team-member", + "summary": "Run a unified routine", + "description": "Runs once for the supplied durable run ID and returns the existing result on retry.", + "operationId": "automations-run", "parameters": [ { - "name": "team_entity_id", + "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "user_id", + "name": "routine_id", "in": "path", - "description": "User ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "responses": { - "200": { - "description": "Member removed" - }, - "404": { - "description": "Membership not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RunRoutineBody" } } }, - "500": { - "description": "Internal Server Error", + "required": true + }, + "responses": { + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/RunRoutineResponse" } } } } - } - }, - "patch": { + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/automations/{routine_id}/visibility": { + "post": { "tags": [ - "identity", + "automations", "v1" ], - "summary": "Update team member role", - "description": "Move a team member between the team member and team admin system groups", - "operationId": "update-team-member-role", + "summary": "Set routine visibility", + "description": "Sets the persisted visibility mode and preserves an effective-user grant when made private.", + "operationId": "automations-set-visibility", "parameters": [ { - "name": "team_entity_id", + "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "user_id", + "name": "routine_id", "in": "path", - "description": "User ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -6407,7 +6187,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateMemberRoleBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -6415,167 +6195,80 @@ }, "responses": { "200": { - "description": "Team member role updated", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserTeam" - } - } - } - }, - "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceAuthorization" } } } + } + }, + "security": [ + { + "api_key": [] }, - "404": { - "description": "Membership not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + { + "bearer_token": [] } - } + ] } }, - "/api/v1/identity/temporary-accounts": { - "post": { + "/api/v1/team/{team_id}/automations/{routine_id}/{plane}/grants": { + "get": { "tags": [ - "identity", + "automations", "v1" ], - "summary": "Create temporary account", - "description": "Creates a 24-hour temporary organization, team, agent API key, one-hour claim URL, and six-digit claim PIN. This anonymous agent-first endpoint is rate limited before allocating tenant resources.", - "operationId": "createTemporaryAccount", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTemporaryAccountRequest" - } + "summary": "List routine grants", + "description": "Lists grants on the selected routine authorization plane.", + "operationId": "automations-list-grants", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, - "required": true - }, - "responses": { - "201": { - "description": "Temporary account created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTemporaryAccountResponse" - } - } - } - }, - "400": { - "description": "Invalid request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "routine_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourceGrantPlane" } }, - "503": { - "description": "Temporary account creation rate limited", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } - } - } - }, - "/api/v1/identity/temporary-accounts/claim-url": { - "post": { - "tags": [ - "identity", - "v1" ], - "summary": "Generate temporary account claim URL", - "description": "Generates a fresh one-hour claim URL for the authenticated temporary account. The six-digit PIN remains unchanged.", - "operationId": "generateTemporaryAccountClaimUrl", "responses": { "200": { - "description": "Temporary account claim URL generated", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GenerateTemporaryAccountClaimUrlResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Temporary account not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "410": { - "description": "Temporary account expired", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal server error", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } @@ -6589,47 +6282,44 @@ "bearer_token": [] } ] - } - }, - "/api/v1/identity/temporary-accounts/claim/{token}": { - "get": { + }, + "post": { "tags": [ - "identity", + "automations", "v1" ], - "summary": "Redirect temporary account claim page", - "description": "Redirects old API claim links to the frontend claim page. The claim action itself still uses POST on this API path.", - "operationId": "redirectTemporaryAccountClaimPage", + "summary": "Add a routine grant", + "description": "Validates and adds a principal grant on the selected authorization plane.", + "operationId": "automations-add-grant", "parameters": [ { - "name": "token", + "name": "team_id", "in": "path", - "description": "Claim URL token", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "307": { - "description": "Redirects to the frontend temporary-account claim page" - } - } - }, - "post": { - "tags": [ - "identity", - "v1" - ], - "summary": "Claim temporary account", - "description": "Claims a temporary account into the authenticated human user's target organization using the claim URL token and six-digit PIN.", - "operationId": "claimTemporaryAccount", - "parameters": [ + }, { - "name": "token", + "name": "routine_id", "in": "path", - "description": "Claim URL token", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourceGrantPlane" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -6640,7 +6330,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClaimTemporaryAccountRequest" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -6648,75 +6338,90 @@ }, "responses": { "200": { - "description": "Temporary account claimed", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClaimTemporaryAccountResponse" + "$ref": "#/components/schemas/ResourceGrant" } } } + } + }, + "security": [ + { + "api_key": [] }, - "400": { - "description": "Invalid request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/automations/{routine_id}/{plane}/grants/{principal_type}/{principal_id}": { + "delete": { + "tags": [ + "automations", + "v1" + ], + "summary": "Remove a routine grant", + "description": "Idempotently removes a principal grant while retaining at least one private ownership grant.", + "operationId": "automations-remove-grant", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "routine_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourceGrantPlane" } }, - "404": { - "description": "Claim URL not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourcePrincipalType" } }, - "410": { - "description": "Temporary account or claim URL expired", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, - "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } + ], + "responses": { + "200": { + "description": "" + } }, "security": [ { @@ -6728,50 +6433,67 @@ ] } }, - "/api/v1/identity/temporary-accounts/expire": { - "post": { + "/api/v1/team/{team_id}/chatkit/agent": { + "get": { "tags": [ - "identity", + "chatkit", "v1" ], - "summary": "Expire temporary accounts", - "description": "Expires and deletes unclaimed temporary accounts whose 24-hour lifetime has elapsed.", - "operationId": "expireTemporaryAccounts", + "summary": "List inbox agents", + "description": "List all agent inboxes (inbox_type=agent) with their linked inboxes (inboxes that pipe to them)", + "operationId": "list-inbox-agents", "parameters": [ { - "name": "limit", + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page_size", "in": "query", - "required": false, + "required": true, "schema": { "type": "integer", "format": "int64" }, "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Temporary accounts expired", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ExpireTemporaryAccountsResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", + "description": "List agents with linked inboxes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/InboxWithLinkedInboxesPaginatedResponse" } } } }, - "403": { - "description": "Forbidden", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -6781,7 +6503,7 @@ } }, "500": { - "description": "Internal server error", + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -6792,6 +6514,7 @@ } }, "security": [ + {}, { "api_key": [] }, @@ -6801,67 +6524,109 @@ ] } }, - "/api/v1/mcp/available-tool-groups": { + "/api/v1/team/{team_id}/chatkit/agent-turn-queue": { "get": { "tags": [ - "mcp", + "chatkit", "v1" ], - "summary": "List public tool groups", - "description": "List globally available tool providers and their tools without authentication", - "operationId": "list-public-available-tool-groups", + "summary": "List ChatKit agent turn queue", + "description": "Lists pending, running, completed, failed, or cancelled ChatKit agent turns for a team, optionally filtered by session or agent.", + "operationId": "chatkit-list-agent-turn-queue", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "page_size", "in": "query", - "required": true, + "required": false, "schema": { "type": "integer", "format": "int64" - }, - "style": "form" + } }, { "name": "next_page_token", "in": "query", "required": false, "schema": { - "type": "string" - }, - "style": "form" + "type": [ + "string", + "null" + ] + } }, { - "name": "deployment_alias", + "name": "session_id", "in": "query", - "required": true, + "required": false, "schema": { - "type": "string" - }, - "style": "form" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] + } }, { - "name": "include_global", + "name": "agent_inbox_id", "in": "query", "required": false, "schema": { - "type": "boolean" - }, - "style": "form" + "type": [ + "string", + "null" + ] + } + }, + { + "name": "status", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/ChatKitAgentTurnQueueStatus" + } + ] + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "List public tool groups", + "description": "List queued ChatKit agent turns", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ToolGroupSourceSerializedPaginatedResponse" + "$ref": "#/components/schemas/ChatKitAgentTurnQueueItemPaginatedResponse" } } } }, "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { @@ -6871,7 +6636,7 @@ } }, "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { @@ -6880,23 +6645,50 @@ } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/openbot/bootstrap/{token}": { - "get": { + "/api/v1/team/{team_id}/chatkit/agent-turn-queue/{queue_item_id}": { + "delete": { "tags": [ - "identity", + "chatkit", "v1" ], - "summary": "Redeem a hosted OpenBot bootstrap token", - "description": "Exchanges the single-use token an exe.dev VM received through its environment for the instance bootstrap bundle: `openbot init` answers, the runtime environment, the secrets written to the mode-0600 environment file (team API key, repository-scoped Code Storage token, organization AI Gateway key), and the bootstrap shell script. The token is invalidated before the bundle is rendered; a second request returns 404.", - "operationId": "get_hosted_openbot_bootstrap_bundle", + "summary": "Delete queued ChatKit agent turn", + "description": "Cancels a pending ChatKit agent turn queue item.", + "operationId": "chatkit-delete-agent-turn-queue-item", "parameters": [ { - "name": "token", + "name": "team_id", "in": "path", - "description": "One-time bootstrap token from ASH_BOOTSTRAP_TOKEN", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "queue_item_id", + "in": "path", + "description": "Queued ChatKit agent turn ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -6905,17 +6697,17 @@ ], "responses": { "200": { - "description": "Bootstrap bundle", + "description": "Delete queued ChatKit agent turn", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HostedOpenBotBootstrapBundle" + "$ref": "#/components/schemas/DeleteChatKitAgentTurnQueueItemResponse" } } } }, - "404": { - "description": "Unknown, expired, or already redeemed token", + "400": { + "description": "", "content": { "application/json": { "schema": { @@ -6924,8 +6716,8 @@ } } }, - "503": { - "description": "The exe target is not configured", + "404": { + "description": "", "content": { "application/json": { "schema": { @@ -6933,73 +6725,20 @@ } } } - } - } - } - }, - "/api/v1/team/{team_id}/automations": { - "get": { - "tags": [ - "automations", - "v1" - ], - "summary": "List unified routines", - "description": "Lists native Routine roots and their schedule or event triggers, filterable by agent.", - "operationId": "automations-list", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "agent_id", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - } - ], - "responses": { - "200": { + "500": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutinePaginatedResponse" + "$ref": "#/components/schemas/Error" } } } } }, "security": [ + {}, { "api_key": [] }, @@ -7009,40 +6748,71 @@ ] } }, - "/api/v1/team/{team_id}/automations/{routine_id}": { - "get": { + "/api/v1/team/{team_id}/chatkit/agent-turn-queue/{queue_item_id}/order": { + "patch": { "tags": [ - "automations", + "chatkit", "v1" ], - "summary": "Get a unified routine", - "description": "Gets the native root, trigger configuration, schedule telemetry, and version.", - "operationId": "automations-get", + "summary": "Reorder queued ChatKit agent turn", + "description": "Updates the queue position for a pending ChatKit agent turn.", + "operationId": "chatkit-reorder-agent-turn-queue-item", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "routine_id", + "name": "queue_item_id", "in": "path", + "description": "Queued ChatKit agent turn ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReorderChatKitAgentTurnQueueItemRequestInner" + } + } + }, + "required": true + }, "responses": { "200": { + "description": "Reorder queued ChatKit agent turn", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChatKitAgentTurnQueueItem" + } + } + } + }, + "400": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Routine" + "$ref": "#/components/schemas/Error" } } } @@ -7056,9 +6826,20 @@ } } } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } }, "security": [ + {}, { "api_key": [] }, @@ -7066,50 +6847,53 @@ "bearer_token": [] } ] - }, - "put": { + } + }, + "/api/v1/team/{team_id}/chatkit/agent-turn-queue/{queue_item_id}/steer": { + "post": { "tags": [ - "automations", + "chatkit", "v1" ], - "summary": "Create or replace a unified routine", - "description": "Atomically persists the Routine root and its complete native schedule/event trigger set.", - "operationId": "automations-put", + "summary": "Steer queued ChatKit agent turn", + "description": "Interrupts the active agent response for the queued item's session and immediately sends this pending queued turn.", + "operationId": "chatkit-steer-agent-turn-queue-item", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "queue_item_id", + "in": "path", + "description": "Queued ChatKit agent turn ID", "required": true, "schema": { "type": "string" } }, { - "name": "routine_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PutRoutineBody" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", + "description": "Steer queued ChatKit agent turn", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Routine" + "$ref": "#/components/schemas/SteerChatKitAgentTurnQueueItemResponse" } } } @@ -7123,56 +6907,30 @@ } } } - } - }, - "security": [ - { - "api_key": [] }, - { - "bearer_token": [] - } - ] - }, - "delete": { - "tags": [ - "automations", - "v1" - ], - "summary": "Delete a unified routine", - "description": "Deletes the Routine root and cascading triggers when no schedule execution holds a live lease.", - "operationId": "automations-delete", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "routine_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "responses": { - "200": { + "500": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteRoutineResponse" + "$ref": "#/components/schemas/Error" } } } } }, "security": [ + {}, { "api_key": [] }, @@ -7182,43 +6940,25 @@ ] } }, - "/api/v1/team/{team_id}/automations/{routine_id}/executions": { + "/api/v1/team/{team_id}/chatkit/agents": { "get": { "tags": [ - "automations", + "chatkit", "v1" ], - "summary": "List routine executions", - "description": "Lists durable manual, schedule, and event executions for one visible Routine.", - "operationId": "automations-list-executions", + "summary": "List ChatKit agents", + "description": "Lists registered ChatKit agents without plaintext API keys or webhook signing secrets.", + "operationId": "chatkit-list-agents", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, - { - "name": "routine_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "agent_id", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, { "name": "page_size", "in": "query", @@ -7238,21 +6978,51 @@ "null" ] } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "", + "description": "List ChatKit agents", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoutineExecutionPaginatedResponse" + "$ref": "#/components/schemas/ChatKitAgentPaginatedResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } }, "security": [ + {}, { "api_key": [] }, @@ -7262,30 +7032,32 @@ ] } }, - "/api/v1/team/{team_id}/automations/{routine_id}/ownership": { + "/api/v1/team/{team_id}/chatkit/agents/http-vercel-ai-sdk": { "post": { "tags": [ - "automations", + "chatkit", "v1" ], - "summary": "Set routine ownership", - "description": "Sets the persisted ownership mode and preserves an effective-user grant when made private.", - "operationId": "automations-set-ownership", + "summary": "Register HTTP Vercel AI SDK ChatKit agent", + "description": "Registers an HTTP Vercel AI SDK-compatible ChatKit agent, creates an identity API key returned once, and stores only ChatKit webhook signing material plus safe key metadata.", + "operationId": "chatkit-register-http-vercel-ai-sdk-agent", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "routine_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -7293,7 +7065,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/RegisterHttpVercelAiSdkAgentRequestInner" } } }, @@ -7301,17 +7073,38 @@ }, "responses": { "200": { - "description": "", + "description": "Register HTTP Vercel AI SDK agent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/RegisterHttpVercelAiSdkAgentResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } }, "security": [ + {}, { "api_key": [] }, @@ -7321,115 +7114,88 @@ ] } }, - "/api/v1/team/{team_id}/automations/{routine_id}/run": { - "post": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}": { + "get": { "tags": [ - "automations", + "chatkit", "v1" ], - "summary": "Run a unified routine", - "description": "Runs once for the supplied durable run ID and returns the existing result on retry.", - "operationId": "automations-run", + "summary": "Get ChatKit agent", + "description": "Gets one registered ChatKit agent with safe API key metadata and without plaintext API keys or webhook signing secrets.", + "operationId": "chatkit-get-agent", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "routine_id", + "name": "agent_id", "in": "path", + "description": "ChatKit agent inbox ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RunRoutineBody" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", + "description": "Get ChatKit agent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RunRoutineResponse" + "$ref": "#/components/schemas/ChatKitAgent" } } } - } - }, - "security": [ - { - "api_key": [] }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/automations/{routine_id}/visibility": { - "post": { - "tags": [ - "automations", - "v1" - ], - "summary": "Set routine visibility", - "description": "Sets the persisted visibility mode and preserves an effective-user grant when made private.", - "operationId": "automations-set-visibility", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "routine_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/Error" } } } } }, "security": [ + {}, { "api_key": [] }, @@ -7437,59 +7203,88 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/automations/{routine_id}/{plane}/grants": { - "get": { + }, + "delete": { "tags": [ - "automations", + "chatkit", "v1" ], - "summary": "List routine grants", - "description": "Lists grants on the selected routine authorization plane.", - "operationId": "automations-list-grants", + "summary": "Delete ChatKit agent", + "description": "Deletes a registered ChatKit HTTP agent and ChatKit-owned secret metadata.", + "operationId": "chatkit-delete-agent", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "routine_id", + "name": "agent_id", "in": "path", + "description": "ChatKit agent inbox ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "plane", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" + "type": "string" } } ], "responses": { "200": { + "description": "Delete ChatKit agent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteInboxResponse" + } + } + } + }, + "400": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } }, "security": [ + {}, { "api_key": [] }, @@ -7498,37 +7293,40 @@ } ] }, - "post": { + "patch": { "tags": [ - "automations", + "chatkit", "v1" ], - "summary": "Add a routine grant", - "description": "Validates and adds a principal grant on the selected authorization plane.", - "operationId": "automations-add-grant", + "summary": "Update ChatKit agent", + "description": "Updates non-secret ChatKit HTTP agent metadata and endpoint configuration.", + "operationId": "chatkit-update-agent", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "routine_id", + "name": "agent_id", "in": "path", + "description": "ChatKit agent inbox ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "plane", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" + "type": "string" } } ], @@ -7536,7 +7334,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/UpdateHttpVercelAiSdkAgentRequestInner" } } }, @@ -7544,35 +7342,66 @@ }, "responses": { "200": { - "description": "", + "description": "Update ChatKit agent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/ChatKitAgent" } } } - } - }, - "security": [ - { - "api_key": [] }, - { + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + {}, + { + "api_key": [] + }, + { "bearer_token": [] } ] } }, - "/api/v1/team/{team_id}/automations/{routine_id}/{plane}/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/avatar": { + "get": { "tags": [ - "automations", + "chatkit", "v1" ], - "summary": "Remove a routine grant", - "description": "Idempotently removes a principal grant while retaining at least one private ownership grant.", - "operationId": "automations-remove-grant", + "summary": "Download a ChatKit agent avatar", + "description": "Returns the canonical avatar bytes from the stable agent-user profile.", + "operationId": "chatkit-get-agent-avatar", "parameters": [ { "name": "team_id", @@ -7583,32 +7412,17 @@ } }, { - "name": "routine_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "plane", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" - } - }, - { - "name": "principal_type", + "name": "agent_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "type": "string" } }, { - "name": "principal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -7617,10 +7431,33 @@ ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/octet-stream": { + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "minimum": 0 + } + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } }, "security": [ + {}, { "api_key": [] }, @@ -7628,60 +7465,70 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/chatkit/agent": { - "get": { + }, + "put": { "tags": [ "chatkit", "v1" ], - "summary": "List inbox agents", - "description": "List all agent inboxes (inbox_type=agent) with their linked inboxes (inboxes that pipe to them)", - "operationId": "list-inbox-agents", + "summary": "Upload a ChatKit agent avatar", + "description": "Stores a PNG, JPEG, or WebP avatar on the stable agent-user profile.", + "operationId": "chatkit-update-agent-avatar", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", + "name": "agent_id", + "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" + "type": "string" + } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" + } } ], + "requestBody": { + "content": { + "application/octet-stream": { + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "minimum": 0 + } + } + } + }, + "required": true + }, "responses": { "200": { - "description": "List agents with linked inboxes", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InboxWithLinkedInboxesPaginatedResponse" + "$ref": "#/components/schemas/ChatKitAgentAvatar" } } } }, "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { @@ -7690,8 +7537,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "", "content": { "application/json": { "schema": { @@ -7712,109 +7559,54 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/agent-turn-queue": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/observability": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "List ChatKit agent turn queue", - "description": "Lists pending, running, completed, failed, or cancelled ChatKit agent turns for a team, optionally filtered by session or agent.", - "operationId": "chatkit-list-agent-turn-queue", + "summary": "Get agent observability configuration", + "description": "Returns agent event visibility defaults and the reconciled tool catalog with effective policy inputs.", + "operationId": "chatkit-get-agent-observability", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "session_id", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] - } - }, - { - "name": "agent_inbox_id", - "in": "query", - "required": false, + "name": "agent_id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { - "name": "status", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ChatKitAgentTurnQueueStatus" - } - ] + "type": "string" } } ], "responses": { "200": { - "description": "List queued ChatKit agent turns", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitAgentTurnQueueItemPaginatedResponse" - } - } - } - }, - "400": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AgentObservabilityConfiguration" } } } }, - "500": { + "404": { "description": "", "content": { "application/json": { @@ -7834,59 +7626,64 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/chatkit/agent-turn-queue/{queue_item_id}": { - "delete": { + }, + "patch": { "tags": [ "chatkit", "v1" ], - "summary": "Delete queued ChatKit agent turn", - "description": "Cancels a pending ChatKit agent turn queue item.", - "operationId": "chatkit-delete-agent-turn-queue-item", + "summary": "Update agent observability defaults", + "description": "Updates one visibility policy used for both live and historical audience projections.", + "operationId": "chatkit-update-agent-observability", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "queue_item_id", + "name": "agent_id", "in": "path", - "description": "Queued ChatKit agent turn ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "responses": { - "200": { - "description": "Delete queued ChatKit agent turn", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeleteChatKitAgentTurnQueueItemResponse" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateAgentObservabilityPolicyRequestInner" } } }, - "400": { + "required": true + }, + "responses": { + "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AgentObservabilityConfiguration" } } } }, - "404": { + "400": { "description": "", "content": { "application/json": { @@ -7896,7 +7693,7 @@ } } }, - "500": { + "404": { "description": "", "content": { "application/json": { @@ -7918,29 +7715,36 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/agent-turn-queue/{queue_item_id}/order": { - "patch": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/ownership": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Reorder queued ChatKit agent turn", - "description": "Updates the queue position for a pending ChatKit agent turn.", - "operationId": "chatkit-reorder-agent-turn-queue-item", + "summary": "Update agent ownership", + "description": "Set the agent ownership plane to team or private. Private mode retains a creator ownership grant.", + "operationId": "chatkit-update-agent-ownership", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "queue_item_id", + "name": "agent_id", "in": "path", - "description": "Queued ChatKit agent turn ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -7951,7 +7755,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReorderChatKitAgentTurnQueueItemRequestInner" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -7959,11 +7763,11 @@ }, "responses": { "200": { - "description": "Reorder queued ChatKit agent turn", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitAgentTurnQueueItem" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -7987,16 +7791,6 @@ } } } - }, - "500": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } } }, "security": [ @@ -8010,15 +7804,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/agent-turn-queue/{queue_item_id}/steer": { - "post": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/permissions": { + "put": { "tags": [ "chatkit", "v1" ], - "summary": "Steer queued ChatKit agent turn", - "description": "Interrupts the active agent response for the queued item's session and immediately sends this pending queued turn.", - "operationId": "chatkit-steer-agent-turn-queue-item", + "summary": "Update ChatKit agent permissions", + "description": "Sets whether an agent may delegate to other agents and create multi-party sessions, and which agents or users it may reach. Permissions narrow reach: they intersect with the visibility plane and never grant access to an agent the caller cannot already see. An agent with no permissions is offered no delegation tools at all.", + "operationId": "chatkit-set-agent-permissions", "parameters": [ { "name": "team_id", @@ -8030,22 +7824,41 @@ } }, { - "name": "queue_item_id", + "name": "agent_id", "in": "path", - "description": "Queued ChatKit agent turn ID", + "description": "ChatKit agent inbox ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AgentPermissions" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Steer queued ChatKit agent turn", + "description": "Update what a ChatKit agent may reach", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SteerChatKitAgentTurnQueueItemResponse" + "$ref": "#/components/schemas/ChatKitAgent" } } } @@ -8060,6 +7873,16 @@ } } }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, "404": { "description": "", "content": { @@ -8092,99 +7915,80 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/agents": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/provision": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "List ChatKit agents", - "description": "Lists registered ChatKit agents without plaintext API keys or webhook signing secrets.", - "operationId": "chatkit-list-agents", + "summary": "Get Agent Resource Bundle provisioning", + "description": "Returns durable provisioning state and resource IDs without consuming generated secrets.", + "operationId": "chatkit-get-agent-resource-bundle-provisioning", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", - "required": false, + "name": "agent_id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "List ChatKit agents", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitAgentPaginatedResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AgentProvisioningOperation" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/chatkit/agents/http-vercel-ai-sdk": { - "post": { + } + }, + "put": { "tags": [ "chatkit", "v1" ], - "summary": "Register HTTP Vercel AI SDK ChatKit agent", - "description": "Registers an HTTP Vercel AI SDK-compatible ChatKit agent, creates an identity API key returned once, and stores only ChatKit webhook signing material plus safe key metadata.", - "operationId": "chatkit-register-http-vercel-ai-sdk-agent", + "summary": "Provision an Agent Resource Bundle", + "description": "Idempotently reconciles an agent and its optional lifecycle-owned MCP server, skill registry, memory bank, and wiki through a durable operation.", + "operationId": "chatkit-provision-agent-resource-bundle", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "agent_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -8199,69 +8003,39 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RegisterHttpVercelAiSdkAgentRequestInner" + "$ref": "#/components/schemas/ProvisionAgentRequest" } } }, "required": true }, "responses": { - "200": { - "description": "Register HTTP Vercel AI SDK agent", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RegisterHttpVercelAiSdkAgentResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "202": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AgentProvisioningOperation" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}": { - "get": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/provision/outputs/claim": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Get ChatKit agent", - "description": "Gets one registered ChatKit agent with safe API key metadata and without plaintext API keys or webhook signing secrets.", - "operationId": "chatkit-get-agent", + "summary": "Claim Agent Resource Bundle outputs", + "description": "Decrypts and consumes the operation's one-time agent endpoint credentials.", + "operationId": "chatkit-claim-agent-resource-bundle-outputs", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -8270,7 +8044,15 @@ { "name": "agent_id", "in": "path", - "description": "ChatKit agent inbox ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -8279,64 +8061,27 @@ ], "responses": { "200": { - "description": "Get ChatKit agent", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitAgent" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AgentProvisioningOutputs" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - }, - "delete": { + } + } + }, + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/automatic-memory/recall": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Delete ChatKit agent", - "description": "Deletes a registered ChatKit HTTP agent and ChatKit-owned secret metadata.", - "operationId": "chatkit-delete-agent", + "summary": "Recall automatic memory for a durable message", + "description": "Authenticates the active recipient agent, derives the effective actor from the stored triggering message and session, applies bank visibility, and returns a provenance-bearing projection.", + "operationId": "chatkit-recall-automatic-memory", "parameters": [ { "name": "team_id", @@ -8350,87 +8095,25 @@ { "name": "agent_id", "in": "path", - "description": "ChatKit agent inbox ID", + "description": "Active recipient agent", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "Delete ChatKit agent", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeleteInboxResponse" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - {}, - { - "api_key": [] }, { - "bearer_token": [] - } - ] - }, - "patch": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Update ChatKit agent", - "description": "Updates non-secret ChatKit HTTP agent metadata and endpoint configuration.", - "operationId": "chatkit-update-agent", - "parameters": [ - { - "name": "team_id", + "name": "session_id", "in": "path", - "description": "Team ID", + "description": "Session ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "agent_id", + "name": "team_id", "in": "path", - "description": "ChatKit agent inbox ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -8441,7 +8124,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateHttpVercelAiSdkAgentRequestInner" + "$ref": "#/components/schemas/RecallChatKitAutomaticMemoryBody" } } }, @@ -8449,16 +8132,16 @@ }, "responses": { "200": { - "description": "Update ChatKit agent", + "description": "Bounded automatic-memory projection", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitAgent" + "$ref": "#/components/schemas/ChatKitAutomaticMemoryProjection" } } } }, - "400": { + "403": { "description": "", "content": { "application/json": { @@ -8490,26 +8173,57 @@ } }, "security": [ - {}, { "api_key": [] - }, - { - "bearer_token": [] } ] } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/avatar": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/goals": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "Download a ChatKit agent avatar", - "description": "Returns the canonical avatar bytes from the stable agent-user profile.", - "operationId": "chatkit-get-agent-avatar", + "summary": "List agent goals", + "description": "Lists goals owned by the authenticated ChatKit agent in one active session.", + "operationId": "chatkit-list-goals", "parameters": [ + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "status", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/GoalStatus" + } + ] + } + }, { "name": "team_id", "in": "path", @@ -8525,53 +8239,46 @@ "schema": { "type": "string" } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "", - "content": { - "application/octet-stream": { - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32", - "minimum": 0 - } - } - } - } - }, - "404": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/GoalPaginatedResponse" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } }, - "put": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Upload a ChatKit agent avatar", - "description": "Stores a PNG, JPEG, or WebP avatar on the stable agent-user profile.", - "operationId": "chatkit-update-agent-avatar", + "summary": "Create an agent goal", + "description": "Creates a durable goal for the authenticated ChatKit agent in one active session.", + "operationId": "chatkit-create-goal", "parameters": [ { "name": "team_id", @@ -8588,18 +8295,30 @@ "schema": { "type": "string" } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { - "application/octet-stream": { + "application/json": { "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32", - "minimum": 0 - } + "$ref": "#/components/schemas/CreateGoalRequestInner" } } }, @@ -8611,52 +8330,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitAgentAvatar" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Goal" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/observability": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/goals/{goal_id}": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "Get agent observability configuration", - "description": "Returns agent event visibility defaults and the reconciled tool catalog with effective policy inputs.", - "operationId": "chatkit-get-agent-observability", + "summary": "Get an agent goal", + "description": "Gets one goal owned by the authenticated ChatKit agent.", + "operationId": "chatkit-get-goal", "parameters": [ { "name": "team_id", @@ -8673,6 +8363,31 @@ "schema": { "type": "string" } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "goal_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -8681,40 +8396,21 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentObservabilityConfiguration" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Goal" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } }, "patch": { "tags": [ "chatkit", "v1" ], - "summary": "Update agent observability defaults", - "description": "Updates one visibility policy used for both live and historical audience projections.", - "operationId": "chatkit-update-agent-observability", + "summary": "Update an agent goal", + "description": "Updates progress or terminal state for one agent-owned goal.", + "operationId": "chatkit-update-goal", "parameters": [ { "name": "team_id", @@ -8731,13 +8427,38 @@ "schema": { "type": "string" } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "goal_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateAgentObservabilityPolicyRequestInner" + "$ref": "#/components/schemas/UpdateGoalRequestInner" } } }, @@ -8749,53 +8470,59 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentObservabilityConfiguration" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/Goal" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/ownership": { - "post": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs": { + "get": { "tags": [ "chatkit", "v1" ], - "summary": "Update agent ownership", - "description": "Set the agent ownership plane to team or private. Private mode retains a creator ownership grant.", - "operationId": "chatkit-update-agent-ownership", + "summary": "List background agent jobs", + "description": "Lists one parent agent's durable children.", + "operationId": "chatkit-list-agent-jobs", "parameters": [ + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "status", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/AgentJobStatus" + } + ] + } + }, { "name": "team_id", "in": "path", @@ -8811,75 +8538,50 @@ "schema": { "type": "string" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "required": true - }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/AgentJobPaginatedResponse" } } } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] } - ] - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/permissions": { - "put": { + } + }, + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Update ChatKit agent permissions", - "description": "Sets whether an agent may delegate to other agents and create multi-party sessions, and which agents or users it may reach. Permissions narrow reach: they intersect with the visibility plane and never grant access to an agent the caller cannot already see. An agent with no permissions is offered no delegation tools at all.", - "operationId": "chatkit-set-agent-permissions", + "summary": "Delegate a background agent job", + "description": "Durably delegates one idempotent child-agent objective.", + "operationId": "chatkit-delegate-agent-job", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -8888,7 +8590,23 @@ { "name": "agent_id", "in": "path", - "description": "ChatKit agent inbox ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -8899,7 +8617,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentPermissions" + "$ref": "#/components/schemas/DelegateAgentJobRequestInner" } } }, @@ -8907,76 +8625,27 @@ }, "responses": { "200": { - "description": "Update what a ChatKit agent may reach", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitAgent" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AgentJob" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/provision": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs/{job_id}": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "Get Agent Resource Bundle provisioning", - "description": "Returns durable provisioning state and resource IDs without consuming generated secrets.", - "operationId": "chatkit-get-agent-resource-bundle-provisioning", + "summary": "Inspect a background agent job", + "description": "Returns durable state, transcript references, and artifacts.", + "operationId": "chatkit-get-agent-job", "parameters": [ { "name": "team_id", @@ -8993,64 +8662,40 @@ "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AgentProvisioningOperation" - } - } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } - } - } - }, - "put": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Provision an Agent Resource Bundle", - "description": "Idempotently reconciles an agent and its optional lifecycle-owned MCP server, skill registry, memory bank, and wiki through a durable operation.", - "operationId": "chatkit-provision-agent-resource-bundle", - "parameters": [ + }, { - "name": "team_id", + "name": "job_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "agent_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProvisionAgentRequest" - } - } - }, - "required": true - }, "responses": { - "202": { + "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentProvisioningOperation" + "$ref": "#/components/schemas/AgentJob" } } } @@ -9058,15 +8703,15 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/provision/outputs/claim": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs/{job_id}/collect-result": { "post": { "tags": [ "chatkit", "v1" ], - "summary": "Claim Agent Resource Bundle outputs", - "description": "Decrypts and consumes the operation's one-time agent endpoint credentials.", - "operationId": "chatkit-claim-agent-resource-bundle-outputs", + "summary": "Collect a background agent job result", + "description": "Returns a terminal result and durable child references.", + "operationId": "chatkit-collect-agent-job-result", "parameters": [ { "name": "team_id", @@ -9083,6 +8728,31 @@ "schema": { "type": "string" } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "job_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -9091,7 +8761,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentProvisioningOutputs" + "$ref": "#/components/schemas/AgentJob" } } } @@ -9099,20 +8769,19 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/automatic-memory/recall": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs/{job_id}/resume": { "post": { "tags": [ "chatkit", "v1" ], - "summary": "Recall automatic memory for a durable message", - "description": "Authenticates the active recipient agent, derives the effective actor from the stored triggering message and session, applies bank visibility, and returns a provenance-bearing projection.", - "operationId": "chatkit-recall-automatic-memory", + "summary": "Resume a background agent job", + "description": "Requeues an interrupted child with a new generation.", + "operationId": "chatkit-resume-agent-job", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -9121,7 +8790,6 @@ { "name": "agent_id", "in": "path", - "description": "Active recipient agent", "required": true, "schema": { "type": "string" @@ -9130,18 +8798,34 @@ { "name": "session_id", "in": "path", - "description": "Session ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "job_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RecallChatKitAutomaticMemoryBody" + "$ref": "#/components/schemas/ResumeAgentJobRequestInner" } } }, @@ -9149,98 +8833,28 @@ }, "responses": { "200": { - "description": "Bounded automatic-memory projection", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitAutomaticMemoryProjection" - } - } - } - }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/AgentJob" } } } } - }, - "security": [ - { - "api_key": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/goals": { - "get": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs/{job_id}/steer": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "List agent goals", - "description": "Lists goals owned by the authenticated ChatKit agent in one active session.", - "operationId": "chatkit-list-goals", + "summary": "Steer a background agent job", + "description": "Durably appends an idempotent child instruction.", + "operationId": "chatkit-steer-agent-job", "parameters": [ - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/GoalStatus" - } - ] - } - }, { "name": "team_id", "in": "path", @@ -9264,52 +8878,22 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GoalPaginatedResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Create an agent goal", - "description": "Creates a durable goal for the authenticated ChatKit agent in one active session.", - "operationId": "chatkit-create-goal", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, { - "name": "agent_id", + "name": "job_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "session_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -9317,7 +8901,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateGoalRequestInner" + "$ref": "#/components/schemas/SteerAgentJobRequestInner" } } }, @@ -9329,7 +8913,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Goal" + "$ref": "#/components/schemas/AgentJob" } } } @@ -9337,15 +8921,15 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/goals/{goal_id}": { - "get": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs/{job_id}/stop": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Get an agent goal", - "description": "Gets one goal owned by the authenticated ChatKit agent.", - "operationId": "chatkit-get-goal", + "summary": "Stop a background agent job", + "description": "Durably records an owner interrupt.", + "operationId": "chatkit-stop-agent-job", "parameters": [ { "name": "team_id", @@ -9372,35 +8956,56 @@ } }, { - "name": "goal_id", + "name": "job_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StopAgentJobRequestInner" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Goal" + "$ref": "#/components/schemas/AgentJob" } } } } } - }, - "patch": { + } + }, + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Update an agent goal", - "description": "Updates progress or terminal state for one agent-owned goal.", - "operationId": "chatkit-update-goal", + "summary": "Create or recover an AgentRun", + "description": "Creates an idempotent durable objective for the active agent.", + "operationId": "chatkit-create-agent-run", "parameters": [ { "name": "team_id", @@ -9427,11 +9032,12 @@ } }, { - "name": "goal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -9439,7 +9045,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateGoalRequestInner" + "$ref": "#/components/schemas/CreateAgentRunInner" } } }, @@ -9451,7 +9057,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Goal" + "$ref": "#/components/schemas/AgentRun" } } } @@ -9459,51 +9065,16 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/active": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "List background agent jobs", - "description": "Lists one parent agent's durable children.", - "operationId": "chatkit-list-agent-jobs", + "summary": "Get the active AgentRun", + "description": "Returns the latest non-terminal run for automatic continuation or user-message reactivation.", + "operationId": "chatkit-get-active-agent-run", "parameters": [ - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AgentJobStatus" - } - ] - } - }, { "name": "team_id", "in": "path", @@ -9527,6 +9098,15 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -9535,21 +9115,30 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentJobPaginatedResponse" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/AgentRun" + } + ] } } } } } - }, + } + }, + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/claim": { "post": { "tags": [ "chatkit", "v1" ], - "summary": "Delegate a background agent job", - "description": "Durably delegates one idempotent child-agent objective.", - "operationId": "chatkit-delegate-agent-job", + "summary": "Claim due AgentRuns", + "description": "Atomically leases due runs to one host worker.", + "operationId": "chatkit-claim-agent-runs", "parameters": [ { "name": "team_id", @@ -9574,13 +9163,22 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DelegateAgentJobRequestInner" + "$ref": "#/components/schemas/ClaimAgentRunsInner" } } }, @@ -9592,7 +9190,10 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentJob" + "type": "array", + "items": { + "$ref": "#/components/schemas/AgentRun" + } } } } @@ -9600,15 +9201,15 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs/{job_id}": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "Inspect a background agent job", - "description": "Returns durable state, transcript references, and artifacts.", - "operationId": "chatkit-get-agent-job", + "summary": "Get an AgentRun", + "description": "Gets one durable agent execution.", + "operationId": "chatkit-get-agent-run", "parameters": [ { "name": "team_id", @@ -9635,12 +9236,21 @@ } }, { - "name": "job_id", + "name": "run_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -9649,7 +9259,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentJob" + "$ref": "#/components/schemas/AgentRun" } } } @@ -9657,15 +9267,15 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs/{job_id}/collect-result": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/control": { "post": { "tags": [ "chatkit", "v1" ], - "summary": "Collect a background agent job result", - "description": "Returns a terminal result and durable child references.", - "operationId": "chatkit-collect-agent-job-result", + "summary": "Control an AgentRun", + "description": "Lets an authorized owner pause, resume, or cancel a run while atomically invalidating any worker lease.", + "operationId": "chatkit-control-agent-run", "parameters": [ { "name": "team_id", @@ -9692,21 +9302,40 @@ } }, { - "name": "job_id", + "name": "run_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ControlAgentRunInner" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentJob" + "$ref": "#/components/schemas/AgentRun" } } } @@ -9714,15 +9343,15 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs/{job_id}/resume": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/effects/finish": { "post": { "tags": [ "chatkit", "v1" ], - "summary": "Resume a background agent job", - "description": "Requeues an interrupted child with a new generation.", - "operationId": "chatkit-resume-agent-job", + "summary": "Finish an AgentRun effect", + "description": "Commits an effect output or marks its outcome uncertain.", + "operationId": "chatkit-finish-agent-run-effect", "parameters": [ { "name": "team_id", @@ -9749,19 +9378,28 @@ } }, { - "name": "job_id", + "name": "run_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResumeAgentJobRequestInner" + "$ref": "#/components/schemas/RecordAgentRunEffectInner" } } }, @@ -9773,7 +9411,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentJob" + "$ref": "#/components/schemas/AgentRunEffectReceipt" } } } @@ -9781,16 +9419,32 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs/{job_id}/steer": { - "post": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/effects/lookup": { + "get": { "tags": [ "chatkit", "v1" ], - "summary": "Steer a background agent job", - "description": "Durably appends an idempotent child instruction.", - "operationId": "chatkit-steer-agent-job", + "summary": "Lookup an AgentRun effect", + "description": "Returns a committed, planned, or uncertain effect by deterministic input fingerprint.", + "operationId": "chatkit-get-agent-run-effect", "parameters": [ + { + "name": "tool_name", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "input_fingerprint", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -9816,31 +9470,37 @@ } }, { - "name": "job_id", + "name": "run_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SteerAgentJobRequestInner" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentJob" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/AgentRunEffectReceipt" + } + ] } } } @@ -9848,15 +9508,15 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/jobs/{job_id}/stop": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/effects/prepare": { "post": { "tags": [ "chatkit", "v1" ], - "summary": "Stop a background agent job", - "description": "Durably records an owner interrupt.", - "operationId": "chatkit-stop-agent-job", + "summary": "Prepare an AgentRun effect", + "description": "Persists deterministic effect intent before executing an external side effect.", + "operationId": "chatkit-prepare-agent-run-effect", "parameters": [ { "name": "team_id", @@ -9883,19 +9543,28 @@ } }, { - "name": "job_id", + "name": "run_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StopAgentJobRequestInner" + "$ref": "#/components/schemas/RecordAgentRunEffectInner" } } }, @@ -9907,7 +9576,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentJob" + "$ref": "#/components/schemas/AgentRunEffectReceipt" } } } @@ -9915,15 +9584,15 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/steps": { "post": { "tags": [ "chatkit", "v1" ], - "summary": "Create or recover an AgentRun", - "description": "Creates an idempotent durable objective for the active agent.", - "operationId": "chatkit-create-agent-run", + "summary": "Append an AgentRun step", + "description": "Idempotently appends accounting and progress under the current lease.", + "operationId": "chatkit-append-agent-run-step", "parameters": [ { "name": "team_id", @@ -9948,13 +9617,30 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "run_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateAgentRunInner" + "$ref": "#/components/schemas/AppendAgentRunStepInner" } } }, @@ -9974,15 +9660,15 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/active": { - "get": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/transition": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Get the active AgentRun", - "description": "Returns the latest non-terminal run for automatic continuation or user-message reactivation.", - "operationId": "chatkit-get-active-agent-run", + "summary": "Transition an AgentRun", + "description": "Pauses, resumes, stalls, completes, fails, or cancels a run durably.", + "operationId": "chatkit-transition-agent-run", "parameters": [ { "name": "team_id", @@ -10007,61 +9693,22 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AgentRun" - } - ] - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/claim": { - "post": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Claim due AgentRuns", - "description": "Atomically leases due runs to one host worker.", - "operationId": "chatkit-claim-agent-runs", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, { - "name": "agent_id", + "name": "run_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "session_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -10069,7 +9716,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ClaimAgentRunsInner" + "$ref": "#/components/schemas/TransitionAgentRunInner" } } }, @@ -10081,10 +9728,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AgentRun" - } + "$ref": "#/components/schemas/AgentRun" } } } @@ -10092,73 +9736,66 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/tasks": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "Get an AgentRun", - "description": "Gets one durable agent execution.", - "operationId": "chatkit-get-agent-run", + "summary": "List agent tasks", + "description": "Lists tasks owned by the authenticated ChatKit agent in one active session.", + "operationId": "chatkit-list-tasks", "parameters": [ { - "name": "team_id", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": "integer", + "format": "int64" } }, { - "name": "agent_id", - "in": "path", - "required": true, + "name": "next_page_token", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } }, { - "name": "session_id", - "in": "path", - "required": true, + "name": "goal_id", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] } }, { - "name": "run_id", - "in": "path", - "required": true, + "name": "status", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AgentRun" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/TaskStatus" } - } + ] } - } - } - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/control": { - "post": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Control an AgentRun", - "description": "Lets an authorized owner pause, resume, or cancel a run while atomically invalidating any worker lease.", - "operationId": "chatkit-control-agent-run", - "parameters": [ + }, { "name": "team_id", "in": "path", @@ -10184,47 +9821,36 @@ } }, { - "name": "run_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ControlAgentRunInner" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentRun" + "$ref": "#/components/schemas/TaskPaginatedResponse" } } } } } - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/effects/finish": { + }, "post": { "tags": [ "chatkit", "v1" ], - "summary": "Finish an AgentRun effect", - "description": "Commits an effect output or marks its outcome uncertain.", - "operationId": "chatkit-finish-agent-run-effect", + "summary": "Create an agent task", + "description": "Creates an executable task with same-session dependencies for the authenticated ChatKit agent.", + "operationId": "chatkit-create-task", "parameters": [ { "name": "team_id", @@ -10251,11 +9877,12 @@ } }, { - "name": "run_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -10263,7 +9890,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RecordAgentRunEffectInner" + "$ref": "#/components/schemas/CreateTaskRequestInner" } } }, @@ -10275,7 +9902,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentRunEffectReceipt" + "$ref": "#/components/schemas/Task" } } } @@ -10283,34 +9910,26 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/effects/lookup": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/tasks/{task_id}": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "Lookup an AgentRun effect", - "description": "Returns a committed, planned, or uncertain effect by deterministic input fingerprint.", - "operationId": "chatkit-get-agent-run-effect", + "summary": "Get an agent task", + "description": "Gets one task owned by the authenticated ChatKit agent.", + "operationId": "chatkit-get-task", "parameters": [ { - "name": "tool_name", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "input_fingerprint", - "in": "query", + "name": "team_id", + "in": "path", "required": true, "schema": { "type": "string" } }, { - "name": "team_id", + "name": "agent_id", "in": "path", "required": true, "schema": { @@ -10318,15 +9937,15 @@ } }, { - "name": "agent_id", + "name": "session_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "session_id", + "name": "task_id", "in": "path", "required": true, "schema": { @@ -10334,11 +9953,12 @@ } }, { - "name": "run_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -10348,30 +9968,21 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AgentRunEffectReceipt" - } - ] + "$ref": "#/components/schemas/Task" } } } } } - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/effects/prepare": { - "post": { + }, + "patch": { "tags": [ "chatkit", "v1" ], - "summary": "Prepare an AgentRun effect", - "description": "Persists deterministic effect intent before executing an external side effect.", - "operationId": "chatkit-prepare-agent-run-effect", + "summary": "Update an agent task", + "description": "Updates task content, dependencies, progress, or terminal state without allowing terminal tasks to reopen.", + "operationId": "chatkit-update-task", "parameters": [ { "name": "team_id", @@ -10398,19 +10009,28 @@ } }, { - "name": "run_id", + "name": "task_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RecordAgentRunEffectInner" + "$ref": "#/components/schemas/UpdateTaskRequestInner" } } }, @@ -10422,7 +10042,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentRunEffectReceipt" + "$ref": "#/components/schemas/Task" } } } @@ -10430,19 +10050,20 @@ } } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/steps": { - "post": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/status": { + "patch": { "tags": [ "chatkit", "v1" ], - "summary": "Append an AgentRun step", - "description": "Idempotently appends accounting and progress under the current lease.", - "operationId": "chatkit-append-agent-run-step", + "summary": "Update ChatKit agent status", + "description": "Enables or disables a registered ChatKit HTTP agent.", + "operationId": "chatkit-set-agent-status", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -10451,25 +10072,19 @@ { "name": "agent_id", "in": "path", + "description": "ChatKit agent inbox ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "run_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -10477,7 +10092,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppendAgentRunStepInner" + "$ref": "#/components/schemas/SetChatKitResourceStatusRequest" } } }, @@ -10485,27 +10100,66 @@ }, "responses": { "200": { + "description": "Update ChatKit agent status", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChatKitAgent" + } + } + } + }, + "400": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentRun" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/transition": { + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/tool-executions": { "post": { "tags": [ "chatkit", "v1" ], - "summary": "Transition an AgentRun", - "description": "Pauses, resumes, stalls, completes, fails, or cancels a run durably.", - "operationId": "chatkit-transition-agent-run", + "summary": "Report a local tool execution lifecycle event", + "description": "Records a coding-harness-local tool lifecycle event and its canonical execution state atomically. Event-oriented clients may include tool metadata to register one newly discovered tool without reconciling the complete local catalog.", + "operationId": "chatkit-report-tool-execution", "parameters": [ { "name": "team_id", @@ -10524,441 +10178,13 @@ } }, { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "run_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TransitionAgentRunInner" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AgentRun" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/tasks": { - "get": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "List agent tasks", - "description": "Lists tasks owned by the authenticated ChatKit agent in one active session.", - "operationId": "chatkit-list-tasks", - "parameters": [ - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "goal_id", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] - } - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TaskStatus" - } - ] - } - }, - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "agent_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TaskPaginatedResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Create an agent task", - "description": "Creates an executable task with same-session dependencies for the authenticated ChatKit agent.", - "operationId": "chatkit-create-task", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "agent_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTaskRequestInner" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Task" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/tasks/{task_id}": { - "get": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Get an agent task", - "description": "Gets one task owned by the authenticated ChatKit agent.", - "operationId": "chatkit-get-task", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "agent_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "task_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Task" - } - } - } - } - } - }, - "patch": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Update an agent task", - "description": "Updates task content, dependencies, progress, or terminal state without allowing terminal tasks to reopen.", - "operationId": "chatkit-update-task", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "agent_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "task_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateTaskRequestInner" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Task" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/status": { - "patch": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Update ChatKit agent status", - "description": "Enables or disables a registered ChatKit HTTP agent.", - "operationId": "chatkit-set-agent-status", - "parameters": [ - { - "name": "team_id", + "name": "team_id", "in": "path", "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "agent_id", - "in": "path", - "description": "ChatKit agent inbox ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetChatKitResourceStatusRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Update ChatKit agent status", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitAgent" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/tool-executions": { - "post": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Report a local tool execution lifecycle event", - "description": "Records a coding-harness-local tool lifecycle event and its canonical execution state atomically. Event-oriented clients may include tool metadata to register one newly discovered tool without reconciling the complete local catalog.", - "operationId": "chatkit-report-tool-execution", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "agent_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -11039,6 +10265,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -11127,6 +10362,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -11207,6 +10451,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -11295,6 +10548,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -11364,6 +10626,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -11468,6 +10739,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -11523,6 +10803,15 @@ "description": "Lists ChatKit chat providers that can be configured for this team.", "operationId": "chatkit-list-available-chat-providers", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -11614,6 +10903,15 @@ "null" ] } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -11669,6 +10967,15 @@ "description": "Creates a pending Slack ChatKit provider, provisions a Slack app from a manifest, attaches generated app credentials, and starts Slack OAuth.", "operationId": "chatkit-auto-provision-slack-channel-installation", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -11750,9 +11057,18 @@ "schema": { "type": "string" } - } - ], - "requestBody": { + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { "content": { "application/json": { "schema": { @@ -11832,6 +11148,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -11914,6 +11239,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -11979,6 +11313,15 @@ "description": "Registers a Vercel AI SDK-compatible ChatKit chat provider.", "operationId": "chatkit-register-vercel-ui-chat-provider", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -12069,6 +11412,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -12149,6 +11501,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -12229,6 +11590,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -12321,6 +11691,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -12396,6 +11775,15 @@ "description": "Lists product-facing ChatKit chat channels and grouped provider setup options.", "operationId": "chatkit-list-available-chat-channels", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -12449,16 +11837,14 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/identities/link": { - "post": { + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}": { + "get": { "tags": [ - "chatkit", - "identity", - "v1" + "chatkit" ], - "summary": "Link a member's attested address", - "description": "A team admin links an address to a team member without a challenge. Only an address the member has already verified with an identity provider is accepted.", - "operationId": "link-team-identity", + "summary": "Get custom ChatKit connection", + "description": "Returns the definition reference and public connection configuration.", + "operationId": "chatkit-get-custom-connection", "parameters": [ { "name": "team_id", @@ -12467,25 +11853,32 @@ "schema": { "type": "string" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/LinkTeamIdentityRequestInner" - } + }, + { + "name": "connection_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VerifiedIdentityLink" + "$ref": "#/components/schemas/CustomConnectionInfo" } } } @@ -12499,146 +11892,35 @@ } } } - }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/inbox": { - "get": { + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/messages": { + "post": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "List inboxes", - "description": "List all configured inboxes with pagination and optional filtering by type", - "operationId": "list-inboxes", + "summary": "Ingest custom provider message", + "description": "Accepts a normalized external event using only the owning connection runtime token.", + "operationId": "chatkit-ingest-custom-provider-message", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", + "name": "connection_id", + "in": "path", "required": true, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, "schema": { "type": "string" - }, - "style": "form" - }, - { - "name": "inbox_type", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/InboxType" - } - ] - } - } - ], - "responses": { - "200": { - "description": "List inboxes", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InboxPaginatedResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } } - } - }, - "security": [ - {}, - { - "api_key": [] }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/chatkit/messages/converted-cache": { - "post": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Cache converted ChatKit message representations", - "description": "Persists JSON-safe agent-facing representations for ChatKit messages.", - "operationId": "chatkit-cache-converted-messages", - "parameters": [ { "name": "team_id", "in": "path", @@ -12653,7 +11935,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CacheConvertedMessagesRequest" + "$ref": "#/components/schemas/CustomInboundMessage" } } }, @@ -12661,26 +11943,16 @@ }, "responses": { "200": { - "description": "Cache converted ChatKit message representations", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CacheConvertedMessagesResponse" - } - } - } - }, - "400": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CustomIngressReceipt" } } } }, - "500": { + "400": { "description": "", "content": { "application/json": { @@ -12690,28 +11962,34 @@ } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/messages/converted-cache/hydrate": { + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/runtime": { "post": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Hydrate converted ChatKit message representations", - "description": "Loads JSON-safe cached agent-facing representations for ChatKit messages.", - "operationId": "chatkit-hydrate-converted-messages", + "summary": "Custom provider runtime operation", + "description": "Manage only conversations and attachments bound to the authenticated connection.", + "operationId": "chatkit-custom-provider-runtime", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "connection_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -12726,7 +12004,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HydrateConvertedMessagesRequest" + "$ref": "#/components/schemas/CustomRuntimeCommand" } } }, @@ -12734,26 +12012,16 @@ }, "responses": { "200": { - "description": "Hydrate converted ChatKit message representations", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HydrateConvertedMessagesResponse" - } - } - } - }, - "400": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CustomRuntimeResponse" } } } }, - "500": { + "400": { "description": "", "content": { "application/json": { @@ -12763,27 +12031,17 @@ } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/self-extension-proposals": { - "get": { + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/runtime-token/rotate": { + "post": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "List safe extension proposals", - "description": "Lists redacted proposal review snapshots for the authorized team.", - "operationId": "chatkit-list-self-extension-proposals", + "summary": "Rotate custom connection credentials", + "description": "Immediately revokes the old token and returns its replacement once.", + "operationId": "chatkit-rotate-custom-connection-credentials", "parameters": [ { "name": "team_id", @@ -12794,28 +12052,20 @@ } }, { - "name": "status", - "in": "query", - "required": false, - "schema": { - "$ref": "#/components/schemas/SelfExtensionStatus" - } - }, - { - "name": "requesting_agent_id", - "in": "query", - "required": false, + "name": "connection_id", + "in": "path", + "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } } ], @@ -12825,51 +12075,17 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SelfExtensionProposal" - } + "$ref": "#/components/schemas/CustomConnectionCredentials" } } } - } - } - }, - "post": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Propose a safe agent extension", - "description": "Creates a durable, server-validated proposal with a redacted diff, permission and credential requirements, cost and egress implications, affected audiences, and exact rollback plan. The requesting agent cannot approve or execute it.", - "operationId": "chatkit-propose-self-extension", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSelfExtensionProposalInner" - } - } }, - "required": true - }, - "responses": { - "201": { + "400": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SelfExtensionProposal" + "$ref": "#/components/schemas/Error" } } } @@ -12877,15 +12093,13 @@ } } }, - "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}": { + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/work": { "get": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Inspect a safe extension proposal", - "description": "Returns the complete redacted review document and durable execution receipts.", - "operationId": "chatkit-get-self-extension-proposal", + "summary": "Inspect durable normalized-event and cleanup work without exposing payloads.", + "operationId": "chatkit-list-custom-connection-work", "parameters": [ { "name": "team_id", @@ -12896,8 +12110,17 @@ } }, { - "name": "proposal_id", + "name": "connection_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -12910,7 +12133,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SelfExtensionProposal" + "$ref": "#/components/schemas/CustomConnectionWorkPaginatedResponse" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -12918,15 +12151,13 @@ } } }, - "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/approve": { + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/work/retry": { "post": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Approve a safe extension proposal", - "description": "Records an explicit human owner/admin approval and queues durable execution. Agent callers cannot approve.", - "operationId": "chatkit-approve-self-extension-proposal", + "summary": "Retry a dead-letter item with its original deduplication identity.", + "operationId": "chatkit-retry-custom-connection-work", "parameters": [ { "name": "team_id", @@ -12937,21 +12168,50 @@ } }, { - "name": "proposal_id", + "name": "connection_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RetryConnectionWork" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SelfExtensionProposal" + "$ref": "#/components/schemas/DeleteInboxResponse" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -12959,15 +12219,14 @@ } } }, - "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/cancel": { - "post": { + "/api/v1/team/{team_id}/chatkit/custom-providers": { + "get": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Cancel a safe extension proposal", - "description": "Cancels a pending or approved proposal before execution starts.", - "operationId": "chatkit-cancel-self-extension-proposal", + "summary": "List custom ChatKit provider", + "description": "Manage a reusable tenant-scoped ChatKit implementation.", + "operationId": "chatkit-list-custom-provider", "parameters": [ { "name": "team_id", @@ -12978,8 +12237,9 @@ } }, { - "name": "proposal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -12992,23 +12252,30 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SelfExtensionProposal" + "$ref": "#/components/schemas/CustomProviderList" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } } - } - }, - "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/decision": { + }, "post": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Answer a capability-change approval", - "description": "Atomically records an authenticated human Yes/No against the exact proposal hash and generation, completes its linked Human Approval, and queues approved work.", - "operationId": "chatkit-decide-capability-change", + "summary": "Create custom ChatKit provider", + "description": "Manage a reusable tenant-scoped ChatKit implementation.", + "operationId": "chatkit-create-custom-provider", "parameters": [ { "name": "team_id", @@ -13019,8 +12286,9 @@ } }, { - "name": "proposal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -13031,7 +12299,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DecideCapabilityChangeRequest" + "$ref": "#/components/schemas/CustomProviderRegistrationInput" } } }, @@ -13043,7 +12311,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SelfExtensionProposal" + "$ref": "#/components/schemas/CustomProviderRegistration" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -13051,15 +12329,14 @@ } } }, - "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/outputs/claim": { - "post": { + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}": { + "get": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Claim safe extension outputs", - "description": "Returns and consumes encrypted one-time execution values to an explicit human owner/admin reviewer. Agent callers cannot claim outputs.", - "operationId": "chatkit-claim-self-extension-proposal-outputs", + "summary": "Get custom ChatKit provider", + "description": "Manage a reusable tenant-scoped ChatKit implementation.", + "operationId": "chatkit-get-custom-provider", "parameters": [ { "name": "team_id", @@ -13070,37 +12347,53 @@ } }, { - "name": "proposal_id", + "name": "provider_id", "in": "path", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SelfExtensionProposalOutputs" + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomChatKitProvider" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } } - } - }, - "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/reject": { - "post": { + }, + "put": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Reject a safe extension proposal", - "description": "Records an explicit human owner/admin rejection without creating resources.", - "operationId": "chatkit-reject-self-extension-proposal", + "summary": "Update custom ChatKit provider", + "description": "Manage a reusable tenant-scoped ChatKit implementation.", + "operationId": "chatkit-update-custom-provider", "parameters": [ { "name": "team_id", @@ -13111,37 +12404,63 @@ } }, { - "name": "proposal_id", + "name": "provider_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomProviderRegistrationInput" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SelfExtensionProposal" + "$ref": "#/components/schemas/CustomChatKitProvider" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } } - } - }, - "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/rollback": { - "post": { + }, + "delete": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Roll back a safe extension proposal", - "description": "Queues durable reverse-order cleanup of only resources recorded as created by this proposal.", - "operationId": "chatkit-rollback-self-extension-proposal", + "summary": "Delete custom ChatKit provider", + "description": "Manage a reusable tenant-scoped ChatKit implementation.", + "operationId": "chatkit-delete-custom-provider", "parameters": [ { "name": "team_id", @@ -13152,8 +12471,17 @@ } }, { - "name": "proposal_id", + "name": "provider_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -13166,7 +12494,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SelfExtensionProposal" + "$ref": "#/components/schemas/DeleteInboxResponse" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -13174,83 +12512,54 @@ } } }, - "/api/v1/team/{team_id}/chatkit/session": { + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/connections": { "get": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "List sessions", - "description": "List all chat sessions with pagination. Optionally filter by inbox_id to get sessions for a specific inbox.", - "operationId": "list-sessions", + "summary": "List custom ChatKit connections", + "description": "Lists public connection configuration within a single team and definition.", + "operationId": "chatkit-list-custom-connections", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", - "description": "Number of items to return per page", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "description": "Token for the next page of results", - "required": false, + "name": "provider_id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { - "name": "inbox_id", - "in": "query", - "description": "Filter sessions by inbox_id (via session_inbox_instance join)", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "List sessions", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionPaginatedResponse" + "$ref": "#/components/schemas/CustomConnectionInfoPaginatedResponse" } } } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { @@ -13259,26 +12568,34 @@ } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - }, + } + } + }, + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/disable": { "post": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Create session", - "description": "Create a new chat session. Optionally include inbox_instances to register participants.", - "operationId": "create-session", + "summary": "Disable custom ChatKit provider", + "description": "Manage a reusable tenant-scoped ChatKit implementation.", + "operationId": "chatkit-disable-custom-provider", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "provider_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -13289,39 +12606,19 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSessionInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Create a session", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Session" + "$ref": "#/components/schemas/CustomChatKitProvider" } } } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { @@ -13330,80 +12627,57 @@ } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/upload": { + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/enable": { "post": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Create attachment upload", - "description": "Create a ChatKit attachment row and return presigned object-store upload and download URLs.", - "operationId": "create-attachment-upload", + "summary": "Enable custom ChatKit provider", + "description": "Manage a reusable tenant-scoped ChatKit implementation.", + "operationId": "chatkit-enable-custom-provider", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", + "name": "provider_id", "in": "path", - "description": "Session ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateAttachmentUploadInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Create attachment upload", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateAttachmentUploadResponse" + "$ref": "#/components/schemas/CustomChatKitProvider" } } } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { @@ -13412,69 +12686,57 @@ } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}": { - "delete": { + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/refresh": { + "post": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "Delete attachment", - "description": "Mark a ChatKit attachment deleted and delete its backing object best-effort.", - "operationId": "delete-attachment", + "summary": "Refresh custom ChatKit provider", + "description": "Manage a reusable tenant-scoped ChatKit implementation.", + "operationId": "chatkit-refresh-custom-provider", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", + "name": "provider_id", "in": "path", - "description": "Session ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "attachment_id", + "name": "team_id", "in": "path", - "description": "Attachment ID", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "Delete attachment", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Attachment" + "$ref": "#/components/schemas/CustomChatKitProvider" } } } }, "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { @@ -13482,19 +12744,58 @@ } } } + } + } + } + }, + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/signing-key/rotate": { + "post": { + "tags": [ + "chatkit" + ], + "summary": "Rotate custom ChatKit provider", + "description": "Manage a reusable tenant-scoped ChatKit implementation.", + "operationId": "chatkit-rotate-custom-provider", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "404": { - "description": "Attachment Not Found", + { + "name": "provider_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CustomProviderRegistration" } } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "", "content": { "application/json": { "schema": { @@ -13503,53 +12804,35 @@ } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/complete": { + "/api/v1/team/{team_id}/chatkit/identities/link": { "post": { "tags": [ "chatkit", + "identity", "v1" ], - "summary": "Complete attachment upload", - "description": "Mark a direct-to-object-store attachment upload as complete.", - "operationId": "complete-attachment-upload", + "summary": "Link a member's attested address", + "description": "A team admin links an address to a team member without a challenge. Only an address the member has already verified with an identity provider is accepted.", + "operationId": "link-team-identity", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", - "in": "path", - "description": "Session ID", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "attachment_id", + "name": "team_id", "in": "path", - "description": "Attachment ID", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -13557,7 +12840,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CompleteAttachmentUploadInner" + "$ref": "#/components/schemas/LinkTeamIdentityRequestInner" } } }, @@ -13565,17 +12848,17 @@ }, "responses": { "200": { - "description": "Complete attachment upload", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Attachment" + "$ref": "#/components/schemas/VerifiedIdentityLink" } } } }, "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { @@ -13584,8 +12867,8 @@ } } }, - "404": { - "description": "Attachment Not Found", + "403": { + "description": "", "content": { "application/json": { "schema": { @@ -13594,8 +12877,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "", "content": { "application/json": { "schema": { @@ -13616,15 +12899,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/content": { + "/api/v1/team/{team_id}/chatkit/inbox": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "Download attachment content", - "description": "Download ChatKit attachment bytes through the API server. Debug builds return this endpoint as the attachment download URL.", - "operationId": "download-attachment-content", + "summary": "List inboxes", + "description": "List all configured inboxes with pagination and optional filtering by type", + "operationId": "list-inboxes", "parameters": [ { "name": "team_id", @@ -13636,36 +12919,56 @@ } }, { - "name": "session_id", - "in": "path", - "description": "Session ID", + "name": "page_size", + "in": "query", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "inbox_type", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/InboxType" + } + ] } }, { - "name": "attachment_id", + "name": "team_id", "in": "path", - "description": "Attachment ID", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "Download attachment content", + "description": "List inboxes", "content": { - "application/octet-stream": { + "application/json": { "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32", - "minimum": 0 - } + "$ref": "#/components/schemas/InboxPaginatedResponse" } } } @@ -13680,16 +12983,6 @@ } } }, - "404": { - "description": "Attachment Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "500": { "description": "Internal Server Error", "content": { @@ -13710,15 +13003,17 @@ "bearer_token": [] } ] - }, - "put": { + } + }, + "/api/v1/team/{team_id}/chatkit/messages/converted-cache": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Upload attachment content", - "description": "Upload ChatKit attachment bytes through the API server. Debug builds return this endpoint as the upload URL instead of a browser-direct object-store URL.", - "operationId": "upload-attachment-content", + "summary": "Cache converted ChatKit message representations", + "description": "Persists JSON-safe agent-facing representations for ChatKit messages.", + "operationId": "chatkit-cache-converted-messages", "parameters": [ { "name": "team_id", @@ -13730,34 +13025,20 @@ } }, { - "name": "session_id", - "in": "path", - "description": "Session ID", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "attachment_id", + "name": "team_id", "in": "path", - "description": "Attachment ID", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "requestBody": { "content": { - "application/octet-stream": { + "application/json": { "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32", - "minimum": 0 - } + "$ref": "#/components/schemas/CacheConvertedMessagesRequest" } } }, @@ -13765,27 +13046,17 @@ }, "responses": { "200": { - "description": "Upload attachment content", + "description": "Cache converted ChatKit message representations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Attachment" + "$ref": "#/components/schemas/CacheConvertedMessagesResponse" } } } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Attachment Not Found", + "description": "", "content": { "application/json": { "schema": { @@ -13795,7 +13066,7 @@ } }, "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { @@ -13816,15 +13087,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/download-url": { - "get": { + "/api/v1/team/{team_id}/chatkit/messages/converted-cache/hydrate": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Get attachment download URL", - "description": "Create a short-lived signed download URL for a ChatKit attachment.", - "operationId": "get-attachment-download-url", + "summary": "Hydrate converted ChatKit message representations", + "description": "Loads JSON-safe cached agent-facing representations for ChatKit messages.", + "operationId": "chatkit-hydrate-converted-messages", "parameters": [ { "name": "team_id", @@ -13835,88 +13106,6 @@ "type": "string" } }, - { - "name": "session_id", - "in": "path", - "description": "Session ID", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "attachment_id", - "in": "path", - "description": "Attachment ID", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "responses": { - "200": { - "description": "Get attachment download URL", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GetAttachmentDownloadUrlResponse" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Attachment Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachments/upload": { - "post": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Create attachment uploads", - "description": "Creates up to ten ChatKit attachment rows and returns their presigned uploads in one request.", - "operationId": "create-attachment-uploads", - "parameters": [ { "name": "team_id", "in": "path", @@ -13925,22 +13114,13 @@ "schema": { "type": "string" } - }, - { - "name": "session_id", - "in": "path", - "description": "Session ID", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateAttachmentUploadsInner" + "$ref": "#/components/schemas/HydrateConvertedMessagesRequest" } } }, @@ -13948,17 +13128,17 @@ }, "responses": { "200": { - "description": "Create attachment uploads", + "description": "Hydrate converted ChatKit message representations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateAttachmentUploadsResponse" + "$ref": "#/components/schemas/HydrateConvertedMessagesResponse" } } } }, "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { @@ -13968,7 +13148,7 @@ } }, "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { @@ -13989,135 +13169,156 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/event-history": { + "/api/v1/team/{team_id}/chatkit/self-extension-proposals": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "Get session event history", - "description": "Get paginated historical events for a session. Optionally include events from child sessions.", - "operationId": "get-session-event-history", + "summary": "List safe extension proposals", + "description": "Lists redacted proposal review snapshots for the authorized team.", + "operationId": "chatkit-list-self-extension-proposals", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", - "in": "path", - "description": "Session ID", - "required": true, + "name": "status", + "in": "query", + "required": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/SelfExtensionStatus" } }, { - "name": "page_size", + "name": "requesting_agent_id", "in": "query", - "description": "Number of items to return per page", "required": false, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } }, { - "name": "next_page_token", + "name": "page_size", "in": "query", - "description": "Token for the next page of results", "required": false, "schema": { - "type": [ - "string", - "null" - ] + "type": "integer", + "format": "int64" } }, { - "name": "include_child_sessions", - "in": "query", - "description": "Whether to include events from child sessions", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "boolean", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "Event history", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StoredEventPaginatedResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/SelfExtensionProposal" + } } } } + } + } + }, + "post": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Propose a safe agent extension", + "description": "Creates a durable, server-validated proposal with a redacted diff, permission and credential requirements, cost and egress implications, affected audiences, and exact rollback plan. The requesting agent cannot approve or execute it.", + "operationId": "chatkit-propose-self-extension", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSelfExtensionProposalInner" } } }, - "500": { - "description": "Internal Server Error", + "required": true + }, + "responses": { + "201": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SelfExtensionProposal" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/inbox-instances": { + "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "List session inbox instances", - "description": "Get all inbox instances (participants) registered in a session.", - "operationId": "list-session-inbox-instances", + "summary": "Inspect a safe extension proposal", + "description": "Returns the complete redacted review document and durable execution receipts.", + "operationId": "chatkit-get-self-extension-proposal", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", + "name": "proposal_id", "in": "path", - "description": "Session ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -14126,73 +13327,98 @@ ], "responses": { "200": { - "description": "List inbox instances for a session", + "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InboxInstance" - } + "$ref": "#/components/schemas/SelfExtensionProposal" } } } + } + } + } + }, + "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/approve": { + "post": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Approve a safe extension proposal", + "description": "Records an explicit human owner/admin approval and queues durable execution. Agent callers cannot approve.", + "operationId": "chatkit-approve-self-extension-proposal", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "proposal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, - "500": { - "description": "Internal Server Error", + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SelfExtensionProposal" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/member": { - "get": { + "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/cancel": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "List private session members", - "description": "List Tilde users authorized to access a private ChatKit session. These users are distinct from ChatKit inbox participants.", - "operationId": "list-session-user-members", + "summary": "Cancel a safe extension proposal", + "description": "Cancels a pending or approved proposal before execution starts.", + "operationId": "chatkit-cancel-self-extension-proposal", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", + "name": "proposal_id", "in": "path", - "description": "Private session ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -14201,61 +13427,48 @@ ], "responses": { "200": { - "description": "Private session authorization members", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SessionUserMembership" - } - } - } - } - }, - "404": { - "description": "Session not found", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SelfExtensionProposal" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - }, + } + } + }, + "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/decision": { "post": { "tags": [ "chatkit", "v1" ], - "summary": "Add a private session member", - "description": "Grant a Tilde user access to a private ChatKit session. The user must retain membership in the session team to use the grant.", - "operationId": "add-session-user-member", + "summary": "Answer a capability-change approval", + "description": "Atomically records an authenticated human Yes/No against the exact proposal hash and generation, completes its linked Human Approval, and queues approved work.", + "operationId": "chatkit-decide-capability-change", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", + "name": "proposal_id", "in": "path", - "description": "Private session ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -14266,7 +13479,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AddSessionUserMemberRequest" + "$ref": "#/components/schemas/DecideCapabilityChangeRequest" } } }, @@ -14274,69 +13487,48 @@ }, "responses": { "200": { - "description": "Added authorization member", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SessionUserMembership" - } - } - } - }, - "404": { - "description": "Session not found", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SelfExtensionProposal" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/member/{user_id}": { - "delete": { + "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/outputs/claim": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Remove a private session member", - "description": "Revoke a non-owner user's access to a private ChatKit session. Ownership must be transferred before removing the owner.", - "operationId": "remove-session-user-member", + "summary": "Claim safe extension outputs", + "description": "Returns and consumes encrypted one-time execution values to an explicit human owner/admin reviewer. Agent callers cannot claim outputs.", + "operationId": "chatkit-claim-self-extension-proposal-outputs", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", + "name": "proposal_id", "in": "path", - "description": "Private session ID", "required": true, "schema": { "type": "string" } }, { - "name": "user_id", + "name": "team_id", "in": "path", - "description": "Tilde user ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -14345,110 +13537,151 @@ ], "responses": { "200": { - "description": "Removed authorization member", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RemoveSessionUserMemberResponse" - } - } - } - }, - "404": { - "description": "Session not found", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SelfExtensionProposalOutputs" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/message": { - "get": { + "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/reject": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "List messages in session", - "description": "List all messages in a session with pagination", - "operationId": "list-messages", + "summary": "Reject a safe extension proposal", + "description": "Records an explicit human owner/admin rejection without creating resources.", + "operationId": "chatkit-reject-self-extension-proposal", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", + "name": "proposal_id", "in": "path", - "description": "Session ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "page_size", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SelfExtensionProposal" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/rollback": { + "post": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Roll back a safe extension proposal", + "description": "Queues durable reverse-order cleanup of only resources recorded as created by this proposal.", + "operationId": "chatkit-rollback-self-extension-proposal", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { - "name": "channel_inbox_id", - "in": "query", - "required": false, + "name": "proposal_id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { - "name": "participant_inbox_instance_id", + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SelfExtensionProposal" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/chatkit/session": { + "get": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "List sessions", + "description": "List all chat sessions with pagination. Optionally filter by inbox_id to get sessions for a specific inbox.", + "operationId": "list-sessions", + "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page_size", "in": "query", + "description": "Number of items to return per page", "required": false, "schema": { - "type": [ - "string", - "null" - ] + "type": "integer", + "format": "int64" } }, { - "name": "user_external_id", + "name": "next_page_token", "in": "query", + "description": "Token for the next page of results", "required": false, "schema": { "type": [ @@ -14458,43 +13691,34 @@ } }, { - "name": "created_after", + "name": "inbox_id", "in": "query", + "description": "Filter sessions by inbox_id (via session_inbox_instance join)", "required": false, "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } + "type": [ + "string", + "null" ] } }, { - "name": "created_before", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - ] + "type": "string" } } ], "responses": { "200": { - "description": "List messages", + "description": "List sessions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MessagePaginatedResponse" + "$ref": "#/components/schemas/SessionPaginatedResponse" } } } @@ -14509,16 +13733,6 @@ } } }, - "404": { - "description": "Session Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "500": { "description": "Internal Server Error", "content": { @@ -14545,9 +13759,9 @@ "chatkit", "v1" ], - "summary": "Create message", - "description": "Create a new message in a session", - "operationId": "create-message", + "summary": "Create session", + "description": "Create a new chat session. Optionally include inbox_instances to register participants.", + "operationId": "create-session", "parameters": [ { "name": "team_id", @@ -14559,12 +13773,12 @@ } }, { - "name": "session_id", + "name": "team_id", "in": "path", - "description": "Session ID", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -14572,7 +13786,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateMessageRequest" + "$ref": "#/components/schemas/CreateSessionInner" } } }, @@ -14580,11 +13794,11 @@ }, "responses": { "200": { - "description": "Create a message", + "description": "Create a session", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Message" + "$ref": "#/components/schemas/Session" } } } @@ -14599,16 +13813,6 @@ } } }, - "404": { - "description": "Session Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "500": { "description": "Internal Server Error", "content": { @@ -14631,15 +13835,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/message/{message_id}": { - "get": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/upload": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Get message", - "description": "Retrieve a message by its ID", - "operationId": "get-message", + "summary": "Create attachment upload", + "description": "Create a ChatKit attachment row and return presigned object-store upload and download URLs.", + "operationId": "create-attachment-upload", "parameters": [ { "name": "team_id", @@ -14660,22 +13864,32 @@ } }, { - "name": "message_id", + "name": "team_id", "in": "path", - "description": "Message ID", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateAttachmentUploadInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Get message", + "description": "Create attachment upload", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Message" + "$ref": "#/components/schemas/CreateAttachmentUploadResponse" } } } @@ -14690,16 +13904,6 @@ } } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "500": { "description": "Internal Server Error", "content": { @@ -14720,15 +13924,17 @@ "bearer_token": [] } ] - }, + } + }, + "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}": { "delete": { "tags": [ "chatkit", "v1" ], - "summary": "Delete message", - "description": "Delete a message by its ID", - "operationId": "delete-message", + "summary": "Delete attachment", + "description": "Mark a ChatKit attachment deleted and delete its backing object best-effort.", + "operationId": "delete-attachment", "parameters": [ { "name": "team_id", @@ -14749,22 +13955,31 @@ } }, { - "name": "message_id", + "name": "attachment_id", "in": "path", - "description": "Message ID", + "description": "Attachment ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Delete message", + "description": "Delete attachment", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteMessageResponse" + "$ref": "#/components/schemas/Attachment" } } } @@ -14780,7 +13995,7 @@ } }, "404": { - "description": "Not Found", + "description": "Attachment Not Found", "content": { "application/json": { "schema": { @@ -14811,19 +14026,20 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/message/{message_id}/deliveries": { - "get": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/complete": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Get message delivery receipts", - "description": "Requires permission to read the message and its session. Delivered means the channel adapter received provider acceptance, not that the recipient read it.", - "operationId": "get-message-deliveries", + "summary": "Complete attachment upload", + "description": "Mark a direct-to-object-store attachment upload as complete.", + "operationId": "complete-attachment-upload", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -14832,36 +14048,74 @@ { "name": "session_id", "in": "path", + "description": "Session ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "message_id", + "name": "attachment_id", "in": "path", + "description": "Attachment ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CompleteAttachmentUploadInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Provider delivery receipts", + "description": "Complete attachment upload", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MessageDeliveryReceipt" - } + "$ref": "#/components/schemas/Attachment" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } }, "404": { - "description": "Message not found or not visible", + "description": "Attachment Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -14872,6 +14126,7 @@ } }, "security": [ + {}, { "api_key": [] }, @@ -14881,15 +14136,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/observe": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/content": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "Observe session events via SSE", - "description": "Subscribe to real-time events on a session via Server-Sent Events. Optionally filter by event types and cascade into child sessions.", - "operationId": "observe-session", + "summary": "Download attachment content", + "description": "Download ChatKit attachment bytes through the API server. Debug builds return this endpoint as the attachment download URL.", + "operationId": "download-attachment-content", "parameters": [ { "name": "team_id", @@ -14903,40 +14158,46 @@ { "name": "session_id", "in": "path", - "description": "Session ID to observe", + "description": "Session ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "subscribe_to_events", - "in": "query", - "description": "Comma-separated event types to subscribe to (e.g. \"message_created,message_streaming\").\nIf not set, all events are forwarded.", - "required": false, + "name": "attachment_id", + "in": "path", + "description": "Attachment ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "attach_to_child_sessions", - "in": "query", - "description": "Whether to auto-attach to child sessions created under the observed session", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "boolean", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "SSE stream of session events" + "description": "Download attachment content", + "content": { + "application/octet-stream": { + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "minimum": 0 + } + } + } + } }, "400": { "description": "Bad Request", @@ -14949,7 +14210,17 @@ } }, "404": { - "description": "Session not found", + "description": "Attachment Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -14968,21 +14239,20 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/ownership": { - "post": { + }, + "put": { "tags": [ "chatkit", "v1" ], - "summary": "Update session ownership", - "description": "Set the session ownership plane to team or private. Private mode retains a creator ownership grant.", - "operationId": "update-session-ownership", + "summary": "Upload attachment content", + "description": "Upload ChatKit attachment bytes through the API server. Debug builds return this endpoint as the upload URL instead of a browser-direct object-store URL.", + "operationId": "upload-attachment-content", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -14991,6 +14261,25 @@ { "name": "session_id", "in": "path", + "description": "Session ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "attachment_id", + "in": "path", + "description": "Attachment ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -14999,9 +14288,14 @@ ], "requestBody": { "content": { - "application/json": { + "application/octet-stream": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "minimum": 0 + } } } }, @@ -15009,17 +14303,17 @@ }, "responses": { "200": { - "description": "", + "description": "Upload attachment content", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/Attachment" } } } }, "400": { - "description": "", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -15029,7 +14323,17 @@ } }, "404": { - "description": "", + "description": "Attachment Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -15050,19 +14354,20 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/visibility": { - "post": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/download-url": { + "get": { "tags": [ "chatkit", "v1" ], - "summary": "Update session visibility", - "description": "Set the session visibility plane to team or private. Private mode retains a creator visibility grant.", - "operationId": "update-session-visibility", + "summary": "Get attachment download URL", + "description": "Create a short-lived signed download URL for a ChatKit attachment.", + "operationId": "get-attachment-download-url", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15071,35 +14376,44 @@ { "name": "session_id", "in": "path", + "description": "Session ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "attachment_id", + "in": "path", + "description": "Attachment ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", + "description": "Get attachment download URL", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/GetAttachmentDownloadUrlResponse" } } } }, "400": { - "description": "", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -15109,7 +14423,17 @@ } }, "404": { - "description": "", + "description": "Attachment Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -15130,19 +14454,20 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/{plane}/grants": { - "get": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/attachments/upload": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "List session grants", - "description": "List binary user and group grants for one session authorization plane.", - "operationId": "list-session-resource-grants", + "summary": "Create attachment uploads", + "description": "Creates up to ten ChatKit attachment rows and returns their presigned uploads in one request.", + "operationId": "create-attachment-uploads", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15151,83 +14476,16 @@ { "name": "session_id", "in": "path", + "description": "Session ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "plane", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - }, - "post": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Add session grant", - "description": "Grant a same-team user or group access to one session authorization plane.", - "operationId": "add-session-resource-grant", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "plane", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15238,7 +14496,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/CreateAttachmentUploadsInner" } } }, @@ -15246,17 +14504,17 @@ }, "responses": { "200": { - "description": "", + "description": "Create attachment uploads", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/CreateAttachmentUploadsResponse" } } } }, "400": { - "description": "", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -15265,8 +14523,8 @@ } } }, - "404": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -15287,19 +14545,20 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/session/{session_id}/{plane}/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/event-history": { + "get": { "tags": [ "chatkit", "v1" ], - "summary": "Remove session grant", - "description": "Remove one binary principal grant without removing the required creator grant from a private plane.", - "operationId": "remove-session-resource-grant", + "summary": "Get session event history", + "description": "Get paginated historical events for a session. Optionally include events from child sessions.", + "operationId": "get-session-event-history", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15308,30 +14567,50 @@ { "name": "session_id", "in": "path", + "description": "Session ID", "required": true, "schema": { "type": "string" } }, { - "name": "plane", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "description": "Number of items to return per page", + "required": false, "schema": { - "type": "string" + "type": "integer", + "format": "int64" } }, { - "name": "principal_type", - "in": "path", - "required": true, + "name": "next_page_token", + "in": "query", + "description": "Token for the next page of results", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } }, { - "name": "principal_id", + "name": "include_child_sessions", + "in": "query", + "description": "Whether to include events from child sessions", + "required": false, + "schema": { + "type": [ + "boolean", + "null" + ] + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15340,17 +14619,17 @@ ], "responses": { "200": { - "description": "", + "description": "Event history", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/StoredEventPaginatedResponse" } } } }, "400": { - "description": "", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -15359,8 +14638,8 @@ } } }, - "404": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -15381,15 +14660,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/sessions": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/inbox-instances": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "List ChatKit sessions", - "description": "Lists ChatKit sessions through the existing inbox session storage.", - "operationId": "chatkit-list-sessions", + "summary": "List session inbox instances", + "description": "Get all inbox instances (participants) registered in a session.", + "operationId": "list-session-inbox-instances", "parameters": [ { "name": "team_id", @@ -15401,44 +14680,34 @@ } }, { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "session_id", + "in": "path", + "description": "Session ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { - "name": "inbox_id", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "List ChatKit sessions", + "description": "List inbox instances for a session", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionPaginatedResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/InboxInstance" + } } } } @@ -15473,15 +14742,17 @@ "bearer_token": [] } ] - }, - "post": { + } + }, + "/api/v1/team/{team_id}/chatkit/session/{session_id}/member": { + "get": { "tags": [ "chatkit", "v1" ], - "summary": "Create ChatKit session", - "description": "Creates a ChatKit session with explicit participants, or wires the session to agent_id and its registered Vercel UI channel when agent_id is provided.", - "operationId": "chatkit-create-session", + "summary": "List private session members", + "description": "List Tilde users authorized to access a private ChatKit session. These users are distinct from ChatKit inbox participants.", + "operationId": "list-session-user-members", "parameters": [ { "name": "team_id", @@ -15491,41 +14762,42 @@ "schema": { "type": "string" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateChatKitSessionRequestInner" - } + }, + { + "name": "session_id", + "in": "path", + "description": "Private session ID", + "required": true, + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { - "description": "Create ChatKit session", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitSessionWithParticipants" - } - } - } - }, - "400": { - "description": "Bad Request", + "description": "Private session authorization members", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/SessionUserMembership" + } } } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "Session not found", "content": { "application/json": { "schema": { @@ -15544,21 +14816,20 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/compaction-events": { + }, "post": { "tags": [ "chatkit", "v1" ], - "summary": "Report a ChatKit compaction lifecycle event", - "description": "Lets the active agent participant report its own context-compaction lifecycle. ChatKit persists and streams the event while the agent owns compaction policy and execution.", - "operationId": "chatkit-report-compaction-event", + "summary": "Add a private session member", + "description": "Grant a Tilde user access to a private ChatKit session. The user must retain membership in the session team to use the grant.", + "operationId": "add-session-user-member", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15567,9 +14838,19 @@ { "name": "session_id", "in": "path", + "description": "Private session ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -15577,7 +14858,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReportChatKitCompactionEventInner" + "$ref": "#/components/schemas/AddSessionUserMemberRequest" } } }, @@ -15585,47 +14866,17 @@ }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReportChatKitCompactionEventResponse" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "", + "description": "Added authorization member", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SessionUserMembership" } } } }, "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "409": { - "description": "", + "description": "Session not found", "content": { "application/json": { "schema": { @@ -15646,19 +14897,20 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/compaction-events/latest": { - "get": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/member/{user_id}": { + "delete": { "tags": [ "chatkit", "v1" ], - "summary": "Get the latest successful ChatKit compaction", - "description": "Returns only the newest successful checkpoint for the authenticated active session agent.", - "operationId": "chatkit-get-latest-compaction", + "summary": "Remove a private session member", + "description": "Revoke a non-owner user's access to a private ChatKit session. Ownership must be transferred before removing the owner.", + "operationId": "remove-session-user-member", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15667,14 +14919,25 @@ { "name": "session_id", "in": "path", + "description": "Private session ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "agent_id", - "in": "query", + "name": "user_id", + "in": "path", + "description": "Tilde user ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15683,34 +14946,17 @@ ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ChatKitCompactionCheckpoint" - } - ] - } - } - } - }, - "403": { - "description": "", + "description": "Removed authorization member", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/RemoveSessionUserMemberResponse" } } } }, "404": { - "description": "", + "description": "Session not found", "content": { "application/json": { "schema": { @@ -15731,19 +14977,20 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/message": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "List ChatKit room invitations", - "description": "Lists durable invitation lifecycle state for a room manager or the canonical invitee.", - "operationId": "chatkit-list-room-invitations", + "summary": "List messages in session", + "description": "List all messages in a session with pagination", + "operationId": "list-messages", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15752,6 +14999,7 @@ { "name": "session_id", "in": "path", + "description": "Session ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" @@ -15776,21 +15024,93 @@ "null" ] } + }, + { + "name": "channel_inbox_id", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "participant_inbox_instance_id", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "user_external_id", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "created_after", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + } + }, + { + "name": "created_before", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "", + "description": "List messages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitRoomInvitationPaginatedResponse" + "$ref": "#/components/schemas/MessagePaginatedResponse" } } } }, "400": { - "description": "", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -15800,7 +15120,17 @@ } }, "404": { - "description": "", + "description": "Session Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -15825,13 +15155,14 @@ "chatkit", "v1" ], - "summary": "Invite a user to a ChatKit room", - "description": "Creates or refreshes a pending invitation under session ownership authority. The invitation does not expose room content before acceptance.", - "operationId": "chatkit-create-room-invitation", + "summary": "Create message", + "description": "Create a new message in a session", + "operationId": "create-message", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15840,17 +15171,27 @@ { "name": "session_id", "in": "path", + "description": "Session ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateChatKitRoomInvitationRequestInner" + "$ref": "#/components/schemas/CreateMessageRequest" } } }, @@ -15858,17 +15199,17 @@ }, "responses": { "200": { - "description": "", + "description": "Create a message", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitRoomInvitation" + "$ref": "#/components/schemas/Message" } } } }, "400": { - "description": "", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -15878,7 +15219,17 @@ } }, "404": { - "description": "", + "description": "Session Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -15899,19 +15250,20 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations/{invitation_id}": { - "delete": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/message/{message_id}": { + "get": { "tags": [ "chatkit", "v1" ], - "summary": "Revoke a ChatKit room invitation", - "description": "Revokes one pending invitation under session ownership authority.", - "operationId": "chatkit-revoke-room-invitation", + "summary": "Get message", + "description": "Retrieve a message by its ID", + "operationId": "get-message", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15920,33 +15272,44 @@ { "name": "session_id", "in": "path", + "description": "Session ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "invitation_id", + "name": "message_id", "in": "path", + "description": "Message ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitRoomInvitation" + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Get message", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Message" } } } }, "400": { - "description": "", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -15956,7 +15319,17 @@ } }, "404": { - "description": "", + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -15975,21 +15348,20 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations/{invitation_id}/decision": { - "post": { + }, + "delete": { "tags": [ "chatkit", "v1" ], - "summary": "Decide a ChatKit room invitation", - "description": "Accepts or declines a pending invitation as its canonical invitee. Acceptance grants session visibility and activates the bound human participant.", - "operationId": "chatkit-decide-room-invitation", + "summary": "Delete message", + "description": "Delete a message by its ID", + "operationId": "delete-message", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -15998,43 +15370,44 @@ { "name": "session_id", "in": "path", + "description": "Session ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "invitation_id", + "name": "message_id", "in": "path", + "description": "Message ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DecideChatKitRoomInvitationRequestInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", + "description": "Delete message", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitRoomInvitation" + "$ref": "#/components/schemas/DeleteMessageResponse" } } } }, "400": { - "description": "", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -16044,7 +15417,17 @@ } }, "404": { - "description": "", + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -16065,20 +15448,19 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/join": { - "post": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/message/{message_id}/deliveries": { + "get": { "tags": [ "chatkit", "v1" ], - "summary": "Join ChatKit session", - "description": "Alias for adding or linking the caller-provided participant to a ChatKit session.", - "operationId": "chatkit-join-session", + "summary": "Get message delivery receipts", + "description": "Requires permission to read the message and its session. Delivered means the channel adapter received provider acceptance, not that the recipient read it.", + "operationId": "get-message-deliveries", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -16087,56 +15469,45 @@ { "name": "session_id", "in": "path", - "description": "Session ID", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AddChatKitParticipantRequestInner" - } + }, + { + "name": "message_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "required": true - }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { - "description": "Join ChatKit session", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitParticipant" - } - } - } - }, - "400": { - "description": "Bad Request", + "description": "Provider delivery receipts", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/MessageDeliveryReceipt" + } } } } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "Message not found or not visible", "content": { "application/json": { "schema": { @@ -16147,7 +15518,6 @@ } }, "security": [ - {}, { "api_key": [] }, @@ -16157,15 +15527,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/messages": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/observe": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "List ChatKit message history", - "description": "Lists chronological message history for a ChatKit session with channel, participant, external user, and time filters.", - "operationId": "chatkit-list-message-history", + "summary": "Observe session events via SSE", + "description": "Subscribe to real-time events on a session via Server-Sent Events. Optionally filter by event types and cascade into child sessions.", + "operationId": "observe-session", "parameters": [ { "name": "team_id", @@ -16179,24 +15549,16 @@ { "name": "session_id", "in": "path", - "description": "Session ID", + "description": "Session ID to observe", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" + "type": "string" } }, { - "name": "next_page_token", + "name": "subscribe_to_events", "in": "query", + "description": "Comma-separated event types to subscribe to (e.g. \"message_created,message_streaming\").\nIf not set, all events are forwarded.", "required": false, "schema": { "type": [ @@ -16206,91 +15568,121 @@ } }, { - "name": "channel_inbox_id", + "name": "attach_to_child_sessions", "in": "query", + "description": "Whether to auto-attach to child sessions created under the observed session", "required": false, "schema": { "type": [ - "string", + "boolean", "null" ] } }, { - "name": "participant_inbox_instance_id", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "SSE stream of session events" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Session not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } + } + }, + "security": [ + {}, + { + "api_key": [] }, { - "name": "user_external_id", - "in": "query", - "required": false, + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/chatkit/session/{session_id}/ownership": { + "post": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Update session ownership", + "description": "Set the session ownership plane to team or private. Private mode retains a creator ownership grant.", + "operationId": "update-session-ownership", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { - "name": "created_after", - "in": "query", - "required": false, + "name": "session_id", + "in": "path", + "required": true, "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - ] + "type": "string" } }, { - "name": "created_before", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - ] + "type": "string" } } ], - "responses": { - "200": { - "description": "List ChatKit message history", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MessagePaginatedResponse" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, - "400": { + "required": true + }, + "responses": { + "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceAuthorization" } } } }, - "404": { + "400": { "description": "", "content": { "application/json": { @@ -16300,7 +15692,7 @@ } } }, - "500": { + "404": { "description": "", "content": { "application/json": { @@ -16322,15 +15714,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/messages/from-last-compaction": { - "get": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/visibility": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "List ChatKit history from the latest successful compaction", - "description": "Returns the authenticated agent's byte-stable checkpoint separately from messages after its transcript boundary.", - "operationId": "chatkit-get-compacted-history", + "summary": "Update session visibility", + "description": "Set the session visibility plane to team or private. Private mode retains a creator visibility grant.", + "operationId": "update-session-visibility", "parameters": [ { "name": "team_id", @@ -16345,50 +15737,41 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "agent_id", - "in": "query", + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitCompactedHistoryResponse" + "$ref": "#/components/schemas/ResourceAuthorization" } } } }, - "403": { + "400": { "description": "", "content": { "application/json": { @@ -16420,20 +15803,19 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/participants": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/{plane}/grants": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "List ChatKit session participants", - "description": "Lists explicit human and agent participants attached to a ChatKit session.", - "operationId": "chatkit-list-session-participants", + "summary": "List session grants", + "description": "List binary user and group grants for one session authorization plane.", + "operationId": "list-session-resource-grants", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -16442,49 +15824,45 @@ { "name": "session_id", "in": "path", - "description": "Session ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "List ChatKit participants", + "description": "", "content": { "application/json": { "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ChatKitParticipant" + "$ref": "#/components/schemas/ResourceGrant" } } } } }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { @@ -16509,14 +15887,13 @@ "chatkit", "v1" ], - "summary": "Add ChatKit participant", - "description": "Adds or links a human or agent participant to a ChatKit session.", - "operationId": "chatkit-add-session-participant", + "summary": "Add session grant", + "description": "Grant a same-team user or group access to one session authorization plane.", + "operationId": "add-session-resource-grant", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -16525,10 +15902,26 @@ { "name": "session_id", "in": "path", - "description": "Session ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -16536,7 +15929,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AddChatKitParticipantRequestInner" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -16544,17 +15937,17 @@ }, "responses": { "200": { - "description": "Add ChatKit participant", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitParticipant" + "$ref": "#/components/schemas/ResourceGrant" } } } }, "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { @@ -16564,17 +15957,7 @@ } }, "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { @@ -16595,20 +15978,19 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/participants/{participant_instance_id}": { + "/api/v1/team/{team_id}/chatkit/session/{session_id}/{plane}/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ "chatkit", "v1" ], - "summary": "Remove ChatKit participant", - "description": "Unlinks a participant from a ChatKit session.", - "operationId": "chatkit-remove-session-participant", + "summary": "Remove session grant", + "description": "Remove one binary principal grant without removing the required creator grant from a private plane.", + "operationId": "remove-session-resource-grant", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -16617,16 +15999,39 @@ { "name": "session_id", "in": "path", - "description": "Session ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "participant_instance_id", + "name": "plane", "in": "path", - "description": "Participant inbox instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -16635,17 +16040,17 @@ ], "responses": { "200": { - "description": "Remove ChatKit participant", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RemoveChatKitParticipantResponse" + "$ref": "#/components/schemas/ResourceGrant" } } } }, "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { @@ -16655,7 +16060,7 @@ } }, "404": { - "description": "Not Found", + "description": "", "content": { "application/json": { "schema": { @@ -16663,7 +16068,100 @@ } } } - }, + } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/chatkit/sessions": { + "get": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "List ChatKit sessions", + "description": "Lists ChatKit sessions through the existing inbox session storage.", + "operationId": "chatkit-list-sessions", + "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "inbox_id", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "List ChatKit sessions", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SessionPaginatedResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, "500": { "description": "Internal Server Error", "content": { @@ -16684,17 +16182,15 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/tools/sendMessage": { + }, "post": { "tags": [ "chatkit", "v1" ], - "summary": "Send a session-bound provider message", - "description": "Invokes the session provider's sendMessage capability with server-validated participant routing and persists the canonical ChatKit message.", - "operationId": "chatkit-send-session-message", + "summary": "Create ChatKit session", + "description": "Creates a ChatKit session with explicit participants, or wires the session to agent_id and its registered Vercel UI channel when agent_id is provided.", + "operationId": "chatkit-create-session", "parameters": [ { "name": "team_id", @@ -16706,12 +16202,12 @@ } }, { - "name": "session_id", + "name": "team_id", "in": "path", - "description": "Session ID", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -16719,7 +16215,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SendSessionMessageBody" + "$ref": "#/components/schemas/CreateChatKitSessionRequestInner" } } }, @@ -16727,27 +16223,17 @@ }, "responses": { "200": { - "description": "Provider message delivered", + "description": "Create ChatKit session", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SendSessionMessageResponse" + "$ref": "#/components/schemas/ChatKitSessionWithParticipants" } } } }, "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -16757,7 +16243,7 @@ } }, "500": { - "description": "", + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -16778,15 +16264,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/tools/{tool_name}": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/compaction-events": { "post": { "tags": [ "chatkit", "v1" ], - "summary": "Invoke a session-bound provider tool", - "description": "Invokes a provider action with server-bound session and message routing.", - "operationId": "chatkit-invoke-session-provider-tool", + "summary": "Report a ChatKit compaction lifecycle event", + "description": "Lets the active agent participant report its own context-compaction lifecycle. ChatKit persists and streams the event while the agent owns compaction policy and execution.", + "operationId": "chatkit-report-compaction-event", "parameters": [ { "name": "team_id", @@ -16805,8 +16291,9 @@ } }, { - "name": "tool_name", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -16817,7 +16304,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvokeSessionProviderToolBody" + "$ref": "#/components/schemas/ReportChatKitCompactionEventInner" } } }, @@ -16829,7 +16316,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvokeSessionProviderToolResponse" + "$ref": "#/components/schemas/ReportChatKitCompactionEventResponse" } } } @@ -16844,6 +16331,16 @@ } } }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, "404": { "description": "", "content": { @@ -16853,6 +16350,16 @@ } } } + }, + "409": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } }, "security": [ @@ -16866,144 +16373,250 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/sessions": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/compaction-events/latest": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "List ChatKit workspace agent sessions", - "description": "Lists more sessions for one ChatKit agent in ChatKit workspace.", - "operationId": "chatkit-workspace-agent-sessions", + "summary": "Get the latest successful ChatKit compaction", + "description": "Returns only the newest successful checkpoint for the authenticated active session agent.", + "operationId": "chatkit-get-latest-compaction", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, { "name": "agent_id", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", - "description": "Agent inbox ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/ChatKitCompactionCheckpoint" + } + ] + } + } + } + }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + {}, + { + "api_key": [] }, { - "name": "page_size", - "in": "query", - "required": false, + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/events/stream": { + "get": { + "tags": [ + "chatkit" + ], + "summary": "Stream ChatKit session events", + "description": "Resumable SSE with canonical audience filtering and periodic authorization revalidation. Use after_revision or Last-Event-ID to reconnect.", + "operationId": "chatkit-stream-session-events", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "session_id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "session_sort", + "name": "after_revision", "in": "query", "required": false, "schema": { "type": [ - "string", + "integer", "null" - ] + ], + "format": "int64" } }, { - "name": "q", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "ChatKit workspace agent sessions", + "description": "Canonical session event stream", + "content": { + "text/event-stream": {} + } + }, + "400": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitWorkspaceAgentSessionsResponse" + "$ref": "#/components/schemas/Error" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - }, - "post": { + } + } + }, + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations": { + "get": { "tags": [ "chatkit", "v1" ], - "summary": "Create ChatKit workspace session", - "description": "Creates a ChatKit session wired to the selected agent and its Vercel UI channel.", - "operationId": "chatkit-workspace-create-session", + "summary": "List ChatKit room invitations", + "description": "Lists durable invitation lifecycle state for a room manager or the canonical invitee.", + "operationId": "chatkit-list-room-invitations", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "agent_id", + "name": "session_id", "in": "path", - "description": "Agent inbox ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateChatKitWorkspaceSessionRequestInner" + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChatKitRoomInvitationPaginatedResponse" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "Created ChatKit workspace session", + "400": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitSessionWithParticipants" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -17018,40 +16631,36 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/sessions/{session_id}/messages": { + }, "post": { "tags": [ "chatkit", "v1" ], - "summary": "Send ChatKit workspace message", - "description": "Sends a user message to the selected ChatKit agent session and invokes the registered Vercel UI-compatible agent endpoint.", - "operationId": "chatkit-workspace-send-message", + "summary": "Invite a user to a ChatKit room", + "description": "Creates or refreshes a pending invitation under session ownership authority. The invitation does not expose room content before acceptance.", + "operationId": "chatkit-create-room-invitation", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "agent_id", + "name": "session_id", "in": "path", - "description": "Agent inbox ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "session_id", + "name": "team_id", "in": "path", - "description": "Session ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -17062,7 +16671,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SendChatKitWorkspaceMessageRequestInner" + "$ref": "#/components/schemas/CreateChatKitRoomInvitationRequestInner" } } }, @@ -17070,11 +16679,31 @@ }, "responses": { "200": { - "description": "ChatKit workspace messages after sending", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MessagePaginatedResponse" + "$ref": "#/components/schemas/ChatKitRoomInvitation" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -17091,52 +16720,77 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/turns": { - "post": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations/{invitation_id}": { + "delete": { "tags": [ "chatkit", "v1" ], - "summary": "Submit ChatKit workspace turn", - "description": "Creates a session when needed, finalizes uploaded attachments, sends the owner message, and returns canonical conversation state.", - "operationId": "chatkit-workspace-submit-turn", + "summary": "Revoke a ChatKit room invitation", + "description": "Revokes one pending invitation under session ownership authority.", + "operationId": "chatkit-revoke-room-invitation", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "agent_id", + "name": "session_id", "in": "path", - "description": "Agent inbox ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "invitation_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubmitChatKitWorkspaceTurnRequestInner" + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChatKitRoomInvitation" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "Submitted ChatKit workspace turn", + "400": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubmitChatKitWorkspaceTurnResponse" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -17153,128 +16807,87 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/workspace/bootstrap": { - "get": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations/{invitation_id}/decision": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Bootstrap ChatKit workspace", - "description": "Returns the sidebar and an optional active conversation snapshot in one request.", - "operationId": "chatkit-workspace-bootstrap", + "summary": "Decide a ChatKit room invitation", + "description": "Accepts or declines a pending invitation as its canonical invitee. Acceptance grants session visibility and activates the bound human participant.", + "operationId": "chatkit-decide-room-invitation", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "agent_page_size", - "in": "query", - "required": false, + "name": "session_id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "agent_next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "session_page_size", - "in": "query", - "required": false, + "name": "invitation_id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "message_page_size", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } - }, - { - "name": "queue_page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DecideChatKitRoomInvitationRequestInner" + } } }, - { - "name": "active_session_id", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChatKitRoomInvitation" } - ] - } - }, - { - "name": "agent_sort", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] + } } }, - { - "name": "session_sort", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "q", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - } - ], - "responses": { - "200": { - "description": "ChatKit workspace bootstrap projection", + "404": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitWorkspaceBootstrapResponse" + "$ref": "#/components/schemas/Error" } } } @@ -17291,15 +16904,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/workspace/search": { - "get": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/join": { + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Search ChatKit", - "description": "Searches visible session titles, participating agents, and messages across the team. When session_id is provided, searches messages only within that visible session.", - "operationId": "chatkit-search", + "summary": "Join ChatKit session", + "description": "Alias for adding or linking the caller-provided participant to a ChatKit session.", + "operationId": "chatkit-join-session", "parameters": [ { "name": "team_id", @@ -17310,63 +16923,48 @@ "type": "string" } }, - { - "name": "q", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "session_id", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] - } - }, - { - "name": "page_size", - "in": "query", - "required": false, + "in": "path", + "description": "Session ID", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AddChatKitParticipantRequestInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Consolidated ChatKit search results", + "description": "Join ChatKit session", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitSearchHitPaginatedResponse" + "$ref": "#/components/schemas/ChatKitParticipant" } } } }, "400": { - "description": "Invalid query or pagination cursor", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -17376,7 +16974,17 @@ } }, "404": { - "description": "Scoped session not found", + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -17397,15 +17005,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/interrupt": { - "post": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/messages": { + "get": { "tags": [ "chatkit", "v1" ], - "summary": "Interrupt ChatKit workspace session", - "description": "Interrupts the active ChatKit HTTP agent response for a ChatKit workspace session.", - "operationId": "chatkit-workspace-interrupt-session", + "summary": "List ChatKit message history", + "description": "Lists chronological message history for a ChatKit session with channel, participant, external user, and time filters.", + "operationId": "chatkit-list-message-history", "parameters": [ { "name": "team_id", @@ -17424,15 +17032,137 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "channel_inbox_id", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "participant_inbox_instance_id", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "user_external_id", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "created_after", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + } + }, + { + "name": "created_before", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "ChatKit workspace session interruption requested", + "description": "List ChatKit message history", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InterruptChatKitSessionResponse" + "$ref": "#/components/schemas/MessagePaginatedResponse" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -17449,20 +17179,19 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/messages": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/messages/from-last-compaction": { "get": { "tags": [ "chatkit", "v1" ], - "summary": "List ChatKit workspace messages", - "description": "Lists newest-first message history for a ChatKit workspace session with standard pagination.", - "operationId": "chatkit-workspace-messages", + "summary": "List ChatKit history from the latest successful compaction", + "description": "Returns the authenticated agent's byte-stable checkpoint separately from messages after its transcript boundary.", + "operationId": "chatkit-get-compacted-history", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -17471,7 +17200,14 @@ { "name": "session_id", "in": "path", - "description": "Session ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "agent_id", + "in": "query", "required": true, "schema": { "type": "string" @@ -17496,15 +17232,44 @@ "null" ] } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "ChatKit workspace messages", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MessagePaginatedResponse" + "$ref": "#/components/schemas/ChatKitCompactedHistoryResponse" + } + } + } + }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -17521,15 +17286,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/read-state": { - "put": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/participants": { + "get": { "tags": [ "chatkit", "v1" ], - "summary": "Update ChatKit session read state", - "description": "Marks the shared ChatKit session read or unread for only the authenticated user.", - "operationId": "chatkit-workspace-update-session-read-state", + "summary": "List ChatKit session participants", + "description": "Lists explicit human and agent participants attached to a ChatKit session.", + "operationId": "chatkit-list-session-participants", "parameters": [ { "name": "team_id", @@ -17548,25 +17313,57 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateChatKitSessionUserStateRequestInner" + "responses": { + "200": { + "description": "List ChatKit participants", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ChatKitParticipant" + } + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "Current user's ChatKit session read state", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitSessionUserState" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -17581,17 +17378,15 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/rename": { - "patch": { + }, + "post": { "tags": [ "chatkit", "v1" ], - "summary": "Rename ChatKit workspace thread", - "description": "Renames the selected ChatKit workspace ChatKit session.", - "operationId": "chatkit-workspace-rename-thread", + "summary": "Add ChatKit participant", + "description": "Adds or links a human or agent participant to a ChatKit session.", + "operationId": "chatkit-add-session-participant", "parameters": [ { "name": "team_id", @@ -17610,13 +17405,22 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RenameChatKitWorkspaceThreadRequestInner" + "$ref": "#/components/schemas/AddChatKitParticipantRequestInner" } } }, @@ -17624,11 +17428,41 @@ }, "responses": { "200": { - "description": "Renamed ChatKit workspace thread", + "description": "Add ChatKit participant", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Session" + "$ref": "#/components/schemas/ChatKitParticipant" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -17645,15 +17479,15 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/snapshot": { - "get": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/participants/{participant_instance_id}": { + "delete": { "tags": [ "chatkit", "v1" ], - "summary": "Get ChatKit workspace conversation snapshot", - "description": "Returns messages, pending queued turns, and the durable event revision for one session.", - "operationId": "chatkit-workspace-conversation-snapshot", + "summary": "Remove ChatKit participant", + "description": "Unlinks a participant from a ChatKit session.", + "operationId": "chatkit-remove-session-participant", "parameters": [ { "name": "team_id", @@ -17674,31 +17508,61 @@ } }, { - "name": "message_page_size", - "in": "query", - "required": false, + "name": "participant_instance_id", + "in": "path", + "description": "Participant inbox instance ID", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } }, { - "name": "queue_page_size", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } } ], "responses": { "200": { - "description": "ChatKit workspace conversation snapshot", + "description": "Remove ChatKit participant", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitWorkspaceConversationSnapshot" + "$ref": "#/components/schemas/RemoveChatKitParticipantResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -17715,128 +17579,150 @@ ] } }, - "/api/v1/team/{team_id}/chatkit/workspace/sidebar": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/provider-tools": { "get": { "tags": [ - "chatkit", - "v1" + "chatkit" ], - "summary": "List ChatKit workspace sidebar", - "description": "Lists ChatKit agents with nested session previews for ChatKit workspace.", - "operationId": "chatkit-workspace-sidebar", + "summary": "List session provider tools", + "description": "Returns server-bound invocation context and the authorized provider tool catalog.", + "operationId": "chatkit-list-session-provider-tools", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "agent_page_size", - "in": "query", - "required": false, + "name": "session_id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } }, { - "name": "agent_next_page_token", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomSessionToolCatalog" + } + } } }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/tools/sendMessage": { + "post": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Send a session-bound provider message", + "description": "Invokes the session provider's sendMessage capability with server-validated participant routing and persists the canonical ChatKit message.", + "operationId": "chatkit-send-session-message", + "parameters": [ { - "name": "session_page_size", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } }, { - "name": "message_page_size", - "in": "query", - "required": false, + "name": "session_id", + "in": "path", + "description": "Session ID", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "queue_page_size", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SendSessionMessageBody" + } } }, - { - "name": "active_session_id", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" + "required": true + }, + "responses": { + "200": { + "description": "Provider message delivered", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SendSessionMessageResponse" } - ] + } } }, - { - "name": "agent_sort", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "session_sort", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "q", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - } - ], - "responses": { - "200": { - "description": "ChatKit workspace sidebar", + "500": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitWorkspaceSidebarResponse" + "$ref": "#/components/schemas/Error" } } } @@ -17853,10 +17739,15 @@ ] } }, - "/api/v1/team/{team_id}/credential/broker/{broker_state_id}/resume": { + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/tools/{tool_name}": { "post": { - "summary": "Resume a user-credential brokering flow", - "operationId": "resume_user_credential_brokering", + "tags": [ + "chatkit", + "v1" + ], + "summary": "Invoke a session-bound provider tool", + "description": "Invokes a provider action with server-bound session and message routing.", + "operationId": "chatkit-invoke-session-provider-tool", "parameters": [ { "name": "team_id", @@ -17867,8 +17758,25 @@ } }, { - "name": "broker_state_id", + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "tool_name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -17879,7 +17787,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResumeUserCredentialBrokeringParams" + "$ref": "#/components/schemas/InvokeSessionProviderToolBody" } } }, @@ -17887,28 +17795,75 @@ }, "responses": { "200": { - "description": "Brokering response", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserCredentialBrokeringResponse" + "$ref": "#/components/schemas/InvokeSessionProviderToolResponse" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/credential/common-provider-installation": { + "/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/sessions": { "get": { "tags": [ - "managed-credential", + "chatkit", "v1" ], - "summary": "List common provider installations", - "description": "Lists common-provider bundles visible to the caller.", - "operationId": "listCommonProviderInstallations", + "summary": "List ChatKit workspace agent sessions", + "description": "Lists more sessions for one ChatKit agent in ChatKit workspace.", + "operationId": "chatkit-workspace-agent-sessions", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "agent_id", + "in": "path", + "description": "Agent inbox ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "page_size", "in": "query", @@ -17930,49 +17885,31 @@ } }, { - "name": "team_id", - "in": "path", - "required": true, + "name": "session_sort", + "in": "query", + "required": false, "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CommonProviderInstallationPage" - } - } + "type": [ + "string", + "null" + ] } - } - } - } - }, - "/api/v1/team/{team_id}/credential/common-provider-installation/{id}": { - "get": { - "tags": [ - "managed-credential", - "v1" - ], - "summary": "Get common provider installation", - "description": "Gets a common-provider bundle visible to the caller.", - "operationId": "getCommonProviderInstallation", - "parameters": [ + }, { - "name": "team_id", - "in": "path", - "required": true, + "name": "q", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -17981,39 +17918,57 @@ ], "responses": { "200": { - "description": "", + "description": "ChatKit workspace agent sessions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CommonProviderInstallationSerialized" + "$ref": "#/components/schemas/ChatKitWorkspaceAgentSessionsResponse" } } } } - } - } - }, - "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership": { + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + }, "post": { "tags": [ - "managed-credential", + "chatkit", "v1" ], - "summary": "Set installation ownership", - "description": "Set bundle administration to team or private; requires current ownership authority.", - "operationId": "setCommonProviderInstallationOwnership", + "summary": "Create ChatKit workspace session", + "description": "Creates a ChatKit session wired to the selected agent and its Vercel UI channel.", + "operationId": "chatkit-workspace-create-session", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "agent_id", + "in": "path", + "description": "Agent inbox ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -18024,7 +17979,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/CreateChatKitWorkspaceSessionRequestInner" } } }, @@ -18032,81 +17987,68 @@ }, "responses": { "200": { - "description": "", + "description": "Created ChatKit workspace session", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/ChatKitSessionWithParticipants" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership/grants": { - "get": { + "/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/sessions/{session_id}/messages": { + "post": { "tags": [ - "managed-credential", + "chatkit", "v1" ], - "summary": "List installation ownership grants", - "description": "List private bundle administrators; requires ownership authority.", - "operationId": "listCommonProviderInstallationOwnershipGrants", + "summary": "Send ChatKit workspace message", + "description": "Sends a user message to the selected ChatKit agent session and invokes the registered Vercel UI-compatible agent endpoint.", + "operationId": "chatkit-workspace-send-message", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "agent_id", "in": "path", + "description": "Agent inbox ID", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } - } - } - } - } - } - }, - "post": { - "tags": [ - "managed-credential", - "v1" - ], - "summary": "Add installation ownership grant", - "description": "Grant same-tenant private administration; requires ownership authority.", - "operationId": "addCommonProviderInstallationOwnershipGrant", - "parameters": [ + }, { - "name": "team_id", + "name": "session_id", "in": "path", + "description": "Session ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -18117,7 +18059,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/SendChatKitWorkspaceMessageRequestInner" } } }, @@ -18125,140 +18067,311 @@ }, "responses": { "200": { - "description": "", + "description": "ChatKit workspace messages after sending", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/MessagePaginatedResponse" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/turns": { + "post": { "tags": [ - "managed-credential", + "chatkit", "v1" ], - "summary": "Remove installation ownership grant", - "description": "Remove an administrator while preserving the last private owner.", - "operationId": "removeCommonProviderInstallationOwnershipGrant", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, + "summary": "Submit ChatKit workspace turn", + "description": "Creates a session when needed, finalizes uploaded attachments, sends the owner message, and returns canonical conversation state.", + "operationId": "chatkit-workspace-submit-turn", + "parameters": [ { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "principal_type", + "name": "agent_id", "in": "path", + "description": "Agent inbox ID", "required": true, "schema": { "type": "string" } }, { - "name": "principal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubmitChatKitWorkspaceTurnRequestInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "" + "description": "Submitted ChatKit workspace turn", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubmitChatKitWorkspaceTurnResponse" + } + } + } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility": { - "post": { + "/api/v1/team/{team_id}/chatkit/workspace/bootstrap": { + "get": { "tags": [ - "managed-credential", + "chatkit", "v1" ], - "summary": "Set installation visibility", - "description": "Set bundle discovery and use to team or private; requires ownership authority.", - "operationId": "setCommonProviderInstallationVisibility", + "summary": "Bootstrap ChatKit workspace", + "description": "Returns the sidebar and an optional active conversation snapshot in one request.", + "operationId": "chatkit-workspace-bootstrap", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "agent_page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "agent_next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "session_page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "message_page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "queue_page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "active_session_id", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] + } + }, + { + "name": "agent_sort", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "session_sort", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "q", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", + "description": "ChatKit workspace bootstrap projection", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/ChatKitWorkspaceBootstrapResponse" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility/grants": { + "/api/v1/team/{team_id}/chatkit/workspace/search": { "get": { "tags": [ - "managed-credential", + "chatkit", "v1" ], - "summary": "List installation visibility grants", - "description": "List private bundle visibility principals; requires ownership authority.", - "operationId": "listCommonProviderInstallationVisibilityGrants", + "summary": "Search ChatKit", + "description": "Searches visible session titles, participating agents, and messages across the team. When session_id is provided, searches messages only within that visible session.", + "operationId": "chatkit-search", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "q", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "session_id", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] + } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -18267,129 +18380,160 @@ ], "responses": { "200": { - "description": "", + "description": "Consolidated ChatKit search results", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/ChatKitSearchHitPaginatedResponse" + } + } + } + }, + "400": { + "description": "Invalid query or pagination cursor", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Scoped session not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } - }, + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/interrupt": { "post": { "tags": [ - "managed-credential", + "chatkit", "v1" ], - "summary": "Add installation visibility grant", - "description": "Grant same-tenant private visibility; requires ownership authority.", - "operationId": "addCommonProviderInstallationVisibilityGrant", + "summary": "Interrupt ChatKit workspace session", + "description": "Interrupts the active ChatKit HTTP agent response for a ChatKit workspace session.", + "operationId": "chatkit-workspace-interrupt-session", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "session_id", + "in": "path", + "description": "Session ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", + "description": "ChatKit workspace session interruption requested", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/InterruptChatKitSessionResponse" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/messages": { + "get": { "tags": [ - "managed-credential", + "chatkit", "v1" ], - "summary": "Remove installation visibility grant", - "description": "Remove one private visibility principal; requires ownership authority.", - "operationId": "removeCommonProviderInstallationVisibilityGrant", + "summary": "List ChatKit workspace messages", + "description": "Lists newest-first message history for a ChatKit workspace session with standard pagination.", + "operationId": "chatkit-workspace-messages", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "session_id", "in": "path", + "description": "Session ID", "required": true, "schema": { "type": "string" } }, { - "name": "principal_type", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": "integer", + "format": "int64" } }, { - "name": "principal_id", - "in": "path", - "required": true, + "name": "next_page_token", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } - } - ], - "responses": { - "200": { - "description": "" - } - } - } - }, - "/api/v1/team/{team_id}/credential/provider-provisioner/catalog": { - "get": { - "summary": "List provider provisioner catalog entries", - "description": "Lists built-in provider provisioners with instructions and creation form metadata.", - "operationId": "list_provider_provisioner_catalog", - "parameters": [ + }, { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -18398,27 +18542,59 @@ ], "responses": { "200": { - "description": "Provider provisioner catalog", + "description": "ChatKit workspace messages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Vec" + "$ref": "#/components/schemas/MessagePaginatedResponse" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/credential/provider-provisioning/start": { - "post": { - "summary": "Start provider app provisioning", - "description": "Starts upstream app provisioning for a provider-specific one-shot setup flow.", - "operationId": "start_provider_app_provisioning", + "/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/read-state": { + "put": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Update ChatKit session read state", + "description": "Marks the shared ChatKit session read or unread for only the authenticated user.", + "operationId": "chatkit-workspace-update-session-read-state", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "session_id", + "in": "path", + "description": "Session ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -18429,7 +18605,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StartProviderAppProvisioningBody" + "$ref": "#/components/schemas/UpdateChatKitSessionUserStateRequestInner" } } }, @@ -18437,72 +18613,59 @@ }, "responses": { "200": { - "description": "Provider app provisioning response", + "description": "Current user's ChatKit session read state", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProviderAppProvisioningResponse" + "$ref": "#/components/schemas/ChatKitSessionUserState" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/credential/provider-provisioning/{state_id}/action": { - "get": { - "summary": "Get a provider provisioning browser action", - "description": "Returns the authenticated, expiring browser handoff for a provider provisioning flow.", - "operationId": "get_provider_provisioning_human_action", + "/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/rename": { + "patch": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Rename ChatKit workspace thread", + "description": "Renames the selected ChatKit workspace ChatKit session.", + "operationId": "chatkit-workspace-rename-thread", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "state_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Provider provisioning browser action", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderProvisioningHumanAction" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/credential/provider-provisioning/{state_id}/resume": { - "post": { - "summary": "Resume provider app provisioning", - "description": "Resumes upstream app provisioning after redirect, form post, or manual provider step.", - "operationId": "resume_provider_app_provisioning", - "parameters": [ - { - "name": "team_id", + "name": "session_id", "in": "path", + "description": "Session ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "state_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -18513,7 +18676,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResumeProviderAppProvisioningBody" + "$ref": "#/components/schemas/RenameChatKitWorkspaceThreadRequestInner" } } }, @@ -18521,33 +18684,57 @@ }, "responses": { "200": { - "description": "Provider app provisioning response", + "description": "Renamed ChatKit workspace thread", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProviderAppProvisioningResponse" + "$ref": "#/components/schemas/Session" } } } } - } - } - }, - "/api/v1/team/{team_id}/credential/resource-server": { - "get": { - "summary": "List resource-server credentials", - "operationId": "list_resource_server_credentials", + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/snapshot": { + "get": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Get ChatKit workspace conversation snapshot", + "description": "Returns messages, pending queued turns, and the durable event revision for one session.", + "operationId": "chatkit-workspace-conversation-snapshot", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", + "name": "session_id", + "in": "path", + "description": "Session ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "message_page_size", "in": "query", "required": false, "schema": { @@ -18556,9 +18743,19 @@ } }, { - "name": "next_page_token", + "name": "queue_page_size", "in": "query", "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" } @@ -18566,34 +18763,145 @@ ], "responses": { "200": { - "description": "Page of credentials", + "description": "ChatKit workspace conversation snapshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceServerCredentialSerializedPaginatedResponse" + "$ref": "#/components/schemas/ChatKitWorkspaceConversationSnapshot" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/credential/resource-server/{id}": { + "/api/v1/team/{team_id}/chatkit/workspace/sidebar": { "get": { - "summary": "Get a resource-server credential", - "operationId": "get_resource_server_credential", + "tags": [ + "chatkit", + "v1" + ], + "summary": "List ChatKit workspace sidebar", + "description": "Lists ChatKit agents with nested session previews for ChatKit workspace.", + "operationId": "chatkit-workspace-sidebar", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "agent_page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "agent_next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "session_page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "message_page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "queue_page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "active_session_id", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] + } + }, + { + "name": "agent_sort", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "session_sort", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "q", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -18602,20 +18910,31 @@ ], "responses": { "200": { - "description": "Credential", + "description": "ChatKit workspace sidebar", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceServerCredentialSerialized" + "$ref": "#/components/schemas/ChatKitWorkspaceSidebarResponse" } } } } - } - }, - "delete": { - "summary": "Delete a resource-server credential", - "operationId": "delete_resource_server_credential", + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/credential/broker/{broker_state_id}/resume": { + "post": { + "summary": "Resume a user-credential brokering flow", + "operationId": "resume_user_credential_brokering", "parameters": [ { "name": "team_id", @@ -18626,24 +18945,77 @@ } }, { - "name": "id", + "name": "broker_state_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResumeUserCredentialBrokeringParams" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Deleted" + "description": "Brokering response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserCredentialBrokeringResponse" + } + } + } } } - }, - "patch": { - "summary": "Update a resource-server credential", - "operationId": "update_resource_server_credential", + } + }, + "/api/v1/team/{team_id}/credential/common-provider-installation": { + "get": { + "tags": [ + "managed-credential", + "v1" + ], + "summary": "List common provider installations", + "description": "Lists common-provider bundles visible to the caller.", + "operationId": "listCommonProviderInstallations", "parameters": [ + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, { "name": "team_id", "in": "path", @@ -18653,31 +19025,72 @@ } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateCredentialBody" + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CommonProviderInstallationPage" + } } } + } + } + } + }, + "/api/v1/team/{team_id}/credential/common-provider-installation/{id}": { + "get": { + "tags": [ + "managed-credential", + "v1" + ], + "summary": "Get common provider installation", + "description": "Gets a common-provider bundle visible to the caller.", + "operationId": "getCommonProviderInstallation", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "required": true - }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { - "description": "Updated credential", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceServerCredentialSerialized" + "$ref": "#/components/schemas/CommonProviderInstallationSerialized" } } } @@ -18685,12 +19098,15 @@ } } }, - "/api/v1/team/{team_id}/credential/resource-server/{id}/ownership": { + "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership": { "post": { "tags": [ - "managed-credential" + "managed-credential", + "v1" ], - "operationId": "set_rsc_ownership", + "summary": "Set installation ownership", + "description": "Set bundle administration to team or private; requires current ownership authority.", + "operationId": "setCommonProviderInstallationOwnership", "parameters": [ { "name": "team_id", @@ -18705,7 +19121,16 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -18733,12 +19158,15 @@ } } }, - "/api/v1/team/{team_id}/credential/resource-server/{id}/ownership/grants": { + "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership/grants": { "get": { "tags": [ - "managed-credential" + "managed-credential", + "v1" ], - "operationId": "list_rsc_ownership_grants", + "summary": "List installation ownership grants", + "description": "List private bundle administrators; requires ownership authority.", + "operationId": "listCommonProviderInstallationOwnershipGrants", "parameters": [ { "name": "team_id", @@ -18753,7 +19181,16 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -18775,9 +19212,12 @@ }, "post": { "tags": [ - "managed-credential" + "managed-credential", + "v1" ], - "operationId": "add_rsc_ownership_grant", + "summary": "Add installation ownership grant", + "description": "Grant same-tenant private administration; requires ownership authority.", + "operationId": "addCommonProviderInstallationOwnershipGrant", "parameters": [ { "name": "team_id", @@ -18792,7 +19232,16 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -18820,12 +19269,15 @@ } } }, - "/api/v1/team/{team_id}/credential/resource-server/{id}/ownership/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "managed-credential" + "managed-credential", + "v1" ], - "operationId": "remove_rsc_ownership_grant", + "summary": "Remove installation ownership grant", + "description": "Remove an administrator while preserving the last private owner.", + "operationId": "removeCommonProviderInstallationOwnershipGrant", "parameters": [ { "name": "team_id", @@ -18840,7 +19292,7 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { @@ -18858,6 +19310,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -18867,12 +19328,15 @@ } } }, - "/api/v1/team/{team_id}/credential/resource-server/{id}/visibility": { + "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility": { "post": { "tags": [ - "managed-credential" + "managed-credential", + "v1" ], - "operationId": "set_rsc_visibility", + "summary": "Set installation visibility", + "description": "Set bundle discovery and use to team or private; requires ownership authority.", + "operationId": "setCommonProviderInstallationVisibility", "parameters": [ { "name": "team_id", @@ -18887,7 +19351,16 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -18915,12 +19388,15 @@ } } }, - "/api/v1/team/{team_id}/credential/resource-server/{id}/visibility/grants": { + "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility/grants": { "get": { "tags": [ - "managed-credential" + "managed-credential", + "v1" ], - "operationId": "list_rsc_visibility_grants", + "summary": "List installation visibility grants", + "description": "List private bundle visibility principals; requires ownership authority.", + "operationId": "listCommonProviderInstallationVisibilityGrants", "parameters": [ { "name": "team_id", @@ -18935,7 +19411,16 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -18957,9 +19442,12 @@ }, "post": { "tags": [ - "managed-credential" + "managed-credential", + "v1" ], - "operationId": "add_rsc_visibility_grant", + "summary": "Add installation visibility grant", + "description": "Grant same-tenant private visibility; requires ownership authority.", + "operationId": "addCommonProviderInstallationVisibilityGrant", "parameters": [ { "name": "team_id", @@ -18974,7 +19462,16 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -19002,12 +19499,15 @@ } } }, - "/api/v1/team/{team_id}/credential/resource-server/{id}/visibility/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "managed-credential" + "managed-credential", + "v1" ], - "operationId": "remove_rsc_visibility_grant", + "summary": "Remove installation visibility grant", + "description": "Remove one private visibility principal; requires ownership authority.", + "operationId": "removeCommonProviderInstallationVisibilityGrant", "parameters": [ { "name": "team_id", @@ -19022,7 +19522,7 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { @@ -19040,6 +19540,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -19049,10 +19558,11 @@ } } }, - "/api/v1/team/{team_id}/credential/setup-items": { + "/api/v1/team/{team_id}/credential/provider-provisioner/catalog": { "get": { - "summary": "List credential setup items", - "operationId": "list_credential_setup_items", + "summary": "List provider provisioner catalog entries", + "description": "Lists built-in provider provisioners with instructions and creation form metadata.", + "operationId": "list_provider_provisioner_catalog", "parameters": [ { "name": "team_id", @@ -19063,84 +19573,22 @@ } }, { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/CredentialSetupItemStatus" - } - ] - } - } - ], - "responses": { - "200": { - "description": "Credential setup items", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CredentialSetupItemPaginatedResponse" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/credential/setup-items/{id}": { - "get": { - "summary": "Get a credential setup item", - "operationId": "get_credential_setup_item", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "type": "string" } } ], "responses": { "200": { - "description": "Credential setup item", + "description": "Provider provisioner catalog", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CredentialSetupItem" + "$ref": "#/components/schemas/Vec" } } } @@ -19148,10 +19596,11 @@ } } }, - "/api/v1/team/{team_id}/credential/setup-items/{id}/complete": { + "/api/v1/team/{team_id}/credential/provider-provisioning/start": { "post": { - "summary": "Complete a credential setup item", - "operationId": "complete_credential_setup_item", + "summary": "Start provider app provisioning", + "description": "Starts upstream app provisioning for a provider-specific one-shot setup flow.", + "operationId": "start_provider_app_provisioning", "parameters": [ { "name": "team_id", @@ -19161,55 +19610,10 @@ "type": "string" } }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CompleteCredentialSetupItemBody" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Credential setup completion response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StartCredentialSetupItemResponse" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/credential/setup-items/{id}/resume": { - "post": { - "summary": "Resume a credential setup item", - "operationId": "resume_credential_setup_item", - "parameters": [ { "name": "team_id", "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -19220,7 +19624,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResumeCredentialSetupItemBody" + "$ref": "#/components/schemas/StartProviderAppProvisioningBody" } } }, @@ -19228,11 +19632,11 @@ }, "responses": { "200": { - "description": "Credential setup resume response", + "description": "Provider app provisioning response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StartCredentialSetupItemResponse" + "$ref": "#/components/schemas/ProviderAppProvisioningResponse" } } } @@ -19240,10 +19644,11 @@ } } }, - "/api/v1/team/{team_id}/credential/setup-items/{id}/start": { - "post": { - "summary": "Start a credential setup item", - "operationId": "start_credential_setup_item", + "/api/v1/team/{team_id}/credential/provider-provisioning/{state_id}/action": { + "get": { + "summary": "Get a provider provisioning browser action", + "description": "Returns the authenticated, expiring browser handoff for a provider provisioning flow.", + "operationId": "get_provider_provisioning_human_action", "parameters": [ { "name": "team_id", @@ -19254,77 +19659,30 @@ } }, { - "name": "id", + "name": "state_id", "in": "path", "required": true, "schema": { "type": "string" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StartCredentialSetupItemBody" - } - } }, - "required": true - }, - "responses": { - "200": { - "description": "Credential setup start response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StartCredentialSetupItemResponse" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/resource-server": { - "post": { - "summary": "Create a resource-server credential", - "operationId": "create_resource_server_credential", - "parameters": [ { "name": "team_id", "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "credential_source_type_id", - "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateResourceServerCredentialParamsInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Created credential", + "description": "Provider provisioning browser action", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceServerCredentialSerialized" + "$ref": "#/components/schemas/ProviderProvisioningHumanAction" } } } @@ -19332,50 +19690,11 @@ } } }, - "/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/resource-server/encrypt": { - "post": { - "summary": "Encrypt a resource-server credential configuration", - "description": "Field-level encrypts the supplied raw configuration using the credential source's encrypter and the supplied dek_alias.", - "operationId": "encrypt_resource_server_configuration", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "credential_source_type_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EncryptCredentialConfigurationParamsInner" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Encrypted configuration" - } - } - } - }, - "/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential": { + "/api/v1/team/{team_id}/credential/provider-provisioning/{state_id}/resume": { "post": { - "summary": "Create a user credential", - "operationId": "create_user_credential", + "summary": "Resume provider app provisioning", + "description": "Resumes upstream app provisioning after redirect, form post, or manual provider step.", + "operationId": "resume_provider_app_provisioning", "parameters": [ { "name": "team_id", @@ -19386,54 +19705,17 @@ } }, { - "name": "credential_source_type_id", + "name": "state_id", "in": "path", "required": true, "schema": { "type": "string" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateUserCredentialParamsInner" - } - } }, - "required": true - }, - "responses": { - "200": { - "description": "Created credential", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserCredentialSerialized" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential/broker": { - "post": { - "summary": "Start a user-credential brokering flow", - "operationId": "start_user_credential_brokering", - "parameters": [ { "name": "team_id", "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "credential_source_type_id", - "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -19444,7 +19726,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StartBrokeringBodyExternal" + "$ref": "#/components/schemas/ResumeProviderAppProvisioningBody" } } }, @@ -19452,11 +19734,11 @@ }, "responses": { "200": { - "description": "Brokering response", + "description": "Provider app provisioning response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserCredentialBrokeringResponse" + "$ref": "#/components/schemas/ProviderAppProvisioningResponse" } } } @@ -19464,49 +19746,10 @@ } } }, - "/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential/encrypt": { - "post": { - "summary": "Encrypt a user-credential configuration", - "operationId": "encrypt_user_credential_configuration", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "credential_source_type_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EncryptCredentialConfigurationParamsInner" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Encrypted configuration" - } - } - } - }, - "/api/v1/team/{team_id}/credential/user-credential": { + "/api/v1/team/{team_id}/credential/resource-server": { "get": { - "summary": "List user credentials", - "operationId": "list_user_credentials", + "summary": "List resource-server credentials", + "operationId": "list_resource_server_credentials", "parameters": [ { "name": "team_id", @@ -19532,6 +19775,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -19540,7 +19792,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserCredentialSerializedPaginatedResponse" + "$ref": "#/components/schemas/ResourceServerCredentialSerializedPaginatedResponse" } } } @@ -19548,10 +19800,10 @@ } } }, - "/api/v1/team/{team_id}/credential/user-credential/{id}": { + "/api/v1/team/{team_id}/credential/resource-server/{id}": { "get": { - "summary": "Get a user credential", - "operationId": "get_user_credential", + "summary": "Get a resource-server credential", + "operationId": "get_resource_server_credential", "parameters": [ { "name": "team_id", @@ -19568,6 +19820,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -19576,7 +19837,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserCredentialSerialized" + "$ref": "#/components/schemas/ResourceServerCredentialSerialized" } } } @@ -19584,8 +19845,8 @@ } }, "delete": { - "summary": "Delete a user credential", - "operationId": "delete_user_credential", + "summary": "Delete a resource-server credential", + "operationId": "delete_resource_server_credential", "parameters": [ { "name": "team_id", @@ -19602,6 +19863,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -19611,8 +19881,8 @@ } }, "patch": { - "summary": "Update a user credential", - "operationId": "update_user_credential", + "summary": "Update a resource-server credential", + "operationId": "update_resource_server_credential", "parameters": [ { "name": "team_id", @@ -19629,6 +19899,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -19647,7 +19926,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserCredentialSerialized" + "$ref": "#/components/schemas/ResourceServerCredentialSerialized" } } } @@ -19655,12 +19934,12 @@ } } }, - "/api/v1/team/{team_id}/credential/user-credential/{id}/ownership": { + "/api/v1/team/{team_id}/credential/resource-server/{id}/ownership": { "post": { "tags": [ "managed-credential" ], - "operationId": "set_uc_ownership", + "operationId": "set_rsc_ownership", "parameters": [ { "name": "team_id", @@ -19677,6 +19956,15 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -19703,12 +19991,12 @@ } } }, - "/api/v1/team/{team_id}/credential/user-credential/{id}/ownership/grants": { + "/api/v1/team/{team_id}/credential/resource-server/{id}/ownership/grants": { "get": { "tags": [ "managed-credential" ], - "operationId": "list_uc_ownership_grants", + "operationId": "list_rsc_ownership_grants", "parameters": [ { "name": "team_id", @@ -19725,6 +20013,15 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -19747,7 +20044,7 @@ "tags": [ "managed-credential" ], - "operationId": "add_uc_ownership_grant", + "operationId": "add_rsc_ownership_grant", "parameters": [ { "name": "team_id", @@ -19764,6 +20061,15 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -19790,12 +20096,12 @@ } } }, - "/api/v1/team/{team_id}/credential/user-credential/{id}/ownership/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/credential/resource-server/{id}/ownership/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ "managed-credential" ], - "operationId": "remove_uc_ownership_grant", + "operationId": "remove_rsc_ownership_grant", "parameters": [ { "name": "team_id", @@ -19828,6 +20134,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -19837,12 +20152,12 @@ } } }, - "/api/v1/team/{team_id}/credential/user-credential/{id}/visibility": { + "/api/v1/team/{team_id}/credential/resource-server/{id}/visibility": { "post": { "tags": [ "managed-credential" ], - "operationId": "set_uc_visibility", + "operationId": "set_rsc_visibility", "parameters": [ { "name": "team_id", @@ -19859,6 +20174,15 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -19885,12 +20209,12 @@ } } }, - "/api/v1/team/{team_id}/credential/user-credential/{id}/visibility/grants": { + "/api/v1/team/{team_id}/credential/resource-server/{id}/visibility/grants": { "get": { "tags": [ "managed-credential" ], - "operationId": "list_uc_visibility_grants", + "operationId": "list_rsc_visibility_grants", "parameters": [ { "name": "team_id", @@ -19907,6 +20231,15 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -19929,7 +20262,7 @@ "tags": [ "managed-credential" ], - "operationId": "add_uc_visibility_grant", + "operationId": "add_rsc_visibility_grant", "parameters": [ { "name": "team_id", @@ -19946,6 +20279,15 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -19972,12 +20314,12 @@ } } }, - "/api/v1/team/{team_id}/credential/user-credential/{id}/visibility/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/credential/resource-server/{id}/visibility/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ "managed-credential" ], - "operationId": "remove_uc_visibility_grant", + "operationId": "remove_rsc_visibility_grant", "parameters": [ { "name": "team_id", @@ -20010,6 +20352,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -20019,14 +20370,10 @@ } } }, - "/api/v1/team/{team_id}/human-approval": { - "post": { - "tags": [ - "v1" - ], - "summary": "Create a human approval action", - "description": "Create a human approval action and return a secure approval URL token.", - "operationId": "create_human_approval_action", + "/api/v1/team/{team_id}/credential/setup-items": { + "get": { + "summary": "List credential setup items", + "operationId": "list_credential_setup_items", "parameters": [ { "name": "team_id", @@ -20035,55 +20382,104 @@ "schema": { "type": "string" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateHumanApprovalActionRequestInner" - } - } }, - "required": true - }, - "responses": { - "200": { - "description": "Human approval action created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateHumanApprovalActionResponse" - } - } + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" } }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "status", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CredentialSetupItemStatus" } - } + ] } }, - "401": { - "description": "", + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Credential setup items", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CredentialSetupItemPaginatedResponse" } } } + } + } + } + }, + "/api/v1/team/{team_id}/credential/setup-items/{id}": { + "get": { + "summary": "Get a credential setup item", + "operationId": "get_credential_setup_item", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "500": { - "description": "", + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Credential setup item", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CredentialSetupItem" } } } @@ -20091,19 +20487,31 @@ } } }, - "/api/v1/team/{team_id}/identity/oauth/register": { + "/api/v1/team/{team_id}/credential/setup-items/{id}/complete": { "post": { - "tags": [ - "identity" - ], - "summary": "Register team-scoped OAuth client", - "description": "Register a public PKCE OAuth client through Dynamic Client Registration. This endpoint is intentionally scoped by an org subdomain and /team/{team_id} path so MCP clients do not need Tilde-specific registration fields.", - "operationId": "register_team_oauth_client", + "summary": "Complete a credential setup item", + "operationId": "complete_credential_setup_item", "parameters": [ { "name": "team_id", "in": "path", - "description": "Tilde team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -20114,64 +20522,51 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RegisterOAuthClientRequest" + "$ref": "#/components/schemas/CompleteCredentialSetupItemBody" } } }, "required": true }, "responses": { - "201": { - "description": "OAuth client registered", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RegisterOAuthClientResponse" - } - } - } - }, - "400": { - "description": "Invalid registration request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal server error", + "200": { + "description": "Credential setup completion response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/StartCredentialSetupItemResponse" } } } } - }, - "security": [ - {} - ] + } } }, - "/api/v1/team/{team_id}/identity/openbot/chatkit-realtime-ticket": { + "/api/v1/team/{team_id}/credential/setup-items/{id}/resume": { "post": { - "tags": [ - "identity", - "chatkit", - "v1" - ], - "summary": "Issue an OpenBot ChatKit realtime socket ticket", - "description": "Exchanges an installation-audience OpenBot bearer token for a 60-second credential accepted only by the requested team's ChatKit realtime WebSocket. Present it as the `tilde.chatkit-realtime.ticket.` WebSocket subprotocol; the long-lived access token never enters a URL or browser JavaScript.", - "operationId": "issue_openbot_chatkit_realtime_ticket", + "summary": "Resume a credential setup item", + "operationId": "resume_credential_setup_item", "parameters": [ { "name": "team_id", "in": "path", - "description": "Tilde team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -20182,7 +20577,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IssueChatKitRealtimeSocketTicketRequest" + "$ref": "#/components/schemas/ResumeCredentialSetupItemBody" } } }, @@ -20190,117 +20585,43 @@ }, "responses": { "200": { - "description": "Short-lived ChatKit realtime socket ticket", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitRealtimeSocketTicket" - } - } - } - }, - "401": { - "description": "Invalid OpenBot access token", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Token is not bound to this team", + "description": "Credential setup resume response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/StartCredentialSetupItemResponse" } } } } - }, - "security": [ - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/identity/openbot/deployments": { - "get": { - "tags": [ - "identity", - "v1" - ], - "summary": "List OpenBot deployments", - "description": "Lists OpenBot OAuth registrations owned by the selected Tilde team.", - "operationId": "list_openbot_deployments", + "/api/v1/team/{team_id}/credential/setup-items/{id}/start": { + "post": { + "summary": "Start a credential setup item", + "operationId": "start_credential_setup_item", "parameters": [ { "name": "team_id", "in": "path", - "description": "Tilde team ID", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "OpenBot deployments", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ListOpenBotDeploymentsResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } }, - "403": { - "description": "Not a team member", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ { - "api_key": [] + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - { - "bearer_token": [] - } - ] - }, - "post": { - "tags": [ - "identity", - "v1" - ], - "summary": "Register an OpenBot deployment", - "description": "Creates or reconciles a public PKCE OAuth client for an OpenBot deployment owned by the selected Tilde team.", - "operationId": "register_openbot_deployment", - "parameters": [ { "name": "team_id", "in": "path", - "description": "Tilde team ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -20311,7 +20632,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RegisterOpenBotDeploymentRequest" + "$ref": "#/components/schemas/StartCredentialSetupItemBody" } } }, @@ -20319,55 +20640,22 @@ }, "responses": { "200": { - "description": "OpenBot deployment registered", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OpenBotDeployment" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Not a team member", + "description": "Credential setup start response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/StartCredentialSetupItemResponse" } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}": { - "get": { - "tags": [ - "identity", - "v1" - ], - "summary": "Get a hosted OpenBot instance", - "description": "Returns the server-owned canonical Vercel runtime project, Sandbox, image, hostname, and lifecycle state for one team-isolated OpenBot instance. Pre-consolidation instances have no runtime project and retain their readable deprecated split control and agent project fields.", - "operationId": "get_hosted_openbot_instance", + "/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/resource-server": { + "post": { + "summary": "Create a resource-server credential", + "operationId": "create_resource_server_credential", "parameters": [ { "name": "team_id", @@ -20378,55 +20666,52 @@ } }, { - "name": "instance_id", + "name": "credential_source_type_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HostedOpenBotInstance" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateResourceServerCredentialParamsInner" } } }, - "404": { - "description": "", + "required": true + }, + "responses": { + "200": { + "description": "Created credential", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceServerCredentialSerialized" } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/computer-image": { - "put": { - "tags": [ - "identity", - "v1" - ], - "summary": "Set the hosted OpenBot computer image", - "description": "Records an immutable VCR digest owned by this instance's canonical runtime project, or by its legacy control project for a pre-consolidation instance, for subsequent OIDC-authenticated Sandbox creation.", - "operationId": "update_hosted_openbot_computer_image", + "/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/resource-server/encrypt": { + "post": { + "summary": "Encrypt a resource-server credential configuration", + "description": "Field-level encrypts the supplied raw configuration using the credential source's encrypter and the supplied dek_alias.", + "operationId": "encrypt_resource_server_configuration", "parameters": [ { "name": "team_id", @@ -20437,8 +20722,17 @@ } }, { - "name": "instance_id", + "name": "credential_source_type_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -20449,7 +20743,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateHostedOpenBotComputerImageRequest" + "$ref": "#/components/schemas/EncryptCredentialConfigurationParamsInner" } } }, @@ -20457,45 +20751,15 @@ }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HostedOpenBotInstance" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] + "description": "Encrypted configuration" } - ] + } } }, - "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/configuration": { - "put": { - "tags": [ - "identity", - "v1" - ], - "summary": "Configure a hosted OpenBot instance", - "description": "Installs allowlisted user-owned OpenBot runtime values into the instance's canonical runtime project and derives VERCEL_RUNTIME_PROJECT server-side. Pre-consolidation instances continue to receive values in both existing split projects. Tenant, OAuth, Computer, and platform identity are derived from authenticated server state.", - "operationId": "configure_hosted_openbot_instance", + "/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential": { + "post": { + "summary": "Create a user credential", + "operationId": "create_user_credential", "parameters": [ { "name": "team_id", @@ -20506,8 +20770,17 @@ } }, { - "name": "instance_id", + "name": "credential_source_type_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -20518,7 +20791,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConfigureHostedOpenBotInstanceRequest" + "$ref": "#/components/schemas/CreateUserCredentialParamsInner" } } }, @@ -20526,45 +20799,22 @@ }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HostedOpenBotInstance" - } - } - } - }, - "400": { - "description": "", + "description": "Created credential", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/UserCredentialSerialized" } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/git-token": { + "/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential/broker": { "post": { - "tags": [ - "identity", - "v1" - ], - "summary": "Re-mint a hosted OpenBot Code Storage Git token", - "description": "Mints a fresh 30-day `git:read`/`git:write` credential confined to this exe.dev instance's own Code Storage repository. Only the instance's runtime API key is accepted; the organization key never leaves Tilde.", - "operationId": "issue_hosted_openbot_git_token", + "summary": "Start a user-credential brokering flow", + "operationId": "start_user_credential_brokering", "parameters": [ { "name": "team_id", @@ -20575,62 +20825,51 @@ } }, { - "name": "instance_id", + "name": "credential_source_type_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartBrokeringBodyExternal" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "", + "description": "Brokering response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HostedOpenBotGitToken" - } - } - } - }, - "401": { - "description": "Not the instance runtime API key", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/UserCredentialBrokeringResponse" } } } } - }, - "security": [ - { - "api_key": [] - } - ] + } } }, - "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases": { + "/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential/encrypt": { "post": { - "tags": [ - "identity", - "v1" - ], - "summary": "Create a hosted OpenBot release", - "description": "Creates an uploading content-addressed Build Output API release. Consolidated instances require service=runtime and deploy the combined web, control, and agent artifact to the canonical runtime project. Pre-consolidation instances continue to accept the deprecated control and agents services.", - "operationId": "create_hosted_openbot_release", + "summary": "Encrypt a user-credential configuration", + "operationId": "encrypt_user_credential_configuration", "parameters": [ { "name": "team_id", @@ -20641,8 +20880,17 @@ } }, { - "name": "instance_id", + "name": "credential_source_type_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -20653,7 +20901,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateHostedOpenBotReleaseRequest" + "$ref": "#/components/schemas/EncryptCredentialConfigurationParamsInner" } } }, @@ -20661,45 +20909,69 @@ }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HostedOpenBotRelease" - } - } + "description": "Encrypted configuration" + } + } + } + }, + "/api/v1/team/{team_id}/credential/user-credential": { + "get": { + "summary": "List user credentials", + "operationId": "list_user_credentials", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, - "400": { - "description": "", + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Page of credentials", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/UserCredentialSerializedPaginatedResponse" } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}": { + "/api/v1/team/{team_id}/credential/user-credential/{id}": { "get": { - "tags": [ - "identity", - "v1" - ], - "summary": "Get a hosted OpenBot release", - "description": "Returns upload and deployment status, refreshing an in-progress deployment from Vercel when necessary.", - "operationId": "get_hosted_openbot_release", + "summary": "Get a user credential", + "operationId": "get_user_credential", "parameters": [ { "name": "team_id", @@ -20710,7 +20982,7 @@ } }, { - "name": "instance_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -20718,8 +20990,9 @@ } }, { - "name": "release_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -20728,56 +21001,59 @@ ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HostedOpenBotRelease" - } - } - } - }, - "404": { - "description": "", + "description": "Credential", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/UserCredentialSerialized" } } } } - }, - "security": [ + } + }, + "delete": { + "summary": "Delete a user credential", + "operationId": "delete_user_credential", + "parameters": [ { - "api_key": [] + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}/files/{sha1}": { - "put": { - "tags": [ - "identity", - "v1" - ], - "summary": "Upload a hosted OpenBot release file", - "description": "Validates one declared digest and size, then streams the bytes to Vercel's content-addressed deployment file API without exposing the platform token.", - "operationId": "upload_hosted_openbot_release_file", - "parameters": [ + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, + } + ], + "responses": { + "200": { + "description": "Deleted" + } + } + }, + "patch": { + "summary": "Update a user credential", + "operationId": "update_user_credential", + "parameters": [ { - "name": "instance_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -20785,7 +21061,7 @@ } }, { - "name": "release_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -20793,8 +21069,9 @@ } }, { - "name": "sha1", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -20803,14 +21080,9 @@ ], "requestBody": { "content": { - "application/octet-stream": { + "application/json": { "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32", - "minimum": 0 - } + "$ref": "#/components/schemas/UpdateCredentialBody" } } }, @@ -20818,45 +21090,24 @@ }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HostedOpenBotRelease" - } - } - } - }, - "400": { - "description": "", + "description": "Updated credential", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/UserCredentialSerialized" } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}/finalize": { + "/api/v1/team/{team_id}/credential/user-credential/{id}/ownership": { "post": { "tags": [ - "identity", - "v1" + "managed-credential" ], - "summary": "Finalize a hosted OpenBot release", - "description": "Requires every manifest file to be uploaded, derives the canonical runtime project or legacy service-specific project server-side, and idempotently creates its production deployment.", - "operationId": "finalize_hosted_openbot_release", + "operationId": "set_uc_ownership", "parameters": [ { "name": "team_id", @@ -20867,88 +21118,122 @@ } }, { - "name": "instance_id", + "name": "id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "release_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HostedOpenBotRelease" + "$ref": "#/components/schemas/ResourceAuthorization" } } } + } + } + } + }, + "/api/v1/team/{team_id}/credential/user-credential/{id}/ownership/grants": { + "get": { + "tags": [ + "managed-credential" + ], + "operationId": "list_uc_ownership_grants", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "400": { + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/identity/realtime-ticket": { + } + }, "post": { "tags": [ - "identity" + "managed-credential" ], - "summary": "Issue proxy realtime ticket", - "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", - "operationId": "issue-proxy-realtime-ticket", + "operationId": "add_uc_ownership_grant", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team id", "required": true, "schema": { "type": "string" } }, { - "name": "X-Tilde-Org-Id", - "in": "header", - "description": "Organization routing when not selected by host", - "required": false, + "name": "id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "X-Tilde-Identity-Id", - "in": "header", - "description": "Enabled runtime identity acting in the route team", + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -20959,7 +21244,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IssueChatKitRealtimeSocketTicketRequest" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -20971,24 +21256,20 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChatKitRealtimeSocketTicket" + "$ref": "#/components/schemas/ResourceGrant" } } } } - }, - "security": [ - { - "org_proxy_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/managed-user-credential": { - "get": { - "summary": "List typed managed user credentials", - "description": "Lists typed user-owned credentials with redacted summaries only.", - "operationId": "list_managed_user_credentials", + "/api/v1/team/{team_id}/credential/user-credential/{id}/ownership/grants/{principal_type}/{principal_id}": { + "delete": { + "tags": [ + "managed-credential" + ], + "operationId": "remove_uc_ownership_grant", "parameters": [ { "name": "team_id", @@ -20999,45 +21280,52 @@ } }, { - "name": "page_size", - "in": "query", - "required": false, + "name": "id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "principal_type", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "Managed user credentials", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ManagedUserCredentialSummaryPaginatedResponse" - } - } - } + "description": "" } } } }, - "/api/v1/team/{team_id}/managed-user-credential/type/{type_id}": { + "/api/v1/team/{team_id}/credential/user-credential/{id}/visibility": { "post": { - "summary": "Create a typed managed user credential", - "description": "Creates a typed user-owned credential from plaintext secretValue and stores encrypted fields at rest.", - "operationId": "create_managed_user_credential", + "tags": [ + "managed-credential" + ], + "operationId": "set_uc_visibility", "parameters": [ { "name": "team_id", @@ -21048,8 +21336,17 @@ } }, { - "name": "type_id", + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -21060,7 +21357,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateManagedUserCredentialBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -21068,11 +21365,11 @@ }, "responses": { "200": { - "description": "Created managed user credential", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ManagedUserCredentialSummary" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -21080,11 +21377,12 @@ } } }, - "/api/v1/team/{team_id}/managed-user-credential/type/{type_id}/{id}": { + "/api/v1/team/{team_id}/credential/user-credential/{id}/visibility/grants": { "get": { - "summary": "Get encrypted typed managed user credential secret", - "description": "Returns the decrypted credential secret re-encrypted to the requesting trusted runtime.", - "operationId": "get_managed_user_credential_secret", + "tags": [ + "managed-credential" + ], + "operationId": "list_uc_visibility_grants", "parameters": [ { "name": "team_id", @@ -21094,14 +21392,6 @@ "type": "string" } }, - { - "name": "type_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "id", "in": "path", @@ -21111,35 +21401,36 @@ } }, { - "name": "totp_at_unix_seconds", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "integer", - "null" - ], - "format": "int64" + "type": "string" } } ], "responses": { "200": { - "description": "Encrypted secret", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ManagedUserCredentialSecretResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } }, - "put": { - "summary": "Update a typed managed user credential", - "description": "Replaces a typed user-owned credential and stores encrypted fields at rest.", - "operationId": "update_managed_user_credential", + "post": { + "tags": [ + "managed-credential" + ], + "operationId": "add_uc_visibility_grant", "parameters": [ { "name": "team_id", @@ -21150,19 +21441,20 @@ } }, { - "name": "type_id", + "name": "id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -21170,7 +21462,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateManagedUserCredentialBody" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -21178,11 +21470,11 @@ }, "responses": { "200": { - "description": "Updated managed user credential", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ManagedUserCredentialSummary" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -21190,11 +21482,12 @@ } } }, - "/api/v1/team/{team_id}/managed-user-credential/{id}": { + "/api/v1/team/{team_id}/credential/user-credential/{id}/visibility/grants/{principal_type}/{principal_id}": { "delete": { - "summary": "Delete a typed managed user credential", - "description": "Deletes a typed user-owned credential.", - "operationId": "delete_managed_user_credential", + "tags": [ + "managed-credential" + ], + "operationId": "remove_uc_visibility_grant", "parameters": [ { "name": "team_id", @@ -21211,85 +21504,90 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "responses": { - "200": { - "description": "Deleted managed user credential" - } - } - } - }, - "/api/v1/team/{team_id}/mcp/available-tool-groups": { - "get": { - "tags": [ - "mcp", - "v1" - ], - "summary": "List tool groups", - "description": "List all available tool group types that can be instantiated, filtered by deployment alias", - "operationId": "list-available-tool-groups", - "parameters": [ + }, { - "name": "team_id", + "name": "principal_type", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", + "name": "principal_id", + "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" + "type": "string" + } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" - }, + } + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/team/{team_id}/human-approval": { + "post": { + "tags": [ + "v1" + ], + "summary": "Create a human approval action", + "description": "Create a human approval action and return a secure approval URL token.", + "operationId": "create_human_approval_action", + "parameters": [ { - "name": "deployment_alias", - "in": "query", + "name": "team_id", + "in": "path", "required": true, "schema": { "type": "string" - }, - "style": "form" + } }, { - "name": "include_global", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": "boolean" - }, - "style": "form" + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateHumanApprovalActionRequestInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "List available tool groups", + "description": "Human approval action created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ToolGroupSourceSerializedPaginatedResponse" + "$ref": "#/components/schemas/CreateHumanApprovalActionResponse" } } } }, "400": { - "description": "Bad Request", + "description": "", "content": { "application/json": { "schema": { @@ -21299,17 +21597,7 @@ } }, "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", + "description": "", "content": { "application/json": { "schema": { @@ -21319,7 +21607,7 @@ } }, "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { @@ -21328,47 +21616,31 @@ } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/mcp/available-tool-groups/{tool_group_source_type_id}/available-credentials/{credential_source_type_id}": { + "/api/v1/team/{team_id}/identity/oauth/register": { "post": { "tags": [ - "mcp", - "v1" + "identity" ], - "summary": "Create tool group", - "description": "Create a new tool group instance with the specified configuration", - "operationId": "create-tool-group-instance", + "summary": "Register team-scoped OAuth client", + "description": "Register a public PKCE OAuth client through Dynamic Client Registration. This endpoint is intentionally scoped by an org subdomain and /team/{team_id} path so MCP clients do not need Tilde-specific registration fields.", + "operationId": "register_team_oauth_client", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "tool_group_source_type_id", - "in": "path", + "description": "Tilde team ID", "required": true, "schema": { "type": "string" } }, { - "name": "credential_source_type_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -21379,45 +21651,25 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateToolGroupInstanceParamsInner" + "$ref": "#/components/schemas/RegisterOAuthClientRequest" } } }, "required": true }, "responses": { - "200": { - "description": "Create tool group instance", + "201": { + "description": "OAuth client registered", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ToolGroupInstanceSerialized" + "$ref": "#/components/schemas/RegisterOAuthClientResponse" } } } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", + "description": "Invalid registration request", "content": { "application/json": { "schema": { @@ -21427,7 +21679,7 @@ } }, "500": { - "description": "Internal Server Error", + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -21438,45 +21690,34 @@ } }, "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } + {} ] } }, - "/api/v1/team/{team_id}/mcp/available-tool-groups/{tool_group_source_type_id}/available-credentials/{credential_source_type_id}/auto-provision": { + "/api/v1/team/{team_id}/identity/openbot/chatkit-realtime-ticket": { "post": { "tags": [ - "mcp", + "identity", + "chatkit", "v1" ], - "summary": "Auto-provision tool group", - "description": "Provision an upstream provider app, create the tool group instance, and start credential brokering when required.", - "operationId": "auto-provision-tool-group-instance", + "summary": "Issue an OpenBot ChatKit realtime socket ticket", + "description": "Exchanges an installation-audience OpenBot bearer token for a 60-second credential accepted only by the requested team's ChatKit realtime WebSocket. Present it as the `tilde.chatkit-realtime.ticket.` WebSocket subprotocol; the long-lived access token never enters a URL or browser JavaScript.", + "operationId": "issue_openbot_chatkit_realtime_ticket", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "tool_group_source_type_id", - "in": "path", + "description": "Tilde team ID", "required": true, "schema": { "type": "string" } }, { - "name": "credential_source_type_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -21487,7 +21728,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AutoProvisionToolGroupInstanceParamsInner" + "$ref": "#/components/schemas/IssueChatKitRealtimeSocketTicketRequest" } } }, @@ -21495,27 +21736,17 @@ }, "responses": { "200": { - "description": "Auto-provision tool group instance", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AutoProvisionToolGroupInstanceResponse" - } - } - } - }, - "400": { - "description": "Bad Request", + "description": "Short-lived ChatKit realtime socket ticket", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ChatKitRealtimeSocketTicket" } } } }, "401": { - "description": "Unauthorized", + "description": "Invalid OpenBot access token", "content": { "application/json": { "schema": { @@ -21525,17 +21756,7 @@ } }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "Token is not bound to this team", "content": { "application/json": { "schema": { @@ -21546,61 +21767,68 @@ } }, "security": [ - { - "api_key": [] - }, { "bearer_token": [] } ] } }, - "/api/v1/team/{team_id}/mcp/custom-tool-providers": { + "/api/v1/team/{team_id}/identity/openbot/deployments": { "get": { "tags": [ - "mcp", + "identity", "v1" ], - "summary": "List custom tool providers", - "description": "List custom HTTP tool providers for a team", - "operationId": "list-custom-tool-providers", + "summary": "List OpenBot deployments", + "description": "Lists OpenBot OAuth registrations owned by the selected Tilde team.", + "operationId": "list_openbot_deployments", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", + "description": "Tilde team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, "schema": { "type": "string" - }, - "style": "form" + } } ], "responses": { "200": { - "description": "List custom tool providers", + "description": "OpenBot deployments", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomToolProviderListItemPaginatedResponse" + "$ref": "#/components/schemas/ListOpenBotDeploymentsResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Not a team member", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -21617,13 +21845,22 @@ }, "post": { "tags": [ - "mcp", + "identity", "v1" ], - "summary": "Create custom tool provider", - "description": "Create a custom HTTP tool provider from its discovery manifest", - "operationId": "create-custom-tool-provider", + "summary": "Register an OpenBot deployment", + "description": "Creates or reconciles a public PKCE OAuth client for an OpenBot deployment owned by the selected Tilde team.", + "operationId": "register_openbot_deployment", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Tilde team ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -21638,7 +21875,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateCustomToolProviderRequestInner" + "$ref": "#/components/schemas/RegisterOpenBotDeploymentRequest" } } }, @@ -21646,11 +21883,31 @@ }, "responses": { "200": { - "description": "Create custom tool provider", + "description": "OpenBot deployment registered", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateCustomToolProviderResponse" + "$ref": "#/components/schemas/OpenBotDeployment" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Not a team member", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -21666,29 +21923,36 @@ ] } }, - "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}": { + "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}": { "get": { "tags": [ - "mcp", + "identity", "v1" ], - "summary": "Get custom tool provider", - "description": "Get a custom HTTP tool provider", - "operationId": "get-custom-tool-provider", + "summary": "Get a hosted OpenBot instance", + "description": "Returns the server-owned canonical Vercel runtime project, Sandbox, image, hostname, and lifecycle state for one team-isolated OpenBot instance. Pre-consolidation instances have no runtime project and retain their readable deprecated split control and agent project fields.", + "operationId": "get_hosted_openbot_instance", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_group_instance_id", + "name": "instance_id", "in": "path", - "description": "Tool group instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -21697,11 +21961,21 @@ ], "responses": { "200": { - "description": "Get custom tool provider", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomToolProviderDetails" + "$ref": "#/components/schemas/HostedOpenBotInstance" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -21715,58 +21989,34 @@ "bearer_token": [] } ] - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/computer-image": { + "put": { "tags": [ - "mcp", + "identity", "v1" ], - "summary": "Delete custom tool provider", - "description": "Delete a custom HTTP tool provider", - "operationId": "delete-custom-tool-provider", + "summary": "Set the hosted OpenBot computer image", + "description": "Records an immutable VCR digest owned by this instance's canonical runtime project, or by its legacy control project for a pre-consolidation instance, for subsequent OIDC-authenticated Sandbox creation.", + "operationId": "update_hosted_openbot_computer_image", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_group_instance_id", + "name": "instance_id", "in": "path", - "description": "Tool group instance ID", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "Delete custom tool provider" - } - }, - "security": [ - { - "api_key": [] }, - { - "bearer_token": [] - } - ] - }, - "patch": { - "tags": [ - "mcp", - "v1" - ], - "summary": "Update custom tool provider", - "description": "Update and rediscover a custom HTTP tool provider", - "operationId": "update-custom-tool-provider", - "parameters": [ { "name": "team_id", "in": "path", @@ -21775,22 +22025,13 @@ "schema": { "type": "string" } - }, - { - "name": "tool_group_instance_id", - "in": "path", - "description": "Tool group instance ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateCustomToolProviderRequestInner" + "$ref": "#/components/schemas/UpdateHostedOpenBotComputerImageRequest" } } }, @@ -21798,11 +22039,21 @@ }, "responses": { "200": { - "description": "Update custom tool provider", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomToolProviderDetails" + "$ref": "#/components/schemas/HostedOpenBotInstance" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -21818,42 +22069,69 @@ ] } }, - "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/disable": { - "post": { + "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/configuration": { + "put": { "tags": [ - "mcp", + "identity", "v1" ], - "summary": "Disable custom tool provider", - "description": "Disable a custom HTTP tool provider", - "operationId": "disable-custom-tool-provider", + "summary": "Configure a hosted OpenBot instance", + "description": "Installs allowlisted user-owned OpenBot runtime values into the instance's canonical runtime project and derives VERCEL_RUNTIME_PROJECT server-side. Pre-consolidation instances continue to receive values in both existing split projects. Tenant, OAuth, Computer, and platform identity are derived from authenticated server state.", + "operationId": "configure_hosted_openbot_instance", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_group_instance_id", + "name": "instance_id", "in": "path", - "description": "Tool group instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConfigureHostedOpenBotInstanceRequest" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Disable custom tool provider", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomToolProviderDetails" + "$ref": "#/components/schemas/HostedOpenBotInstance" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -21869,29 +22147,36 @@ ] } }, - "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/enable": { + "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/git-token": { "post": { "tags": [ - "mcp", + "identity", "v1" ], - "summary": "Enable custom tool provider", - "description": "Enable a custom HTTP tool provider", - "operationId": "enable-custom-tool-provider", + "summary": "Re-mint a hosted OpenBot Code Storage Git token", + "description": "Mints a fresh 30-day `git:read`/`git:write` credential confined to this exe.dev instance's own Code Storage repository. Only the instance's runtime API key is accepted; the organization key never leaves Tilde.", + "operationId": "issue_hosted_openbot_git_token", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_group_instance_id", + "name": "instance_id", "in": "path", - "description": "Tool group instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -21900,113 +22185,31 @@ ], "responses": { "200": { - "description": "Enable custom tool provider", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomToolProviderDetails" + "$ref": "#/components/schemas/HostedOpenBotGitToken" } } } - } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/refresh": { - "post": { - "tags": [ - "mcp", - "v1" - ], - "summary": "Refresh custom tool provider", - "description": "Rediscover custom HTTP tool provider tools", - "operationId": "refresh-custom-tool-provider", - "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "tool_group_instance_id", - "in": "path", - "description": "Tool group instance ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Refresh custom tool provider", + "401": { + "description": "Not the instance runtime API key", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RefreshCustomToolProviderResponse" + "$ref": "#/components/schemas/Error" } } } - } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/rotate-signing-secret": { - "post": { - "tags": [ - "mcp", - "v1" - ], - "summary": "Rotate custom tool provider signing key", - "description": "Rotate the shared webhook signing key for a custom HTTP tool provider", - "operationId": "rotate-custom-tool-provider-signing-key", - "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "tool_group_instance_id", - "in": "path", - "description": "Tool group instance ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Rotate custom tool provider signing key", + "404": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RotateCustomToolProviderSigningKeyResponse" + "$ref": "#/components/schemas/Error" } } } @@ -22015,45 +22218,40 @@ "security": [ { "api_key": [] - }, - { - "bearer_token": [] } ] } }, - "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/tools/{tool_source_type_id}/invoke": { + "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases": { "post": { "tags": [ - "mcp", + "identity", "v1" ], - "summary": "Invoke custom tool", - "description": "Invoke a custom HTTP tool provider tool directly", - "operationId": "invoke-custom-tool", + "summary": "Create a hosted OpenBot release", + "description": "Creates an uploading content-addressed Build Output API release. Consolidated instances require service=runtime and deploy the combined web, control, and agent artifact to the canonical runtime project. Pre-consolidation instances continue to accept the deprecated control and agents services.", + "operationId": "create_hosted_openbot_release", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_group_instance_id", + "name": "instance_id", "in": "path", - "description": "Tool group instance ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_source_type_id", + "name": "team_id", "in": "path", - "description": "Tool source type ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -22064,7 +22262,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvokeCustomToolRequestInner" + "$ref": "#/components/schemas/CreateHostedOpenBotReleaseRequest" } } }, @@ -22072,11 +22270,21 @@ }, "responses": { "200": { - "description": "Invoke custom tool", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvokeResult" + "$ref": "#/components/schemas/HostedOpenBotRelease" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -22092,96 +22300,63 @@ ] } }, - "/api/v1/team/{team_id}/mcp/mcp-server": { + "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}": { "get": { "tags": [ - "mcp", + "identity", "v1" ], - "summary": "List MCP server instances", - "description": "List all MCP server instances with pagination", - "operationId": "list-mcp-server-instances", + "summary": "Get a hosted OpenBot release", + "description": "Returns upload and deployment status, refreshing an in-progress deployment from Vercel when necessary.", + "operationId": "get_hosted_openbot_release", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", + "name": "instance_id", + "in": "path", "required": true, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, "schema": { "type": "string" - }, - "style": "form" + } }, { - "name": "include_global", - "in": "query", - "required": false, + "name": "release_id", + "in": "path", + "required": true, "schema": { - "type": "boolean" - }, - "style": "form" + "type": "string" + } }, { - "name": "agent_id", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" + } } ], "responses": { "200": { - "description": "List MCP server instances", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctionsPaginatedResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/HostedOpenBotRelease" } } } }, - "500": { - "description": "Internal Server Error", + "404": { + "description": "", "content": { "application/json": { "schema": { @@ -22199,16 +22374,50 @@ "bearer_token": [] } ] - }, - "post": { + } + }, + "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}/files/{sha1}": { + "put": { "tags": [ - "mcp", + "identity", "v1" ], - "summary": "Create MCP server instance", - "description": "Create a new MCP server instance with a user-provided ID", - "operationId": "create-mcp-server-instance", + "summary": "Upload a hosted OpenBot release file", + "description": "Validates one declared digest and size, then streams the bytes to Vercel's content-addressed deployment file API without exposing the platform token.", + "operationId": "upload_hosted_openbot_release_file", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "instance_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "release_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "sha1", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -22221,9 +22430,14 @@ ], "requestBody": { "content": { - "application/json": { + "application/octet-stream": { "schema": { - "$ref": "#/components/schemas/CreateMcpServerInstanceRequestInner" + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "minimum": 0 + } } } }, @@ -22231,47 +22445,17 @@ }, "responses": { "200": { - "description": "Create MCP server instance", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" + "$ref": "#/components/schemas/HostedOpenBotRelease" } } } }, "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { @@ -22291,78 +22475,63 @@ ] } }, - "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}": { - "get": { + "/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}/finalize": { + "post": { "tags": [ - "mcp", + "identity", "v1" ], - "summary": "Get MCP server instance", - "description": "Retrieve an MCP server instance by its ID", - "operationId": "get-mcp-server-instance", + "summary": "Finalize a hosted OpenBot release", + "description": "Requires every manifest file to be uploaded, derives the canonical runtime project or legacy service-specific project server-side, and idempotently creates its production deployment.", + "operationId": "finalize_hosted_openbot_release", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "mcp_server_instance_id", + "name": "instance_id", "in": "path", - "description": "MCP server instance ID", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "Get MCP server instance", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" - } - } - } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "release_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } - }, - "404": { - "description": "Not Found", + } + ], + "responses": { + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/HostedOpenBotRelease" } } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "", "content": { "application/json": { "schema": { @@ -22380,29 +22549,46 @@ "bearer_token": [] } ] - }, - "delete": { - "tags": [ - "mcp", - "v1" - ], - "summary": "Delete MCP server instance", - "description": "Delete an MCP server instance and all its tool mappings", - "operationId": "delete-mcp-server-instance", + } + }, + "/api/v1/team/{team_id}/managed-user-credential": { + "get": { + "summary": "List typed managed user credentials", + "description": "Lists typed user-owned credentials with redacted summaries only.", + "operationId": "list_managed_user_credentials", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "mcp_server_instance_id", + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", "in": "path", - "description": "MCP server instance ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -22411,80 +22597,44 @@ ], "responses": { "200": { - "description": "Delete MCP server instance" - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "Managed user credentials", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ManagedUserCredentialSummaryPaginatedResponse" } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - }, - "patch": { - "tags": [ - "mcp", - "v1" - ], - "summary": "Update MCP server instance", - "description": "Update an MCP server instance name", - "operationId": "update-mcp-server-instance", + } + } + }, + "/api/v1/team/{team_id}/managed-user-credential/type/{type_id}": { + "post": { + "summary": "Create a typed managed user credential", + "description": "Creates a typed user-owned credential from plaintext secretValue and stores encrypted fields at rest.", + "operationId": "create_managed_user_credential", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "mcp_server_instance_id", + "name": "type_id", "in": "path", - "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -22495,7 +22645,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateMcpServerInstanceBody" + "$ref": "#/components/schemas/CreateManagedUserCredentialBody" } } }, @@ -22503,89 +22653,116 @@ }, "responses": { "200": { - "description": "Update MCP server instance", + "description": "Created managed user credential", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" + "$ref": "#/components/schemas/ManagedUserCredentialSummary" } } } + } + } + } + }, + "/api/v1/team/{team_id}/managed-user-credential/type/{type_id}/{id}": { + "get": { + "summary": "Get encrypted typed managed user credential secret", + "description": "Returns the decrypted credential secret re-encrypted to the requesting trusted runtime.", + "operationId": "get_managed_user_credential_secret", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "type_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "totp_at_unix_seconds", + "in": "query", + "required": false, + "schema": { + "type": [ + "integer", + "null" + ], + "format": "int64" } }, - "500": { - "description": "Internal Server Error", + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Encrypted secret", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ManagedUserCredentialSecretResponse" } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/function": { - "post": { - "tags": [ - "mcp", - "v1" - ], - "summary": "Add function to MCP server instance", - "description": "Add a tool mapping to an MCP server instance with a custom name", - "operationId": "add-mcp-server-instance-function", + } + }, + "put": { + "summary": "Update a typed managed user credential", + "description": "Replaces a typed user-owned credential and stores encrypted fields at rest.", + "operationId": "update_managed_user_credential", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "mcp_server_instance_id", + "name": "type_id", "in": "path", - "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -22596,7 +22773,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AddMcpServerInstanceFunctionBody" + "$ref": "#/components/schemas/UpdateManagedUserCredentialBody" } } }, @@ -22604,95 +22781,66 @@ }, "responses": { "200": { - "description": "Add function to MCP server instance", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", + "description": "Updated managed user credential", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ManagedUserCredentialSummary" } } } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + } + } + } + }, + "/api/v1/team/{team_id}/managed-user-credential/{id}": { + "delete": { + "summary": "Delete a typed managed user credential", + "description": "Deletes a typed user-owned credential.", + "operationId": "delete_managed_user_credential", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, - "409": { - "description": "Conflict (tool name already exists)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] + ], + "responses": { + "200": { + "description": "Deleted managed user credential" } - ] + } } }, - "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/function/{tool_deployment_type_id}/{tool_group_deployment_type_id}/{tool_group_instance_id}": { - "delete": { + "/api/v1/team/{team_id}/mcp/available-tool-groups": { + "get": { "tags": [ "mcp", "v1" ], - "summary": "Remove tool from MCP server instance", - "description": "Remove a tool mapping from an MCP server instance", - "operationId": "remove-mcp-server-instance-function", + "summary": "List tool groups", + "description": "List all available tool group types that can be instantiated, filtered by deployment alias", + "operationId": "list-available-tool-groups", "parameters": [ { "name": "team_id", @@ -22704,36 +22852,46 @@ } }, { - "name": "mcp_server_instance_id", - "in": "path", - "description": "MCP server instance ID", + "name": "page_size", + "in": "query", "required": true, "schema": { - "type": "string" - } + "type": "integer", + "format": "int64" + }, + "style": "form" }, { - "name": "tool_deployment_type_id", - "in": "path", - "description": "Tool source type ID", - "required": true, + "name": "next_page_token", + "in": "query", + "required": false, "schema": { "type": "string" - } + }, + "style": "form" }, { - "name": "tool_group_deployment_type_id", - "in": "path", - "description": "Tool group source type ID", + "name": "deployment_alias", + "in": "query", "required": true, "schema": { "type": "string" - } + }, + "style": "form" }, { - "name": "tool_group_instance_id", + "name": "include_global", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "name": "team_id", "in": "path", - "description": "Tool group instance ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -22742,17 +22900,17 @@ ], "responses": { "200": { - "description": "Remove tool from MCP server instance", + "description": "List available tool groups", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" + "$ref": "#/components/schemas/ToolGroupSourceSerializedPaginatedResponse" } } } }, - "401": { - "description": "Unauthorized", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -22761,8 +22919,8 @@ } } }, - "403": { - "description": "Forbidden", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -22771,8 +22929,8 @@ } } }, - "404": { - "description": "Not Found", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -22800,15 +22958,17 @@ "bearer_token": [] } ] - }, - "patch": { + } + }, + "/api/v1/team/{team_id}/mcp/available-tool-groups/{tool_group_source_type_id}/available-credentials/{credential_source_type_id}": { + "post": { "tags": [ "mcp", "v1" ], - "summary": "Update tool in MCP server instance", - "description": "Update the tool name and description for a tool mapping", - "operationId": "update-mcp-server-instance-function", + "summary": "Create tool group", + "description": "Create a new tool group instance with the specified configuration", + "operationId": "create-tool-group-instance", "parameters": [ { "name": "team_id", @@ -22820,36 +22980,25 @@ } }, { - "name": "mcp_server_instance_id", - "in": "path", - "description": "MCP server instance ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "tool_deployment_type_id", + "name": "tool_group_source_type_id", "in": "path", - "description": "Tool source type ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_group_deployment_type_id", + "name": "credential_source_type_id", "in": "path", - "description": "Tool group source type ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_group_instance_id", + "name": "team_id", "in": "path", - "description": "Tool group instance ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -22860,7 +23009,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateMcpServerInstanceToolBody" + "$ref": "#/components/schemas/CreateToolGroupInstanceParamsInner" } } }, @@ -22868,27 +23017,17 @@ }, "responses": { "200": { - "description": "Update tool in MCP server instance", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" - } - } - } - }, - "401": { - "description": "Unauthorized", + "description": "Create tool group instance", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ToolGroupInstanceSerialized" } } } }, - "403": { - "description": "Forbidden", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -22897,8 +23036,8 @@ } } }, - "404": { - "description": "Not Found", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -22907,8 +23046,8 @@ } } }, - "409": { - "description": "Conflict (tool name already exists)", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -22938,15 +23077,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/functions": { + "/api/v1/team/{team_id}/mcp/available-tool-groups/{tool_group_source_type_id}/available-credentials/{credential_source_type_id}/auto-provision": { "post": { "tags": [ "mcp", "v1" ], - "summary": "Add MCP server functions in bulk", - "description": "Atomically add 1-500 tool mappings from one provider account. Exact existing mappings are idempotent no-ops, including concurrent retries. Any invalid or conflicting item rejects the entire database batch. A 5xx from post-commit reconciliation has unknown commit visibility; retrying the same request is safe.", - "operationId": "bulk-add-mcp-server-instance-functions", + "summary": "Auto-provision tool group", + "description": "Provision an upstream provider app, create the tool group instance, and start credential brokering when required.", + "operationId": "auto-provision-tool-group-instance", "parameters": [ { "name": "team_id", @@ -22958,9 +23097,25 @@ } }, { - "name": "mcp_server_instance_id", + "name": "tool_group_source_type_id", "in": "path", - "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "credential_source_type_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -22971,7 +23126,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BulkAddMcpServerInstanceFunctionsBody" + "$ref": "#/components/schemas/AutoProvisionToolGroupInstanceParamsInner" } } }, @@ -22979,17 +23134,17 @@ }, "responses": { "200": { - "description": "All function mappings were added, or already existed unchanged", + "description": "Auto-provision tool group instance", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" + "$ref": "#/components/schemas/AutoProvisionToolGroupInstanceResponse" } } } }, "400": { - "description": "Invalid batch; no mappings were added", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -23018,18 +23173,8 @@ } } }, - "404": { - "description": "MCP server or tool instance not found; no mappings were added", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, "500": { - "description": "Internal Server Error. Database write failures roll back the batch; reconciliation failures can occur after commit, and retrying is safe", + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -23047,15 +23192,17 @@ "bearer_token": [] } ] - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/mcp/custom-tool-providers": { + "get": { "tags": [ "mcp", "v1" ], - "summary": "Remove MCP server functions in bulk", - "description": "Atomically remove 1-500 tool mappings from one provider account. Missing mappings are idempotent no-ops. Any invalid item rejects the entire database batch. A 5xx from post-commit reconciliation has unknown commit visibility; retrying the same request is safe.", - "operationId": "bulk-remove-mcp-server-instance-functions", + "summary": "List custom tool providers", + "description": "List custom HTTP tool providers for a team", + "operationId": "list-custom-tool-providers", "parameters": [ { "name": "team_id", @@ -23067,82 +23214,41 @@ } }, { - "name": "mcp_server_instance_id", + "name": "page_size", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "team_id", "in": "path", - "description": "MCP server instance ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BulkRemoveMcpServerInstanceFunctionsBody" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "All requested mappings were removed or already absent", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" - } - } - } - }, - "400": { - "description": "Invalid batch; no mappings were removed", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "MCP server not found; no mappings were removed", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error. Database write failures roll back the batch; reconciliation failures can occur after commit, and retrying is safe", + "description": "List custom tool providers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CustomToolProviderListItemPaginatedResponse" } } } @@ -23156,17 +23262,15 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/mcp": { - "get": { + }, + "post": { "tags": [ "mcp", "v1" ], - "summary": "MCP protocol endpoint (GET)", - "description": "Handle MCP protocol GET requests for SSE event streams.", - "operationId": "mcp-protocol-get", + "summary": "Create custom tool provider", + "description": "Create a custom HTTP tool provider from its discovery manifest", + "operationId": "create-custom-tool-provider", "parameters": [ { "name": "team_id", @@ -23178,55 +23282,32 @@ } }, { - "name": "mcp_server_instance_id", + "name": "team_id", "in": "path", - "description": "MCP server instance ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateCustomToolProviderRequestInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "MCP SSE stream" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "Create custom tool provider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CreateCustomToolProviderResponse" } } } @@ -23240,15 +23321,17 @@ "bearer_token": [] } ] - }, - "post": { + } + }, + "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}": { + "get": { "tags": [ "mcp", "v1" ], - "summary": "MCP protocol endpoint (POST)", - "description": "Handle MCP protocol requests (JSON-RPC over HTTP). This is the main endpoint for MCP clients to communicate with the server.", - "operationId": "mcp-protocol-post", + "summary": "Get custom tool provider", + "description": "Get a custom HTTP tool provider", + "operationId": "get-custom-tool-provider", "parameters": [ { "name": "team_id", @@ -23260,9 +23343,18 @@ } }, { - "name": "mcp_server_instance_id", + "name": "tool_group_instance_id", "in": "path", - "description": "MCP server instance ID", + "description": "Tool group instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -23271,44 +23363,11 @@ ], "responses": { "200": { - "description": "MCP protocol response" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "Get custom tool provider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CustomToolProviderDetails" } } } @@ -23328,9 +23387,9 @@ "mcp", "v1" ], - "summary": "MCP protocol endpoint (DELETE)", - "description": "Handle MCP protocol DELETE requests for session cleanup.", - "operationId": "mcp-protocol-delete", + "summary": "Delete custom tool provider", + "description": "Delete a custom HTTP tool provider", + "operationId": "delete-custom-tool-provider", "parameters": [ { "name": "team_id", @@ -23342,9 +23401,18 @@ } }, { - "name": "mcp_server_instance_id", + "name": "tool_group_instance_id", "in": "path", - "description": "MCP server instance ID", + "description": "Tool group instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -23353,47 +23421,7 @@ ], "responses": { "200": { - "description": "Session terminated" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + "description": "Delete custom tool provider" } }, "security": [ @@ -23404,17 +23432,15 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/playground/chat": { - "post": { + }, + "patch": { "tags": [ "mcp", "v1" ], - "summary": "Chat with MCP server playground", - "description": "Run an ephemeral natural-language playground chat bound to one dynamic MCP server instance.", - "operationId": "mcp-server-playground-chat", + "summary": "Update custom tool provider", + "description": "Update and rediscover a custom HTTP tool provider", + "operationId": "update-custom-tool-provider", "parameters": [ { "name": "team_id", @@ -23426,9 +23452,18 @@ } }, { - "name": "mcp_server_instance_id", + "name": "tool_group_instance_id", "in": "path", - "description": "MCP server instance ID", + "description": "Tool group instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -23439,7 +23474,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpPlaygroundAiSdkChatRequest" + "$ref": "#/components/schemas/UpdateCustomToolProviderRequestInner" } } }, @@ -23447,54 +23482,11 @@ }, "responses": { "200": { - "description": "Vercel AI SDK UI message stream" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "Update custom tool provider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CustomToolProviderDetails" } } } @@ -23510,15 +23502,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/tool-group/{tool_group_instance_id}": { - "put": { + "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/disable": { + "post": { "tags": [ "mcp", "v1" ], - "summary": "Bind tool group to MCP server", - "description": "Enables every tool in a tool-group instance and maps it onto the MCP server idempotently.", - "operationId": "bind-tool-group-to-mcp-server", + "summary": "Disable custom tool provider", + "description": "Disable a custom HTTP tool provider", + "operationId": "disable-custom-tool-provider", "parameters": [ { "name": "team_id", @@ -23530,18 +23522,18 @@ } }, { - "name": "mcp_server_instance_id", + "name": "tool_group_instance_id", "in": "path", - "description": "MCP server instance ID", + "description": "Tool group instance ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_group_instance_id", + "name": "team_id", "in": "path", - "description": "Tool group instance ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -23550,41 +23542,11 @@ ], "responses": { "200": { - "description": "Bound tool group", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "Disable custom tool provider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CustomToolProviderDetails" } } } @@ -23598,15 +23560,17 @@ "bearer_token": [] } ] - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/enable": { + "post": { "tags": [ "mcp", "v1" ], - "summary": "Unbind tool group from MCP server", - "description": "Removes every mapping for a tool-group instance from the MCP server idempotently.", - "operationId": "unbind-tool-group-from-mcp-server", + "summary": "Enable custom tool provider", + "description": "Enable a custom HTTP tool provider", + "operationId": "enable-custom-tool-provider", "parameters": [ { "name": "team_id", @@ -23618,18 +23582,18 @@ } }, { - "name": "mcp_server_instance_id", + "name": "tool_group_instance_id", "in": "path", - "description": "MCP server instance ID", + "description": "Tool group instance ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_group_instance_id", + "name": "team_id", "in": "path", - "description": "Tool group instance ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -23638,41 +23602,11 @@ ], "responses": { "200": { - "description": "Unbound tool group", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "Enable custom tool provider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CustomToolProviderDetails" } } } @@ -23688,15 +23622,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/provider-catalog": { - "get": { + "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/refresh": { + "post": { "tags": [ "mcp", "v1" ], - "summary": "List remote MCP provider catalogue", - "description": "List server-authored remote MCP provider descriptors and their generic connection methods", - "operationId": "list-mcp-provider-catalog", + "summary": "Refresh custom tool provider", + "description": "Rediscover custom HTTP tool provider tools", + "operationId": "refresh-custom-tool-provider", "parameters": [ { "name": "team_id", @@ -23706,45 +23640,33 @@ "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "List curated remote MCP providers", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ListMcpProviderCatalogResponse" - } - } - } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "tool_group_instance_id", + "in": "path", + "description": "Tool group instance ID", + "required": true, + "schema": { + "type": "string" } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } - }, - "500": { - "description": "Internal Server Error", + } + ], + "responses": { + "200": { + "description": "Refresh custom tool provider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/RefreshCustomToolProviderResponse" } } } @@ -23760,15 +23682,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/provider-catalog/{provider_id}/connect": { + "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/rotate-signing-secret": { "post": { "tags": [ "mcp", "v1" ], - "summary": "Connect remote MCP provider catalogue entry", - "description": "Connect an unauthenticated provider immediately or discover OAuth metadata, dynamically register Tilde, and start PKCE authorization", - "operationId": "connect-mcp-provider-catalog-entry", + "summary": "Rotate custom tool provider signing key", + "description": "Rotate the shared webhook signing key for a custom HTTP tool provider", + "operationId": "rotate-custom-tool-provider-signing-key", "parameters": [ { "name": "team_id", @@ -23780,82 +23702,31 @@ } }, { - "name": "provider_id", + "name": "tool_group_instance_id", "in": "path", - "description": "Stable catalogue provider ID", + "description": "Tool group instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConnectMcpProviderCatalogEntryRequestInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Connect curated remote MCP provider", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConnectMcpProviderCatalogEntryResponse" - } - } - } - }, - "400": { - "description": "Provider requires manual setup", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Provider not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "Rotate custom tool provider signing key", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/RotateCustomToolProviderSigningKeyResponse" } } } @@ -23871,15 +23742,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/proxied-mcp-servers": { - "get": { + "/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/tools/{tool_source_type_id}/invoke": { + "post": { "tags": [ "mcp", "v1" ], - "summary": "List proxied MCP servers", - "description": "List proxied MCP server records and their local tool provider instances for a team", - "operationId": "list-proxied-mcp-servers", + "summary": "Invoke custom tool", + "description": "Invoke a custom HTTP tool provider tool directly", + "operationId": "invoke-custom-tool", "parameters": [ { "name": "team_id", @@ -23891,72 +23762,50 @@ } }, { - "name": "page_size", - "in": "query", + "name": "tool_group_instance_id", + "in": "path", + "description": "Tool group instance ID", "required": true, "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" + "type": "string" + } }, { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" + "name": "tool_source_type_id", + "in": "path", + "description": "Tool source type ID", + "required": true, + "schema": { + "type": "string" + } }, { - "name": "include_catalog_managed", - "in": "query", - "description": "Internal portability and control-plane callers can opt into managed entries.", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": "boolean" - }, - "style": "form" + "type": "string" + } } ], - "responses": { - "200": { - "description": "List proxied MCP servers", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProxiedMcpServerListItemPaginatedResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InvokeCustomToolRequestInner" } } }, - "500": { - "description": "Internal Server Error", + "required": true + }, + "responses": { + "200": { + "description": "Invoke custom tool", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/InvokeResult" } } } @@ -23970,16 +23819,64 @@ "bearer_token": [] } ] - }, - "post": { + } + }, + "/api/v1/team/{team_id}/mcp/mcp-server": { + "get": { "tags": [ "mcp", "v1" ], - "summary": "Connect proxied MCP server", - "description": "Connect to an upstream MCP server, discover its tools, and persist them as a local tool group deployment", - "operationId": "connect-proxied-mcp-server", + "summary": "List MCP server instances", + "description": "List all MCP server instances with pagination", + "operationId": "list-mcp-server-instances", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page_size", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "include_global", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "name": "agent_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, { "name": "team_id", "in": "path", @@ -23990,33 +23887,13 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConnectProxiedMcpServerRequestInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Connect proxied MCP server", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConnectProxiedMcpServerResponse" - } - } - } - }, - "400": { - "description": "Bad Request", + "description": "List MCP server instances", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctionsPaginatedResponse" } } } @@ -24060,18 +23937,25 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/mcp/proxied-mcp-servers/oauth/start": { + }, "post": { "tags": [ "mcp", "v1" ], - "summary": "Start proxied MCP OAuth authorization", - "description": "Create a pending proxied MCP server and start generic OAuth authorization-code brokering. Tool discovery completes after the OAuth callback stores the user credential.", - "operationId": "start-proxied-mcp-server-oauth", + "summary": "Create MCP server instance", + "description": "Create a new MCP server instance with a user-provided ID", + "operationId": "create-mcp-server-instance", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -24086,7 +23970,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StartProxiedMcpServerOauthRequestInner" + "$ref": "#/components/schemas/CreateMcpServerInstanceRequestInner" } } }, @@ -24094,11 +23978,11 @@ }, "responses": { "200": { - "description": "Start proxied MCP OAuth authorization", + "description": "Create MCP server instance", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StartProxiedMcpServerOauthResponse" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" } } } @@ -24154,15 +24038,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}": { + "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}": { "get": { "tags": [ "mcp", "v1" ], - "summary": "Get proxied MCP server", - "description": "Get proxied MCP server settings, discovery state, and discovered tools", - "operationId": "get-proxied-mcp-server", + "summary": "Get MCP server instance", + "description": "Retrieve an MCP server instance by its ID", + "operationId": "get-mcp-server-instance", "parameters": [ { "name": "team_id", @@ -24174,9 +24058,18 @@ } }, { - "name": "tool_group_instance_id", + "name": "mcp_server_instance_id", "in": "path", - "description": "Proxied MCP tool group instance ID", + "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -24185,11 +24078,11 @@ ], "responses": { "200": { - "description": "Get proxied MCP server", + "description": "Get MCP server instance", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProxiedMcpServerDetails" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" } } } @@ -24249,9 +24142,9 @@ "mcp", "v1" ], - "summary": "Delete proxied MCP server", - "description": "Delete a proxied MCP tool group instance and its enabled local tools", - "operationId": "delete-proxied-mcp-server", + "summary": "Delete MCP server instance", + "description": "Delete an MCP server instance and all its tool mappings", + "operationId": "delete-mcp-server-instance", "parameters": [ { "name": "team_id", @@ -24263,9 +24156,18 @@ } }, { - "name": "tool_group_instance_id", + "name": "mcp_server_instance_id", "in": "path", - "description": "Proxied MCP tool group instance ID", + "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -24274,7 +24176,7 @@ ], "responses": { "200": { - "description": "Delete proxied MCP server" + "description": "Delete MCP server instance" }, "401": { "description": "Unauthorized", @@ -24325,17 +24227,15 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/disable": { - "post": { + }, + "patch": { "tags": [ "mcp", "v1" ], - "summary": "Disable proxied MCP server", - "description": "Mark a proxied MCP server and its backing tool group instance disabled", - "operationId": "disable-proxied-mcp-server", + "summary": "Update MCP server instance", + "description": "Update an MCP server instance name", + "operationId": "update-mcp-server-instance", "parameters": [ { "name": "team_id", @@ -24347,22 +24247,41 @@ } }, { - "name": "tool_group_instance_id", + "name": "mcp_server_instance_id", "in": "path", - "description": "Proxied MCP tool group instance ID", + "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateMcpServerInstanceBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Disable proxied MCP server", + "description": "Update MCP server instance", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProxiedMcpServerDetails" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" } } } @@ -24418,15 +24337,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/enable": { + "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/function": { "post": { "tags": [ "mcp", "v1" ], - "summary": "Enable proxied MCP server", - "description": "Mark a proxied MCP server and its backing tool group instance active", - "operationId": "enable-proxied-mcp-server", + "summary": "Add function to MCP server instance", + "description": "Add a tool mapping to an MCP server instance with a custom name", + "operationId": "add-mcp-server-instance-function", "parameters": [ { "name": "team_id", @@ -24438,22 +24357,51 @@ } }, { - "name": "tool_group_instance_id", + "name": "mcp_server_instance_id", "in": "path", - "description": "Proxied MCP tool group instance ID", + "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AddMcpServerInstanceFunctionBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Enable proxied MCP server", + "description": "Add function to MCP server instance", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProxiedMcpServerDetails" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -24488,6 +24436,16 @@ } } }, + "409": { + "description": "Conflict (tool name already exists)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, "500": { "description": "Internal Server Error", "content": { @@ -24509,15 +24467,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/refresh": { - "post": { + "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/function/{tool_deployment_type_id}/{tool_group_deployment_type_id}/{tool_group_instance_id}": { + "delete": { "tags": [ "mcp", "v1" ], - "summary": "Refresh proxied MCP server", - "description": "Reconnect to an upstream MCP server and refresh the locally stored tool deployment definitions", - "operationId": "refresh-proxied-mcp-server", + "summary": "Remove tool from MCP server instance", + "description": "Remove a tool mapping from an MCP server instance", + "operationId": "remove-mcp-server-instance-function", "parameters": [ { "name": "team_id", @@ -24528,10 +24486,46 @@ "type": "string" } }, + { + "name": "mcp_server_instance_id", + "in": "path", + "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "tool_deployment_type_id", + "in": "path", + "description": "Tool source type ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "tool_group_deployment_type_id", + "in": "path", + "description": "Tool group source type ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "tool_group_instance_id", "in": "path", - "description": "Proxied MCP tool group instance ID", + "description": "Tool group instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -24540,11 +24534,11 @@ ], "responses": { "200": { - "description": "Refresh proxied MCP server", + "description": "Remove tool from MCP server instance", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConnectProxiedMcpServerResponse" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" } } } @@ -24598,17 +24592,15 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/mcp/tool-deployments/{alias}": { - "get": { + }, + "patch": { "tags": [ "mcp", "v1" ], - "summary": "List tool deployments by alias", - "description": "List tool deployments joined with their tool group deployment, filtered by deployment alias", - "operationId": "list-tool-deployments-by-alias", + "summary": "Update tool in MCP server instance", + "description": "Update the tool name and description for a tool mapping", + "operationId": "update-mcp-server-instance-function", "parameters": [ { "name": "team_id", @@ -24620,56 +24612,104 @@ } }, { - "name": "alias", + "name": "mcp_server_instance_id", "in": "path", - "description": "Deployment alias (e.g. 'latest')", + "description": "MCP server instance ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", + "name": "tool_deployment_type_id", + "in": "path", + "description": "Tool source type ID", "required": true, "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" + "type": "string" + } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "tool_group_deployment_type_id", + "in": "path", + "description": "Tool group source type ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" + } }, { - "name": "include_global", - "in": "query", - "required": false, + "name": "tool_group_instance_id", + "in": "path", + "description": "Tool group instance ID", + "required": true, "schema": { - "type": "boolean" - }, - "style": "form" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateMcpServerInstanceToolBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "List tool deployments by alias", + "description": "Update tool in MCP server instance", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ToolDeploymentWithGroupSerializedPaginatedResponse" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" } } } }, - "400": { - "description": "Bad Request", + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "409": { + "description": "Conflict (tool name already exists)", "content": { "application/json": { "schema": { @@ -24699,15 +24739,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/tool-group": { - "get": { + "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/functions": { + "post": { "tags": [ "mcp", "v1" ], - "summary": "List tool group instances", - "description": "List all tool group instances with optional filtering by status and tool group type", - "operationId": "list-tool-group-instances", + "summary": "Add MCP server functions in bulk", + "description": "Atomically add 1-500 tool mappings from one provider account. Exact existing mappings are idempotent no-ops, including concurrent retries. Any invalid or conflicting item rejects the entire database batch. A 5xx from post-commit reconciliation has unknown commit visibility; retrying the same request is safe.", + "operationId": "bulk-add-mcp-server-instance-functions", "parameters": [ { "name": "team_id", @@ -24719,65 +24759,47 @@ } }, { - "name": "page_size", - "in": "query", + "name": "mcp_server_instance_id", + "in": "path", + "description": "MCP server instance ID", "required": true, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "status", - "in": "query", - "required": false, "schema": { "type": "string" - }, - "style": "form" + } }, { - "name": "tool_group_source_type_id", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" - }, - { - "name": "include_global", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - }, - "style": "form" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BulkAddMcpServerInstanceFunctionsBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "List tool group instances", + "description": "All function mappings were added, or already existed unchanged", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ToolGroupInstanceListItemPaginatedResponse" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" } } } }, "400": { - "description": "Bad Request", + "description": "Invalid batch; no mappings were added", "content": { "application/json": { "schema": { @@ -24806,8 +24828,18 @@ } } }, + "404": { + "description": "MCP server or tool instance not found; no mappings were added", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, "500": { - "description": "Internal Server Error", + "description": "Internal Server Error. Database write failures roll back the batch; reconciliation failures can occur after commit, and retrying is safe", "content": { "application/json": { "schema": { @@ -24825,17 +24857,15 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/mcp/tool-group/grouped-by-tool": { - "get": { + }, + "delete": { "tags": [ "mcp", "v1" ], - "summary": "List tool groups by tool", - "description": "List tool group instances grouped by their associated tools", - "operationId": "list-tool-group-instances-grouped-by-tool", + "summary": "Remove MCP server functions in bulk", + "description": "Atomically remove 1-500 tool mappings from one provider account. Missing mappings are idempotent no-ops. Any invalid item rejects the entire database batch. A 5xx from post-commit reconciliation has unknown commit visibility; retrying the same request is safe.", + "operationId": "bulk-remove-mcp-server-instance-functions", "parameters": [ { "name": "team_id", @@ -24847,65 +24877,47 @@ } }, { - "name": "page_size", - "in": "query", + "name": "mcp_server_instance_id", + "in": "path", + "description": "MCP server instance ID", "required": true, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "tool_group_source_type_id", - "in": "query", - "required": false, "schema": { "type": "string" - }, - "style": "form" + } }, { - "name": "tool_category", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" - }, - { - "name": "include_global", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - }, - "style": "form" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BulkRemoveMcpServerInstanceFunctionsBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "List tool group instances grouped by tool", + "description": "All requested mappings were removed or already absent", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ToolConfigPaginatedResponse" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" } } } }, "400": { - "description": "Bad Request", + "description": "Invalid batch; no mappings were removed", "content": { "application/json": { "schema": { @@ -24934,8 +24946,18 @@ } } }, + "404": { + "description": "MCP server not found; no mappings were removed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, "500": { - "description": "Internal Server Error", + "description": "Internal Server Error. Database write failures roll back the batch; reconciliation failures can occur after commit, and retrying is safe", "content": { "application/json": { "schema": { @@ -24955,15 +24977,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}": { + "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/mcp": { "get": { "tags": [ "mcp", "v1" ], - "summary": "Get tool group", - "description": "Retrieve a tool group instance by its unique identifier", - "operationId": "get-tool-group-instance", + "summary": "MCP protocol endpoint (GET)", + "description": "Handle MCP protocol GET requests for SSE event streams.", + "operationId": "mcp-protocol-get", "parameters": [ { "name": "team_id", @@ -24975,9 +24997,18 @@ } }, { - "name": "tool_group_instance_id", + "name": "mcp_server_instance_id", "in": "path", - "description": "Tool group instance ID", + "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -24986,14 +25017,7 @@ ], "responses": { "200": { - "description": "Get tool group instance", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ToolGroupInstanceSerializedWithEverything" - } - } - } + "description": "MCP SSE stream" }, "400": { "description": "Bad Request", @@ -25015,8 +25039,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -25045,14 +25069,14 @@ } ] }, - "delete": { + "post": { "tags": [ "mcp", "v1" ], - "summary": "Delete tool group", - "description": "Delete a tool group instance by its unique identifier", - "operationId": "delete-tool-group-instance", + "summary": "MCP protocol endpoint (POST)", + "description": "Handle MCP protocol requests (JSON-RPC over HTTP). This is the main endpoint for MCP clients to communicate with the server.", + "operationId": "mcp-protocol-post", "parameters": [ { "name": "team_id", @@ -25064,9 +25088,18 @@ } }, { - "name": "tool_group_instance_id", + "name": "mcp_server_instance_id", "in": "path", - "description": "Tool group instance ID", + "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -25075,14 +25108,7 @@ ], "responses": { "200": { - "description": "Delete tool group instance", - "content": { - "application/json": { - "schema": { - "default": null - } - } - } + "description": "MCP protocol response" }, "400": { "description": "Bad Request", @@ -25104,8 +25130,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -25134,14 +25160,14 @@ } ] }, - "patch": { + "delete": { "tags": [ "mcp", "v1" ], - "summary": "Update tool group", - "description": "Update an existing tool group instance configuration", - "operationId": "update-tool-group-instance", + "summary": "MCP protocol endpoint (DELETE)", + "description": "Handle MCP protocol DELETE requests for session cleanup.", + "operationId": "mcp-protocol-delete", "parameters": [ { "name": "team_id", @@ -25153,57 +25179,27 @@ } }, { - "name": "tool_group_instance_id", + "name": "mcp_server_instance_id", "in": "path", - "description": "Tool group instance ID", + "description": "MCP server instance ID", "required": true, "schema": { "type": "string" } }, { - "name": "wait_for_status", - "in": "query", - "description": "Hold the request until this status is observed or the timeout expires.", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" - }, - { - "name": "timeout_ms", - "in": "query", - "description": "Long-poll timeout in milliseconds, clamped to 30 seconds.", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "minimum": 0 - }, - "style": "form" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateToolGroupInstanceParamsInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Update tool group instance", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TupleUnit" - } - } - } + "description": "Session terminated" }, "400": { "description": "Bad Request", @@ -25225,8 +25221,8 @@ } } }, - "403": { - "description": "Forbidden", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -25256,15 +25252,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/bound-params": { - "patch": { + "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/playground/chat": { + "post": { "tags": [ "mcp", "v1" ], - "summary": "Update tool bound_params", - "description": "Replace the bound_params JSON object on an enabled tool instance. Bound values are merged into LLM-supplied params at invoke time and win on collision.", - "operationId": "update-tool-bound-params", + "summary": "Chat with MCP server playground", + "description": "Run an ephemeral natural-language playground chat bound to one dynamic MCP server instance.", + "operationId": "mcp-server-playground-chat", "parameters": [ { "name": "team_id", @@ -25276,18 +25272,18 @@ } }, { - "name": "tool_group_instance_id", + "name": "mcp_server_instance_id", "in": "path", - "description": "Tool group instance ID", + "description": "MCP server instance ID", "required": true, "schema": { "type": "string" } }, { - "name": "tool_source_type_id", + "name": "team_id", "in": "path", - "description": "Tool source type ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -25298,7 +25294,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateToolInstanceBoundParamsInner" + "$ref": "#/components/schemas/McpPlaygroundAiSdkChatRequest" } } }, @@ -25306,14 +25302,7 @@ }, "responses": { "200": { - "description": "Updated tool bound_params", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ToolInstanceSerialized" - } - } - } + "description": "Vercel AI SDK UI message stream" }, "400": { "description": "Bad Request", @@ -25346,7 +25335,7 @@ } }, "404": { - "description": "Tool instance not found", + "description": "Not Found", "content": { "application/json": { "schema": { @@ -25376,15 +25365,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/disable": { - "post": { + "/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/tool-group/{tool_group_instance_id}": { + "put": { "tags": [ "mcp", "v1" ], - "summary": "Disable tool", - "description": "Disable a tool for a tool group instance", - "operationId": "disable-tool", + "summary": "Bind tool group to MCP server", + "description": "Enables every tool in a tool-group instance and maps it onto the MCP server idempotently.", + "operationId": "bind-tool-group-to-mcp-server", "parameters": [ { "name": "team_id", @@ -25395,6 +25384,15 @@ "type": "string" } }, + { + "name": "mcp_server_instance_id", + "in": "path", + "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "tool_group_instance_id", "in": "path", @@ -25405,9 +25403,9 @@ } }, { - "name": "tool_source_type_id", + "name": "team_id", "in": "path", - "description": "Tool source type ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -25416,11 +25414,11 @@ ], "responses": { "200": { - "description": "Disable tool", + "description": "Bound tool group", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TupleUnit" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" } } } @@ -25435,18 +25433,8 @@ } } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -25474,17 +25462,15 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/enable": { - "post": { + }, + "delete": { "tags": [ "mcp", "v1" ], - "summary": "Enable tool", - "description": "Enable a tool for a tool group instance. Optional bound_params may be supplied and will be merged into invocation params for this enabled tool.", - "operationId": "enable-tool", + "summary": "Unbind tool group from MCP server", + "description": "Removes every mapping for a tool-group instance from the MCP server idempotently.", + "operationId": "unbind-tool-group-from-mcp-server", "parameters": [ { "name": "team_id", @@ -25495,6 +25481,15 @@ "type": "string" } }, + { + "name": "mcp_server_instance_id", + "in": "path", + "description": "MCP server instance ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "tool_group_instance_id", "in": "path", @@ -25505,32 +25500,22 @@ } }, { - "name": "tool_source_type_id", + "name": "team_id", "in": "path", - "description": "Tool source type ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EnableToolInstanceParamsInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Enable tool", + "description": "Unbound tool group", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ToolInstanceSerialized" + "$ref": "#/components/schemas/McpServerInstanceSerializedWithFunctions" } } } @@ -25545,18 +25530,8 @@ } } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", + "404": { + "description": "Not Found", "content": { "application/json": { "schema": { @@ -25586,15 +25561,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/invoke": { - "post": { + "/api/v1/team/{team_id}/mcp/provider-catalog": { + "get": { "tags": [ "mcp", "v1" ], - "summary": "Invoke tool", - "description": "Invoke a tool on a tool group instance", - "operationId": "invoke-tool", + "summary": "List remote MCP provider catalogue", + "description": "List server-authored remote MCP provider descriptors and their generic connection methods", + "operationId": "list-mcp-provider-catalog", "parameters": [ { "name": "team_id", @@ -25606,51 +25581,22 @@ } }, { - "name": "tool_group_instance_id", - "in": "path", - "description": "Tool group instance ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "tool_source_type_id", + "name": "team_id", "in": "path", - "description": "Tool source type ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvokeToolInstanceParamsInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Invoke tool", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InvokeResult" - } - } - } - }, - "400": { - "description": "Bad Request", + "description": "List curated remote MCP providers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ListMcpProviderCatalogResponse" } } } @@ -25696,15 +25642,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tools/enable-and-bind": { + "/api/v1/team/{team_id}/mcp/provider-catalog/{provider_id}/connect": { "post": { "tags": [ "mcp", "v1" ], - "summary": "Enable provider tools and bind them to MCP servers", - "description": "Idempotently enables either every provider tool or an explicit set, then adds those enabled tools to each of 1-50 MCP servers. Invalid selections and provider-account authorization fail before writes. Runtime enablement and server-binding failures are returned per item so partial progress is observable and the same request can be retried safely. Each individual MCP-server mapping batch remains atomic.", - "operationId": "enable-and-bind-provider-tools", + "summary": "Connect remote MCP provider catalogue entry", + "description": "Connect an unauthenticated provider immediately or discover OAuth metadata, dynamically register Tilde, and start PKCE authorization", + "operationId": "connect-mcp-provider-catalog-entry", "parameters": [ { "name": "team_id", @@ -25716,9 +25662,18 @@ } }, { - "name": "tool_group_instance_id", + "name": "provider_id", "in": "path", - "description": "Provider account / tool-group instance ID", + "description": "Stable catalogue provider ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -25729,7 +25684,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EnableAndBindToolsBody" + "$ref": "#/components/schemas/ConnectMcpProviderCatalogEntryRequestInner" } } }, @@ -25737,17 +25692,17 @@ }, "responses": { "200": { - "description": "Per-tool enablement and per-server binding results. The complete field is false when any item failed", + "description": "Connect curated remote MCP provider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EnableAndBindToolsResponse" + "$ref": "#/components/schemas/ConnectMcpProviderCatalogEntryResponse" } } } }, "400": { - "description": "Invalid or duplicate tool/server selection; no mutations were attempted", + "description": "Provider requires manual setup", "content": { "application/json": { "schema": { @@ -25757,7 +25712,7 @@ } }, "401": { - "description": "Unauthorized; no mutations were attempted", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -25767,7 +25722,7 @@ } }, "403": { - "description": "Caller cannot manage the provider account; no mutations were attempted", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -25777,7 +25732,7 @@ } }, "404": { - "description": "Provider account or explicitly selected tool not found; no mutations were attempted", + "description": "Provider not found", "content": { "application/json": { "schema": { @@ -25787,7 +25742,7 @@ } }, "500": { - "description": "Failed before an observable per-item result could be returned", + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -25807,15 +25762,15 @@ ] } }, - "/api/v1/team/{team_id}/mcp/tools": { + "/api/v1/team/{team_id}/mcp/proxied-mcp-servers": { "get": { "tags": [ "mcp", "v1" ], - "summary": "List tool instances", - "description": "List all tool instances with optional filtering by tool group instance", - "operationId": "list-tools", + "summary": "List proxied MCP servers", + "description": "List proxied MCP server records and their local tool provider instances for a team", + "operationId": "list-proxied-mcp-servers", "parameters": [ { "name": "team_id", @@ -25846,41 +25801,32 @@ "style": "form" }, { - "name": "tool_group_instance_id", + "name": "include_catalog_managed", "in": "query", + "description": "Internal portability and control-plane callers can opt into managed entries.", "required": false, "schema": { - "type": "string" + "type": "boolean" }, "style": "form" }, { - "name": "include_global", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": "boolean" - }, - "style": "form" + "type": "string" + } } ], "responses": { "200": { - "description": "List tool instances", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ToolInstanceSerializedPaginatedResponse" - } - } - } - }, - "400": { - "description": "Bad Request", + "description": "List proxied MCP servers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ProxiedMcpServerListItemPaginatedResponse" } } } @@ -25924,18 +25870,25 @@ "bearer_token": [] } ] - } - }, - "/api/v1/team/{team_id}/mcp/tools/openapi.json": { - "get": { + }, + "post": { "tags": [ "mcp", "v1" ], - "summary": "Get tool OpenAPI spec", - "description": "Get the OpenAPI specification for all tool instances", - "operationId": "get-tools-openapi-spec", + "summary": "Connect proxied MCP server", + "description": "Connect to an upstream MCP server, discover its tools, and persist them as a local tool group deployment", + "operationId": "connect-proxied-mcp-server", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -25946,13 +25899,33 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConnectProxiedMcpServerRequestInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Get tool instances openapi spec", + "description": "Connect proxied MCP server", "content": { - "text/plain": { + "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/ConnectProxiedMcpServerResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -25998,70 +25971,29 @@ ] } }, - "/api/v1/team/{team_id}/memory/banks": { - "get": { + "/api/v1/team/{team_id}/mcp/proxied-mcp-servers/oauth/start": { + "post": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "List memory banks", - "description": "List the team's isolated memory banks.", - "operationId": "list-memory-banks", + "summary": "Start proxied MCP OAuth authorization", + "description": "Create a pending proxied MCP server and start generic OAuth authorization-code brokering. Tool discovery completes after the OAuth callback stores the user credential.", + "operationId": "start-proxied-mcp-server-oauth", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MemoryBankPaginatedResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "memory", - "v1" - ], - "summary": "Create a memory bank", - "description": "Create an isolated HelixDB graph/vector memory bank and its enabled private tool provider.", - "operationId": "create-memory-bank", - "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -26072,7 +26004,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateMemoryBankBody" + "$ref": "#/components/schemas/StartProxiedMcpServerOauthRequestInner" } } }, @@ -26080,463 +26012,489 @@ }, "responses": { "200": { - "description": "", + "description": "Start proxied MCP OAuth authorization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBank" + "$ref": "#/components/schemas/StartProxiedMcpServerOauthResponse" } } } - } - } - } - }, - "/api/v1/team/{team_id}/memory/banks/visible": { - "get": { - "tags": [ - "memory", - "v1" - ], - "summary": "List effective visible memory banks", - "description": "List current-team and personal banks visible to the effective user through public mode, a direct grant, or an Identity group grant.", - "operationId": "list-visible-memory-banks", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "responses": { - "200": { - "description": "", + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankPaginatedResponse" + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}": { + "/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}": { "get": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Get a memory bank", - "description": "Get one memory bank and its provisioning state.", - "operationId": "get-memory-bank", + "summary": "Get proxied MCP server", + "description": "Get proxied MCP server settings, discovery state, and discovered tools", + "operationId": "get-proxied-mcp-server", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Proxied MCP tool group instance ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Get proxied MCP server", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBank" + "$ref": "#/components/schemas/ProxiedMcpServerDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] }, "delete": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Delete a memory bank", - "description": "Delete the provider bank, its private tools, and its Tilde record.", - "operationId": "delete-memory-bank", + "summary": "Delete proxied MCP server", + "description": "Delete a proxied MCP tool group instance and its enabled local tools", + "operationId": "delete-proxied-mcp-server", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "responses": { - "200": { - "description": "" - } - } - }, - "patch": { - "tags": [ - "memory", - "v1" - ], - "summary": "Update a memory bank", - "description": "Update bank metadata and its provider/tool configuration.", - "operationId": "update-memory-bank", - "parameters": [ - { - "name": "team_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Proxied MCP tool group instance ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateMemoryBankBody" + "responses": { + "200": { + "description": "Delete proxied MCP server" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBank" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/config": { - "get": { + "/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/disable": { + "post": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Get memory bank configuration", - "description": "Return resolved configuration and explicit bank-level overrides.", - "operationId": "get-memory-bank-config", + "summary": "Disable proxied MCP server", + "description": "Mark a proxied MCP server and its backing tool group instance disabled", + "operationId": "disable-proxied-mcp-server", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MemoryBankConfig" - } - } - } - } - } - }, - "delete": { - "tags": [ - "memory", - "v1" - ], - "summary": "Reset memory bank configuration", - "description": "Remove every bank-level override and inherit provider defaults.", - "operationId": "reset-memory-bank-config", - "parameters": [ - { - "name": "team_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Proxied MCP tool group instance ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Disable proxied MCP server", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankConfig" + "$ref": "#/components/schemas/ProxiedMcpServerDetails" } } } - } - } - }, - "patch": { - "tags": [ - "memory", - "v1" - ], - "summary": "Update memory bank configuration", - "description": "Apply a partial set of bank-level configuration overrides.", - "operationId": "update-memory-bank-config", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateMemoryBankConfigBody" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankConfig" + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/documents": { - "get": { + "/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/enable": { + "post": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "List memory bank documents", - "description": "List retained documents with search and offset pagination.", - "operationId": "list-memory-bank-documents", + "summary": "Enable proxied MCP server", + "description": "Mark a proxied MCP server and its backing tool group instance active", + "operationId": "enable-proxied-mcp-server", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Proxied MCP tool group instance ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "limit", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "offset", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" + "type": "string" } }, { - "name": "q", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Enable proxied MCP server", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankDocumentList" + "$ref": "#/components/schemas/ProxiedMcpServerDetails" } } } - } - } - }, - "delete": { - "tags": [ - "memory", - "v1" - ], - "summary": "Delete a memory document", - "description": "Delete a stable document and its extracted memories from the selected bank.", - "operationId": "delete-memory-document", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeleteMemoryDocumentBody" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } }, - "responses": { - "200": { - "description": "" + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] } - } + ] } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/documents/{document_id}": { - "get": { + "/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/refresh": { + "post": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Get memory bank document", - "description": "Get retained document content, typed provenance and provider state.", - "operationId": "get-memory-bank-document", + "summary": "Refresh proxied MCP server", + "description": "Reconnect to an upstream MCP server and refresh the locally stored tool deployment definitions", + "operationId": "refresh-proxied-mcp-server", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Proxied MCP tool group instance ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "document_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -26545,613 +26503,701 @@ ], "responses": { "200": { - "description": "", + "description": "Refresh proxied MCP server", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StoredMemoryDocument" + "$ref": "#/components/schemas/ConnectProxiedMcpServerResponse" } } } - } - } - } - }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/health": { - "get": { - "tags": [ - "memory", - "v1" - ], - "summary": "Check memory bank health", - "description": "Check Tilde provisioning state and HelixDB reachability.", - "operationId": "check-memory-bank-health", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "responses": { - "200": { - "description": "", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankHealth" + "$ref": "#/components/schemas/Error" } } } - } - } - } - }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership": { - "post": { - "tags": [ - "memory", - "v1" - ], - "summary": "Set memory-bank ownership", - "description": "Set the memory bank administration plane to team or private. Requires current ownership-plane authority.", - "operationId": "set-memory-bank-ownership-mode", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants": { + "/api/v1/team/{team_id}/mcp/tool-deployments/{alias}": { "get": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "List memory-bank ownership grants", - "description": "List users and groups admitted to private memory-bank administration.", - "operationId": "list-memory-bank-ownership-grants", + "summary": "List tool deployments by alias", + "description": "List tool deployments joined with their tool group deployment, filtered by deployment alias", + "operationId": "list-tool-deployments-by-alias", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", + "name": "alias", "in": "path", + "description": "Deployment alias (e.g. 'latest')", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } - } - } + "type": "string" } - } - } - }, - "post": { - "tags": [ - "memory", - "v1" - ], - "summary": "Add a memory-bank ownership grant", - "description": "Idempotently grant a same-team Identity user or group private administration.", - "operationId": "add-memory-bank-ownership-grant", - "parameters": [ + }, { - "name": "team_id", - "in": "path", + "name": "page_size", + "in": "query", "required": true, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, "schema": { "type": "string" - } + }, + "style": "form" }, { - "name": "bank_id", + "name": "include_global", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "responses": { + "200": { + "description": "List tool deployments by alias", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ToolDeploymentWithGroupSerializedPaginatedResponse" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/mcp/tool-group": { + "get": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Remove a memory-bank ownership grant", - "description": "Idempotently remove one ownership grant while retaining at least one owner for a private plane.", - "operationId": "remove-memory-bank-ownership-grant", + "summary": "List tool group instances", + "description": "List all tool group instances with optional filtering by status and tool group type", + "operationId": "list-tool-group-instances", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", - "in": "path", + "name": "page_size", + "in": "query", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } + "type": "integer", + "format": "int64" + }, + "style": "form" }, { - "name": "principal_type", - "in": "path", - "required": true, + "name": "next_page_token", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" - } + "type": "string" + }, + "style": "form" }, { - "name": "principal_id", - "in": "path", - "required": true, + "name": "status", + "in": "query", + "required": false, "schema": { "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - } - } - }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/recall": { - "post": { - "tags": [ - "memory", - "v1" - ], - "summary": "Recall memory", - "description": "Semantically recall relevant content from the selected memory bank.", - "operationId": "recall-memory", - "parameters": [ + }, + "style": "form" + }, { - "name": "team_id", - "in": "path", - "required": true, + "name": "tool_group_source_type_id", + "in": "query", + "required": false, "schema": { "type": "string" - } + }, + "style": "form" }, { - "name": "bank_id", + "name": "include_global", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RecallMemoryBody" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", + "description": "List tool group instances", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "$ref": "#/components/schemas/ToolGroupInstanceListItemPaginatedResponse" } } } - } - } - } - }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/reflect": { - "post": { - "tags": [ - "memory", - "v1" - ], - "summary": "Reflect on memory", - "description": "Generate a contextual answer from the selected memory bank.", - "operationId": "reflect-memory", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReflectMemoryBody" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/retain": { - "post": { + "/api/v1/team/{team_id}/mcp/tool-group/grouped-by-tool": { + "get": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Retain a memory document", - "description": "Upsert a provider-neutral document into the selected memory bank.", - "operationId": "retain-memory-document", + "summary": "List tool groups by tool", + "description": "List tool group instances grouped by their associated tools", + "operationId": "list-tool-group-instances-grouped-by-tool", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", - "in": "path", + "name": "page_size", + "in": "query", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "tool_group_source_type_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "tool_category", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "include_global", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RetainMemoryBody" + "responses": { + "200": { + "description": "List tool group instances grouped by tool", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ToolConfigPaginatedResponse" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/template": { + "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}": { "get": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Export memory bank template", - "description": "Export portable configuration overrides, mental models, and directives.", - "operationId": "export-memory-bank-template", + "summary": "Get tool group", + "description": "Retrieve a tool group instance by its unique identifier", + "operationId": "get-tool-group-instance", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Tool group instance ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Get tool group instance", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankTemplate" + "$ref": "#/components/schemas/ToolGroupInstanceSerializedWithEverything" } } } - } - } - }, - "post": { - "tags": [ - "memory", - "v1" - ], - "summary": "Import memory bank template", - "description": "Validate or apply portable configuration, mental models, and directives.", - "operationId": "import-memory-bank-template", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImportMemoryBankTemplateBody" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportMemoryBankTemplateResponse" + "$ref": "#/components/schemas/Error" } } } } - } - } - }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility": { - "post": { + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + }, + "delete": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Set memory-bank visibility", - "description": "Set the memory bank discovery and content-use plane to team or private. Requires ownership-plane authority.", - "operationId": "set-memory-bank-visibility", + "summary": "Delete tool group", + "description": "Delete a tool group instance by its unique identifier", + "operationId": "delete-tool-group-instance", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Tool group instance ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "responses": { + "200": { + "description": "Delete tool group instance", + "content": { + "application/json": { + "schema": { + "default": null + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/Error" } } } - } - } - } - }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants": { - "get": { - "tags": [ - "memory", - "v1" - ], - "summary": "List memory-bank visibility grants", - "description": "List users and groups admitted to private memory-bank visibility. Requires ownership-plane authority.", - "operationId": "list-memory-bank-visibility-grants", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "responses": { - "200": { - "description": "", + }, + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] }, - "post": { + "patch": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Add a memory-bank visibility grant", - "description": "Idempotently grant a same-team Identity user or group private visibility.", - "operationId": "add-memory-bank-visibility-grant", + "summary": "Update tool group", + "description": "Update an existing tool group instance configuration", + "operationId": "update-tool-group-instance", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Tool group instance ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "wait_for_status", + "in": "query", + "description": "Hold the request until this status is observed or the timeout expires.", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "timeout_ms", + "in": "query", + "description": "Long-poll timeout in milliseconds, clamped to 30 seconds.", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "minimum": 0 + }, + "style": "form" + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -27159,7 +27205,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/UpdateToolGroupInstanceParamsInner" } } }, @@ -27167,320 +27213,348 @@ }, "responses": { "200": { - "description": "", + "description": "Update tool group instance", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/TupleUnit" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/bound-params": { + "patch": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Remove a memory-bank visibility grant", - "description": "Idempotently remove one private visibility grant.", - "operationId": "remove-memory-bank-visibility-grant", + "summary": "Update tool bound_params", + "description": "Replace the bound_params JSON object on an enabled tool instance. Bound values are merged into LLM-supplied params at invoke time and win on collision.", + "operationId": "update-tool-bound-params", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "bank_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Tool group instance ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "principal_type", + "name": "tool_source_type_id", "in": "path", + "description": "Tool source type ID", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "type": "string" } }, { - "name": "principal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "responses": { - "200": { - "description": "" - } - } - } - }, - "/api/v1/team/{team_id}/memory/banks/{memory_bank_id}/source-bindings": { - "get": { - "tags": [ - "memory", - "v1" - ], - "summary": "List memory-bank sources", - "description": "Inspect all active source bindings and synchronization state for one memory bank.", - "operationId": "list-memory-bank-source-bindings", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateToolInstanceBoundParamsInner" + } } }, - { - "name": "memory_bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], + "required": true + }, "responses": { "200": { - "description": "", + "description": "Updated tool bound_params", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } + "$ref": "#/components/schemas/ToolInstanceSerialized" } } } - } - } - } - }, - "/api/v1/team/{team_id}/memory/source-bindings": { - "get": { + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Tool instance not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/disable": { + "post": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "List source memory-bank bindings", - "description": "Inspect the selected banks and synchronization state for one source.", - "operationId": "list-memory-source-bindings", + "summary": "Disable tool", + "description": "Disable a tool for a tool group instance", + "operationId": "disable-tool", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "source_kind", - "in": "query", + "name": "tool_group_instance_id", + "in": "path", + "description": "Tool group instance ID", "required": true, "schema": { - "$ref": "#/components/schemas/MemorySourceKind" + "type": "string" } }, { - "name": "source_id", - "in": "query", + "name": "tool_source_type_id", + "in": "path", + "description": "Tool source type ID", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } - } - } - } - } - } - }, - "put": { - "tags": [ - "memory", - "v1" - ], - "summary": "Replace source memory-bank bindings", - "description": "Atomically replace a source's selected banks and durably queue a full backfill.", - "operationId": "replace-memory-source-bindings", - "parameters": [ + }, { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReplaceMemoryBankBindingsBody" + "responses": { + "200": { + "description": "Disable tool", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TupleUnit" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } + "$ref": "#/components/schemas/Error" } } } - } - } - } - }, - "/api/v1/team/{team_id}/memory/source-bindings/retry": { - "post": { - "tags": [ - "memory", - "v1" - ], - "summary": "Retry source synchronization", - "description": "Retry every memory-bank binding for a source.", - "operationId": "retry-memory-source-sync", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RetryMemorySourceBody" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/documents": { - "delete": { + "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/enable": { + "post": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Delete memory during background synthesis", - "description": "Deletes an unprotected memory only when the assigned synthesizer supplies the exact active batch, evidence set, and issuing worker lease. Successful deletion records a durable per-operation idempotency receipt.", - "operationId": "delete-synthesis-session-memory", + "summary": "Enable tool", + "description": "Enable a tool for a tool group instance. Optional bound_params may be supplied and will be merged into invocation params for this enabled tool.", + "operationId": "enable-tool", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Tool group instance ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeleteSynthesisMemoryDocumentBody" - } + "type": "string" } }, - "required": true - }, - "responses": { - "204": { - "description": "" - } - } - } - }, - "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/recall": { - "post": { - "tags": [ - "memory", - "v1" - ], - "operationId": "recall-synthesis-session-memory", - "parameters": [ { - "name": "team_id", + "name": "tool_source_type_id", "in": "path", + "description": "Tool source type ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -27488,7 +27562,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RecallMemoryBody" + "$ref": "#/components/schemas/EnableToolInstanceParamsInner" } } }, @@ -27496,132 +27570,107 @@ }, "responses": { "200": { - "description": "", + "description": "Enable tool", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "$ref": "#/components/schemas/ToolInstanceSerialized" } } } - } - } - } - }, - "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/retain": { - "post": { - "tags": [ - "memory", - "v1" - ], - "operationId": "retain-synthesis-session-memory", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SynthesisSessionRetainMemoryBody" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/validate-batch": { + "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/invoke": { "post": { "tags": [ - "memory", + "mcp", "v1" ], - "summary": "Validate an active synthesis batch", - "description": "Authenticates the bank's assigned synthesizer and verifies that the supplied batch digest, complete evidence-ID set, and worker lease exactly match the session's current unexpired Postgres claim. This read-only check does not mutate memory or lease state.", - "operationId": "validate-synthesis-session-batch", + "summary": "Invoke tool", + "description": "Invoke a tool on a tool group instance", + "operationId": "invoke-tool", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", + "name": "tool_group_instance_id", "in": "path", + "description": "Tool group instance ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateSynthesisBatchBody" - } + "type": "string" } }, - "required": true - }, - "responses": { - "204": { - "description": "The complete evidence set is owned by the exact active worker lease" - } - } - } - }, - "/api/v1/team/{team_id}/openbot/agents/{agent_id}/bundle": { - "put": { - "tags": [ - "openbot", - "v1" - ], - "summary": "Reconcile OpenBot agent bundle", - "description": "Idempotently reconciles the agent, ChatKit workspace channel, authored skills and registry, MCP server, and tool-group bindings in one request.", - "operationId": "reconcile-openbot-agent-bundle", - "parameters": [ { - "name": "team_id", + "name": "tool_source_type_id", "in": "path", + "description": "Tool source type ID", "required": true, "schema": { "type": "string" } }, { - "name": "agent_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -27632,7 +27681,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReconcileOpenBotAgentBundleBody" + "$ref": "#/components/schemas/InvokeToolInstanceParamsInner" } } }, @@ -27640,52 +27689,51 @@ }, "responses": { "200": { - "description": "", + "description": "Invoke tool", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReconcileOpenBotAgentBundleResponse" + "$ref": "#/components/schemas/InvokeResult" } } } - } - }, - "security": [ - { - "api_key": [] }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/openbot/plugins/catalog": { - "get": { - "tags": [ - "openbot", - "v1" - ], - "summary": "Get the OpenBot plugins catalog", - "description": "Returns the MCP providers, accounts, servers, skills, providers, and registries needed by the OpenBot plugins screen in one request.", - "operationId": "get-openbot-plugins-catalog", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "responses": { - "200": { - "description": "", + }, + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OpenBotPluginsCatalogResponse" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -27701,52 +27749,38 @@ ] } }, - "/api/v1/team/{team_id}/provider-setup/catalog": { - "get": { - "summary": "List generic provider setup descriptors", - "description": "Returns server-authored provider setup descriptors for a product domain.", - "operationId": "provider_setup_catalog", + "/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tools/enable-and-bind": { + "post": { + "tags": [ + "mcp", + "v1" + ], + "summary": "Enable provider tools and bind them to MCP servers", + "description": "Idempotently enables either every provider tool or an explicit set, then adds those enabled tools to each of 1-50 MCP servers. Invalid selections and provider-account authorization fail before writes. Runtime enablement and server-binding failures are returned per item so partial progress is observable and the same request can be retried safely. Each individual MCP-server mapping batch remains atomic.", + "operationId": "enable-and-bind-provider-tools", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "domain", - "in": "query", + "name": "tool_group_instance_id", + "in": "path", + "description": "Provider account / tool-group instance ID", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "Provider setup catalog", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ListProviderSetupCatalogResponse" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/provider-setup/start": { - "post": { - "summary": "Start generic provider setup", - "description": "Starts a server-authored provider setup workflow and returns the next generic UI action.", - "operationId": "provider_setup_start", - "parameters": [ + }, { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -27757,7 +27791,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StartProviderSetupBody" + "$ref": "#/components/schemas/EnableAndBindToolsBody" } } }, @@ -27765,74 +27799,85 @@ }, "responses": { "200": { - "description": "Provider setup response", + "description": "Per-tool enablement and per-server binding results. The complete field is false when any item failed", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProviderSetupResponse" + "$ref": "#/components/schemas/EnableAndBindToolsResponse" } } } - } - } - } - }, - "/api/v1/team/{team_id}/provider-setup/{setup_id}/resume": { - "post": { - "summary": "Resume generic provider setup", - "description": "Resumes a server-authored provider setup workflow after user input or a provider callback.", - "operationId": "provider_setup_resume", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "400": { + "description": "Invalid or duplicate tool/server selection; no mutations were attempted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "setup_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "401": { + "description": "Unauthorized; no mutations were attempted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResumeProviderSetupBody" + }, + "403": { + "description": "Caller cannot manage the provider account; no mutations were attempted", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "Provider setup response", + "404": { + "description": "Provider account or explicitly selected tool not found; no mutations were attempted", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProviderSetupResponse" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Failed before an observable per-item result could be returned", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/reverse-proxy/profile": { + "/api/v1/team/{team_id}/mcp/tools": { "get": { "tags": [ - "reverse-proxy", + "mcp", "v1" ], - "summary": "List reverse proxy profiles", - "description": "Paginated list of reverse proxy profiles for the given team.", - "operationId": "reverse_proxy_list_profiles", + "summary": "List tool instances", + "description": "List all tool instances with optional filtering by tool group instance", + "operationId": "list-tools", "parameters": [ { "name": "team_id", @@ -27846,37 +27891,63 @@ { "name": "page_size", "in": "query", - "required": false, + "required": true, "schema": { "type": "integer", "format": "int64" - } + }, + "style": "form" }, { "name": "next_page_token", "in": "query", "required": false, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" + }, + "style": "form" + }, + { + "name": "tool_group_instance_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "include_global", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "Paginated reverse proxy profiles", + "description": "List tool instances", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReverseProxyProfilePaginatedResponse" + "$ref": "#/components/schemas/ToolInstanceSerializedPaginatedResponse" } } } }, - "500": { - "description": "Internal Server Error", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -27884,51 +27955,19 @@ } } } - } - } - }, - "post": { - "tags": [ - "reverse-proxy", - "v1" - ], - "summary": "Create reverse proxy profile", - "description": "Create a reverse proxy profile binding a credential, base_url, and template.", - "operationId": "reverse_proxy_create_profile", - "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateReverseProxyProfileInner" - } - } }, - "required": true - }, - "responses": { - "200": { - "description": "Created reverse proxy profile", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReverseProxyProfile" + "$ref": "#/components/schemas/Error" } } } }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -27947,18 +27986,26 @@ } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}": { + "/api/v1/team/{team_id}/mcp/tools/openapi.json": { "get": { "tags": [ - "reverse-proxy", + "mcp", "v1" ], - "summary": "Get reverse proxy profile", - "description": "Retrieve a reverse proxy profile by id.", - "operationId": "reverse_proxy_get_profile", + "summary": "Get tool OpenAPI spec", + "description": "Get the OpenAPI specification for all tool instances", + "operationId": "get-tools-openapi-spec", "parameters": [ { "name": "team_id", @@ -27970,9 +28017,9 @@ } }, { - "name": "profile_id", + "name": "team_id", "in": "path", - "description": "Profile slug", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -27981,17 +28028,17 @@ ], "responses": { "200": { - "description": "The reverse proxy profile", + "description": "Get tool instances openapi spec", "content": { - "application/json": { + "text/plain": { "schema": { - "$ref": "#/components/schemas/ReverseProxyProfile" + "type": "string" } } } }, - "404": { - "description": "Profile not found", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -27999,41 +28046,19 @@ } } } - } - } - }, - "delete": { - "tags": [ - "reverse-proxy", - "v1" - ], - "summary": "Delete reverse proxy profile", - "description": "Delete a profile. Requires ownership-plane access.", - "operationId": "reverse_proxy_delete_profile", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "profile_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "responses": { - "200": { - "description": "" }, - "404": { - "description": "", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -28042,89 +28067,86 @@ } } } - } - }, - "patch": { + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/memory/banks": { + "get": { "tags": [ - "reverse-proxy", + "memory", "v1" ], - "summary": "Update reverse proxy profile", - "description": "Partial update of a reverse proxy profile. Only fields supplied as Some are written.", - "operationId": "reverse_proxy_update_profile", + "summary": "List memory banks", + "description": "List the team's isolated memory banks.", + "operationId": "list-memory-banks", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "profile_id", + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", "in": "path", - "description": "Profile slug", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateReverseProxyProfileInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Updated reverse proxy profile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReverseProxyProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Profile not found", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/MemoryBankPaginatedResponse" } } } } } - } - }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership": { + }, "post": { "tags": [ - "reverse-proxy", + "memory", "v1" ], - "summary": "Set reverse proxy profile ownership", - "description": "Set one reverse proxy profile authorization plane.", - "operationId": "reverse_proxy_set_profile_ownership", + "summary": "Create a memory bank", + "description": "Create an isolated HelixDB graph/vector memory bank and its enabled private tool provider.", + "operationId": "create-memory-bank", "parameters": [ { "name": "team_id", @@ -28135,8 +28157,9 @@ } }, { - "name": "profile_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -28147,7 +28170,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/CreateMemoryBankBody" } } }, @@ -28159,7 +28182,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/MemoryBank" } } } @@ -28167,15 +28190,15 @@ } } }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants": { + "/api/v1/team/{team_id}/memory/banks/visible": { "get": { "tags": [ - "reverse-proxy", + "memory", "v1" ], - "summary": "List reverse proxy ownership grants", - "description": "List grants. Requires ownership-plane access.", - "operationId": "reverse_proxy_list_profile_ownership_grants", + "summary": "List effective visible memory banks", + "description": "List current-team and personal banks visible to the effective user through public mode, a direct grant, or an Identity group grant.", + "operationId": "list-visible-memory-banks", "parameters": [ { "name": "team_id", @@ -28186,8 +28209,29 @@ } }, { - "name": "profile_id", + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -28200,24 +28244,23 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/MemoryBankPaginatedResponse" } } } } } - }, - "post": { + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}": { + "get": { "tags": [ - "reverse-proxy", + "memory", "v1" ], - "summary": "Add reverse proxy ownership grant", - "description": "Add a same-team user or group grant.", - "operationId": "reverse_proxy_add_profile_ownership_grant", + "summary": "Get a memory bank", + "description": "Get one memory bank and its provisioning state.", + "operationId": "get-memory-bank", "parameters": [ { "name": "team_id", @@ -28228,47 +28271,44 @@ } }, { - "name": "profile_id", + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/MemoryBank" } } } } } - } - }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants/{principal_type}/{principal_id}": { + }, "delete": { "tags": [ - "reverse-proxy", + "memory", "v1" ], - "summary": "Remove reverse proxy ownership grant", - "description": "Remove a grant idempotently.", - "operationId": "reverse_proxy_remove_profile_ownership_grant", + "summary": "Delete a memory bank", + "description": "Delete the provider bank, its private tools, and its Tilde record.", + "operationId": "delete-memory-bank", "parameters": [ { "name": "team_id", @@ -28279,24 +28319,17 @@ } }, { - "name": "profile_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "principal_type", + "name": "bank_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "principal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -28308,17 +28341,15 @@ "description": "" } } - } - }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility": { - "post": { + }, + "patch": { "tags": [ - "reverse-proxy", + "memory", "v1" ], - "summary": "Set reverse proxy profile visibility", - "description": "Set one reverse proxy profile authorization plane.", - "operationId": "reverse_proxy_set_profile_visibility", + "summary": "Update a memory bank", + "description": "Update bank metadata and its provider/tool configuration.", + "operationId": "update-memory-bank", "parameters": [ { "name": "team_id", @@ -28329,8 +28360,17 @@ } }, { - "name": "profile_id", + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -28341,7 +28381,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/UpdateMemoryBankBody" } } }, @@ -28353,7 +28393,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/MemoryBank" } } } @@ -28361,15 +28401,15 @@ } } }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/config": { "get": { "tags": [ - "reverse-proxy", + "memory", "v1" ], - "summary": "List reverse proxy visibility grants", - "description": "List grants. Requires ownership-plane access.", - "operationId": "reverse_proxy_list_profile_visibility_grants", + "summary": "Get memory bank configuration", + "description": "Return resolved configuration and explicit bank-level overrides.", + "operationId": "get-memory-bank-config", "parameters": [ { "name": "team_id", @@ -28380,8 +28420,17 @@ } }, { - "name": "profile_id", + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -28394,24 +28443,21 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/MemoryBankConfig" } } } } } }, - "post": { + "delete": { "tags": [ - "reverse-proxy", + "memory", "v1" ], - "summary": "Add reverse proxy visibility grant", - "description": "Add a same-team user or group grant.", - "operationId": "reverse_proxy_add_profile_visibility_grant", + "summary": "Reset memory bank configuration", + "description": "Remove every bank-level override and inherit provider defaults.", + "operationId": "reset-memory-bank-config", "parameters": [ { "name": "team_id", @@ -28422,47 +28468,44 @@ } }, { - "name": "profile_id", + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/MemoryBankConfig" } } } } } - } - }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { + }, + "patch": { "tags": [ - "reverse-proxy", + "memory", "v1" ], - "summary": "Remove reverse proxy visibility grant", - "description": "Remove a grant idempotently.", - "operationId": "reverse_proxy_remove_profile_visibility_grant", + "summary": "Update memory bank configuration", + "description": "Apply a partial set of bank-level configuration overrides.", + "operationId": "update-memory-bank-config", "parameters": [ { "name": "team_id", @@ -28473,47 +28516,13 @@ } }, { - "name": "profile_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "principal_type", + "name": "bank_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "$ref": "#/components/schemas/WrappedUuidV4" } }, - { - "name": "principal_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - } - } - }, - "/api/v1/team/{team_id}/reverse-proxy/provider": { - "get": { - "tags": [ - "reverse-proxy", - "v1" - ], - "summary": "List reverse proxy providers", - "description": "Providers registered with the reverse-proxy. Driven by the in-process `ReverseProxyProviderRegistry`; transport-only templates (no model catalogue).", - "operationId": "reverse_proxy_list_providers", - "parameters": [ { "name": "team_id", "in": "path", @@ -28524,13 +28533,23 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateMemoryBankConfigBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Registered reverse proxy providers", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListReverseProxyProvidersResponse" + "$ref": "#/components/schemas/MemoryBankConfig" } } } @@ -28538,147 +28557,69 @@ } } }, - "/api/v1/team/{team_id}/reverse-proxy/{profile_id}/{*rest}": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/documents": { "get": { "tags": [ - "reverse-proxy" - ], - "summary": "Proxy GET through profile", - "description": "Forward a GET to the profile's upstream with materialized credential headers.", - "operationId": "reverse_proxy_proxy_get", - "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "profile_id", - "in": "path", - "description": "Profile slug", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "rest", - "in": "path", - "description": "Path tail forwarded to upstream", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Upstream response (streamed)" - } - } - }, - "post": { - "tags": [ - "reverse-proxy" + "memory", + "v1" ], - "summary": "Proxy POST through profile", - "description": "Forward a POST to the profile's upstream with materialized credential headers.", - "operationId": "reverse_proxy_proxy_post", + "summary": "List memory bank documents", + "description": "List retained documents with search and offset pagination.", + "operationId": "list-memory-bank-documents", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "profile_id", - "in": "path", - "description": "Profile slug", "required": true, "schema": { "type": "string" } }, { - "name": "rest", - "in": "path", - "description": "Path tail forwarded to upstream", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Upstream response (streamed)" - } - } - } - }, - "/api/v1/team/{team_id}/signals/deliveries": { - "get": { - "tags": [ - "signals", - "v1" - ], - "summary": "List signal deliveries", - "description": "List signal deliveries.", - "operationId": "signals-list-deliveries", - "parameters": [ - { - "name": "team_id", + "name": "bank_id", "in": "path", - "description": "Team ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "page_size", + "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64" - }, - "style": "form" + } }, { - "name": "next_page_token", + "name": "offset", "in": "query", "required": false, "schema": { - "type": "string" - }, - "style": "form" + "type": "integer", + "format": "int64" + } }, { - "name": "instance_id", + "name": "q", "in": "query", "required": false, "schema": { - "type": "string" - }, - "style": "form" + "type": [ + "string", + "null" + ] + } }, { - "name": "status", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" + } } ], "responses": { @@ -28687,23 +28628,21 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalDeliveryPaginatedResponse" + "$ref": "#/components/schemas/MemoryBankDocumentList" } } } } } - } - }, - "/api/v1/team/{team_id}/signals/deliveries/{delivery_id}": { - "get": { + }, + "delete": { "tags": [ - "signals", + "memory", "v1" ], - "summary": "Get signal delivery", - "description": "Get signal delivery.", - "operationId": "signals-get-delivery", + "summary": "Delete a memory document", + "description": "Delete a stable document and its extracted memories from the selected bank.", + "operationId": "delete-memory-document", "parameters": [ { "name": "team_id", @@ -28714,174 +28653,91 @@ } }, { - "name": "delivery_id", + "name": "bank_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SignalDelivery" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/signals/deliveries/{delivery_id}/retry": { - "post": { - "tags": [ - "signals", - "v1" - ], - "summary": "Retry signal delivery", - "description": "Retry signal delivery.", - "operationId": "signals-retry-delivery", - "parameters": [ + }, { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "delivery_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } } ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SignalDelivery" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteMemoryDocumentBody" } } + }, + "required": true + }, + "responses": { + "200": { + "description": "" } } } }, - "/api/v1/team/{team_id}/signals/instances": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/documents/{document_id}": { "get": { "tags": [ - "signals", + "memory", "v1" ], - "summary": "List signal provider instances", - "description": "List configured signal provider instances.", - "operationId": "signals-list-provider-instances", + "summary": "Get memory bank document", + "description": "Get retained document content, typed provenance and provider state.", + "operationId": "get-memory-bank-document", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "status", - "in": "query", - "required": false, + "name": "bank_id", + "in": "path", + "required": true, "schema": { - "type": "string" - }, - "style": "form" + "$ref": "#/components/schemas/WrappedUuidV4" + } }, { - "name": "provider_type", - "in": "query", - "required": false, + "name": "document_id", + "in": "path", + "required": true, "schema": { "type": "string" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SignalProviderInstancePaginatedResponse" - } - } } - } - } - }, - "post": { - "tags": [ - "signals", - "v1" - ], - "summary": "Create signal provider instance", - "description": "Create a team-scoped signal provider instance.", - "operationId": "signals-create-provider-instance", - "parameters": [ + }, { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSignalProviderInstanceRequestInner" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderInstance" + "$ref": "#/components/schemas/StoredMemoryDocument" } } } @@ -28889,13 +28745,15 @@ } } }, - "/api/v1/team/{team_id}/signals/instances/{id}/ownership": { - "post": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/health": { + "get": { "tags": [ - "signals", + "memory", "v1" ], - "operationId": "set-signal-provider-ownership", + "summary": "Check memory bank health", + "description": "Check Tilde provisioning state and HelixDB reachability.", + "operationId": "check-memory-bank-health", "parameters": [ { "name": "team_id", @@ -28906,31 +28764,30 @@ } }, { - "name": "id", + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/MemoryBankHealth" } } } @@ -28938,13 +28795,15 @@ } } }, - "/api/v1/team/{team_id}/signals/instances/{id}/visibility": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership": { "post": { "tags": [ - "signals", + "memory", "v1" ], - "operationId": "set-signal-provider-visibility", + "summary": "Set memory-bank ownership", + "description": "Set the memory bank administration plane to team or private. Requires current ownership-plane authority.", + "operationId": "set-memory-bank-ownership-mode", "parameters": [ { "name": "team_id", @@ -28955,9 +28814,18 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" } @@ -28987,13 +28855,15 @@ } } }, - "/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants": { "get": { "tags": [ - "signals", + "memory", "v1" ], - "operationId": "list-signal-provider-grants", + "summary": "List memory-bank ownership grants", + "description": "List users and groups admitted to private memory-bank administration.", + "operationId": "list-memory-bank-ownership-grants", "parameters": [ { "name": "team_id", @@ -29004,19 +28874,20 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "plane", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" + "type": "string" } } ], @@ -29038,10 +28909,12 @@ }, "post": { "tags": [ - "signals", + "memory", "v1" ], - "operationId": "add-signal-provider-grant", + "summary": "Add a memory-bank ownership grant", + "description": "Idempotently grant a same-team Identity user or group private administration.", + "operationId": "add-memory-bank-ownership-grant", "parameters": [ { "name": "team_id", @@ -29052,19 +28925,20 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "plane", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" + "type": "string" } } ], @@ -29092,13 +28966,15 @@ } } }, - "/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "signals", + "memory", "v1" ], - "operationId": "remove-signal-provider-grant", + "summary": "Remove a memory-bank ownership grant", + "description": "Idempotently remove one ownership grant while retaining at least one owner for a private plane.", + "operationId": "remove-memory-bank-ownership-grant", "parameters": [ { "name": "team_id", @@ -29109,32 +28985,33 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "plane", + "name": "principal_type", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" + "$ref": "#/components/schemas/ResourcePrincipalType" } }, { - "name": "principal_type", + "name": "principal_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "type": "string" } }, { - "name": "principal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -29148,15 +29025,15 @@ } } }, - "/api/v1/team/{team_id}/signals/instances/{instance_id}": { - "get": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/recall": { + "post": { "tags": [ - "signals", + "memory", "v1" ], - "summary": "Get signal provider instance", - "description": "Get a configured signal provider instance.", - "operationId": "signals-get-provider-instance", + "summary": "Recall memory", + "description": "Semantically recall relevant content from the selected memory bank.", + "operationId": "recall-memory", "parameters": [ { "name": "team_id", @@ -29167,74 +29044,56 @@ } }, { - "name": "instance_id", + "name": "bank_id", "in": "path", "required": true, "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SignalProviderInstance" - } - } - } - } - } - }, - "delete": { - "tags": [ - "signals", - "v1" - ], - "summary": "Delete signal provider instance", - "description": "Delete a configured signal provider instance.", - "operationId": "signals-delete-provider-instance", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "instance_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RecallMemoryBody" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteSignalResponse" + "$ref": "#/components/schemas/MemoryOperationResponse" } } } } } - }, - "patch": { + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/reflect": { + "post": { "tags": [ - "signals", + "memory", "v1" ], - "summary": "Update signal provider instance", - "description": "Update a configured signal provider instance.", - "operationId": "signals-update-provider-instance", + "summary": "Reflect on memory", + "description": "Generate a contextual answer from the selected memory bank.", + "operationId": "reflect-memory", "parameters": [ { "name": "team_id", @@ -29245,8 +29104,17 @@ } }, { - "name": "instance_id", + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -29257,7 +29125,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateSignalProviderInstanceRequestInner" + "$ref": "#/components/schemas/ReflectMemoryBody" } } }, @@ -29269,7 +29137,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderInstance" + "$ref": "#/components/schemas/MemoryOperationResponse" } } } @@ -29277,15 +29145,15 @@ } } }, - "/api/v1/team/{team_id}/signals/instances/{instance_id}/test": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/retain": { "post": { "tags": [ - "signals", + "memory", "v1" ], - "summary": "Trigger fake signal", - "description": "Trigger a fake signal for testing.", - "operationId": "signals-trigger-fake", + "summary": "Retain a memory document", + "description": "Upsert a provider-neutral document into the selected memory bank.", + "operationId": "retain-memory-document", "parameters": [ { "name": "team_id", @@ -29296,8 +29164,17 @@ } }, { - "name": "instance_id", + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -29308,7 +29185,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TriggerFakeSignalRequest" + "$ref": "#/components/schemas/RetainMemoryBody" } } }, @@ -29320,7 +29197,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IngestSignalResponse" + "$ref": "#/components/schemas/MemoryOperationResponse" } } } @@ -29328,43 +29205,40 @@ } } }, - "/api/v1/team/{team_id}/signals/providers": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/template": { "get": { "tags": [ - "signals", + "memory", "v1" ], - "summary": "List available signal providers", - "description": "List registered signal provider source types.", - "operationId": "signals-list-available-providers", + "summary": "Export memory bank template", + "description": "Export portable configuration overrides, mental models, and directives.", + "operationId": "export-memory-bank-template", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", - "required": false, + "name": "bank_id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" + "$ref": "#/components/schemas/WrappedUuidV4" + } }, { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { "type": "string" - }, - "style": "form" + } } ], "responses": { @@ -29373,23 +29247,21 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderSourceSerializedPaginatedResponse" + "$ref": "#/components/schemas/MemoryBankTemplate" } } } } } - } - }, - "/api/v1/team/{team_id}/skill": { - "get": { + }, + "post": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "List skills", - "description": "List skills in the current workspace.", - "operationId": "list-skills", + "summary": "Import memory bank template", + "description": "Validate or apply portable configuration, mental models, and directives.", + "operationId": "import-memory-bank-template", "parameters": [ { "name": "team_id", @@ -29400,83 +29272,56 @@ } }, { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "name_prefix", - "in": "query", - "required": false, + "name": "bank_id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "skill_registry_id", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] + "type": "string" } } ], - "responses": { - "200": { - "description": "Skills", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillPaginatedResponse" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportMemoryBankTemplateBody" } } }, - "401": { - "description": "Unauthorized", + "required": true + }, + "responses": { + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ImportMemoryBankTemplateResponse" } } } } } - }, + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility": { "post": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "Create a skill", - "description": "Create a skill in the current workspace.", - "operationId": "create-skill", + "summary": "Set memory-bank visibility", + "description": "Set the memory bank discovery and content-use plane to team or private. Requires ownership-plane authority.", + "operationId": "set-memory-bank-visibility", "parameters": [ { "name": "team_id", @@ -29485,13 +29330,30 @@ "schema": { "type": "string" } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateSkillInner" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -29499,21 +29361,11 @@ }, "responses": { "200": { - "description": "Created skill", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Skill" - } - } - } - }, - "401": { - "description": "Unauthorized", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -29521,15 +29373,15 @@ } } }, - "/api/v1/team/{team_id}/skill-providers": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants": { "get": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "List proxied skill providers", - "description": "List trusted Git-backed skill providers compiled into the Tilde backend.", - "operationId": "list-proxied-skill-providers", + "summary": "List memory-bank visibility grants", + "description": "List users and groups admitted to private memory-bank visibility. Requires ownership-plane authority.", + "operationId": "list-memory-bank-visibility-grants", "parameters": [ { "name": "team_id", @@ -29538,31 +29390,49 @@ "schema": { "type": "string" } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Trusted proxied skill providers", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListProxiedSkillProvidersResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } - } - }, - "/api/v1/team/{team_id}/skill-providers/trusted": { + }, "post": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "Create a trusted skill provider", - "description": "Create or update a trusted GitHub-backed skill provider row.", - "operationId": "create-trusted-skill-provider", + "summary": "Add a memory-bank visibility grant", + "description": "Idempotently grant a same-team Identity user or group private visibility.", + "operationId": "add-memory-bank-visibility-grant", "parameters": [ { "name": "team_id", @@ -29571,13 +29441,30 @@ "schema": { "type": "string" } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateTrustedSkillProviderRequest" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -29585,47 +29472,86 @@ }, "responses": { "200": { - "description": "Created trusted skill provider", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProxiedSkillProvider" + "$ref": "#/components/schemas/ResourceGrant" } } } + } + } + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants/{principal_type}/{principal_id}": { + "delete": { + "tags": [ + "memory", + "v1" + ], + "summary": "Remove a memory-bank visibility grant", + "description": "Idempotently remove one private visibility grant.", + "operationId": "remove-memory-bank-visibility-grant", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "400": { - "description": "Invalid provider URL", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourcePrincipalType" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } + ], + "responses": { + "200": { + "description": "" + } } } }, - "/api/v1/team/{team_id}/skill-providers/{provider_id}": { + "/api/v1/team/{team_id}/memory/banks/{memory_bank_id}/source-bindings": { "get": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "Get a proxied skill provider", - "description": "Fetch one trusted proxied skill provider and its available skills.", - "operationId": "get-proxied-skill-provider", + "summary": "List memory-bank sources", + "description": "Inspect all active source bindings and synchronization state for one memory bank.", + "operationId": "list-memory-bank-source-bindings", "parameters": [ { "name": "team_id", @@ -29636,8 +29562,17 @@ } }, { - "name": "provider_id", + "name": "memory_bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -29646,21 +29581,14 @@ ], "responses": { "200": { - "description": "Trusted proxied skill provider", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProxiedSkillProvider" - } - } - } - }, - "404": { - "description": "Not found", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } } } } @@ -29668,15 +29596,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry": { + "/api/v1/team/{team_id}/memory/source-bindings": { "get": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "List skill registries", - "description": "List skill registries in the current workspace.", - "operationId": "list-skill-registries", + "summary": "List source memory-bank bindings", + "description": "Inspect the selected banks and synchronization state for one source.", + "operationId": "list-memory-source-bindings", "parameters": [ { "name": "team_id", @@ -29687,68 +29615,55 @@ } }, { - "name": "page_size", + "name": "source_kind", "in": "query", - "required": false, + "required": true, "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/MemorySourceKind" } }, { - "name": "next_page_token", + "name": "source_id", "in": "query", - "required": false, + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { - "name": "name_prefix", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "Skill registries", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillRegistryPaginatedResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } } } } } } }, - "post": { + "put": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "Create a skill registry", - "description": "Create a named group of skills that can be attached to runtime agents.", - "operationId": "create-skill-registry", + "summary": "Replace source memory-bank bindings", + "description": "Atomically replace a source's selected banks and durably queue a full backfill.", + "operationId": "replace-memory-source-bindings", "parameters": [ { "name": "team_id", @@ -29757,13 +29672,22 @@ "schema": { "type": "string" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSkillRegistryBody" + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReplaceMemoryBankBindingsBody" } } }, @@ -29771,21 +29695,14 @@ }, "responses": { "200": { - "description": "Created skill registry", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillRegistry" - } - } - } - }, - "401": { - "description": "Unauthorized", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } } } } @@ -29793,15 +29710,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}": { - "get": { + "/api/v1/team/{team_id}/memory/source-bindings/retry": { + "post": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "Get a skill registry", - "description": "Fetch a skill registry by id.", - "operationId": "get-skill-registry", + "summary": "Retry source synchronization", + "description": "Retry every memory-bank binding for a source.", + "operationId": "retry-memory-source-sync", "parameters": [ { "name": "team_id", @@ -29812,55 +29729,51 @@ } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "responses": { - "200": { - "description": "Skill registry", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillRegistry" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RetryMemorySourceBody" } } }, - "404": { - "description": "Not found", + "required": true + }, + "responses": { + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } } } } } } - }, + } + }, + "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/documents": { "delete": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "Delete a skill registry", - "description": "Delete a skill registry by id.", - "operationId": "delete-skill-registry", + "summary": "Delete memory during background synthesis", + "description": "Deletes an unprotected memory only when the assigned synthesizer supplies the exact active batch, evidence set, and issuing worker lease. Successful deletion records a durable per-operation idempotency receipt.", + "operationId": "delete-synthesis-session-memory", "parameters": [ { "name": "team_id", @@ -29871,48 +29784,47 @@ } }, { - "name": "id", + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "responses": { - "200": { - "description": "Deleted" - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteSynthesisMemoryDocumentBody" } } }, - "404": { - "description": "Not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + "required": true + }, + "responses": { + "204": { + "description": "" } } - }, - "patch": { + } + }, + "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/recall": { + "post": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "Update a skill registry", - "description": "Apply a partial update to a skill registry.", - "operationId": "update-skill-registry", + "operationId": "recall-synthesis-session-memory", "parameters": [ { "name": "team_id", @@ -29923,8 +29835,17 @@ } }, { - "name": "id", + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -29935,7 +29856,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateSkillRegistryBody" + "$ref": "#/components/schemas/RecallMemoryBody" } } }, @@ -29943,31 +29864,11 @@ }, "responses": { "200": { - "description": "Skill registry", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillRegistry" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not found", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/MemoryOperationResponse" } } } @@ -29975,15 +29876,13 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/ownership": { + "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/retain": { "post": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "Set a skill-registry authorization mode", - "description": "Change one registry plane after ownership authorization.", - "operationId": "set_skill_registry_ownership_mode", + "operationId": "retain-synthesis-session-memory", "parameters": [ { "name": "team_id", @@ -29994,19 +29893,28 @@ } }, { - "name": "id", + "name": "session_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/SynthesisSessionRetainMemoryBody" } } }, @@ -30018,7 +29926,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/MemoryOperationResponse" } } } @@ -30026,15 +29934,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants": { - "get": { + "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/validate-batch": { + "post": { "tags": [ - "skills", + "memory", "v1" ], - "summary": "List skill-registry grants", - "description": "List grants for one registry authorization plane.", - "operationId": "list_skill_registry_ownership_grants", + "summary": "Validate an active synthesis batch", + "description": "Authenticates the bank's assigned synthesizer and verifies that the supplied batch digest, complete evidence-ID set, and worker lease exactly match the session's current unexpired Postgres claim. This read-only check does not mutate memory or lease state.", + "operationId": "validate-synthesis-session-batch", "parameters": [ { "name": "team_id", @@ -30045,38 +29953,49 @@ } }, { - "name": "id", + "name": "session_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidateSynthesisBatchBody" } } + }, + "required": true + }, + "responses": { + "204": { + "description": "The complete evidence set is owned by the exact active worker lease" } } - }, - "post": { + } + }, + "/api/v1/team/{team_id}/openbot/agents/{agent_id}/bundle": { + "put": { "tags": [ - "skills", + "openbot", "v1" ], - "summary": "Add a skill-registry grant", - "description": "Idempotently add one registry-plane principal.", - "operationId": "add_skill_registry_ownership_grant", + "summary": "Reconcile OpenBot agent bundle", + "description": "Idempotently reconciles the agent, ChatKit workspace channel, authored skills and registry, MCP server, and tool-group bindings in one request.", + "operationId": "reconcile-openbot-agent-bundle", "parameters": [ { "name": "team_id", @@ -30087,11 +30006,20 @@ } }, { - "name": "id", + "name": "agent_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -30099,7 +30027,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/ReconcileOpenBotAgentBundleBody" } } }, @@ -30111,23 +30039,31 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/ReconcileOpenBotAgentBundleResponse" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/openbot/plugins/catalog": { + "get": { "tags": [ - "skills", + "openbot", "v1" ], - "summary": "Remove a skill-registry grant", - "description": "Remove a registry grant while preserving a private owner.", - "operationId": "remove_skill_registry_ownership_grant", + "summary": "Get the OpenBot plugins catalog", + "description": "Returns the MCP providers, accounts, servers, skills, providers, and registries needed by the OpenBot plugins screen in one request.", + "operationId": "get-openbot-plugins-catalog", "parameters": [ { "name": "team_id", @@ -30138,15 +30074,45 @@ } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OpenBotPluginsCatalogResponse" + } + } } + } + }, + "security": [ + { + "api_key": [] }, { - "name": "principal_type", + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/provider-setup/catalog": { + "get": { + "summary": "List generic provider setup descriptors", + "description": "Returns server-authored provider setup descriptors for a product domain.", + "operationId": "provider_setup_catalog", + "parameters": [ + { + "name": "team_id", "in": "path", "required": true, "schema": { @@ -30154,8 +30120,17 @@ } }, { - "name": "principal_id", + "name": "domain", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30164,20 +30139,23 @@ ], "responses": { "200": { - "description": "" + "description": "Provider setup catalog", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListProviderSetupCatalogResponse" + } + } + } } } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/provider-skills": { + "/api/v1/team/{team_id}/provider-setup/start": { "post": { - "tags": [ - "skills", - "v1" - ], - "summary": "Add provider skills to a registry", - "description": "Create or reuse selected proxied provider skills and add them to a skill registry.", - "operationId": "add-provider-skills-to-skill-registry", + "summary": "Start generic provider setup", + "description": "Starts a server-authored provider setup workflow and returns the next generic UI action.", + "operationId": "provider_setup_start", "parameters": [ { "name": "team_id", @@ -30188,8 +30166,9 @@ } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30200,7 +30179,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AddProviderSkillsToRegistryRequest" + "$ref": "#/components/schemas/StartProviderSetupBody" } } }, @@ -30208,31 +30187,11 @@ }, "responses": { "200": { - "description": "Updated skill registry", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillRegistry" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not found", + "description": "Provider setup response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ProviderSetupResponse" } } } @@ -30240,15 +30199,11 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/search": { + "/api/v1/team/{team_id}/provider-setup/{setup_id}/resume": { "post": { - "tags": [ - "skills", - "v1" - ], - "summary": "Search a skill registry", - "description": "Search titles, descriptions, and skill bodies within a registry and return progressive-discovery summaries.", - "operationId": "search-skill-registry", + "summary": "Resume generic provider setup", + "description": "Resumes a server-authored provider setup workflow after user input or a provider callback.", + "operationId": "provider_setup_resume", "parameters": [ { "name": "team_id", @@ -30259,8 +30214,17 @@ } }, { - "name": "id", + "name": "setup_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30271,7 +30235,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillDiscoverySearchRequest" + "$ref": "#/components/schemas/ResumeProviderSetupBody" } } }, @@ -30279,31 +30243,11 @@ }, "responses": { "200": { - "description": "Search results", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillDiscoverySearchResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not found", + "description": "Provider setup response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ProviderSetupResponse" } } } @@ -30311,27 +30255,20 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/skill-summary": { + "/api/v1/team/{team_id}/reverse-proxy/profile": { "get": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "List skill summaries", - "description": "List titles, descriptions, and versions for skills in a registry for progressive discovery.", - "operationId": "list-skill-registry-skill-summaries", + "summary": "List reverse proxy profiles", + "description": "Paginated list of reverse proxy profiles for the given team.", + "operationId": "reverse_proxy_list_profiles", "parameters": [ { "name": "team_id", "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30358,55 +30295,28 @@ } }, { - "name": "name_prefix", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "skill_registry_id", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] + "type": "string" } } ], "responses": { "200": { - "description": "Skill summaries", + "description": "Paginated reverse proxy profiles", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillSummaryPaginatedResponse" + "$ref": "#/components/schemas/ReverseProxyProfilePaginatedResponse" } } } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not found", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -30416,56 +30326,58 @@ } } } - } - }, - "/api/v1/team/{team_id}/skill-registry/{id}/skill/by-title/{title}": { - "get": { + }, + "post": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Read a skill from a registry by title", - "description": "Return the full skill body for one registry skill selected by exact title.", - "operationId": "get-skill-registry-skill-by-title", + "summary": "Create reverse proxy profile", + "description": "Create a reverse proxy profile binding a credential, base_url, and template.", + "operationId": "reverse_proxy_create_profile", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "title", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateReverseProxyProfileInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Skill", + "description": "Created reverse proxy profile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Skill" + "$ref": "#/components/schemas/ReverseProxyProfile" } } } }, - "401": { - "description": "Unauthorized", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -30474,8 +30386,8 @@ } } }, - "404": { - "description": "Not found", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -30487,35 +30399,38 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}": { "get": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Read a skill from a registry", - "description": "Return the full skill body only after a caller selects a specific registry skill.", - "operationId": "get-skill-registry-skill", + "summary": "Get reverse proxy profile", + "description": "Retrieve a reverse proxy profile by id.", + "operationId": "reverse_proxy_get_profile", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "profile_id", "in": "path", + "description": "Profile slug", "required": true, "schema": { "type": "string" } }, { - "name": "skill_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30524,17 +30439,17 @@ ], "responses": { "200": { - "description": "Skill", + "description": "The reverse proxy profile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Skill" + "$ref": "#/components/schemas/ReverseProxyProfile" } } } }, - "401": { - "description": "Unauthorized", + "404": { + "description": "Profile not found", "content": { "application/json": { "schema": { @@ -30542,9 +30457,50 @@ } } } + } + } + }, + "delete": { + "tags": [ + "reverse-proxy", + "v1" + ], + "summary": "Delete reverse proxy profile", + "description": "Delete a profile. Requires ownership-plane access.", + "operationId": "reverse_proxy_delete_profile", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "profile_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "" }, "404": { - "description": "Not found", + "description": "", "content": { "application/json": { "schema": { @@ -30554,56 +30510,67 @@ } } } - } - }, - "/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}/description": { - "get": { + }, + "patch": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Read a skill description from a registry", - "description": "Return only the title, description, and version for one registry skill.", - "operationId": "get-skill-registry-skill-description", + "summary": "Update reverse proxy profile", + "description": "Partial update of a reverse proxy profile. Only fields supplied as Some are written.", + "operationId": "reverse_proxy_update_profile", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "profile_id", "in": "path", + "description": "Profile slug", "required": true, "schema": { "type": "string" } }, { - "name": "skill_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateReverseProxyProfileInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Skill description", + "description": "Updated reverse proxy profile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillDescriptionResponse" + "$ref": "#/components/schemas/ReverseProxyProfile" } } } }, - "401": { - "description": "Unauthorized", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -30613,7 +30580,7 @@ } }, "404": { - "description": "Not found", + "description": "Profile not found", "content": { "application/json": { "schema": { @@ -30625,15 +30592,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/visibility": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership": { "post": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Set a skill-registry authorization mode", - "description": "Change one registry plane after ownership authorization.", - "operationId": "set_skill_registry_visibility", + "summary": "Set reverse proxy profile ownership", + "description": "Set one reverse proxy profile authorization plane.", + "operationId": "reverse_proxy_set_profile_ownership", "parameters": [ { "name": "team_id", @@ -30644,11 +30611,20 @@ } }, { - "name": "id", + "name": "profile_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -30676,15 +30652,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants": { "get": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "List skill-registry grants", - "description": "List grants for one registry authorization plane.", - "operationId": "list_skill_registry_visibility_grants", + "summary": "List reverse proxy ownership grants", + "description": "List grants. Requires ownership-plane access.", + "operationId": "reverse_proxy_list_profile_ownership_grants", "parameters": [ { "name": "team_id", @@ -30695,11 +30671,20 @@ } }, { - "name": "id", + "name": "profile_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -30721,12 +30706,12 @@ }, "post": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Add a skill-registry grant", - "description": "Idempotently add one registry-plane principal.", - "operationId": "add_skill_registry_visibility_grant", + "summary": "Add reverse proxy ownership grant", + "description": "Add a same-team user or group grant.", + "operationId": "reverse_proxy_add_profile_ownership_grant", "parameters": [ { "name": "team_id", @@ -30737,11 +30722,20 @@ } }, { - "name": "id", + "name": "profile_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -30769,15 +30763,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Remove a skill-registry grant", - "description": "Remove a registry grant while preserving a private owner.", - "operationId": "remove_skill_registry_visibility_grant", + "summary": "Remove reverse proxy ownership grant", + "description": "Remove a grant idempotently.", + "operationId": "reverse_proxy_remove_profile_ownership_grant", "parameters": [ { "name": "team_id", @@ -30788,11 +30782,11 @@ } }, { - "name": "id", + "name": "profile_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { @@ -30800,7 +30794,7 @@ "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/ResourcePrincipalType" } }, { @@ -30810,36 +30804,11 @@ "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "" - } - } - } - }, - "/api/v1/team/{team_id}/skill/{id}": { - "get": { - "tags": [ - "skills", - "v1" - ], - "summary": "Get a skill", - "description": "Fetch a skill by id.", - "operationId": "get-skill", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30848,45 +30817,20 @@ ], "responses": { "200": { - "description": "Skill", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Skill" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + "description": "" } } - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility": { + "post": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Delete a skill", - "description": "Delete a skill by id.", - "operationId": "delete-skill", + "summary": "Set reverse proxy profile visibility", + "description": "Set one reverse proxy profile authorization plane.", + "operationId": "reverse_proxy_set_profile_visibility", "parameters": [ { "name": "team_id", @@ -30897,60 +30841,17 @@ } }, { - "name": "id", + "name": "profile_id", "in": "path", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "Deleted" - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } }, - "404": { - "description": "Not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - } - }, - "patch": { - "tags": [ - "skills", - "v1" - ], - "summary": "Update a skill", - "description": "Apply a partial update to a skill.", - "operationId": "update-skill", - "parameters": [ { "name": "team_id", "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30961,7 +30862,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateSkillBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -30969,31 +30870,11 @@ }, "responses": { "200": { - "description": "Skill", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Skill" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not found", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -31001,15 +30882,15 @@ } } }, - "/api/v1/team/{team_id}/skill/{id}/ownership": { - "post": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants": { + "get": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Set a skill authorization mode", - "description": "Change one skill authorization plane after ownership authorization.", - "operationId": "set_skill_ownership_mode", + "summary": "List reverse proxy visibility grants", + "description": "List grants. Requires ownership-plane access.", + "operationId": "reverse_proxy_list_profile_visibility_grants", "parameters": [ { "name": "team_id", @@ -31020,63 +30901,21 @@ } }, { - "name": "id", + "name": "profile_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } + "type": "string" } }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/skill/{id}/ownership/grants": { - "get": { - "tags": [ - "skills", - "v1" - ], - "summary": "List skill grants", - "description": "List grants for one skill authorization plane.", - "operationId": "list_skill_ownership_grants", - "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } } ], "responses": { @@ -31097,12 +30936,12 @@ }, "post": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Add a skill grant", - "description": "Idempotently add a principal to one skill authorization plane.", - "operationId": "add_skill_ownership_grant", + "summary": "Add reverse proxy visibility grant", + "description": "Add a same-team user or group grant.", + "operationId": "reverse_proxy_add_profile_visibility_grant", "parameters": [ { "name": "team_id", @@ -31113,11 +30952,20 @@ } }, { - "name": "id", + "name": "profile_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], @@ -31145,15 +30993,15 @@ } } }, - "/api/v1/team/{team_id}/skill/{id}/ownership/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Remove a skill grant", - "description": "Idempotently remove a principal grant while preserving a private owner.", - "operationId": "remove_skill_ownership_grant", + "summary": "Remove reverse proxy visibility grant", + "description": "Remove a grant idempotently.", + "operationId": "reverse_proxy_remove_profile_visibility_grant", "parameters": [ { "name": "team_id", @@ -31164,11 +31012,11 @@ } }, { - "name": "id", + "name": "profile_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { @@ -31176,7 +31024,7 @@ "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/ResourcePrincipalType" } }, { @@ -31186,6 +31034,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -31195,27 +31052,29 @@ } } }, - "/api/v1/team/{team_id}/skill/{id}/package": { + "/api/v1/team/{team_id}/reverse-proxy/provider": { "get": { "tags": [ - "skills", + "reverse-proxy", "v1" ], - "summary": "Get a skill package manifest", - "description": "List all files and Git provenance for an imported managed skill package without downloading its assets.", - "operationId": "get-skill-package", + "summary": "List reverse proxy providers", + "description": "Providers registered with the reverse-proxy. Driven by the in-process `ReverseProxyProviderRegistry`; transport-only templates (no model catalogue).", + "operationId": "reverse_proxy_list_providers", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -31224,31 +31083,11 @@ ], "responses": { "200": { - "description": "Immutable skill package manifest", + "description": "Registered reverse proxy providers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillPackageManifest" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Package not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ListReverseProxyProvidersResponse" } } } @@ -31256,152 +31095,173 @@ } } }, - "/api/v1/team/{team_id}/skill/{id}/package/download": { - "post": { + "/api/v1/team/{team_id}/reverse-proxy/{profile_id}/{*rest}": { + "get": { "tags": [ - "skills", - "v1" + "reverse-proxy" ], - "summary": "Download a skill package file", - "description": "Create a short-lived R2 download URL for one file selected from an immutable skill package manifest.", - "operationId": "download-skill-package-file", + "summary": "Proxy GET through profile", + "description": "Forward a GET to the profile's upstream with materialized credential headers.", + "operationId": "reverse_proxy_proxy_get", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "profile_id", "in": "path", + "description": "Profile slug", "required": true, "schema": { "type": "string" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DownloadSkillPackageFileRequest" - } - } }, - "required": true - }, - "responses": { - "200": { - "description": "Short-lived package file download", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillPackageFileDownload" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "rest", + "in": "path", + "description": "Path tail forwarded to upstream", + "required": true, + "schema": { + "type": "string" } }, - "404": { - "description": "Package file not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } + ], + "responses": { + "200": { + "description": "Upstream response (streamed)" + } } - } - }, - "/api/v1/team/{team_id}/skill/{id}/visibility": { + }, "post": { "tags": [ - "skills", - "v1" + "reverse-proxy" ], - "summary": "Set a skill authorization mode", - "description": "Change one skill authorization plane after ownership authorization.", - "operationId": "set_skill_visibility", + "summary": "Proxy POST through profile", + "description": "Forward a POST to the profile's upstream with materialized credential headers.", + "operationId": "reverse_proxy_proxy_post", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "profile_id", "in": "path", + "description": "Profile slug", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } + }, + { + "name": "rest", + "in": "path", + "description": "Path tail forwarded to upstream", + "required": true, + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" - } - } - } + "description": "Upstream response (streamed)" } } } }, - "/api/v1/team/{team_id}/skill/{id}/visibility/grants": { + "/api/v1/team/{team_id}/signals/deliveries": { "get": { "tags": [ - "skills", + "signals", "v1" ], - "summary": "List skill grants", - "description": "List grants for one skill authorization plane.", - "operationId": "list_skill_visibility_grants", + "summary": "List signal deliveries", + "description": "List signal deliveries.", + "operationId": "signals-list-deliveries", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "instance_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "status", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -31411,24 +31271,23 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/SignalDeliveryPaginatedResponse" } } } } } - }, - "post": { + } + }, + "/api/v1/team/{team_id}/signals/deliveries/{delivery_id}": { + "get": { "tags": [ - "skills", + "signals", "v1" ], - "summary": "Add a skill grant", - "description": "Idempotently add a principal to one skill authorization plane.", - "operationId": "add_skill_visibility_grant", + "summary": "Get signal delivery", + "description": "Get signal delivery.", + "operationId": "signals-get-delivery", "parameters": [ { "name": "team_id", @@ -31439,31 +31298,30 @@ } }, { - "name": "id", + "name": "delivery_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/SignalDelivery" } } } @@ -31471,15 +31329,15 @@ } } }, - "/api/v1/team/{team_id}/skill/{id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/signals/deliveries/{delivery_id}/retry": { + "post": { "tags": [ - "skills", + "signals", "v1" ], - "summary": "Remove a skill grant", - "description": "Idempotently remove a principal grant while preserving a private owner.", - "operationId": "remove_skill_visibility_grant", + "summary": "Retry signal delivery", + "description": "Retry signal delivery.", + "operationId": "signals-retry-delivery", "parameters": [ { "name": "team_id", @@ -31490,7 +31348,7 @@ } }, { - "name": "id", + "name": "delivery_id", "in": "path", "required": true, "schema": { @@ -31498,16 +31356,9 @@ } }, { - "name": "principal_type", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "principal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -31516,19 +31367,27 @@ ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignalDelivery" + } + } + } } } } }, - "/api/v1/team/{team_id}/state/export": { + "/api/v1/team/{team_id}/signals/instances": { "get": { "tags": [ - "state", + "signals", "v1" ], - "summary": "Export team state", - "operationId": "state-export", + "summary": "List signal provider instances", + "description": "List configured signal provider instances.", + "operationId": "signals-list-provider-instances", "parameters": [ { "name": "team_id", @@ -31540,50 +31399,82 @@ } }, { - "name": "format", + "name": "page_size", "in": "query", "required": false, "schema": { - "$ref": "#/components/schemas/StateDocumentFormat" + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "status", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "provider_type", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "Exported team state" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SignalProviderInstancePaginatedResponse" } } } } } - } - }, - "/api/v1/team/{team_id}/state/import": { + }, "post": { "tags": [ - "state", + "signals", "v1" ], - "summary": "Start team state import", - "operationId": "state-import", + "summary": "Create signal provider instance", + "description": "Create a team-scoped signal provider instance.", + "operationId": "signals-create-provider-instance", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -31598,7 +31489,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportStateRequest" + "$ref": "#/components/schemas/CreateSignalProviderInstanceRequestInner" } } }, @@ -31610,7 +31501,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportStateResponse" + "$ref": "#/components/schemas/SignalProviderInstance" } } } @@ -31618,41 +31509,57 @@ } } }, - "/api/v1/team/{team_id}/state/import/{import_id}": { - "get": { + "/api/v1/team/{team_id}/signals/instances/{id}/ownership": { + "post": { "tags": [ - "state", + "signals", "v1" ], - "summary": "Get team state import summary", - "operationId": "state-get-import", + "operationId": "set-signal-provider-ownership", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "import_id", + "name": "id", "in": "path", - "description": "Import run ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportRunSummary" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -31660,50 +31567,30 @@ } } }, - "/api/v1/team/{team_id}/state/import/{import_id}/events": { - "get": { + "/api/v1/team/{team_id}/signals/instances/{id}/visibility": { + "post": { "tags": [ - "state", + "signals", "v1" ], - "summary": "Stream team state import events", - "operationId": "state-import-events", + "operationId": "set-signal-provider-visibility", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "import_id", + "name": "id", "in": "path", - "description": "Import run ID", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "SSE stream of import events" - } - } - } - }, - "/api/v1/team/{team_id}/state/plan": { - "post": { - "tags": [ - "state", - "v1" - ], - "summary": "Plan team state import", - "operationId": "state-plan", - "parameters": [ + }, { "name": "team_id", "in": "path", @@ -31718,7 +31605,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PlanStateRequest" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -31730,7 +31617,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StatePlan" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -31738,15 +31625,38 @@ } } }, - "/api/v1/team/{team_id}/state/schema": { + "/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants": { "get": { "tags": [ - "state", + "signals", "v1" ], - "summary": "Get team state JSON schema", - "operationId": "state-schema", + "operationId": "list-signal-provider-grants", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourceGrantPlane" + } + }, { "name": "team_id", "in": "path", @@ -31763,52 +31673,49 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StateSchema" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } - } - }, - "/api/v1/team/{team_id}/state/schema.json": { - "get": { + }, + "post": { "tags": [ - "state", + "signals", "v1" ], - "summary": "Get hosted team state JSON schema", - "operationId": "state-schema-json", + "operationId": "add-signal-provider-grant", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "Team state JSON schema" - } - } - } - }, - "/api/v1/team/{team_id}/state/source/resolve": { - "post": { - "tags": [ - "state", - "v1" - ], - "summary": "Resolve a deployable state source", - "description": "Fetches a public GitHub repository state document, validates its source coordinates, and returns the exact reviewed bytes plus a content digest.", - "operationId": "state-resolve-source", - "parameters": [ + }, { - "name": "team_id", + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourceGrantPlane" + } + }, + { + "name": "team_id", "in": "path", "description": "Team ID", "required": true, @@ -31821,7 +31728,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResolveStateSourceRequest" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -31829,52 +31736,66 @@ }, "responses": { "200": { - "description": "Resolved immutable state source", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResolveStateSourceResponse" - } - } - } - }, - "400": { - "description": "Invalid source", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Authentication required", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceGrant" } } } } - }, - "security": [ - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/state/validate": { - "post": { + "/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants/{principal_type}/{principal_id}": { + "delete": { "tags": [ - "state", + "signals", "v1" ], - "summary": "Validate team state", - "operationId": "state-validate", + "operationId": "remove-signal-provider-grant", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourceGrantPlane" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourcePrincipalType" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -31885,40 +31806,39 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateStateRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateStateResponse" - } - } - } + "description": "" } } } }, - "/api/v1/team/{team_id}/tilde-pay/onboarding": { - "post": { + "/api/v1/team/{team_id}/signals/instances/{instance_id}": { + "get": { "tags": [ - "tilde-pay", + "signals", "v1" ], - "summary": "Provision Tilde Pay", - "description": "Idempotently enroll billing, create a customer when details are supplied, create a wallet after KYC, configure the wallet MCP server and tools, and optionally configure browser tools when enabled.", - "operationId": "tilde-pay-provision", + "summary": "Get signal provider instance", + "description": "Get a configured signal provider instance.", + "operationId": "signals-get-provider-instance", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "instance_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -31929,40 +31849,44 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProvisionTildePayRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Fully reconciled Tilde Pay onboarding state", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProvisionTildePayResponse" + "$ref": "#/components/schemas/SignalProviderInstance" } } } } } - } - }, - "/api/v1/team/{team_id}/tilde-pay/payments/mpp": { - "post": { + }, + "delete": { "tags": [ - "tilde-pay", + "signals", "v1" ], - "summary": "Make MPP payment", - "description": "Make an MPP payment from a Tilde Pay wallet.", - "operationId": "tilde-pay-payment-mpp", + "summary": "Delete signal provider instance", + "description": "Delete a configured signal provider instance.", + "operationId": "signals-delete-provider-instance", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "instance_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -31973,40 +31897,44 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PayPaymentRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Tilde Pay payment response", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaymentResponse" + "$ref": "#/components/schemas/DeleteSignalResponse" } } } } } - } - }, - "/api/v1/team/{team_id}/tilde-pay/payments/x402": { - "post": { + }, + "patch": { "tags": [ - "tilde-pay", + "signals", "v1" ], - "summary": "Make x402 payment", - "description": "Make an x402 payment from a Tilde Pay wallet.", - "operationId": "tilde-pay-payment-x402", + "summary": "Update signal provider instance", + "description": "Update a configured signal provider instance.", + "operationId": "signals-update-provider-instance", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "instance_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -32021,7 +31949,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PayPaymentRequest" + "$ref": "#/components/schemas/UpdateSignalProviderInstanceRequestInner" } } }, @@ -32029,11 +31957,11 @@ }, "responses": { "200": { - "description": "Tilde Pay payment response", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaymentResponse" + "$ref": "#/components/schemas/SignalProviderInstance" } } } @@ -32041,48 +31969,32 @@ } } }, - "/api/v1/team/{team_id}/tilde-pay/wallet": { - "get": { + "/api/v1/team/{team_id}/signals/instances/{instance_id}/test": { + "post": { "tags": [ - "tilde-pay", + "signals", "v1" ], - "summary": "Get Tilde Pay wallet summary", - "description": "Return wallet, balances, fiat deposit information, and crypto deposit information for Tilde Pay.", - "operationId": "tilde-pay-wallet-summary", + "summary": "Trigger fake signal", + "description": "Trigger a fake signal for testing.", + "operationId": "signals-trigger-fake", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "Tilde Pay wallet summary", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PayWalletSummaryResponse" - } - } + }, + { + "name": "instance_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } - } - } - }, - "post": { - "tags": [ - "tilde-pay", - "v1" - ], - "summary": "Create Tilde Pay wallet", - "description": "Create a Tilde Pay wallet after KYC and return product-shaped wallet details.", - "operationId": "tilde-pay-wallet-create", - "parameters": [ + }, { "name": "team_id", "in": "path", @@ -32097,7 +32009,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreatePayWalletRequest" + "$ref": "#/components/schemas/TriggerFakeSignalRequest" } } }, @@ -32105,11 +32017,11 @@ }, "responses": { "200": { - "description": "Tilde Pay wallet summary", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PayWalletSummaryResponse" + "$ref": "#/components/schemas/IngestSignalResponse" } } } @@ -32117,16 +32029,44 @@ } } }, - "/api/v1/team/{team_id}/tilde-pay/wallet/wait-until-balance": { - "post": { + "/api/v1/team/{team_id}/signals/providers": { + "get": { "tags": [ - "tilde-pay", + "signals", "v1" ], - "summary": "Wait for Tilde Pay balance", - "description": "Poll wallet balances until the requested asset reaches the requested minimum.", - "operationId": "tilde-pay-wallet-wait-until-balance", + "summary": "List available signal providers", + "description": "List registered signal provider source types.", + "operationId": "signals-list-available-providers", "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, { "name": "team_id", "in": "path", @@ -32137,23 +32077,13 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WaitForPayBalanceRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Tilde Pay balance wait result", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WaitUntilBalanceResponse" + "$ref": "#/components/schemas/SignalProviderSourceSerializedPaginatedResponse" } } } @@ -32161,15 +32091,15 @@ } } }, - "/api/v1/team/{team_id}/trusted-runtime": { + "/api/v1/team/{team_id}/skill": { "get": { "tags": [ - "trusted-runtime", + "skills", "v1" ], - "summary": "List trusted runtimes", - "description": "List trusted runtimes in the current team.", - "operationId": "list-trusted-runtimes", + "summary": "List skills", + "description": "List skills in the current workspace.", + "operationId": "list-skills", "parameters": [ { "name": "team_id", @@ -32198,66 +32128,50 @@ "null" ] } - } - ], - "responses": { - "200": { - "description": "Trusted runtimes", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TrustedRuntimePaginatedResponse" - } - } + }, + { + "name": "name_prefix", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + { + "name": "skill_registry_id", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" } - } + ] } - } - } - }, - "post": { - "tags": [ - "trusted-runtime", - "v1" - ], - "summary": "Create a trusted runtime", - "description": "Register a trusted runtime public key for managed credential secret delivery.", - "operationId": "create-trusted-runtime", - "parameters": [ + }, { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTrustedRuntimeInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Created trusted runtime", + "description": "Skills", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TrustedRuntime" + "$ref": "#/components/schemas/SkillPaginatedResponse" } } } @@ -32273,17 +32187,15 @@ } } } - } - }, - "/api/v1/team/{team_id}/trusted-runtime/{id}": { - "get": { + }, + "post": { "tags": [ - "trusted-runtime", + "skills", "v1" ], - "summary": "Get a trusted runtime", - "description": "Fetch one trusted runtime by id.", - "operationId": "get-trusted-runtime", + "summary": "Create a skill", + "description": "Create a skill in the current workspace.", + "operationId": "create-skill", "parameters": [ { "name": "team_id", @@ -32294,21 +32206,32 @@ } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSkillInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Trusted runtime", + "description": "Created skill", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TrustedRuntime" + "$ref": "#/components/schemas/Skill" } } } @@ -32322,27 +32245,19 @@ } } } - }, - "404": { - "description": "Not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } } } - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/skill-providers": { + "get": { "tags": [ - "trusted-runtime", + "skills", "v1" ], - "summary": "Delete a trusted runtime", - "description": "Soft-revoke a trusted runtime.", - "operationId": "delete-trusted-runtime", + "summary": "List proxied skill providers", + "description": "List trusted Git-backed skill providers compiled into the Tilde backend.", + "operationId": "list-proxied-skill-providers", "parameters": [ { "name": "team_id", @@ -32353,38 +32268,38 @@ } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "Deleted trusted runtime" - }, - "401": { - "description": "Unauthorized", + "description": "Trusted proxied skill providers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ListProxiedSkillProvidersResponse" } } } } } - }, - "patch": { + } + }, + "/api/v1/team/{team_id}/skill-providers/trusted": { + "post": { "tags": [ - "trusted-runtime", + "skills", "v1" ], - "summary": "Update a trusted runtime", - "description": "Patch trusted runtime metadata or status.", - "operationId": "update-trusted-runtime", + "summary": "Create a trusted skill provider", + "description": "Create or update a trusted GitHub-backed skill provider row.", + "operationId": "create-trusted-skill-provider", "parameters": [ { "name": "team_id", @@ -32395,11 +32310,12 @@ } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -32407,7 +32323,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateTrustedRuntimeBody" + "$ref": "#/components/schemas/CreateTrustedSkillProviderRequest" } } }, @@ -32415,17 +32331,17 @@ }, "responses": { "200": { - "description": "Updated trusted runtime", + "description": "Created trusted skill provider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TrustedRuntime" + "$ref": "#/components/schemas/ProxiedSkillProvider" } } } }, - "401": { - "description": "Unauthorized", + "400": { + "description": "Invalid provider URL", "content": { "application/json": { "schema": { @@ -32434,8 +32350,8 @@ } } }, - "404": { - "description": "Not found", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -32447,131 +32363,55 @@ } } }, - "/api/v1/team/{team_id}/wallet": { + "/api/v1/team/{team_id}/skill-providers/{provider_id}": { "get": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "List wallets", - "description": "List wallets for the current org/team.", - "operationId": "wallet-list", + "summary": "Get a proxied skill provider", + "description": "Fetch one trusted proxied skill provider and its available skills.", + "operationId": "get-proxied-skill-provider", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", - "required": false, + "name": "provider_id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } }, { - "name": "owner_id", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "List wallets", + "description": "Trusted proxied skill provider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WalletPaginatedResponse" - } - } - } - } - } - }, - "post": { - "tags": [ - "wallet", - "v1" - ], - "summary": "Create wallet", - "description": "Create a Tilde wallet by provisioning a Privy EVM wallet, Compose virtual IBAN, and Compose crypto deposit wallet.", - "operationId": "wallet-create", - "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateWalletBody" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Created wallet", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Wallet" - } - } - } - }, - "400": { - "description": "Invalid request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Authentication failed", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ProxiedSkillProvider" } } } }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "502": { - "description": "Upstream provider error", + "404": { + "description": "Not found", "content": { "application/json": { "schema": { @@ -32583,20 +32423,19 @@ } } }, - "/api/v1/team/{team_id}/wallet/customer": { + "/api/v1/team/{team_id}/skill-registry": { "get": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "List wallet customers", - "description": "List wallet customers for the current org/team.", - "operationId": "wallet-customer-list", + "summary": "List skill registries", + "description": "List skill registries in the current workspace.", + "operationId": "list-skill-registries", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -32612,7 +32451,18 @@ } }, { - "name": "owner_id", + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "name_prefix", "in": "query", "required": false, "schema": { @@ -32621,15 +32471,34 @@ "null" ] } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "List wallet customers", + "description": "Skill registries", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SkillRegistryPaginatedResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WalletCustomerPaginatedResponse" + "$ref": "#/components/schemas/Error" } } } @@ -32638,13 +32507,21 @@ }, "post": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "Create wallet customer", - "description": "Create a Compose customer and return a KYC verification link for wallet onboarding.", - "operationId": "wallet-customer-create", + "summary": "Create a skill registry", + "description": "Create a named group of skills that can be attached to runtime agents.", + "operationId": "create-skill-registry", "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "team_id", "in": "path", @@ -32659,7 +32536,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateWalletCustomerBody" + "$ref": "#/components/schemas/CreateSkillRegistryBody" } } }, @@ -32667,11 +32544,21 @@ }, "responses": { "200": { - "description": "Created wallet customer", + "description": "Created skill registry", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SkillRegistry" + } + } + } + }, + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WalletCustomer" + "$ref": "#/components/schemas/Error" } } } @@ -32679,59 +32566,32 @@ } } }, - "/api/v1/team/{team_id}/wallet/customer/{customer_id}": { + "/api/v1/team/{team_id}/skill-registry/{id}": { "get": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "Get wallet customer", - "description": "Get a wallet customer by local id.", - "operationId": "wallet-customer-get", + "summary": "Get a skill registry", + "description": "Fetch a skill registry by id.", + "operationId": "get-skill-registry", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "customer_id", + "name": "id", "in": "path", - "description": "Wallet customer ID", "required": true, "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "Wallet customer", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WalletCustomer" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/wallet/customer/{customer_id}/kyc": { - "get": { - "tags": [ - "wallet", - "v1" - ], - "summary": "Get wallet customer KYC details", - "description": "Return the stored Compose KYC verification status and KYC flow URL for a wallet customer.", - "operationId": "wallet-customer-kyc-get", - "parameters": [ + }, { "name": "team_id", "in": "path", @@ -32740,54 +32600,70 @@ "schema": { "type": "string" } - }, - { - "name": "customer_id", - "in": "path", - "description": "Wallet customer ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { "200": { - "description": "Wallet customer KYC details", + "description": "Skill registry", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetWalletCustomerKycResponse" + "$ref": "#/components/schemas/SkillRegistry" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } } - } - }, - "/api/v1/team/{team_id}/wallet/{wallet_id}": { - "get": { + }, + "delete": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "Get wallet", - "description": "Get a wallet by id.", - "operationId": "wallet-get", + "summary": "Delete a skill registry", + "description": "Delete a skill registry by id.", + "operationId": "delete-skill-registry", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wallet_id", + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", - "description": "Wallet ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -32796,54 +32672,102 @@ ], "responses": { "200": { - "description": "Wallet", + "description": "Deleted" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Wallet" + "$ref": "#/components/schemas/Error" } } } } } - } - }, - "/api/v1/team/{team_id}/wallet/{wallet_id}/balances": { - "get": { + }, + "patch": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "Get wallet balances", - "description": "Refresh and return Compose balances for this wallet.", - "operationId": "wallet-get-balances", + "summary": "Update a skill registry", + "description": "Apply a partial update to a skill registry.", + "operationId": "update-skill-registry", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wallet_id", + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", - "description": "Wallet ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateSkillRegistryBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Wallet balances", + "description": "Skill registry", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SkillRegistry" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetBalancesResponse" + "$ref": "#/components/schemas/Error" } } } @@ -32851,42 +32775,59 @@ } } }, - "/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/crypto": { - "get": { + "/api/v1/team/{team_id}/skill-registry/{id}/ownership": { + "post": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "Get wallet crypto deposit information", - "description": "Return crypto deposit information for this wallet.", - "operationId": "wallet-get-crypto-deposit-information", + "summary": "Set a skill-registry authorization mode", + "description": "Change one registry plane after ownership authorization.", + "operationId": "set_skill_registry_ownership_mode", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wallet_id", + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", - "description": "Wallet ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Wallet crypto deposit information", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCryptoDepositInformationResponse" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -32894,123 +32835,83 @@ } } }, - "/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/fiat": { + "/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants": { "get": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "Get wallet fiat deposit information", - "description": "Refresh and return Compose fiat deposit information for this wallet.", - "operationId": "wallet-get-fiat-deposit-information", + "summary": "List skill-registry grants", + "description": "List grants for one registry authorization plane.", + "operationId": "list_skill_registry_ownership_grants", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wallet_id", + "name": "id", "in": "path", - "description": "Wallet ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "currency", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "Wallet fiat deposit information", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetFiatDepositInformationResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } - } - }, - "/api/v1/team/{team_id}/wallet/{wallet_id}/payments/mpp": { + }, "post": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "Make MPP payment", - "description": "Make an MPP payment from the wallet using the configured payment adapter.", - "operationId": "wallet-make-mpp-payment", + "summary": "Add a skill-registry grant", + "description": "Idempotently add one registry-plane principal.", + "operationId": "add_skill_registry_ownership_grant", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wallet_id", + "name": "id", "in": "path", - "description": "Wallet ID", "required": true, "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MakeMppPaymentRequest" - } + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "required": true - }, - "responses": { - "200": { - "description": "Payment response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaymentResponse" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/wallet/{wallet_id}/payments/x402": { - "post": { - "tags": [ - "wallet", - "v1" - ], - "summary": "Make x402 payment", - "description": "Make an x402 payment from the wallet using the configured payment adapter.", - "operationId": "wallet-make-x402-payment", - "parameters": [ { "name": "team_id", "in": "path", @@ -33019,22 +32920,13 @@ "schema": { "type": "string" } - }, - { - "name": "wallet_id", - "in": "path", - "description": "Wallet ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MakeX402PaymentRequest" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -33042,11 +32934,11 @@ }, "responses": { "200": { - "description": "Payment response", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PaymentResponse" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -33054,92 +32946,52 @@ } } }, - "/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history": { - "get": { + "/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants/{principal_type}/{principal_id}": { + "delete": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "List wallet transaction history", - "description": "Return cached transaction history for this wallet without scanning the chain.", - "operationId": "wallet-transaction-history-list", + "summary": "Remove a skill-registry grant", + "description": "Remove a registry grant while preserving a private owner.", + "operationId": "remove_skill_registry_ownership_grant", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wallet_id", + "name": "id", "in": "path", - "description": "Wallet ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "page_size", - "in": "query", - "required": false, + "name": "principal_type", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "string" } }, { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - } - ], - "responses": { - "200": { - "description": "Wallet transaction history", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WalletTransactionHistoryItemPaginatedResponse" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history/refresh": { - "post": { - "tags": [ - "wallet", - "v1" - ], - "summary": "Refresh wallet transaction history", - "description": "Scan configured chains for wallet-linked USDC transfers and upsert cached transaction history.", - "operationId": "wallet-transaction-history-refresh", - "parameters": [ - { - "name": "team_id", + "name": "principal_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wallet_id", + "name": "team_id", "in": "path", - "description": "Wallet ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -33148,41 +33000,41 @@ ], "responses": { "200": { - "description": "Wallet transaction history refresh result", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RefreshWalletTransactionHistoryResponse" - } - } - } + "description": "" } } } }, - "/api/v1/team/{team_id}/wallet/{wallet_id}/virtual-account": { + "/api/v1/team/{team_id}/skill-registry/{id}/provider-skills": { "post": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "Create wallet virtual account", - "description": "Create a currency-denominated Compose virtual account for an existing wallet.", - "operationId": "wallet-virtual-account-create", + "summary": "Add provider skills to a registry", + "description": "Create or reuse selected proxied provider skills and add them to a skill registry.", + "operationId": "add-provider-skills-to-skill-registry", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wallet_id", + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", - "description": "Wallet ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -33193,7 +33045,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateWalletVirtualAccountBody" + "$ref": "#/components/schemas/AddProviderSkillsToRegistryRequest" } } }, @@ -33201,37 +33053,17 @@ }, "responses": { "200": { - "description": "Created wallet virtual account", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WalletVirtualAccount" - } - } - } - }, - "400": { - "description": "Invalid request", + "description": "Updated skill registry", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/SkillRegistry" } } } }, "401": { - "description": "Authentication failed", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -33240,8 +33072,8 @@ } } }, - "502": { - "description": "Upstream provider error", + "404": { + "description": "Not found", "content": { "application/json": { "schema": { @@ -33253,29 +33085,36 @@ } } }, - "/api/v1/team/{team_id}/wallet/{wallet_id}/wait-until-balance": { + "/api/v1/team/{team_id}/skill-registry/{id}/search": { "post": { "tags": [ - "wallet", + "skills", "v1" ], - "summary": "Wait until wallet balance", - "description": "Poll the local wallet balance cache until an asset reaches the requested minimum.", - "operationId": "wallet-wait-until-balance", + "summary": "Search a skill registry", + "description": "Search titles, descriptions, and skill bodies within a registry and return progressive-discovery summaries.", + "operationId": "search-skill-registry", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wallet_id", + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", "in": "path", - "description": "Wallet ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -33286,7 +33125,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WaitUntilBalanceRequest" + "$ref": "#/components/schemas/SkillDiscoverySearchRequest" } } }, @@ -33294,47 +33133,31 @@ }, "responses": { "200": { - "description": "Wait result", + "description": "Search results", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WaitUntilBalanceResponse" + "$ref": "#/components/schemas/SkillDiscoverySearchResponse" } } } - } - } - } - }, - "/api/v1/team/{team_id}/wiki-ontology-templates": { - "get": { - "tags": [ - "wiki", - "v1" - ], - "summary": "List wiki ontology templates", - "description": "List reusable built-in groups of page schemas and semantic relationship definitions.", - "operationId": "list-wiki-ontology-templates", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "responses": { - "200": { - "description": "", + }, + "404": { + "description": "Not found", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WikiOntologyTemplate" - } + "$ref": "#/components/schemas/Error" } } } @@ -33342,15 +33165,15 @@ } } }, - "/api/v1/team/{team_id}/wikis": { + "/api/v1/team/{team_id}/skill-registry/{id}/skill-summary": { "get": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "List wikis", - "description": "List team wikis.", - "operationId": "list-wikis", + "summary": "List skill summaries", + "description": "List titles, descriptions, and versions for skills in a registry for progressive discovery.", + "operationId": "list-skill-registry-skill-summaries", "parameters": [ { "name": "team_id", @@ -33360,6 +33183,14 @@ "type": "string" } }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "page_size", "in": "query", @@ -33379,56 +33210,70 @@ "null" ] } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WikiPaginatedResponse" + }, + { + "name": "name_prefix", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "skill_registry_id", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" } - } + ] } - } - } - }, - "post": { - "tags": [ - "wiki", - "v1" - ], - "summary": "Create a wiki", - "description": "Create an empty team wiki and provision its private tool provider.", - "operationId": "create-wiki", - "parameters": [ + }, { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateWikiInner" + "responses": { + "200": { + "description": "Skill summaries", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SkillSummaryPaginatedResponse" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Wiki" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -33436,15 +33281,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}": { + "/api/v1/team/{team_id}/skill-registry/{id}/skill/by-title/{title}": { "get": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Get a wiki", - "description": "Get a team wiki.", - "operationId": "get-wiki", + "summary": "Read a skill from a registry by title", + "description": "Return the full skill body for one registry skill selected by exact title.", + "operationId": "get-skill-registry-skill-by-title", "parameters": [ { "name": "team_id", @@ -33455,35 +33300,74 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "title", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Skill", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Wiki" + "$ref": "#/components/schemas/Skill" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } } - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}": { + "get": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Delete a wiki", - "description": "Remove the wiki tool provider and soft-delete the wiki.", - "operationId": "delete-wiki", + "summary": "Read a skill from a registry", + "description": "Return the full skill body only after a caller selects a specific registry skill.", + "operationId": "get-skill-registry-skill", "parameters": [ { "name": "team_id", @@ -33494,31 +33378,15 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } - } - ], - "responses": { - "200": { - "description": "" - } - } - }, - "patch": { - "tags": [ - "wiki", - "v1" - ], - "summary": "Update a wiki", - "description": "Rename a wiki and its tool provider.", - "operationId": "update-wiki", - "parameters": [ + }, { - "name": "team_id", + "name": "skill_id", "in": "path", "required": true, "schema": { @@ -33526,31 +33394,42 @@ } }, { - "name": "wiki_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateWikiBody" + "responses": { + "200": { + "description": "Skill", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Skill" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Wiki" + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -33558,60 +33437,34 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/assets": { + "/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}/description": { "get": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "List wiki assets", - "description": "List media-library assets by folder.", - "operationId": "list-wiki-assets", + "summary": "Read a skill description from a registry", + "description": "Return only the title, description, and version for one registry skill.", + "operationId": "get-skill-registry-skill-description", "parameters": [ { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "folder_path", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { - "name": "query", - "in": "query", - "required": false, + "name": "id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { - "name": "team_id", + "name": "skill_id", "in": "path", "required": true, "schema": { @@ -33619,35 +33472,58 @@ } }, { - "name": "wiki_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Skill description", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiAssetPaginatedResponse" + "$ref": "#/components/schemas/SkillDescriptionResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } } - }, + } + }, + "/api/v1/team/{team_id}/skill-registry/{id}/visibility": { "post": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Create an asset upload", - "description": "Create asset metadata and a direct S3/R2 upload URL.", - "operationId": "create-wiki-asset-upload", + "summary": "Set a skill-registry authorization mode", + "description": "Change one registry plane after ownership authorization.", + "operationId": "set_skill_registry_visibility", "parameters": [ { "name": "team_id", @@ -33658,19 +33534,28 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateWikiAssetBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -33682,7 +33567,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiAssetUploadResponse" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -33690,15 +33575,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/assets/{asset_id}": { - "delete": { + "/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants": { + "get": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Delete a wiki asset", - "description": "Delete an unreferenced media-library asset.", - "operationId": "delete-wiki-asset", + "summary": "List skill-registry grants", + "description": "List grants for one registry authorization plane.", + "operationId": "list_skill_registry_visibility_grants", "parameters": [ { "name": "team_id", @@ -33709,7 +33594,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -33717,31 +33602,39 @@ } }, { - "name": "asset_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "" - }, - "409": { - "description": "Asset is still referenced" + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } } } }, - "patch": { + "post": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Update asset metadata", - "description": "Update media-library metadata.", - "operationId": "update-wiki-asset", + "summary": "Add a skill-registry grant", + "description": "Idempotently add one registry-plane principal.", + "operationId": "add_skill_registry_visibility_grant", "parameters": [ { "name": "team_id", @@ -33752,7 +33645,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -33760,11 +33653,12 @@ } }, { - "name": "asset_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -33772,7 +33666,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateWikiAssetBody" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -33784,7 +33678,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiAsset" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -33792,15 +33686,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/assets/{asset_id}/complete": { - "post": { + "/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants/{principal_type}/{principal_id}": { + "delete": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Complete an asset upload", - "description": "Mark a direct upload ready for use.", - "operationId": "complete-wiki-asset-upload", + "summary": "Remove a skill-registry grant", + "description": "Remove a registry grant while preserving a private owner.", + "operationId": "remove_skill_registry_visibility_grant", "parameters": [ { "name": "team_id", @@ -33811,7 +33705,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -33819,37 +33713,47 @@ } }, { - "name": "asset_id", + "name": "principal_type", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WikiAsset" - } - } - } + "description": "" } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/assets/{asset_id}/content": { + "/api/v1/team/{team_id}/skill/{id}": { "get": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Download wiki asset content through the debug API", - "description": "Debug-only same-origin proxy for wiki asset downloads when the browser cannot reach private object storage.", - "operationId": "download-wiki-asset-content", + "summary": "Get a skill", + "description": "Fetch a skill by id.", + "operationId": "get-skill", "parameters": [ { "name": "team_id", @@ -33860,42 +33764,64 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "asset_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Skill", "content": { - "application/octet-stream": {} + "application/json": { + "schema": { + "$ref": "#/components/schemas/Skill" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, "404": { - "description": "Asset not found" + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } } }, - "put": { + "delete": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Upload wiki asset content through the debug API", - "description": "Debug-only same-origin proxy for wiki asset upload when the browser cannot reach private object storage.", - "operationId": "upload-wiki-asset-content", + "summary": "Delete a skill", + "description": "Delete a skill by id.", + "operationId": "delete-skill", "parameters": [ { "name": "team_id", @@ -33906,32 +33832,89 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "asset_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Deleted" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "tags": [ + "skills", + "v1" + ], + "summary": "Update a skill", + "description": "Apply a partial update to a skill.", + "operationId": "update-skill", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "requestBody": { "content": { - "application/octet-stream": { + "application/json": { "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32", - "minimum": 0 - } + "$ref": "#/components/schemas/UpdateSkillBody" } } }, @@ -33939,26 +33922,47 @@ }, "responses": { "200": { - "description": "" + "description": "Skill", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Skill" + } + } + } }, - "400": { - "description": "Invalid upload" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, "404": { - "description": "Asset not found" + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/assets/{asset_id}/download": { - "get": { + "/api/v1/team/{team_id}/skill/{id}/ownership": { + "post": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Get an asset download", - "description": "Return a short-lived signed download URL.", - "operationId": "download-wiki-asset", + "summary": "Set a skill authorization mode", + "description": "Change one skill authorization plane after ownership authorization.", + "operationId": "set_skill_ownership_mode", "parameters": [ { "name": "team_id", @@ -33969,7 +33973,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -33977,21 +33981,32 @@ } }, { - "name": "asset_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiAssetDownloadResponse" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -33999,15 +34014,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/assets/{asset_id}/references": { + "/api/v1/team/{team_id}/skill/{id}/ownership/grants": { "get": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Inspect asset references", - "description": "List pages that currently reference this stable asset URI.", - "operationId": "inspect-wiki-asset-references", + "summary": "List skill grants", + "description": "List grants for one skill authorization plane.", + "operationId": "list_skill_ownership_grants", "parameters": [ { "name": "team_id", @@ -34018,7 +34033,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -34026,11 +34041,12 @@ } }, { - "name": "asset_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -34040,87 +34056,111 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiAssetReferences" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } - } - }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/graph": { - "get": { + }, + "post": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Traverse the wiki graph", - "description": "Traverse the relationship graph with bounded depth and cycle protection.", - "operationId": "traverse-wiki-graph", + "summary": "Add a skill grant", + "description": "Idempotently add a principal to one skill authorization plane.", + "operationId": "add_skill_ownership_grant", "parameters": [ { - "name": "start_page_id", - "in": "query", + "name": "team_id", + "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "depth", - "in": "query", - "required": false, + "name": "id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int32", - "minimum": 0 + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "relationship_type_id", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + } } }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/skill/{id}/ownership/grants/{principal_type}/{principal_id}": { + "delete": { + "tags": [ + "skills", + "v1" + ], + "summary": "Remove a skill grant", + "description": "Idempotently remove a principal grant while preserving a private owner.", + "operationId": "remove_skill_ownership_grant", + "parameters": [ { - "name": "direction", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "required": true, "schema": { "type": "string" } }, { - "name": "max_nodes", - "in": "query", - "required": false, + "name": "id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int32", - "minimum": 0 + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "max_edges", - "in": "query", - "required": false, + "name": "principal_type", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int32", - "minimum": 0 + "type": "string" } }, { - "name": "team_id", + "name": "principal_id", "in": "path", "required": true, "schema": { @@ -34128,37 +34168,31 @@ } }, { - "name": "wiki_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WikiGraph" - } - } - } + "description": "" } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/ontology-installations": { + "/api/v1/team/{team_id}/skill/{id}/package": { "get": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "List installed wiki ontologies", - "description": "List ontology template provenance for a wiki.", - "operationId": "list-wiki-ontology-installations", + "summary": "Get a skill package manifest", + "description": "List all files and Git provenance for an imported managed skill package without downloading its assets.", + "operationId": "get-skill-package", "parameters": [ { "name": "team_id", @@ -34169,24 +34203,50 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Immutable skill package manifest", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WikiOntologyInstallation" - } + "$ref": "#/components/schemas/SkillPackageManifest" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Package not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -34194,15 +34254,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/ontology-templates/{template_key}": { + "/api/v1/team/{team_id}/skill/{id}/package/download": { "post": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Apply a wiki ontology template", - "description": "Idempotently install a built-in group of page schemas and relationship definitions into a wiki.", - "operationId": "apply-wiki-ontology-template", + "summary": "Download a skill package file", + "description": "Create a short-lived R2 download URL for one file selected from an immutable skill package manifest.", + "operationId": "download-skill-package-file", "parameters": [ { "name": "team_id", @@ -34213,29 +34273,60 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "template_key", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DownloadSkillPackageFileRequest" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "", + "description": "Short-lived package file download", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ApplyOntologyTemplateResult" + "$ref": "#/components/schemas/SkillPackageFileDownload" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Package file not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -34243,15 +34334,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/ownership": { + "/api/v1/team/{team_id}/skill/{id}/visibility": { "post": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Set wiki ownership", - "description": "Set administration to team or private. Requires ownership-plane authority.", - "operationId": "set-wiki-ownership-mode", + "summary": "Set a skill authorization mode", + "description": "Change one skill authorization plane after ownership authorization.", + "operationId": "set_skill_visibility", "parameters": [ { "name": "team_id", @@ -34262,12 +34353,21 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -34294,15 +34394,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/ownership/grants": { + "/api/v1/team/{team_id}/skill/{id}/visibility/grants": { "get": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "List wiki ownership grants", - "description": "List private administrators. Requires ownership-plane authority.", - "operationId": "list-wiki-ownership-grants", + "summary": "List skill grants", + "description": "List grants for one skill authorization plane.", + "operationId": "list_skill_visibility_grants", "parameters": [ { "name": "team_id", @@ -34313,12 +34413,21 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -34339,12 +34448,12 @@ }, "post": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Add wiki ownership grant", - "description": "Idempotently add a same-tenant private administrator.", - "operationId": "add-wiki-ownership-grant", + "summary": "Add a skill grant", + "description": "Idempotently add a principal to one skill authorization plane.", + "operationId": "add_skill_visibility_grant", "parameters": [ { "name": "team_id", @@ -34355,12 +34464,21 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -34387,15 +34505,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/ownership/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/skill/{id}/visibility/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Remove wiki ownership grant", - "description": "Idempotently remove a private administrator while retaining at least one owner.", - "operationId": "remove-wiki-ownership-grant", + "summary": "Remove a skill grant", + "description": "Idempotently remove a principal grant while preserving a private owner.", + "operationId": "remove_skill_visibility_grant", "parameters": [ { "name": "team_id", @@ -34406,7 +34524,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -34418,7 +34536,7 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "type": "string" } }, { @@ -34428,6 +34546,15 @@ "schema": { "type": "string" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -34437,80 +34564,94 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types": { + "/api/v1/team/{team_id}/state/export": { "get": { "tags": [ - "wiki", + "state", "v1" ], - "summary": "List page types", - "description": "List active or archived page type definitions.", - "operationId": "list-wiki-page-types", + "summary": "Export team state", + "operationId": "state-export", "parameters": [ - { - "name": "include_archived", - "in": "query", - "required": false, - "schema": { - "type": "boolean" - } - }, { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wiki_id", + "name": "format", + "in": "query", + "required": false, + "schema": { + "$ref": "#/components/schemas/StateDocumentFormat" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Exported team state" + }, + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WikiPageType" - } + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } } - }, + } + }, + "/api/v1/team/{team_id}/state/import": { "post": { "tags": [ - "wiki", + "state", "v1" ], - "summary": "Create a page type", - "description": "Define a wiki-scoped typed page schema.", - "operationId": "create-wiki-page-type", + "summary": "Start team state import", + "operationId": "state-import", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wiki_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -34518,7 +34659,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreatePageTypeBody" + "$ref": "#/components/schemas/ImportStateRequest" } } }, @@ -34530,7 +34671,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPageType" + "$ref": "#/components/schemas/ImportStateResponse" } } } @@ -34538,38 +34679,40 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types/{page_type_id}": { + "/api/v1/team/{team_id}/state/import/{import_id}": { "get": { "tags": [ - "wiki", + "state", "v1" ], - "summary": "Get a page type", - "description": "Read a page type definition.", - "operationId": "get-wiki-page-type", + "summary": "Get team state import summary", + "operationId": "state-get-import", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wiki_id", + "name": "import_id", "in": "path", + "description": "Import run ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "page_type_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -34579,87 +34722,83 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPageType" + "$ref": "#/components/schemas/ImportRunSummary" } } } } } - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/state/import/{import_id}/events": { + "get": { "tags": [ - "wiki", + "state", "v1" ], - "summary": "Delete an unused page type", - "description": "Delete a non-default page type only when no page or historical revision references it.", - "operationId": "delete-wiki-page-type", + "summary": "Stream team state import events", + "operationId": "state-import-events", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wiki_id", + "name": "import_id", "in": "path", + "description": "Import run ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } }, { - "name": "page_type_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { - "204": { - "description": "" - }, - "409": { - "description": "Page type is in use or ontology-managed" + "200": { + "description": "SSE stream of import events" } } - }, - "patch": { + } + }, + "/api/v1/team/{team_id}/state/plan": { + "post": { "tags": [ - "wiki", + "state", "v1" ], - "summary": "Update a page type", - "description": "Update page type metadata or archive state without changing its stable key.", - "operationId": "update-wiki-page-type", + "summary": "Plan team state import", + "operationId": "state-plan", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_type_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -34667,7 +34806,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdatePageTypeBody" + "$ref": "#/components/schemas/PlanStateRequest" } } }, @@ -34679,69 +34818,49 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPageType" + "$ref": "#/components/schemas/StatePlan" } } } - }, - "409": { - "description": "Ontology template page types are immutable" } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types/{page_type_id}/validate": { - "post": { + "/api/v1/team/{team_id}/state/schema": { + "get": { "tags": [ - "wiki", + "state", "v1" ], - "summary": "Validate typed page data", - "description": "Validate JSON data without changing a page.", - "operationId": "validate-wiki-page-type-data", + "summary": "Get team state JSON schema", + "operationId": "state-schema", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_type_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidatePageTypeDataBody" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageTypeValidationResult" + "$ref": "#/components/schemas/StateSchema" } } } @@ -34749,88 +34868,144 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types/{page_type_id}/versions": { + "/api/v1/team/{team_id}/state/schema.json": { "get": { "tags": [ - "wiki", + "state", "v1" ], - "summary": "List page type versions", - "description": "List immutable JSON Schema versions.", - "operationId": "list-wiki-page-type-versions", + "summary": "Get hosted team state JSON schema", + "operationId": "state-schema-json", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wiki_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Team state JSON schema" + } + } + } + }, + "/api/v1/team/{team_id}/state/source/resolve": { + "post": { + "tags": [ + "state", + "v1" + ], + "summary": "Resolve a deployable state source", + "description": "Fetches a public GitHub repository state document, validates its source coordinates, and returns the exact reviewed bytes plus a content digest.", + "operationId": "state-resolve-source", + "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } }, { - "name": "page_type_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResolveStateSourceRequest" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "", + "description": "Resolved immutable state source", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WikiPageTypeVersion" - } + "$ref": "#/components/schemas/ResolveStateSourceResponse" + } + } + } + }, + "400": { + "description": "Invalid source", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Authentication required", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } - }, + }, + "security": [ + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/state/validate": { "post": { "tags": [ - "wiki", + "state", "v1" ], - "summary": "Version a page type", - "description": "Create an immutable JSON Schema version and make it current.", - "operationId": "create-wiki-page-type-version", + "summary": "Validate team state", + "operationId": "state-validate", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_type_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -34838,7 +35013,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreatePageTypeVersionBody" + "$ref": "#/components/schemas/ValidateStateRequest" } } }, @@ -34850,26 +35025,23 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPageTypeVersion" + "$ref": "#/components/schemas/ValidateStateResponse" } } } - }, - "409": { - "description": "Ontology template page types are immutable" } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types/{page_type_id}/versions/{version_id}": { + "/api/v1/team/{team_id}/trusted-runtime": { "get": { "tags": [ - "wiki", + "trusted-runtime", "v1" ], - "summary": "Get a page type version", - "description": "Read one immutable page type schema version.", - "operationId": "get-wiki-page-type-version", + "summary": "List trusted runtimes", + "description": "List trusted runtimes in the current team.", + "operationId": "list-trusted-runtimes", "parameters": [ { "name": "team_id", @@ -34880,51 +35052,66 @@ } }, { - "name": "wiki_id", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "integer", + "format": "int64" } }, { - "name": "page_type_id", - "in": "path", - "required": true, + "name": "next_page_token", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": [ + "string", + "null" + ] } }, { - "name": "version_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Trusted runtimes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPageTypeVersion" + "$ref": "#/components/schemas/TrustedRuntimePaginatedResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } } }, - "delete": { + "post": { "tags": [ - "wiki", + "trusted-runtime", "v1" ], - "summary": "Delete an unused page type version", - "description": "Delete a non-current immutable schema version only when no page or historical revision references it.", - "operationId": "delete-wiki-page-type-version", + "summary": "Create a trusted runtime", + "description": "Register a trusted runtime public key for managed credential secret delivery.", + "operationId": "create-trusted-runtime", "parameters": [ { "name": "team_id", @@ -34935,49 +35122,58 @@ } }, { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_type_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "version_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateTrustedRuntimeInner" + } + } + }, + "required": true + }, "responses": { - "204": { - "description": "" + "200": { + "description": "Created trusted runtime", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TrustedRuntime" + } + } + } }, - "409": { - "description": "Version is current, in use, or ontology-managed" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types/{page_type_id}/versions/{version_id}/migration-preview": { + "/api/v1/team/{team_id}/trusted-runtime/{id}": { "get": { "tags": [ - "wiki", + "trusted-runtime", "v1" ], - "summary": "Preview a page type migration", - "description": "Report live pages of this type whose data is incompatible with the selected immutable schema version without modifying them.", - "operationId": "preview-wiki-page-type-migration", + "summary": "Get a trusted runtime", + "description": "Fetch one trusted runtime by id.", + "operationId": "get-trusted-runtime", "parameters": [ { "name": "team_id", @@ -34988,15 +35184,7 @@ } }, { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_type_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -35004,40 +35192,56 @@ } }, { - "name": "version_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Trusted runtime", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageTypeMigrationPreview" + "$ref": "#/components/schemas/TrustedRuntime" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } }, "404": { - "description": "Page type version not found" + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } } - } - }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/pages": { - "get": { + }, + "delete": { "tags": [ - "wiki", + "trusted-runtime", "v1" ], - "summary": "List or search wiki pages", - "description": "List pages or use Postgres full-text search.", - "operationId": "list-wiki-pages", + "summary": "Delete a trusted runtime", + "description": "Soft-revoke a trusted runtime.", + "operationId": "delete-trusted-runtime", "parameters": [ { "name": "team_id", @@ -35048,7 +35252,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -35056,58 +35260,39 @@ } }, { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "query", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], "responses": { "200": { - "description": "", + "description": "Deleted trusted runtime" + }, + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPagePaginatedResponse" + "$ref": "#/components/schemas/Error" } } } } } }, - "post": { + "patch": { "tags": [ - "wiki", + "trusted-runtime", "v1" ], - "summary": "Create a wiki page", - "description": "Create a Markdown page.", - "operationId": "create-wiki-page", + "summary": "Update a trusted runtime", + "description": "Patch trusted runtime metadata or status.", + "operationId": "update-trusted-runtime", "parameters": [ { "name": "team_id", @@ -35118,70 +35303,28 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpsertWikiPageBody" - } - } }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WikiPage" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/grep": { - "post": { - "tags": [ - "wiki", - "v1" - ], - "summary": "Grep Wiki pages", - "description": "Run bounded literal or regular-expression line search across Wiki Markdown.", - "operationId": "grep-wiki-pages", - "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GrepWikiPagesBody" + "$ref": "#/components/schemas/UpdateTrustedRuntimeBody" } } }, @@ -35189,11 +35332,31 @@ }, "responses": { "200": { - "description": "", + "description": "Updated trusted runtime", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GrepWikiPagesResponse" + "$ref": "#/components/schemas/TrustedRuntime" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -35201,15 +35364,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}": { + "/api/v1/team/{team_id}/wiki-ontology-templates": { "get": { "tags": [ "wiki", "v1" ], - "summary": "Get a wiki page", - "description": "Read a page by stable id.", - "operationId": "get-wiki-page", + "summary": "List wiki ontology templates", + "description": "List reusable built-in groups of page schemas and semantic relationship definitions.", + "operationId": "list-wiki-ontology-templates", "parameters": [ { "name": "team_id", @@ -35220,19 +35383,12 @@ } }, { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -35242,21 +35398,26 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPage" + "type": "array", + "items": { + "$ref": "#/components/schemas/WikiOntologyTemplate" + } } } } } } - }, - "put": { + } + }, + "/api/v1/team/{team_id}/wikis": { + "get": { "tags": [ "wiki", "v1" ], - "summary": "Update a wiki page", - "description": "Update a page with optimistic concurrency.", - "operationId": "update-wiki-page", + "summary": "List wikis", + "description": "List team wikis.", + "operationId": "list-wikis", "parameters": [ { "name": "team_id", @@ -35267,56 +35428,56 @@ } }, { - "name": "wiki_id", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "integer", + "format": "int64" } }, { - "name": "page_id", + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpsertWikiPageBody" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPage" + "$ref": "#/components/schemas/WikiPaginatedResponse" } } } - }, - "409": { - "description": "Revision conflict" } } }, - "delete": { + "post": { "tags": [ "wiki", "v1" ], - "summary": "Delete a wiki page", - "description": "Soft-delete a page at the expected revision.", - "operationId": "delete-wiki-page", + "summary": "Create a wiki", + "description": "Create an empty team wiki and provision its private tool provider.", + "operationId": "create-wiki", "parameters": [ { "name": "team_id", @@ -35327,19 +35488,12 @@ } }, { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -35347,67 +35501,19 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ExpectedRevisionBody" + "$ref": "#/components/schemas/CreateWikiInner" } } }, "required": true }, - "responses": { - "200": { - "description": "" - }, - "409": { - "description": "Revision conflict" - } - } - } - }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/assets": { - "get": { - "tags": [ - "wiki", - "v1" - ], - "summary": "List page media", - "description": "List media explicitly attached to a wiki page.", - "operationId": "list-wiki-page-assets", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - } - ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WikiAsset" - } + "$ref": "#/components/schemas/Wiki" } } } @@ -35415,31 +35521,16 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/backlinks": { + "/api/v1/team/{team_id}/wikis/{wiki_id}": { "get": { "tags": [ "wiki", "v1" ], - "summary": "Get page backlinks", - "description": "List incoming directed and symmetric relationships with effective inverse labels.", - "operationId": "get-wiki-page-backlinks", + "summary": "Get a wiki", + "description": "Get a team wiki.", + "operationId": "get-wiki", "parameters": [ - { - "name": "relationship_type_id", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] - } - }, { "name": "team_id", "in": "path", @@ -35457,11 +35548,12 @@ } }, { - "name": "page_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -35471,26 +35563,21 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PageRelationshipView" - } + "$ref": "#/components/schemas/Wiki" } } } } } - } - }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/migrate": { - "post": { + }, + "delete": { "tags": [ "wiki", "v1" ], - "summary": "Migrate a typed page", - "description": "Move a page to an explicitly selected page type schema version.", - "operationId": "migrate-wiki-page-type", + "summary": "Delete a wiki", + "description": "Remove the wiki tool provider and soft-delete the wiki.", + "operationId": "delete-wiki", "parameters": [ { "name": "team_id", @@ -35509,50 +35596,29 @@ } }, { - "name": "page_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MigrateWikiPageBody" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WikiPage" - } - } - } - }, - "409": { - "description": "Revision conflict" + "description": "" } } - } - }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/move": { - "post": { + }, + "patch": { "tags": [ "wiki", "v1" ], - "summary": "Move a wiki page", - "description": "Change a page path while retaining its stable id.", - "operationId": "move-wiki-page", + "summary": "Update a wiki", + "description": "Rename a wiki and its tool provider.", + "operationId": "update-wiki", "parameters": [ { "name": "team_id", @@ -35571,11 +35637,12 @@ } }, { - "name": "page_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -35583,7 +35650,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MoveWikiPageBody" + "$ref": "#/components/schemas/UpdateWikiBody" } } }, @@ -35595,78 +35662,64 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPage" + "$ref": "#/components/schemas/Wiki" } } } - }, - "409": { - "description": "Revision conflict" } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/neighborhood": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/assets": { "get": { "tags": [ "wiki", "v1" ], - "summary": "Get page neighborhood", - "description": "Expand a bounded directional neighborhood around a page.", - "operationId": "get-wiki-page-neighborhood", + "summary": "List wiki assets", + "description": "List media-library assets by folder.", + "operationId": "list-wiki-assets", "parameters": [ { - "name": "depth", + "name": "page_size", "in": "query", "required": false, "schema": { "type": "integer", - "format": "int32", - "minimum": 0 + "format": "int64" } }, { - "name": "relationship_type_id", + "name": "next_page_token", "in": "query", "required": false, "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } + "type": [ + "string", + "null" ] } }, { - "name": "direction", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "max_nodes", + "name": "folder_path", "in": "query", "required": false, "schema": { - "type": "integer", - "format": "int32", - "minimum": 0 + "type": [ + "string", + "null" + ] } }, { - "name": "max_edges", + "name": "query", "in": "query", "required": false, "schema": { - "type": "integer", - "format": "int32", - "minimum": 0 + "type": [ + "string", + "null" + ] } }, { @@ -35686,11 +35739,12 @@ } }, { - "name": "page_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -35700,23 +35754,21 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiGraph" + "$ref": "#/components/schemas/WikiAssetPaginatedResponse" } } } } } - } - }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/revisions": { - "get": { + }, + "post": { "tags": [ "wiki", "v1" ], - "summary": "List page revisions", - "description": "List immutable page revisions.", - "operationId": "list-wiki-page-revisions", + "summary": "Create an asset upload", + "description": "Create asset metadata and a direct S3/R2 upload URL.", + "operationId": "create-wiki-asset-upload", "parameters": [ { "name": "team_id", @@ -35735,41 +35787,32 @@ } }, { - "name": "page_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateWikiAssetBody" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPageRevisionPaginatedResponse" + "$ref": "#/components/schemas/WikiAssetUploadResponse" } } } @@ -35777,15 +35820,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/relationship-types": { - "get": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/assets/{asset_id}": { + "delete": { "tags": [ "wiki", "v1" ], - "summary": "List relationship types", - "description": "List the wiki relationship vocabulary.", - "operationId": "list-wiki-relationship-types", + "summary": "Delete a wiki asset", + "description": "Delete an unreferenced media-library asset.", + "operationId": "delete-wiki-asset", "parameters": [ { "name": "team_id", @@ -35802,32 +35845,42 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "asset_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WikiRelationshipType" - } - } - } - } + "description": "" + }, + "409": { + "description": "Asset is still referenced" } } }, - "post": { + "patch": { "tags": [ "wiki", "v1" ], - "summary": "Create a relationship type", - "description": "Define reusable semantic meaning for page edges.", - "operationId": "create-wiki-relationship-type", + "summary": "Update asset metadata", + "description": "Update media-library metadata.", + "operationId": "update-wiki-asset", "parameters": [ { "name": "team_id", @@ -35844,13 +35897,30 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "asset_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateRelationshipTypeBody" + "$ref": "#/components/schemas/UpdateWikiAssetBody" } } }, @@ -35862,7 +35932,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiRelationshipType" + "$ref": "#/components/schemas/WikiAsset" } } } @@ -35870,15 +35940,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/relationship-types/{type_id}": { - "get": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/assets/{asset_id}/complete": { + "post": { "tags": [ "wiki", "v1" ], - "summary": "Get a relationship type", - "description": "Read one relationship vocabulary definition.", - "operationId": "get-wiki-relationship-type", + "summary": "Complete an asset upload", + "description": "Mark a direct upload ready for use.", + "operationId": "complete-wiki-asset-upload", "parameters": [ { "name": "team_id", @@ -35897,35 +35967,46 @@ } }, { - "name": "type_id", + "name": "asset_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WikiRelationshipType" + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WikiAsset" } } } } } - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/wikis/{wiki_id}/assets/{asset_id}/content": { + "get": { "tags": [ "wiki", "v1" ], - "summary": "Delete a relationship type", - "description": "Delete an unused relationship type.", - "operationId": "delete-wiki-relationship-type", + "summary": "Download wiki asset content through the debug API", + "description": "Debug-only same-origin proxy for wiki asset downloads when the browser cannot reach private object storage.", + "operationId": "download-wiki-asset-content", "parameters": [ { "name": "team_id", @@ -35944,31 +36025,43 @@ } }, { - "name": "type_id", + "name": "asset_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/octet-stream": {} + } }, - "409": { - "description": "Relationship type is in use or ontology-managed" + "404": { + "description": "Asset not found" } } }, - "patch": { + "put": { "tags": [ "wiki", "v1" ], - "summary": "Update a relationship type", - "description": "Update labels while retaining the stable relationship key.", - "operationId": "update-wiki-relationship-type", + "summary": "Upload wiki asset content through the debug API", + "description": "Debug-only same-origin proxy for wiki asset upload when the browser cannot reach private object storage.", + "operationId": "upload-wiki-asset-content", "parameters": [ { "name": "team_id", @@ -35987,19 +36080,33 @@ } }, { - "name": "type_id", + "name": "asset_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { - "application/json": { + "application/octet-stream": { "schema": { - "$ref": "#/components/schemas/UpdateRelationshipTypeBody" + "type": "array", + "items": { + "type": "integer", + "format": "int32", + "minimum": 0 + } } } }, @@ -36007,30 +36114,26 @@ }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WikiRelationshipType" - } - } - } + "description": "" }, - "409": { - "description": "Ontology template relationship types are immutable" + "400": { + "description": "Invalid upload" + }, + "404": { + "description": "Asset not found" } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/relationship-types/{type_id}/versions": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/assets/{asset_id}/download": { "get": { "tags": [ "wiki", "v1" ], - "summary": "List relationship type versions", - "description": "List immutable endpoint and edge-data schema versions.", - "operationId": "list-wiki-relationship-type-versions", + "summary": "Get an asset download", + "description": "Return a short-lived signed download URL.", + "operationId": "download-wiki-asset", "parameters": [ { "name": "team_id", @@ -36049,100 +36152,46 @@ } }, { - "name": "type_id", + "name": "asset_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WikiRelationshipTypeVersion" - } - } - } - } - } - } - }, - "post": { - "tags": [ - "wiki", - "v1" - ], - "summary": "Version a relationship type", - "description": "Create immutable endpoint constraints and an edge-data schema version.", - "operationId": "create-wiki-relationship-type-version", - "parameters": [ + }, { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "type_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateRelationshipTypeVersionBody" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiRelationshipTypeVersion" + "$ref": "#/components/schemas/WikiAssetDownloadResponse" } } } - }, - "409": { - "description": "Ontology template relationship types are immutable" } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/relationship-types/{type_id}/versions/{version_id}": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/assets/{asset_id}/references": { "get": { "tags": [ "wiki", "v1" ], - "summary": "Get a relationship type version", - "description": "Read one immutable relationship schema version.", - "operationId": "get-wiki-relationship-type-version", + "summary": "Inspect asset references", + "description": "List pages that currently reference this stable asset URI.", + "operationId": "inspect-wiki-asset-references", "parameters": [ { "name": "team_id", @@ -36161,7 +36210,7 @@ } }, { - "name": "type_id", + "name": "asset_id", "in": "path", "required": true, "schema": { @@ -36169,11 +36218,12 @@ } }, { - "name": "version_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -36183,7 +36233,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiRelationshipTypeVersion" + "$ref": "#/components/schemas/WikiAssetReferences" } } } @@ -36191,29 +36241,32 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/relationships": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/graph": { "get": { "tags": [ "wiki", "v1" ], - "summary": "List page relationships", - "description": "List edges and backlinks with forward or inverse meaning.", - "operationId": "list-wiki-page-relationships", + "summary": "Traverse the wiki graph", + "description": "Traverse the relationship graph with bounded depth and cycle protection.", + "operationId": "traverse-wiki-graph", "parameters": [ { - "name": "page_id", + "name": "start_page_id", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "depth", "in": "query", "required": false, "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] + "type": "integer", + "format": "int32", + "minimum": 0 } }, { @@ -36232,47 +36285,33 @@ } }, { - "name": "team_id", - "in": "path", - "required": true, + "name": "direction", + "in": "query", + "required": false, "schema": { "type": "string" } }, { - "name": "wiki_id", - "in": "path", - "required": true, + "name": "max_nodes", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "integer", + "format": "int32", + "minimum": 0 } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PageRelationshipView" - } - } - } + }, + { + "name": "max_edges", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "minimum": 0 } - } - } - }, - "post": { - "tags": [ - "wiki", - "v1" - ], - "summary": "Relate wiki pages", - "description": "Create a meaningful typed page relationship.", - "operationId": "upsert-wiki-page-relationship", - "parameters": [ + }, { "name": "team_id", "in": "path", @@ -36288,44 +36327,40 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpsertPageRelationshipBody" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPageRelationship" + "$ref": "#/components/schemas/WikiGraph" } } } - }, - "409": { - "description": "Duplicate relationship" } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/relationships/{relationship_id}": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/ontology-installations": { "get": { "tags": [ "wiki", "v1" ], - "summary": "Get a page relationship", - "description": "Read one semantic page edge.", - "operationId": "get-wiki-page-relationship", + "summary": "List installed wiki ontologies", + "description": "List ontology template provenance for a wiki.", + "operationId": "list-wiki-ontology-installations", "parameters": [ { "name": "team_id", @@ -36344,11 +36379,12 @@ } }, { - "name": "relationship_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -36358,21 +36394,26 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPageRelationship" + "type": "array", + "items": { + "$ref": "#/components/schemas/WikiOntologyInstallation" + } } } } } } - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/wikis/{wiki_id}/ontology-templates/{template_key}": { + "post": { "tags": [ "wiki", "v1" ], - "summary": "Delete a page relationship", - "description": "Delete a semantic page edge.", - "operationId": "delete-wiki-page-relationship", + "summary": "Apply a wiki ontology template", + "description": "Idempotently install a built-in group of page schemas and relationship definitions into a wiki.", + "operationId": "apply-wiki-ontology-template", "parameters": [ { "name": "team_id", @@ -36391,28 +36432,46 @@ } }, { - "name": "relationship_id", + "name": "template_key", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplyOntologyTemplateResult" + } + } + } } } - }, - "patch": { + } + }, + "/api/v1/team/{team_id}/wikis/{wiki_id}/ownership": { + "post": { "tags": [ "wiki", "v1" ], - "summary": "Update a page relationship", - "description": "Update a semantic edge while preserving its stable id.", - "operationId": "update-wiki-page-relationship", + "summary": "Set wiki ownership", + "description": "Set administration to team or private. Requires ownership-plane authority.", + "operationId": "set-wiki-ownership-mode", "parameters": [ { "name": "team_id", @@ -36431,11 +36490,12 @@ } }, { - "name": "relationship_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -36443,7 +36503,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpsertPageRelationshipBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -36455,7 +36515,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPageRelationship" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -36463,15 +36523,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/retry": { - "post": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/ownership/grants": { + "get": { "tags": [ "wiki", "v1" ], - "summary": "Retry wiki provisioning", - "description": "Retry provisioning the wiki tool provider.", - "operationId": "retry-wiki", + "summary": "List wiki ownership grants", + "description": "List private administrators. Requires ownership-plane authority.", + "operationId": "list-wiki-ownership-grants", "parameters": [ { "name": "team_id", @@ -36488,6 +36548,15 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -36496,21 +36565,24 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Wiki" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } - } - }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/transfer-ownership": { + }, "post": { "tags": [ "wiki", "v1" ], - "operationId": "change-wiki-ownership", + "summary": "Add wiki ownership grant", + "description": "Idempotently add a same-tenant private administrator.", + "operationId": "add-wiki-ownership-grant", "parameters": [ { "name": "team_id", @@ -36527,13 +36599,22 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChangeResourceOwnershipRequest" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -36545,7 +36626,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Wiki" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -36553,15 +36634,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/visibility": { - "post": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/ownership/grants/{principal_type}/{principal_id}": { + "delete": { "tags": [ "wiki", "v1" ], - "summary": "Set wiki visibility", - "description": "Set discovery and content access to team or private. Requires ownership-plane authority.", - "operationId": "set-wiki-visibility", + "summary": "Remove wiki ownership grant", + "description": "Idempotently remove a private administrator while retaining at least one owner.", + "operationId": "remove-wiki-ownership-grant", "parameters": [ { "name": "team_id", @@ -36578,42 +36659,58 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourcePrincipalType" } }, - "required": true - }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" - } - } - } + "description": "" } } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/visibility/grants": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types": { "get": { "tags": [ "wiki", "v1" ], - "summary": "List wiki visibility grants", - "description": "List private visibility users and groups. Requires ownership-plane authority.", - "operationId": "list-wiki-visibility-grants", + "summary": "List page types", + "description": "List active or archived page type definitions.", + "operationId": "list-wiki-page-types", "parameters": [ + { + "name": "include_archived", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + } + }, { "name": "team_id", "in": "path", @@ -36629,6 +36726,15 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -36639,7 +36745,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/WikiPageType" } } } @@ -36652,9 +36758,9 @@ "wiki", "v1" ], - "summary": "Add wiki visibility grant", - "description": "Idempotently add a same-tenant user or group.", - "operationId": "add-wiki-visibility-grant", + "summary": "Create a page type", + "description": "Define a wiki-scoped typed page schema.", + "operationId": "create-wiki-page-type", "parameters": [ { "name": "team_id", @@ -36671,13 +36777,22 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/CreatePageTypeBody" } } }, @@ -36689,7 +36804,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/WikiPageType" } } } @@ -36697,15 +36812,15 @@ } } }, - "/api/v1/team/{team_id}/wikis/{wiki_id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types/{page_type_id}": { + "get": { "tags": [ "wiki", "v1" ], - "summary": "Remove wiki visibility grant", - "description": "Idempotently remove a private visibility grant.", - "operationId": "remove-wiki-visibility-grant", + "summary": "Get a page type", + "description": "Read a page type definition.", + "operationId": "get-wiki-page-type", "parameters": [ { "name": "team_id", @@ -36724,16 +36839,17 @@ } }, { - "name": "principal_type", + "name": "page_type_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "principal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -36742,20 +36858,28 @@ ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WikiPageType" + } + } + } } } - } - }, - "/api/v1/user/{user_id}/credential/resource-server/{id}/ownership": { - "post": { + }, + "delete": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "set_personal_rsc_ownership", + "summary": "Delete an unused page type", + "description": "Delete a non-default page type only when no page or historical revision references it.", + "operationId": "delete-wiki-page-type", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -36763,86 +36887,51 @@ } }, { - "name": "id", + "name": "wiki_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } - } }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" - } - } - } - } - } - } - }, - "/api/v1/user/{user_id}/credential/resource-server/{id}/ownership/grants": { - "get": { - "tags": [ - "managed-credential" - ], - "operationId": "list_personal_rsc_ownership_grants", - "parameters": [ { - "name": "user_id", + "name": "page_type_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } - } - } - } + "204": { + "description": "" + }, + "409": { + "description": "Page type is in use or ontology-managed" } } }, - "post": { + "patch": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "add_personal_rsc_ownership_grant", + "summary": "Update a page type", + "description": "Update page type metadata or archive state without changing its stable key.", + "operationId": "update-wiki-page-type", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -36850,19 +36939,36 @@ } }, { - "name": "id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_type_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/UpdatePageTypeBody" } } }, @@ -36874,23 +36980,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/WikiPageType" } } } + }, + "409": { + "description": "Ontology template page types are immutable" } } } }, - "/api/v1/user/{user_id}/credential/resource-server/{id}/ownership/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types/{page_type_id}/validate": { + "post": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "remove_personal_rsc_ownership_grant", + "summary": "Validate typed page data", + "description": "Validate JSON data without changing a page.", + "operationId": "validate-wiki-page-type-data", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -36898,7 +37010,7 @@ } }, { - "name": "id", + "name": "wiki_id", "in": "path", "required": true, "schema": { @@ -36906,58 +37018,28 @@ } }, { - "name": "principal_type", + "name": "page_type_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "principal_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - } - } - }, - "/api/v1/user/{user_id}/credential/resource-server/{id}/visibility": { - "post": { - "tags": [ - "managed-credential" - ], - "operationId": "set_personal_rsc_visibility", - "parameters": [ - { - "name": "user_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/ValidatePageTypeDataBody" } } }, @@ -36969,7 +37051,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/PageTypeValidationResult" } } } @@ -36977,15 +37059,18 @@ } } }, - "/api/v1/user/{user_id}/credential/resource-server/{id}/visibility/grants": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types/{page_type_id}/versions": { "get": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "list_personal_rsc_visibility_grants", + "summary": "List page type versions", + "description": "List immutable JSON Schema versions.", + "operationId": "list-wiki-page-type-versions", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -36993,12 +37078,29 @@ } }, { - "name": "id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_type_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -37009,7 +37111,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/WikiPageTypeVersion" } } } @@ -37019,12 +37121,15 @@ }, "post": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "add_personal_rsc_visibility_grant", + "summary": "Version a page type", + "description": "Create an immutable JSON Schema version and make it current.", + "operationId": "create-wiki-page-type-version", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37032,19 +37137,36 @@ } }, { - "name": "id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_type_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/CreatePageTypeVersionBody" } } }, @@ -37056,23 +37178,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/WikiPageTypeVersion" } } } + }, + "409": { + "description": "Ontology template page types are immutable" } } } }, - "/api/v1/user/{user_id}/credential/resource-server/{id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types/{page_type_id}/versions/{version_id}": { + "get": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "remove_personal_rsc_visibility_grant", + "summary": "Get a page type version", + "description": "Read one immutable page type schema version.", + "operationId": "get-wiki-page-type-version", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37080,7 +37208,7 @@ } }, { - "name": "id", + "name": "wiki_id", "in": "path", "required": true, "schema": { @@ -37088,16 +37216,25 @@ } }, { - "name": "principal_type", + "name": "page_type_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "principal_id", + "name": "version_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -37106,17 +37243,28 @@ ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WikiPageTypeVersion" + } + } + } } } - } - }, - "/api/v1/user/{user_id}/credential/source/{credential_source_type_id}/user-credential": { - "post": { - "operationId": "create_personal_user_credential", + }, + "delete": { + "tags": [ + "wiki", + "v1" + ], + "summary": "Delete an unused page type version", + "description": "Delete a non-current immutable schema version only when no page or historical revision references it.", + "operationId": "delete-wiki-page-type-version", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37124,85 +37272,61 @@ } }, { - "name": "credential_source_type_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateUserCredentialParamsInner" - } + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "required": true - }, - "responses": { - "200": { - "description": "Created personal credential", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserCredentialSerialized" - } - } + { + "name": "page_type_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } - } - } - } - }, - "/api/v1/user/{user_id}/credential/source/{credential_source_type_id}/user-credential/encrypt": { - "post": { - "operationId": "encrypt_personal_user_credential_configuration", - "parameters": [ + }, { - "name": "user_id", + "name": "version_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "credential_source_type_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EncryptCredentialConfigurationParamsInner" - } - } - }, - "required": true - }, "responses": { - "200": { - "description": "Encrypted personal credential configuration" + "204": { + "description": "" + }, + "409": { + "description": "Version is current, in use, or ontology-managed" } } } }, - "/api/v1/user/{user_id}/credential/user-credential/{id}/ownership": { - "post": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/page-types/{page_type_id}/versions/{version_id}/migration-preview": { + "get": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "set_personal_uc_ownership", + "summary": "Preview a page type migration", + "description": "Report live pages of this type whose data is incompatible with the selected immutable schema version without modifying them.", + "operationId": "preview-wiki-page-type-migration", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37210,47 +37334,68 @@ } }, { - "name": "id", + "name": "wiki_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } + }, + { + "name": "page_type_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "required": true - }, + { + "name": "version_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/PageTypeMigrationPreview" } } } + }, + "404": { + "description": "Page type version not found" } } } }, - "/api/v1/user/{user_id}/credential/user-credential/{id}/ownership/grants": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/pages": { "get": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "list_personal_uc_ownership_grants", + "summary": "List or search wiki pages", + "description": "List pages or use Postgres full-text search.", + "operationId": "list-wiki-pages", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37258,12 +37403,52 @@ } }, { - "name": "id", + "name": "wiki_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "query", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -37272,10 +37457,7 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/WikiPagePaginatedResponse" } } } @@ -37284,12 +37466,15 @@ }, "post": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "add_personal_uc_ownership_grant", + "summary": "Create a wiki page", + "description": "Create a Markdown page.", + "operationId": "create-wiki-page", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37297,19 +37482,28 @@ } }, { - "name": "id", + "name": "wiki_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/UpsertWikiPageBody" } } }, @@ -37321,7 +37515,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/WikiPage" } } } @@ -37329,15 +37523,18 @@ } } }, - "/api/v1/user/{user_id}/credential/user-credential/{id}/ownership/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/grep": { + "post": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "remove_personal_uc_ownership_grant", + "summary": "Grep Wiki pages", + "description": "Run bounded literal or regular-expression line search across Wiki Markdown.", + "operationId": "grep-wiki-pages", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37345,7 +37542,7 @@ } }, { - "name": "id", + "name": "wiki_id", "in": "path", "required": true, "schema": { @@ -37353,58 +37550,20 @@ } }, { - "name": "principal_type", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "principal_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "" - } - } - } - }, - "/api/v1/user/{user_id}/credential/user-credential/{id}/visibility": { - "post": { - "tags": [ - "managed-credential" - ], - "operationId": "set_personal_uc_visibility", - "parameters": [ - { - "name": "user_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/GrepWikiPagesBody" } } }, @@ -37416,7 +37575,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/GrepWikiPagesResponse" } } } @@ -37424,15 +37583,18 @@ } } }, - "/api/v1/user/{user_id}/credential/user-credential/{id}/visibility/grants": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}": { "get": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "list_personal_uc_visibility_grants", + "summary": "Get a wiki page", + "description": "Read a page by stable id.", + "operationId": "get-wiki-page", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37440,12 +37602,29 @@ } }, { - "name": "id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -37454,24 +37633,24 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/WikiPage" } } } } } }, - "post": { + "put": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "add_personal_uc_visibility_grant", + "summary": "Update a wiki page", + "description": "Update a page with optimistic concurrency.", + "operationId": "update-wiki-page", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37479,19 +37658,36 @@ } }, { - "name": "id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/UpsertWikiPageBody" } } }, @@ -37503,23 +37699,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/WikiPage" } } } + }, + "409": { + "description": "Revision conflict" } } - } - }, - "/api/v1/user/{user_id}/credential/user-credential/{id}/visibility/grants/{principal_type}/{principal_id}": { + }, "delete": { "tags": [ - "managed-credential" + "wiki", + "v1" ], - "operationId": "remove_personal_uc_visibility_grant", + "summary": "Delete a wiki page", + "description": "Soft-delete a page at the expected revision.", + "operationId": "delete-wiki-page", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37527,7 +37727,7 @@ } }, { - "name": "id", + "name": "wiki_id", "in": "path", "required": true, "schema": { @@ -37535,43 +37735,81 @@ } }, { - "name": "principal_type", + "name": "page_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "principal_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ExpectedRevisionBody" + } + } + }, + "required": true + }, "responses": { "200": { "description": "" + }, + "409": { + "description": "Revision conflict" } } } }, - "/api/v1/user/{user_id}/identities/links": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/assets": { "get": { "tags": [ - "chatkit", - "identity", + "wiki", "v1" ], - "summary": "List linked addresses", - "description": "Every external address linked to the user, with the provider namespace and the tenant route each one carries.", - "operationId": "list-verified-identity-links", + "summary": "List page media", + "description": "List media explicitly attached to a wiki page.", + "operationId": "list-wiki-page-assets", "parameters": [ { - "name": "user_id", + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -37584,46 +37822,44 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListVerifiedIdentityLinksResponse" - } - } - } - }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/WikiAsset" + } } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/user/{user_id}/identities/links/{link_id}": { - "delete": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/backlinks": { + "get": { "tags": [ - "chatkit", - "identity", + "wiki", "v1" ], - "summary": "Unlink an address", - "description": "Remove a link and withdraw the authority it granted on its routed channel immediately.", - "operationId": "delete-verified-identity-link", + "summary": "Get page backlinks", + "description": "List incoming directed and symmetric relationships with effective inverse labels.", + "operationId": "get-wiki-page-backlinks", "parameters": [ { - "name": "user_id", + "name": "relationship_type_id", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] + } + }, + { + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37631,8 +37867,25 @@ } }, { - "name": "link_id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -37645,57 +37898,55 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteVerifiedIdentityLinkResponse" - } - } - } - }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/PageRelationshipView" + } } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/user/{user_id}/identities/verifications": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/migrate": { "post": { "tags": [ - "chatkit", - "identity", + "wiki", "v1" ], - "summary": "Start verifying an external address", - "description": "Issue a challenge proving the user holds an email address or phone number on a ChatKit channel provider. An inbound challenge returns the code the user must send to the channel; an outbound challenge sends the code to the address and returns nothing to show.", - "operationId": "initiate-identity-verification", + "summary": "Migrate a typed page", + "description": "Move a page to an explicitly selected page type schema version.", + "operationId": "migrate-wiki-page-type", "parameters": [ { - "name": "user_id", + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -37706,7 +37957,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InitiateIdentityVerificationRequestInner" + "$ref": "#/components/schemas/MigrateWikiPageBody" } } }, @@ -37718,56 +37969,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IdentityVerificationChallenge" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/WikiPage" } } } - } - }, - "security": [ - {}, - { - "api_key": [] }, - { - "bearer_token": [] + "409": { + "description": "Revision conflict" } - ] + } } }, - "/api/v1/user/{user_id}/identities/verifications/{verification_id}": { - "get": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/move": { + "post": { "tags": [ - "chatkit", - "identity", + "wiki", "v1" ], - "summary": "Get an address verification", - "description": "Read the state of one challenge: its mode, expiry, attempts used, and whether it completed. The code is never returned.", - "operationId": "get-identity-verification", + "summary": "Move a wiki page", + "description": "Change a page path while retaining its stable id.", + "operationId": "move-wiki-page", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -37775,79 +37999,25 @@ } }, { - "name": "verification_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IdentityVerification" - } - } - } - }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + "$ref": "#/components/schemas/WrappedUuidV4" } - } - }, - "security": [ - {}, - { - "api_key": [] }, { - "bearer_token": [] - } - ] - } - }, - "/api/v1/user/{user_id}/identities/verifications/{verification_id}/complete": { - "post": { - "tags": [ - "chatkit", - "identity", - "v1" - ], - "summary": "Complete an address verification", - "description": "Submit the code for a challenge from an app rather than from the channel. A wrong code counts as an attempt; a challenge closes after five.", - "operationId": "complete-identity-verification", - "parameters": [ - { - "name": "user_id", + "name": "page_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "verification_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -37858,7 +38028,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CompleteIdentityVerificationRequestInner" + "$ref": "#/components/schemas/MoveWikiPageBody" } } }, @@ -37870,65 +38040,186 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VerifiedIdentityLink" + "$ref": "#/components/schemas/WikiPage" } } } }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + "409": { + "description": "Revision conflict" + } + } + } + }, + "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/neighborhood": { + "get": { + "tags": [ + "wiki", + "v1" + ], + "summary": "Get page neighborhood", + "description": "Expand a bounded directional neighborhood around a page.", + "operationId": "get-wiki-page-neighborhood", + "parameters": [ + { + "name": "depth", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "minimum": 0 } }, - "403": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" + { + "name": "relationship_type_id", + "in": "query", + "required": false, + "schema": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" } - } + ] } }, - "404": { + { + "name": "direction", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "max_nodes", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "minimum": 0 + } + }, + { + "name": "max_edges", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "minimum": 0 + } + }, + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/WikiGraph" } } } } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/user/{user_id}/mcp/mcp-server": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/pages/{page_id}/revisions": { "get": { "tags": [ - "mcp", + "wiki", "v1" ], - "operationId": "list-personal-mcp-server-instances", + "summary": "List page revisions", + "description": "List immutable page revisions.", + "operationId": "list-wiki-page-revisions", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", - "description": "Owning user ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -37937,56 +38228,99 @@ ], "responses": { "200": { - "description": "List personal MCP servers", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Vec" + "$ref": "#/components/schemas/WikiPageRevisionPaginatedResponse" } } } + } + } + } + }, + "/api/v1/team/{team_id}/wikis/{wiki_id}/relationship-types": { + "get": { + "tags": [ + "wiki", + "v1" + ], + "summary": "List relationship types", + "description": "List the wiki relationship vocabulary.", + "operationId": "list-wiki-relationship-types", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" } }, - "403": { - "description": "Forbidden", + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/WikiRelationshipType" + } } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } }, "post": { "tags": [ - "mcp", + "wiki", "v1" ], - "operationId": "create-personal-mcp-server-instance", + "summary": "Create a relationship type", + "description": "Define reusable semantic meaning for page edges.", + "operationId": "create-wiki-relationship-type", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", - "description": "Owning user ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -37997,7 +38331,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateMcpServerInstanceRequestInner" + "$ref": "#/components/schemas/CreateRelationshipTypeBody" } } }, @@ -38005,66 +38339,30 @@ }, "responses": { "200": { - "description": "Create personal MCP server", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PersonalMcpServerInstanceSerialized" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/WikiRelationshipType" } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/user/{user_id}/mcp/mcp-server/{mcp_server_instance_id}": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/relationship-types/{type_id}": { "get": { "tags": [ - "mcp", + "wiki", "v1" ], - "operationId": "get-personal-mcp-server-instance", + "summary": "Get a relationship type", + "description": "Read one relationship vocabulary definition.", + "operationId": "get-wiki-relationship-type", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38072,8 +38370,25 @@ } }, { - "name": "mcp_server_instance_id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "type_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -38086,7 +38401,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PersonalMcpServerInstanceSerialized" + "$ref": "#/components/schemas/WikiRelationshipType" } } } @@ -38095,13 +38410,15 @@ }, "delete": { "tags": [ - "mcp", + "wiki", "v1" ], - "operationId": "delete-personal-mcp-server-instance", + "summary": "Delete a relationship type", + "description": "Delete an unused relationship type.", + "operationId": "delete-wiki-relationship-type", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38109,8 +38426,25 @@ } }, { - "name": "mcp_server_instance_id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "type_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -38120,18 +38454,23 @@ "responses": { "200": { "description": "" + }, + "409": { + "description": "Relationship type is in use or ontology-managed" } } }, "patch": { "tags": [ - "mcp", + "wiki", "v1" ], - "operationId": "update-personal-mcp-server-instance", + "summary": "Update a relationship type", + "description": "Update labels while retaining the stable relationship key.", + "operationId": "update-wiki-relationship-type", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38139,8 +38478,25 @@ } }, { - "name": "mcp_server_instance_id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "type_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -38151,7 +38507,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateMcpServerInstanceRequestInner" + "$ref": "#/components/schemas/UpdateRelationshipTypeBody" } } }, @@ -38163,24 +38519,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PersonalMcpServerInstanceSerialized" + "$ref": "#/components/schemas/WikiRelationshipType" } } } + }, + "409": { + "description": "Ontology template relationship types are immutable" } } } }, - "/api/v1/user/{user_id}/mcp/mcp-server/{mcp_server_instance_id}/mcp": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/relationship-types/{type_id}/versions": { "get": { "tags": [ - "mcp", + "wiki", "v1" ], - "operationId": "personal-mcp-protocol-get", + "summary": "List relationship type versions", + "description": "List immutable endpoint and edge-data schema versions.", + "operationId": "list-wiki-relationship-type-versions", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38188,48 +38549,25 @@ } }, { - "name": "mcp_server_instance_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "responses": { - "200": { - "description": "Personal MCP SSE stream" - } - }, - "security": [ - { - "api_key": [] }, { - "bearer_token": [] - } - ] - }, - "post": { - "tags": [ - "mcp", - "v1" - ], - "operationId": "personal-mcp-protocol-post", - "parameters": [ - { - "name": "user_id", + "name": "type_id", "in": "path", - "description": "Owning user ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "mcp_server_instance_id", + "name": "team_id", "in": "path", - "description": "MCP server instance ID", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -38238,27 +38576,31 @@ ], "responses": { "200": { - "description": "Personal MCP protocol response" - } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WikiRelationshipTypeVersion" + } + } + } + } } - ] + } }, - "delete": { + "post": { "tags": [ - "mcp", + "wiki", "v1" ], - "operationId": "personal-mcp-protocol-delete", + "summary": "Version a relationship type", + "description": "Create immutable endpoint constraints and an edge-data schema version.", + "operationId": "create-wiki-relationship-type-version", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38266,177 +38608,70 @@ } }, { - "name": "mcp_server_instance_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "responses": { - "200": { - "description": "Personal MCP session terminated" - } - }, - "security": [ - { - "api_key": [] }, { - "bearer_token": [] - } - ] - } - }, - "/api/v1/user/{user_id}/mcp/tool-group": { - "get": { - "tags": [ - "mcp", - "v1" - ], - "operationId": "list-personal-tool-group-instances", - "parameters": [ + "name": "type_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, { - "name": "user_id", + "name": "team_id", "in": "path", - "description": "Owning user ID", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateRelationshipTypeVersionBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "List personal configured tool accounts", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Vec" + "$ref": "#/components/schemas/WikiRelationshipTypeVersion" } } } }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - }, - "post": { - "tags": [ - "mcp", - "v1" - ], - "operationId": "create-personal-tool-group-instance", - "parameters": [ - { - "name": "user_id", - "in": "path", - "description": "Owning user ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreatePersonalToolGroupInstanceBody" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Create a personal configured tool account", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PersonalToolGroupInstanceSerialized" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] + "409": { + "description": "Ontology template relationship types are immutable" } - ] + } } }, - "/api/v1/user/{user_id}/mcp/tool-group/{tool_group_instance_id}": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/relationship-types/{type_id}/versions/{version_id}": { "get": { "tags": [ - "mcp", + "wiki", "v1" ], - "operationId": "get-personal-tool-group-instance", + "summary": "Get a relationship type version", + "description": "Read one immutable relationship schema version.", + "operationId": "get-wiki-relationship-type-version", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38444,98 +38679,46 @@ } }, { - "name": "tool_group_instance_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PersonalToolGroupInstanceSerialized" - } - } - } - } - } - }, - "delete": { - "tags": [ - "mcp", - "v1" - ], - "operationId": "delete-personal-tool-group-instance", - "parameters": [ - { - "name": "user_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "tool_group_instance_id", + "name": "type_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } - } - ], - "responses": { - "200": { - "description": "" - } - } - }, - "patch": { - "tags": [ - "mcp", - "v1" - ], - "operationId": "update-personal-tool-group-instance", - "parameters": [ + }, { - "name": "user_id", + "name": "version_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "tool_group_instance_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateToolGroupInstanceParamsInner" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PersonalToolGroupInstanceSerialized" + "$ref": "#/components/schemas/WikiRelationshipTypeVersion" } } } @@ -38543,37 +38726,66 @@ } } }, - "/api/v1/user/{user_id}/memory/banks": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/relationships": { "get": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "list-personal-memory-banks", + "summary": "List page relationships", + "description": "List edges and backlinks with forward or inverse meaning.", + "operationId": "list-wiki-page-relationships", "parameters": [ { - "name": "page_size", + "name": "page_id", "in": "query", "required": false, "schema": { - "type": "integer", - "format": "int64" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] } }, { - "name": "next_page_token", + "name": "relationship_type_id", "in": "query", "required": false, "schema": { - "type": [ - "string", - "null" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } ] } }, { - "name": "user_id", + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -38586,7 +38798,10 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankPaginatedResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/PageRelationshipView" + } } } } @@ -38595,14 +38810,33 @@ }, "post": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "create-personal-memory-bank", + "summary": "Relate wiki pages", + "description": "Create a meaningful typed page relationship.", + "operationId": "upsert-wiki-page-relationship", "parameters": [ { - "name": "user_id", + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -38613,7 +38847,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateMemoryBankBody" + "$ref": "#/components/schemas/UpsertPageRelationshipBody" } } }, @@ -38625,24 +38859,29 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBank" + "$ref": "#/components/schemas/WikiPageRelationship" } } } + }, + "409": { + "description": "Duplicate relationship" } } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/relationships/{relationship_id}": { "get": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "get-personal-memory-bank", + "summary": "Get a page relationship", + "description": "Read one semantic page edge.", + "operationId": "get-wiki-page-relationship", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38650,12 +38889,29 @@ } }, { - "name": "bank_id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "relationship_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -38664,7 +38920,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBank" + "$ref": "#/components/schemas/WikiPageRelationship" } } } @@ -38673,13 +38929,15 @@ }, "delete": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "delete-personal-memory-bank", + "summary": "Delete a page relationship", + "description": "Delete a semantic page edge.", + "operationId": "delete-wiki-page-relationship", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38687,12 +38945,29 @@ } }, { - "name": "bank_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "relationship_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -38703,13 +38978,15 @@ }, "patch": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "update-personal-memory-bank", + "summary": "Update a page relationship", + "description": "Update a semantic edge while preserving its stable id.", + "operationId": "update-wiki-page-relationship", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38717,19 +38994,36 @@ } }, { - "name": "bank_id", + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "relationship_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateMemoryBankBody" + "$ref": "#/components/schemas/UpsertPageRelationshipBody" } } }, @@ -38741,7 +39035,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBank" + "$ref": "#/components/schemas/WikiPageRelationship" } } } @@ -38749,16 +39043,18 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/config": { - "get": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/retry": { + "post": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "get-personal-memory-bank-config", + "summary": "Retry wiki provisioning", + "description": "Retry provisioning the wiki tool provider.", + "operationId": "retry-wiki", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38766,12 +39062,21 @@ } }, { - "name": "bank_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -38780,22 +39085,24 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankConfig" + "$ref": "#/components/schemas/Wiki" } } } } } - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/wikis/{wiki_id}/transfer-ownership": { + "post": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "reset-personal-memory-bank-config", + "operationId": "change-wiki-ownership", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38803,36 +39110,59 @@ } }, { - "name": "bank_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChangeResourceOwnershipRequest" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankConfig" + "$ref": "#/components/schemas/Wiki" } } } } } - }, - "patch": { + } + }, + "/api/v1/team/{team_id}/wikis/{wiki_id}/visibility": { + "post": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "update-personal-memory-bank-config", + "summary": "Set wiki visibility", + "description": "Set discovery and content access to team or private. Requires ownership-plane authority.", + "operationId": "set-wiki-visibility", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38840,19 +39170,28 @@ } }, { - "name": "bank_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateMemoryBankConfigBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -38864,7 +39203,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankConfig" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -38872,57 +39211,39 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/documents": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/visibility/grants": { "get": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "list-personal-memory-bank-documents", + "summary": "List wiki visibility grants", + "description": "List private visibility users and groups. Requires ownership-plane authority.", + "operationId": "list-wiki-visibility-grants", "parameters": [ { - "name": "limit", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "offset", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "q", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { - "name": "user_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "bank_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -38932,22 +39253,27 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankDocumentList" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } }, - "delete": { + "post": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "delete-personal-memory-document", + "summary": "Add wiki visibility grant", + "description": "Idempotently add a same-tenant user or group.", + "operationId": "add-wiki-visibility-grant", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38955,19 +39281,28 @@ } }, { - "name": "bank_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteMemoryDocumentBody" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -38975,21 +39310,30 @@ }, "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } } } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/documents/{document_id}": { - "get": { + "/api/v1/team/{team_id}/wikis/{wiki_id}/visibility/grants/{principal_type}/{principal_id}": { + "delete": { "tags": [ - "memory", + "wiki", "v1" ], - "operationId": "get-personal-memory-bank-document", + "summary": "Remove wiki visibility grant", + "description": "Idempotently remove a private visibility grant.", + "operationId": "remove-wiki-visibility-grant", "parameters": [ { - "name": "user_id", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -38997,7 +39341,7 @@ } }, { - "name": "bank_id", + "name": "wiki_id", "in": "path", "required": true, "schema": { @@ -39005,38 +39349,15 @@ } }, { - "name": "document_id", + "name": "principal_type", "in": "path", "required": true, "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StoredMemoryDocument" - } - } + "$ref": "#/components/schemas/ResourcePrincipalType" } - } - } - } - }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/health": { - "get": { - "tags": [ - "memory", - "v1" - ], - "operationId": "check-personal-memory-bank-health", - "parameters": [ + }, { - "name": "user_id", + "name": "principal_id", "in": "path", "required": true, "schema": { @@ -39044,37 +39365,28 @@ } }, { - "name": "bank_id", + "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MemoryBankHealth" - } - } - } + "description": "" } } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/ownership": { + "/api/v1/user/{user_id}/credential/resource-server/{id}/ownership": { "post": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "summary": "Set personal memory-bank ownership", - "description": "Set the personal memory bank administration plane. Requires current ownership-plane authority.", - "operationId": "set-personal-memory-bank-ownership-mode", + "operationId": "set_personal_rsc_ownership", "parameters": [ { "name": "user_id", @@ -39085,7 +39397,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39117,15 +39429,12 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/ownership/grants": { + "/api/v1/user/{user_id}/credential/resource-server/{id}/ownership/grants": { "get": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "summary": "List personal memory-bank ownership grants", - "description": "List users and groups admitted to private administration.", - "operationId": "list-personal-memory-bank-ownership-grants", + "operationId": "list_personal_rsc_ownership_grants", "parameters": [ { "name": "user_id", @@ -39136,7 +39445,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39162,12 +39471,9 @@ }, "post": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "summary": "Add a personal memory-bank ownership grant", - "description": "Idempotently grant a same-organization Identity user or group private administration.", - "operationId": "add-personal-memory-bank-ownership-grant", + "operationId": "add_personal_rsc_ownership_grant", "parameters": [ { "name": "user_id", @@ -39178,7 +39484,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39210,15 +39516,12 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/ownership/grants/{principal_type}/{principal_id}": { + "/api/v1/user/{user_id}/credential/resource-server/{id}/ownership/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "summary": "Remove a personal memory-bank ownership grant", - "description": "Idempotently remove one ownership grant while retaining at least one owner for a private plane.", - "operationId": "remove-personal-memory-bank-ownership-grant", + "operationId": "remove_personal_rsc_ownership_grant", "parameters": [ { "name": "user_id", @@ -39229,7 +39532,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39241,7 +39544,7 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "type": "string" } }, { @@ -39260,13 +39563,12 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/recall": { + "/api/v1/user/{user_id}/credential/resource-server/{id}/visibility": { "post": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "operationId": "recall-personal-memory", + "operationId": "set_personal_rsc_visibility", "parameters": [ { "name": "user_id", @@ -39277,7 +39579,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39289,7 +39591,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RecallMemoryBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -39301,7 +39603,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -39309,13 +39611,12 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/reflect": { - "post": { + "/api/v1/user/{user_id}/credential/resource-server/{id}/visibility/grants": { + "get": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "operationId": "reflect-personal-memory", + "operationId": "list_personal_rsc_visibility_grants", "parameters": [ { "name": "user_id", @@ -39326,7 +39627,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39334,37 +39635,27 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReflectMemoryBody" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } - } - }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/retain": { + }, "post": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "operationId": "retain-personal-memory-document", + "operationId": "add_personal_rsc_visibility_grant", "parameters": [ { "name": "user_id", @@ -39375,7 +39666,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39387,7 +39678,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RetainMemoryBody" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -39399,7 +39690,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -39407,13 +39698,12 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/source-bindings": { - "get": { + "/api/v1/user/{user_id}/credential/resource-server/{id}/visibility/grants/{principal_type}/{principal_id}": { + "delete": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "operationId": "list-personal-memory-bank-source-bindings", + "operationId": "remove_personal_rsc_visibility_grant", "parameters": [ { "name": "user_id", @@ -39424,40 +39714,40 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } - } - } - } + "description": "" } } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/synthesizer": { - "put": { - "tags": [ - "memory", - "v1" - ], - "summary": "Assign a personal bank synthesizer", - "description": "Assigns an agent and creates the bank's stable synthesis session so queued evidence can flush.", - "operationId": "assign-personal-memory-bank-synthesizer", + "/api/v1/user/{user_id}/credential/source/{credential_source_type_id}/user-credential": { + "post": { + "operationId": "create_personal_user_credential", "parameters": [ { "name": "user_id", @@ -39468,11 +39758,11 @@ } }, { - "name": "bank_id", + "name": "credential_source_type_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -39480,7 +39770,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AssignMemoryBankSynthesizerBody" + "$ref": "#/components/schemas/CreateUserCredentialParamsInner" } } }, @@ -39488,25 +39778,62 @@ }, "responses": { "200": { - "description": "", + "description": "Created personal credential", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBank" + "$ref": "#/components/schemas/UserCredentialSerialized" } } } } } - }, - "delete": { + } + }, + "/api/v1/user/{user_id}/credential/source/{credential_source_type_id}/user-credential/encrypt": { + "post": { + "operationId": "encrypt_personal_user_credential_configuration", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "credential_source_type_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EncryptCredentialConfigurationParamsInner" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Encrypted personal credential configuration" + } + } + } + }, + "/api/v1/user/{user_id}/credential/user-credential/{id}/ownership": { + "post": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "summary": "Clear a personal bank synthesizer", - "description": "Stops background synthesis while preserving queued evidence for a later assignment.", - "operationId": "clear-personal-memory-bank-synthesizer", + "operationId": "set_personal_uc_ownership", "parameters": [ { "name": "user_id", @@ -39517,7 +39844,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39525,13 +39852,23 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBank" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -39539,13 +39876,12 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/template": { + "/api/v1/user/{user_id}/credential/user-credential/{id}/ownership/grants": { "get": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "operationId": "export-personal-memory-bank-template", + "operationId": "list_personal_uc_ownership_grants", "parameters": [ { "name": "user_id", @@ -39556,7 +39892,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39570,7 +39906,10 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankTemplate" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } @@ -39579,10 +39918,9 @@ }, "post": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "operationId": "import-personal-memory-bank-template", + "operationId": "add_personal_uc_ownership_grant", "parameters": [ { "name": "user_id", @@ -39593,7 +39931,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39605,7 +39943,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportMemoryBankTemplateBody" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -39617,7 +39955,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportMemoryBankTemplateResponse" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -39625,15 +39963,59 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/visibility": { + "/api/v1/user/{user_id}/credential/user-credential/{id}/ownership/grants/{principal_type}/{principal_id}": { + "delete": { + "tags": [ + "managed-credential" + ], + "operationId": "remove_personal_uc_ownership_grant", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/user/{user_id}/credential/user-credential/{id}/visibility": { "post": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "summary": "Set personal memory-bank visibility", - "description": "Set the personal memory bank discovery and content-use plane. Requires ownership-plane authority.", - "operationId": "set-personal-memory-bank-visibility", + "operationId": "set_personal_uc_visibility", "parameters": [ { "name": "user_id", @@ -39644,7 +40026,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39676,15 +40058,12 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/visibility/grants": { + "/api/v1/user/{user_id}/credential/user-credential/{id}/visibility/grants": { "get": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "summary": "List personal memory-bank visibility grants", - "description": "List users and groups admitted to private visibility.", - "operationId": "list-personal-memory-bank-visibility-grants", + "operationId": "list_personal_uc_visibility_grants", "parameters": [ { "name": "user_id", @@ -39695,7 +40074,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39721,12 +40100,9 @@ }, "post": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "summary": "Add a personal memory-bank visibility grant", - "description": "Idempotently grant a same-organization Identity user or group private visibility.", - "operationId": "add-personal-memory-bank-visibility-grant", + "operationId": "add_personal_uc_visibility_grant", "parameters": [ { "name": "user_id", @@ -39737,7 +40113,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39769,15 +40145,12 @@ } } }, - "/api/v1/user/{user_id}/memory/banks/{bank_id}/visibility/grants/{principal_type}/{principal_id}": { + "/api/v1/user/{user_id}/credential/user-credential/{id}/visibility/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "memory", - "v1" + "managed-credential" ], - "summary": "Remove a personal memory-bank visibility grant", - "description": "Idempotently remove one private visibility grant.", - "operationId": "remove-personal-memory-bank-visibility-grant", + "operationId": "remove_personal_uc_visibility_grant", "parameters": [ { "name": "user_id", @@ -39788,7 +40161,7 @@ } }, { - "name": "bank_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -39800,7 +40173,7 @@ "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "type": "string" } }, { @@ -39819,30 +40192,17 @@ } } }, - "/api/v1/user/{user_id}/memory/source-bindings": { + "/api/v1/user/{user_id}/identities/links": { "get": { "tags": [ - "memory", + "chatkit", + "identity", "v1" ], - "operationId": "list-personal-memory-source-bindings", + "summary": "List linked addresses", + "description": "Every external address linked to the user, with the provider namespace and the tenant route each one carries.", + "operationId": "list-verified-identity-links", "parameters": [ - { - "name": "source_kind", - "in": "query", - "required": true, - "schema": { - "$ref": "#/components/schemas/MemorySourceKind" - } - }, - { - "name": "source_id", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "user_id", "in": "path", @@ -39858,22 +40218,43 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } + "$ref": "#/components/schemas/ListVerifiedIdentityLinksResponse" + } + } + } + }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } - }, - "put": { + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/user/{user_id}/identities/links/{link_id}": { + "delete": { "tags": [ - "memory", + "chatkit", + "identity", "v1" ], - "operationId": "replace-personal-memory-source-bindings", + "summary": "Unlink an address", + "description": "Remove a link and withdraw the authority it granted on its routed channel immediately.", + "operationId": "delete-verified-identity-link", "parameters": [ { "name": "user_id", @@ -39882,42 +40263,69 @@ "schema": { "type": "string" } + }, + { + "name": "link_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReplaceMemoryBankBindingsBody" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } + "$ref": "#/components/schemas/DeleteVerifiedIdentityLinkResponse" + } + } + } + }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/user/{user_id}/memory/source-bindings/retry": { + "/api/v1/user/{user_id}/identities/verifications": { "post": { "tags": [ - "memory", + "chatkit", + "identity", "v1" ], - "operationId": "retry-personal-memory-source-bindings", + "summary": "Start verifying an external address", + "description": "Issue a challenge proving the user holds an email address or phone number on a ChatKit channel provider. An inbound challenge returns the code the user must send to the channel; an outbound challenge sends the code to the address and returns nothing to show.", + "operationId": "initiate-identity-verification", "parameters": [ { "name": "user_id", @@ -39932,7 +40340,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RetryMemorySourceBody" + "$ref": "#/components/schemas/InitiateIdentityVerificationRequestInner" } } }, @@ -39944,92 +40352,53 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } + "$ref": "#/components/schemas/IdentityVerificationChallenge" } } } - } - } - } - }, - "/api/v1/user/{user_id}/signals/deliveries": { - "get": { - "tags": [ - "signals", - "v1" - ], - "operationId": "signals-list-personal-deliveries", - "parameters": [ - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "instance_id", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" }, - { - "name": "user_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "responses": { - "200": { + }, + "403": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalDeliveryPaginatedResponse" + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/user/{user_id}/signals/deliveries/{delivery_id}": { + "/api/v1/user/{user_id}/identities/verifications/{verification_id}": { "get": { "tags": [ - "signals", + "chatkit", + "identity", "v1" ], - "operationId": "signals-get-personal-delivery", + "summary": "Get an address verification", + "description": "Read the state of one challenge: its mode, expiry, attempts used, and whether it completed. The code is never returned.", + "operationId": "get-identity-verification", "parameters": [ { "name": "user_id", @@ -40040,11 +40409,11 @@ } }, { - "name": "delivery_id", + "name": "verification_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -40054,21 +40423,53 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalDelivery" + "$ref": "#/components/schemas/IdentityVerification" + } + } + } + }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/user/{user_id}/signals/deliveries/{delivery_id}/retry": { + "/api/v1/user/{user_id}/identities/verifications/{verification_id}/complete": { "post": { "tags": [ - "signals", + "chatkit", + "identity", "v1" ], - "operationId": "signals-retry-personal-delivery", + "summary": "Complete an address verification", + "description": "Submit the code for a challenge from an app rather than from the channel. A wrong code counts as an attempt; a challenge closes after five.", + "operationId": "complete-identity-verification", "parameters": [ { "name": "user_id", @@ -40079,76 +40480,89 @@ } }, { - "name": "delivery_id", + "name": "verification_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CompleteIdentityVerificationRequestInner" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalDelivery" + "$ref": "#/components/schemas/VerifiedIdentityLink" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/user/{user_id}/signals/instances": { + "/api/v1/user/{user_id}/mcp/mcp-server": { "get": { "tags": [ - "signals", + "mcp", "v1" ], - "operationId": "signals-list-personal-provider-instances", + "operationId": "list-personal-mcp-server-instances", "parameters": [ - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "provider_type", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, { "name": "user_id", "in": "path", + "description": "Owning user ID", "required": true, "schema": { "type": "string" @@ -40157,27 +40571,56 @@ ], "responses": { "200": { - "description": "", + "description": "List personal MCP servers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderInstancePaginatedResponse" + "$ref": "#/components/schemas/Vec" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] }, "post": { "tags": [ - "signals", + "mcp", "v1" ], - "operationId": "signals-create-personal-provider-instance", + "operationId": "create-personal-mcp-server-instance", "parameters": [ { "name": "user_id", "in": "path", + "description": "Owning user ID", "required": true, "schema": { "type": "string" @@ -40188,7 +40631,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateSignalProviderInstanceRequestInner" + "$ref": "#/components/schemas/CreateMcpServerInstanceRequestInner" } } }, @@ -40196,25 +40639,63 @@ }, "responses": { "200": { - "description": "", + "description": "Create personal MCP server", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderInstance" + "$ref": "#/components/schemas/PersonalMcpServerInstanceSerialized" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/user/{user_id}/signals/instances/{instance_id}": { + "/api/v1/user/{user_id}/mcp/mcp-server/{mcp_server_instance_id}": { "get": { "tags": [ - "signals", + "mcp", "v1" ], - "operationId": "signals-get-personal-provider-instance", + "operationId": "get-personal-mcp-server-instance", "parameters": [ { "name": "user_id", @@ -40225,7 +40706,7 @@ } }, { - "name": "instance_id", + "name": "mcp_server_instance_id", "in": "path", "required": true, "schema": { @@ -40239,7 +40720,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderInstance" + "$ref": "#/components/schemas/PersonalMcpServerInstanceSerialized" } } } @@ -40248,10 +40729,10 @@ }, "delete": { "tags": [ - "signals", + "mcp", "v1" ], - "operationId": "signals-delete-personal-provider-instance", + "operationId": "delete-personal-mcp-server-instance", "parameters": [ { "name": "user_id", @@ -40262,7 +40743,7 @@ } }, { - "name": "instance_id", + "name": "mcp_server_instance_id", "in": "path", "required": true, "schema": { @@ -40272,23 +40753,16 @@ ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeleteSignalResponse" - } - } - } + "description": "" } } }, "patch": { "tags": [ - "signals", + "mcp", "v1" ], - "operationId": "signals-update-personal-provider-instance", + "operationId": "update-personal-mcp-server-instance", "parameters": [ { "name": "user_id", @@ -40299,7 +40773,7 @@ } }, { - "name": "instance_id", + "name": "mcp_server_instance_id", "in": "path", "required": true, "schema": { @@ -40311,7 +40785,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateSignalProviderInstanceRequestInner" + "$ref": "#/components/schemas/UpdateMcpServerInstanceRequestInner" } } }, @@ -40323,7 +40797,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderInstance" + "$ref": "#/components/schemas/PersonalMcpServerInstanceSerialized" } } } @@ -40331,15 +40805,13 @@ } } }, - "/api/v1/user/{user_id}/signals/instances/{instance_id}/ownership": { - "post": { + "/api/v1/user/{user_id}/mcp/mcp-server/{mcp_server_instance_id}/mcp": { + "get": { "tags": [ - "signals", + "mcp", "v1" ], - "summary": "Set personal signal provider ownership", - "description": "Set the persisted ownership mode for a personal signal provider. Personal providers cannot be widened to team ownership.", - "operationId": "signals-set-personal-provider-ownership", + "operationId": "personal-mcp-protocol-get", "parameters": [ { "name": "user_id", @@ -40350,7 +40822,7 @@ } }, { - "name": "instance_id", + "name": "mcp_server_instance_id", "in": "path", "required": true, "schema": { @@ -40358,90 +40830,66 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" - } - } - } + "description": "Personal MCP SSE stream" } - } - } - }, - "/api/v1/user/{user_id}/signals/instances/{instance_id}/visibility": { + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + }, "post": { "tags": [ - "signals", + "mcp", "v1" ], - "summary": "Set personal signal provider visibility", - "description": "Set the persisted visibility mode for a personal signal provider. Personal providers cannot be widened to team visibility.", - "operationId": "signals-set-personal-provider-visibility", + "operationId": "personal-mcp-protocol-post", "parameters": [ { "name": "user_id", "in": "path", + "description": "Owning user ID", "required": true, "schema": { "type": "string" } }, { - "name": "instance_id", + "name": "mcp_server_instance_id", "in": "path", + "description": "MCP server instance ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" - } - } - } + "description": "Personal MCP protocol response" } - } - } - }, - "/api/v1/user/{user_id}/signals/instances/{instance_id}/{plane}/grants": { - "get": { + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + }, + "delete": { "tags": [ - "signals", + "mcp", "v1" ], - "summary": "List personal signal provider grants", - "description": "List persisted grants for one authorization plane on a personal signal provider.", - "operationId": "signals-list-personal-provider-grants", + "operationId": "personal-mcp-protocol-delete", "parameters": [ { "name": "user_id", @@ -40452,69 +40900,102 @@ } }, { - "name": "instance_id", + "name": "mcp_server_instance_id", "in": "path", "required": true, "schema": { "type": "string" } - }, - { - "name": "plane", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" - } } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } - } - } - } + "description": "Personal MCP session terminated" } - } - }, - "post": { + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/user/{user_id}/mcp/tool-group": { + "get": { "tags": [ - "signals", + "mcp", "v1" ], - "summary": "Add personal signal provider grant", - "description": "Add a principal grant to the URL-selected authorization plane on a personal signal provider.", - "operationId": "signals-add-personal-provider-grant", + "operationId": "list-personal-tool-group-instances", "parameters": [ { "name": "user_id", "in": "path", + "description": "Owning user ID", "required": true, "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "List personal configured tool accounts", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Vec" + } + } + } }, - { - "name": "instance_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } + } + }, + "security": [ + { + "api_key": [] }, { - "name": "plane", + "bearer_token": [] + } + ] + }, + "post": { + "tags": [ + "mcp", + "v1" + ], + "operationId": "create-personal-tool-group-instance", + "parameters": [ + { + "name": "user_id", "in": "path", + "description": "Owning user ID", "required": true, "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" + "type": "string" } } ], @@ -40522,7 +41003,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/CreatePersonalToolGroupInstanceBody" } } }, @@ -40530,27 +41011,63 @@ }, "responses": { "200": { - "description": "", + "description": "Create a personal configured tool account", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/PersonalToolGroupInstanceSerialized" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/user/{user_id}/signals/instances/{instance_id}/{plane}/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/user/{user_id}/mcp/tool-group/{tool_group_instance_id}": { + "get": { "tags": [ - "signals", + "mcp", "v1" ], - "summary": "Remove personal signal provider grant", - "description": "Remove a principal grant from the URL-selected authorization plane on a personal signal provider.", - "operationId": "signals-remove-personal-provider-grant", + "operationId": "get-personal-tool-group-instance", "parameters": [ { "name": "user_id", @@ -40561,31 +41078,44 @@ } }, { - "name": "instance_id", + "name": "tool_group_instance_id", "in": "path", "required": true, "schema": { "type": "string" } - }, - { - "name": "plane", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PersonalToolGroupInstanceSerialized" + } + } } - }, + } + } + }, + "delete": { + "tags": [ + "mcp", + "v1" + ], + "operationId": "delete-personal-tool-group-instance", + "parameters": [ { - "name": "principal_type", + "name": "user_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "type": "string" } }, { - "name": "principal_id", + "name": "tool_group_instance_id", "in": "path", "required": true, "schema": { @@ -40598,37 +41128,24 @@ "description": "" } } - } - }, - "/api/v1/user/{user_id}/signals/providers": { - "get": { + }, + "patch": { "tags": [ - "signals", + "mcp", "v1" ], - "operationId": "signals-list-personal-available-providers", + "operationId": "update-personal-tool-group-instance", "parameters": [ { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "user_id", + "in": "path", + "required": true, "schema": { "type": "string" - }, - "style": "form" + } }, { - "name": "user_id", + "name": "tool_group_instance_id", "in": "path", "required": true, "schema": { @@ -40636,13 +41153,23 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateToolGroupInstanceParamsInner" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderSourceSerializedPaginatedResponse" + "$ref": "#/components/schemas/PersonalToolGroupInstanceSerialized" } } } @@ -40650,13 +41177,13 @@ } } }, - "/api/v1/user/{user_id}/skill": { + "/api/v1/user/{user_id}/memory/banks": { "get": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "list-personal-skills", + "operationId": "list-personal-memory-banks", "parameters": [ { "name": "page_size", @@ -40678,32 +41205,6 @@ ] } }, - { - "name": "name_prefix", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "skill_registry_id", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] - } - }, { "name": "user_id", "in": "path", @@ -40719,7 +41220,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Vec" + "$ref": "#/components/schemas/MemoryBankPaginatedResponse" } } } @@ -40728,10 +41229,10 @@ }, "post": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "create-personal-skill", + "operationId": "create-personal-memory-bank", "parameters": [ { "name": "user_id", @@ -40746,7 +41247,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateSkillInner" + "$ref": "#/components/schemas/CreateMemoryBankBody" } } }, @@ -40758,7 +41259,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PersonalSkill" + "$ref": "#/components/schemas/MemoryBank" } } } @@ -40766,13 +41267,13 @@ } } }, - "/api/v1/user/{user_id}/skill-registry": { + "/api/v1/user/{user_id}/memory/banks/{bank_id}": { "get": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "list-personal-skill-registries", + "operationId": "get-personal-memory-bank", "parameters": [ { "name": "user_id", @@ -40781,6 +41282,14 @@ "schema": { "type": "string" } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } } ], "responses": { @@ -40789,22 +41298,49 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PersonalSkillRegistry" - } + "$ref": "#/components/schemas/MemoryBank" } } } } } }, - "post": { + "delete": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "create-personal-skill-registry", + "operationId": "delete-personal-memory-bank", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + }, + "patch": { + "tags": [ + "memory", + "v1" + ], + "operationId": "update-personal-memory-bank", "parameters": [ { "name": "user_id", @@ -40813,13 +41349,21 @@ "schema": { "type": "string" } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateSkillRegistryBody" + "$ref": "#/components/schemas/UpdateMemoryBankBody" } } }, @@ -40831,7 +41375,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PersonalSkillRegistry" + "$ref": "#/components/schemas/MemoryBank" } } } @@ -40839,13 +41383,13 @@ } } }, - "/api/v1/user/{user_id}/skill-registry/{id}/ownership": { - "post": { + "/api/v1/user/{user_id}/memory/banks/{bank_id}/config": { + "get": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "set_personal_registry_ownership_mode", + "operationId": "get-personal-memory-bank-config", "parameters": [ { "name": "user_id", @@ -40856,7 +41400,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -40864,37 +41408,25 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/MemoryBankConfig" } } } } } - } - }, - "/api/v1/user/{user_id}/skill-registry/{id}/ownership/grants": { - "get": { + }, + "delete": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "list_personal_registry_ownership_grants", + "operationId": "reset-personal-memory-bank-config", "parameters": [ { "name": "user_id", @@ -40905,7 +41437,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -40919,22 +41451,19 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/MemoryBankConfig" } } } } } }, - "post": { + "patch": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "add_personal_registry_ownership_grant", + "operationId": "update-personal-memory-bank-config", "parameters": [ { "name": "user_id", @@ -40945,7 +41474,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -40957,7 +41486,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/UpdateMemoryBankConfigBody" } } }, @@ -40969,7 +41498,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/MemoryBankConfig" } } } @@ -40977,32 +41506,45 @@ } } }, - "/api/v1/user/{user_id}/skill-registry/{id}/ownership/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/user/{user_id}/memory/banks/{bank_id}/documents": { + "get": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "remove_personal_registry_ownership_grant", + "operationId": "list-personal-memory-bank-documents", "parameters": [ { - "name": "user_id", - "in": "path", - "required": true, + "name": "limit", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": "integer", + "format": "int64" } }, { - "name": "id", - "in": "path", - "required": true, + "name": "offset", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "integer", + "format": "int64" } }, { - "name": "principal_type", + "name": "q", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "user_id", "in": "path", "required": true, "schema": { @@ -41010,28 +41552,33 @@ } }, { - "name": "principal_id", + "name": "bank_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } } ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MemoryBankDocumentList" + } + } + } } } - } - }, - "/api/v1/user/{user_id}/skill-registry/{id}/visibility": { - "post": { + }, + "delete": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "set_personal_registry_visibility", + "operationId": "delete-personal-memory-document", "parameters": [ { "name": "user_id", @@ -41042,7 +41589,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41054,7 +41601,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/DeleteMemoryDocumentBody" } } }, @@ -41062,25 +41609,18 @@ }, "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" - } - } - } + "description": "" } } } }, - "/api/v1/user/{user_id}/skill-registry/{id}/visibility/grants": { + "/api/v1/user/{user_id}/memory/banks/{bank_id}/documents/{document_id}": { "get": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "list_personal_registry_visibility_grants", + "operationId": "get-personal-memory-bank-document", "parameters": [ { "name": "user_id", @@ -41091,12 +41631,20 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "document_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -41105,22 +41653,21 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/StoredMemoryDocument" } } } } } - }, - "post": { + } + }, + "/api/v1/user/{user_id}/memory/banks/{bank_id}/health": { + "get": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "add_personal_registry_visibility_grant", + "operationId": "check-personal-memory-bank-health", "parameters": [ { "name": "user_id", @@ -41131,7 +41678,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41139,23 +41686,13 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/MemoryBankHealth" } } } @@ -41163,13 +41700,15 @@ } } }, - "/api/v1/user/{user_id}/skill-registry/{id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { - "tags": [ - "skills", + "/api/v1/user/{user_id}/memory/banks/{bank_id}/ownership": { + "post": { + "tags": [ + "memory", "v1" ], - "operationId": "remove_personal_registry_visibility_grant", + "summary": "Set personal memory-bank ownership", + "description": "Set the personal memory bank administration plane. Requires current ownership-plane authority.", + "operationId": "set-personal-memory-bank-ownership-mode", "parameters": [ { "name": "user_id", @@ -41180,15 +41719,50 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceAuthorization" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/memory/banks/{bank_id}/ownership/grants": { + "get": { + "tags": [ + "memory", + "v1" + ], + "summary": "List personal memory-bank ownership grants", + "description": "List users and groups admitted to private administration.", + "operationId": "list-personal-memory-bank-ownership-grants", + "parameters": [ { - "name": "principal_type", + "name": "user_id", "in": "path", "required": true, "schema": { @@ -41196,28 +41770,38 @@ } }, { - "name": "principal_id", + "name": "bank_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } } ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } } } - } - }, - "/api/v1/user/{user_id}/skill-registry/{registry_id}": { - "get": { + }, + "post": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "get-personal-skill-registry", + "summary": "Add a personal memory-bank ownership grant", + "description": "Idempotently grant a same-organization Identity user or group private administration.", + "operationId": "add-personal-memory-bank-ownership-grant", "parameters": [ { "name": "user_id", @@ -41228,7 +41812,7 @@ } }, { - "name": "registry_id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41236,25 +41820,39 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PersonalSkillRegistry" + "$ref": "#/components/schemas/ResourceGrant" } } } } } - }, + } + }, + "/api/v1/user/{user_id}/memory/banks/{bank_id}/ownership/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "delete-personal-skill-registry", + "summary": "Remove a personal memory-bank ownership grant", + "description": "Idempotently remove one ownership grant while retaining at least one owner for a private plane.", + "operationId": "remove-personal-memory-bank-ownership-grant", "parameters": [ { "name": "user_id", @@ -41265,12 +41863,28 @@ } }, { - "name": "registry_id", + "name": "bank_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourcePrincipalType" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { @@ -41278,13 +41892,15 @@ "description": "" } } - }, - "patch": { + } + }, + "/api/v1/user/{user_id}/memory/banks/{bank_id}/recall": { + "post": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "update-personal-skill-registry", + "operationId": "recall-personal-memory", "parameters": [ { "name": "user_id", @@ -41295,7 +41911,7 @@ } }, { - "name": "registry_id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41307,7 +41923,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateSkillRegistryBody" + "$ref": "#/components/schemas/RecallMemoryBody" } } }, @@ -41319,7 +41935,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PersonalSkillRegistry" + "$ref": "#/components/schemas/MemoryOperationResponse" } } } @@ -41327,13 +41943,13 @@ } } }, - "/api/v1/user/{user_id}/skill/{id}/ownership": { + "/api/v1/user/{user_id}/memory/banks/{bank_id}/reflect": { "post": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "set_personal_skill_ownership_mode", + "operationId": "reflect-personal-memory", "parameters": [ { "name": "user_id", @@ -41344,7 +41960,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41356,7 +41972,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/ReflectMemoryBody" } } }, @@ -41368,7 +41984,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/MemoryOperationResponse" } } } @@ -41376,13 +41992,62 @@ } } }, - "/api/v1/user/{user_id}/skill/{id}/ownership/grants": { + "/api/v1/user/{user_id}/memory/banks/{bank_id}/retain": { + "post": { + "tags": [ + "memory", + "v1" + ], + "operationId": "retain-personal-memory-document", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RetainMemoryBody" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MemoryOperationResponse" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/memory/banks/{bank_id}/source-bindings": { "get": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "list_personal_skill_ownership_grants", + "operationId": "list-personal-memory-bank-source-bindings", "parameters": [ { "name": "user_id", @@ -41393,7 +42058,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41409,20 +42074,24 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/MemorySourceBinding" } } } } } } - }, - "post": { + } + }, + "/api/v1/user/{user_id}/memory/banks/{bank_id}/synthesizer": { + "put": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "add_personal_skill_ownership_grant", + "summary": "Assign a personal bank synthesizer", + "description": "Assigns an agent and creates the bank's stable synthesis session so queued evidence can flush.", + "operationId": "assign-personal-memory-bank-synthesizer", "parameters": [ { "name": "user_id", @@ -41433,7 +42102,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41445,7 +42114,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/AssignMemoryBankSynthesizerBody" } } }, @@ -41457,21 +42126,21 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/MemoryBank" } } } } } - } - }, - "/api/v1/user/{user_id}/skill/{id}/ownership/grants/{principal_type}/{principal_id}": { + }, "delete": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "remove_personal_skill_ownership_grant", + "summary": "Clear a personal bank synthesizer", + "description": "Stops background synthesis while preserving queued evidence for a later assignment.", + "operationId": "clear-personal-memory-bank-synthesizer", "parameters": [ { "name": "user_id", @@ -41482,15 +42151,38 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MemoryBank" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/memory/banks/{bank_id}/template": { + "get": { + "tags": [ + "memory", + "v1" + ], + "operationId": "export-personal-memory-bank-template", + "parameters": [ { - "name": "principal_type", + "name": "user_id", "in": "path", "required": true, "schema": { @@ -41498,28 +42190,84 @@ } }, { - "name": "principal_id", + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MemoryBankTemplate" + } + } + } + } + } + }, + "post": { + "tags": [ + "memory", + "v1" + ], + "operationId": "import-personal-memory-bank-template", + "parameters": [ + { + "name": "user_id", "in": "path", "required": true, "schema": { "type": "string" } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportMemoryBankTemplateBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportMemoryBankTemplateResponse" + } + } + } } } } }, - "/api/v1/user/{user_id}/skill/{id}/visibility": { + "/api/v1/user/{user_id}/memory/banks/{bank_id}/visibility": { "post": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "set_personal_skill_visibility", + "summary": "Set personal memory-bank visibility", + "description": "Set the personal memory bank discovery and content-use plane. Requires ownership-plane authority.", + "operationId": "set-personal-memory-bank-visibility", "parameters": [ { "name": "user_id", @@ -41530,7 +42278,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41562,13 +42310,15 @@ } } }, - "/api/v1/user/{user_id}/skill/{id}/visibility/grants": { + "/api/v1/user/{user_id}/memory/banks/{bank_id}/visibility/grants": { "get": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "list_personal_skill_visibility_grants", + "summary": "List personal memory-bank visibility grants", + "description": "List users and groups admitted to private visibility.", + "operationId": "list-personal-memory-bank-visibility-grants", "parameters": [ { "name": "user_id", @@ -41579,7 +42329,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41605,10 +42355,12 @@ }, "post": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "add_personal_skill_visibility_grant", + "summary": "Add a personal memory-bank visibility grant", + "description": "Idempotently grant a same-organization Identity user or group private visibility.", + "operationId": "add-personal-memory-bank-visibility-grant", "parameters": [ { "name": "user_id", @@ -41619,7 +42371,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41651,13 +42403,15 @@ } } }, - "/api/v1/user/{user_id}/skill/{id}/visibility/grants/{principal_type}/{principal_id}": { + "/api/v1/user/{user_id}/memory/banks/{bank_id}/visibility/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "remove_personal_skill_visibility_grant", + "summary": "Remove a personal memory-bank visibility grant", + "description": "Idempotently remove one private visibility grant.", + "operationId": "remove-personal-memory-bank-visibility-grant", "parameters": [ { "name": "user_id", @@ -41668,7 +42422,7 @@ } }, { - "name": "id", + "name": "bank_id", "in": "path", "required": true, "schema": { @@ -41680,7 +42434,7 @@ "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/ResourcePrincipalType" } }, { @@ -41699,28 +42453,36 @@ } } }, - "/api/v1/user/{user_id}/skill/{skill_id}": { + "/api/v1/user/{user_id}/memory/source-bindings": { "get": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "get-personal-skill", + "operationId": "list-personal-memory-source-bindings", "parameters": [ { - "name": "user_id", - "in": "path", + "name": "source_kind", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/MemorySourceKind" + } + }, + { + "name": "source_id", + "in": "query", "required": true, "schema": { "type": "string" } }, { - "name": "skill_id", + "name": "user_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -41730,19 +42492,22 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PersonalSkill" + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } } } } } } }, - "delete": { + "put": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "delete-personal-skill", + "operationId": "replace-personal-memory-source-bindings", "parameters": [ { "name": "user_id", @@ -41751,28 +42516,42 @@ "schema": { "type": "string" } - }, - { - "name": "skill_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReplaceMemoryBankBindingsBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } + } + } + } } } - }, - "patch": { + } + }, + "/api/v1/user/{user_id}/memory/source-bindings/retry": { + "post": { "tags": [ - "skills", + "memory", "v1" ], - "operationId": "update-personal-skill", + "operationId": "retry-personal-memory-source-bindings", "parameters": [ { "name": "user_id", @@ -41781,21 +42560,13 @@ "schema": { "type": "string" } - }, - { - "name": "skill_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateSkillBody" + "$ref": "#/components/schemas/RetryMemorySourceBody" } } }, @@ -41807,7 +42578,10 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PersonalSkill" + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } } } } @@ -41815,13 +42589,13 @@ } } }, - "/api/v1/user/{user_id}/wikis": { + "/api/v1/user/{user_id}/signals/deliveries": { "get": { "tags": [ - "wiki", + "signals", "v1" ], - "operationId": "list-personal-wikis", + "operationId": "signals-list-personal-deliveries", "parameters": [ { "name": "page_size", @@ -41830,18 +42604,35 @@ "schema": { "type": "integer", "format": "int64" - } + }, + "style": "form" }, { "name": "next_page_token", "in": "query", "required": false, "schema": { - "type": [ - "string", - "null" - ] - } + "type": "string" + }, + "style": "form" + }, + { + "name": "instance_id", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "status", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" }, { "name": "user_id", @@ -41858,19 +42649,21 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPaginatedResponse" + "$ref": "#/components/schemas/SignalDeliveryPaginatedResponse" } } } } } - }, - "post": { + } + }, + "/api/v1/user/{user_id}/signals/deliveries/{delivery_id}": { + "get": { "tags": [ - "wiki", + "signals", "v1" ], - "operationId": "create-personal-wiki", + "operationId": "signals-get-personal-delivery", "parameters": [ { "name": "user_id", @@ -41879,17 +42672,161 @@ "schema": { "type": "string" } + }, + { + "name": "delivery_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateWikiInner" - } - } - }, - "required": true + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignalDelivery" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/signals/deliveries/{delivery_id}/retry": { + "post": { + "tags": [ + "signals", + "v1" + ], + "operationId": "signals-retry-personal-delivery", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "delivery_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignalDelivery" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/signals/instances": { + "get": { + "tags": [ + "signals", + "v1" + ], + "operationId": "signals-list-personal-provider-instances", + "parameters": [ + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "status", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "provider_type", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignalProviderInstancePaginatedResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "signals", + "v1" + ], + "operationId": "signals-create-personal-provider-instance", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSignalProviderInstanceRequestInner" + } + } + }, + "required": true }, "responses": { "200": { @@ -41897,7 +42834,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Wiki" + "$ref": "#/components/schemas/SignalProviderInstance" } } } @@ -41905,13 +42842,13 @@ } } }, - "/api/v1/user/{user_id}/wikis/{wiki_id}": { + "/api/v1/user/{user_id}/signals/instances/{instance_id}": { "get": { "tags": [ - "wiki", + "signals", "v1" ], - "operationId": "get-personal-wiki", + "operationId": "signals-get-personal-provider-instance", "parameters": [ { "name": "user_id", @@ -41922,11 +42859,11 @@ } }, { - "name": "wiki_id", + "name": "instance_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -41936,7 +42873,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Wiki" + "$ref": "#/components/schemas/SignalProviderInstance" } } } @@ -41945,10 +42882,10 @@ }, "delete": { "tags": [ - "wiki", + "signals", "v1" ], - "operationId": "delete-personal-wiki", + "operationId": "signals-delete-personal-provider-instance", "parameters": [ { "name": "user_id", @@ -41959,26 +42896,33 @@ } }, { - "name": "wiki_id", + "name": "instance_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteSignalResponse" + } + } + } } } }, "patch": { "tags": [ - "wiki", + "signals", "v1" ], - "operationId": "update-personal-wiki", + "operationId": "signals-update-personal-provider-instance", "parameters": [ { "name": "user_id", @@ -41989,11 +42933,11 @@ } }, { - "name": "wiki_id", + "name": "instance_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -42001,7 +42945,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateWikiBody" + "$ref": "#/components/schemas/UpdateSignalProviderInstanceRequestInner" } } }, @@ -42013,7 +42957,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Wiki" + "$ref": "#/components/schemas/SignalProviderInstance" } } } @@ -42021,13 +42965,15 @@ } } }, - "/api/v1/user/{user_id}/wikis/{wiki_id}/ownership": { + "/api/v1/user/{user_id}/signals/instances/{instance_id}/ownership": { "post": { "tags": [ - "wiki", + "signals", "v1" ], - "operationId": "set-personal-wiki-ownership-mode", + "summary": "Set personal signal provider ownership", + "description": "Set the persisted ownership mode for a personal signal provider. Personal providers cannot be widened to team ownership.", + "operationId": "signals-set-personal-provider-ownership", "parameters": [ { "name": "user_id", @@ -42038,11 +42984,11 @@ } }, { - "name": "wiki_id", + "name": "instance_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -42070,13 +43016,66 @@ } } }, - "/api/v1/user/{user_id}/wikis/{wiki_id}/ownership/grants": { + "/api/v1/user/{user_id}/signals/instances/{instance_id}/visibility": { + "post": { + "tags": [ + "signals", + "v1" + ], + "summary": "Set personal signal provider visibility", + "description": "Set the persisted visibility mode for a personal signal provider. Personal providers cannot be widened to team visibility.", + "operationId": "signals-set-personal-provider-visibility", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "instance_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceAuthorization" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/signals/instances/{instance_id}/{plane}/grants": { "get": { "tags": [ - "wiki", + "signals", "v1" ], - "operationId": "list-personal-wiki-ownership-grants", + "summary": "List personal signal provider grants", + "description": "List persisted grants for one authorization plane on a personal signal provider.", + "operationId": "signals-list-personal-provider-grants", "parameters": [ { "name": "user_id", @@ -42087,11 +43086,19 @@ } }, { - "name": "wiki_id", + "name": "instance_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourceGrantPlane" } } ], @@ -42113,10 +43120,12 @@ }, "post": { "tags": [ - "wiki", + "signals", "v1" ], - "operationId": "add-personal-wiki-ownership-grant", + "summary": "Add personal signal provider grant", + "description": "Add a principal grant to the URL-selected authorization plane on a personal signal provider.", + "operationId": "signals-add-personal-provider-grant", "parameters": [ { "name": "user_id", @@ -42127,11 +43136,19 @@ } }, { - "name": "wiki_id", + "name": "instance_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourceGrantPlane" } } ], @@ -42159,13 +43176,15 @@ } } }, - "/api/v1/user/{user_id}/wikis/{wiki_id}/ownership/grants/{principal_type}/{principal_id}": { + "/api/v1/user/{user_id}/signals/instances/{instance_id}/{plane}/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "wiki", + "signals", "v1" ], - "operationId": "remove-personal-wiki-ownership-grant", + "summary": "Remove personal signal provider grant", + "description": "Remove a principal grant from the URL-selected authorization plane on a personal signal provider.", + "operationId": "signals-remove-personal-provider-grant", "parameters": [ { "name": "user_id", @@ -42176,11 +43195,19 @@ } }, { - "name": "wiki_id", + "name": "instance_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + }, + { + "name": "plane", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourceGrantPlane" } }, { @@ -42207,13 +43234,63 @@ } } }, - "/api/v1/user/{user_id}/wikis/{wiki_id}/pages": { + "/api/v1/user/{user_id}/signals/providers": { "get": { "tags": [ - "wiki", + "signals", "v1" ], - "operationId": "list-personal-wiki-pages", + "operationId": "signals-list-personal-available-providers", + "parameters": [ + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + }, + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignalProviderSourceSerializedPaginatedResponse" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/skill": { + "get": { + "tags": [ + "skills", + "v1" + ], + "operationId": "list-personal-skills", "parameters": [ { "name": "page_size", @@ -42236,7 +43313,7 @@ } }, { - "name": "query", + "name": "name_prefix", "in": "query", "required": false, "schema": { @@ -42247,19 +43324,26 @@ } }, { - "name": "user_id", - "in": "path", - "required": true, + "name": "skill_registry_id", + "in": "query", + "required": false, "schema": { - "type": "string" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] } }, { - "name": "wiki_id", + "name": "user_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } } ], @@ -42269,7 +43353,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPagePaginatedResponse" + "$ref": "#/components/schemas/Vec" } } } @@ -42278,10 +43362,10 @@ }, "post": { "tags": [ - "wiki", + "skills", "v1" ], - "operationId": "create-personal-wiki-page", + "operationId": "create-personal-skill", "parameters": [ { "name": "user_id", @@ -42290,13 +43374,78 @@ "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSkillInner" + } + } }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PersonalSkill" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/skill-registry": { + "get": { + "tags": [ + "skills", + "v1" + ], + "operationId": "list-personal-skill-registries", + "parameters": [ { - "name": "wiki_id", + "name": "user_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PersonalSkillRegistry" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "skills", + "v1" + ], + "operationId": "create-personal-skill-registry", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" } } ], @@ -42304,7 +43453,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpsertWikiPageBody" + "$ref": "#/components/schemas/CreateSkillRegistryBody" } } }, @@ -42316,7 +43465,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPage" + "$ref": "#/components/schemas/PersonalSkillRegistry" } } } @@ -42324,15 +43473,13 @@ } } }, - "/api/v1/user/{user_id}/wikis/{wiki_id}/pages/grep": { + "/api/v1/user/{user_id}/skill-registry/{id}/ownership": { "post": { "tags": [ - "wiki", + "skills", "v1" ], - "summary": "Grep personal Wiki pages", - "description": "Run bounded literal or regular-expression line search across personal Wiki Markdown.", - "operationId": "grep-personal-wiki-pages", + "operationId": "set_personal_registry_ownership_mode", "parameters": [ { "name": "user_id", @@ -42343,7 +43490,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -42355,7 +43502,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GrepWikiPagesBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -42367,7 +43514,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GrepWikiPagesResponse" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -42375,13 +43522,13 @@ } } }, - "/api/v1/user/{user_id}/wikis/{wiki_id}/pages/{page_id}": { + "/api/v1/user/{user_id}/skill-registry/{id}/ownership/grants": { "get": { "tags": [ - "wiki", + "skills", "v1" ], - "operationId": "get-personal-wiki-page", + "operationId": "list_personal_registry_ownership_grants", "parameters": [ { "name": "user_id", @@ -42392,15 +43539,7 @@ } }, { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -42414,19 +43553,22 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPage" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } }, - "delete": { + "post": { "tags": [ - "wiki", + "skills", "v1" ], - "operationId": "delete-personal-wiki-page", + "operationId": "add_personal_registry_ownership_grant", "parameters": [ { "name": "user_id", @@ -42437,15 +43579,7 @@ } }, { - "name": "wiki_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "page_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -42457,7 +43591,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ExpectedRevisionBody" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -42465,16 +43599,25 @@ }, "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } } } - }, - "patch": { + } + }, + "/api/v1/user/{user_id}/skill-registry/{id}/ownership/grants/{principal_type}/{principal_id}": { + "delete": { "tags": [ - "wiki", + "skills", "v1" ], - "operationId": "update-personal-wiki-page", + "operationId": "remove_personal_registry_ownership_grant", "parameters": [ { "name": "user_id", @@ -42485,7 +43628,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -42493,7 +43636,47 @@ } }, { - "name": "page_id", + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/user/{user_id}/skill-registry/{id}/visibility": { + "post": { + "tags": [ + "skills", + "v1" + ], + "operationId": "set_personal_registry_visibility", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", "in": "path", "required": true, "schema": { @@ -42505,7 +43688,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpsertWikiPageBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -42517,7 +43700,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WikiPage" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -42525,13 +43708,13 @@ } } }, - "/api/v1/user/{user_id}/wikis/{wiki_id}/transfer-ownership": { - "post": { + "/api/v1/user/{user_id}/skill-registry/{id}/visibility/grants": { + "get": { "tags": [ - "wiki", + "skills", "v1" ], - "operationId": "change-personal-wiki-ownership", + "operationId": "list_personal_registry_visibility_grants", "parameters": [ { "name": "user_id", @@ -42542,7 +43725,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -42550,37 +43733,28 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChangeResourceOwnershipRequest" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Wiki" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } - } - }, - "/api/v1/user/{user_id}/wikis/{wiki_id}/visibility": { + }, "post": { "tags": [ - "wiki", + "skills", "v1" ], - "operationId": "set-personal-wiki-visibility", + "operationId": "add_personal_registry_visibility_grant", "parameters": [ { "name": "user_id", @@ -42591,7 +43765,7 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -42603,7 +43777,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -42615,7 +43789,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -42623,13 +43797,61 @@ } } }, - "/api/v1/user/{user_id}/wikis/{wiki_id}/visibility/grants": { + "/api/v1/user/{user_id}/skill-registry/{id}/visibility/grants/{principal_type}/{principal_id}": { + "delete": { + "tags": [ + "skills", + "v1" + ], + "operationId": "remove_personal_registry_visibility_grant", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/user/{user_id}/skill-registry/{registry_id}": { "get": { "tags": [ - "wiki", + "skills", "v1" ], - "operationId": "list-personal-wiki-visibility-grants", + "operationId": "get-personal-skill-registry", "parameters": [ { "name": "user_id", @@ -42640,7 +43862,7 @@ } }, { - "name": "wiki_id", + "name": "registry_id", "in": "path", "required": true, "schema": { @@ -42654,22 +43876,19 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/PersonalSkillRegistry" } } } } } }, - "post": { + "delete": { "tags": [ - "wiki", + "skills", "v1" ], - "operationId": "add-personal-wiki-visibility-grant", + "operationId": "delete-personal-skill-registry", "parameters": [ { "name": "user_id", @@ -42680,7 +43899,37 @@ } }, { - "name": "wiki_id", + "name": "registry_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + }, + "patch": { + "tags": [ + "skills", + "v1" + ], + "operationId": "update-personal-skill-registry", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "registry_id", "in": "path", "required": true, "schema": { @@ -42692,7 +43941,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/UpdateSkillRegistryBody" } } }, @@ -42704,7 +43953,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/PersonalSkillRegistry" } } } @@ -42712,13 +43961,13 @@ } } }, - "/api/v1/user/{user_id}/wikis/{wiki_id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/user/{user_id}/skill/{id}/ownership": { + "post": { "tags": [ - "wiki", + "skills", "v1" ], - "operationId": "remove-personal-wiki-visibility-grant", + "operationId": "set_personal_skill_ownership_mode", "parameters": [ { "name": "user_id", @@ -42729,40 +43978,14 @@ } }, { - "name": "wiki_id", + "name": "id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "principal_type", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" - } - }, - { - "name": "principal_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } } ], - "responses": { - "200": { - "description": "" - } - } - } - }, - "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/ownership": { - "post": { - "operationId": "set-mcp-resource-ownership", "requestBody": { "content": { "application/json": { @@ -42787,9 +44010,31 @@ } } }, - "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/ownership/grants": { + "/api/v1/user/{user_id}/skill/{id}/ownership/grants": { "get": { - "operationId": "list-mcp-resource-ownership-grants", + "tags": [ + "skills", + "v1" + ], + "operationId": "list_personal_skill_ownership_grants", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], "responses": { "200": { "description": "", @@ -42807,7 +44052,29 @@ } }, "post": { - "operationId": "add-mcp-resource-ownership-grant", + "tags": [ + "skills", + "v1" + ], + "operationId": "add_personal_skill_ownership_grant", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], "requestBody": { "content": { "application/json": { @@ -42832,9 +44099,47 @@ } } }, - "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/ownership/grants/{principal_type}/{principal_id}": { + "/api/v1/user/{user_id}/skill/{id}/ownership/grants/{principal_type}/{principal_id}": { "delete": { - "operationId": "remove-mcp-resource-ownership-grant", + "tags": [ + "skills", + "v1" + ], + "operationId": "remove_personal_skill_ownership_grant", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "" @@ -42842,9 +44147,31 @@ } } }, - "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/visibility": { + "/api/v1/user/{user_id}/skill/{id}/visibility": { "post": { - "operationId": "set-mcp-resource-visibility", + "tags": [ + "skills", + "v1" + ], + "operationId": "set_personal_skill_visibility", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], "requestBody": { "content": { "application/json": { @@ -42869,9 +44196,31 @@ } } }, - "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/visibility/grants": { + "/api/v1/user/{user_id}/skill/{id}/visibility/grants": { "get": { - "operationId": "list-mcp-resource-visibility-grants", + "tags": [ + "skills", + "v1" + ], + "operationId": "list_personal_skill_visibility_grants", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], "responses": { "200": { "description": "", @@ -42889,7 +44238,29 @@ } }, "post": { - "operationId": "add-mcp-resource-visibility-grant", + "tags": [ + "skills", + "v1" + ], + "operationId": "add_personal_skill_visibility_grant", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], "requestBody": { "content": { "application/json": { @@ -42914,78 +44285,1293 @@ } } }, - "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/visibility/grants/{principal_type}/{principal_id}": { + "/api/v1/user/{user_id}/skill/{id}/visibility/grants/{principal_type}/{principal_id}": { "delete": { - "operationId": "remove-mcp-resource-visibility-grant", + "tags": [ + "skills", + "v1" + ], + "operationId": "remove_personal_skill_visibility_grant", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "" } } } - } - }, - "components": { - "schemas": { - "AcceptInvitationRequest": { - "type": "object", - "required": [ - "invitation_id", - "password" + }, + "/api/v1/user/{user_id}/skill/{skill_id}": { + "get": { + "tags": [ + "skills", + "v1" ], - "properties": { - "invitation_id": { - "type": "string" + "operationId": "get-personal-skill", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "password": { - "type": "string" + { + "name": "skill_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PersonalSkill" + } + } + } } } }, - "AcceptInvitationResponse": { - "type": "object", - "description": "Canonical tenant destination after accepting an invitation with a login account.", - "required": [ - "invitation", - "org_id", - "team_id", - "identity_id" + "delete": { + "tags": [ + "skills", + "v1" + ], + "operationId": "delete-personal-skill", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "skill_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + }, + "patch": { + "tags": [ + "skills", + "v1" + ], + "operationId": "update-personal-skill", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "skill_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateSkillBody" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PersonalSkill" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis": { + "get": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "list-personal-wikis", + "parameters": [ + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WikiPaginatedResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "create-personal-wiki", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateWikiInner" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Wiki" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}": { + "get": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "get-personal-wiki", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Wiki" + } + } + } + } + } + }, + "delete": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "delete-personal-wiki", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + }, + "patch": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "update-personal-wiki", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateWikiBody" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Wiki" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}/ownership": { + "post": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "set-personal-wiki-ownership-mode", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceAuthorization" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}/ownership/grants": { + "get": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "list-personal-wiki-ownership-grants", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "add-personal-wiki-ownership-grant", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}/ownership/grants/{principal_type}/{principal_id}": { + "delete": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "remove-personal-wiki-ownership-grant", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourcePrincipalType" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}/pages": { + "get": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "list-personal-wiki-pages", + "parameters": [ + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "query", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WikiPagePaginatedResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "create-personal-wiki-page", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpsertWikiPageBody" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WikiPage" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}/pages/grep": { + "post": { + "tags": [ + "wiki", + "v1" + ], + "summary": "Grep personal Wiki pages", + "description": "Run bounded literal or regular-expression line search across personal Wiki Markdown.", + "operationId": "grep-personal-wiki-pages", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GrepWikiPagesBody" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GrepWikiPagesResponse" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}/pages/{page_id}": { + "get": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "get-personal-wiki-page", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WikiPage" + } + } + } + } + } + }, + "delete": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "delete-personal-wiki-page", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "page_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } ], - "properties": { - "identity_id": { - "type": "string" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ExpectedRevisionBody" + } + } }, - "invitation": { - "$ref": "#/components/schemas/UserInvitation" + "required": true + }, + "responses": { + "200": { + "description": "" + } + } + }, + "patch": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "update-personal-wiki-page", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } }, - "org_id": { - "type": "string" + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } }, - "team_id": { - "type": "string" + { + "name": "page_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpsertWikiPageBody" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WikiPage" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}/transfer-ownership": { + "post": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "change-personal-wiki-ownership", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChangeResourceOwnershipRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Wiki" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}/visibility": { + "post": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "set-personal-wiki-visibility", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceAuthorization" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}/visibility/grants": { + "get": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "list-personal-wiki-visibility-grants", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "add-personal-wiki-visibility-grant", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } + } + } + }, + "/api/v1/user/{user_id}/wikis/{wiki_id}/visibility/grants/{principal_type}/{principal_id}": { + "delete": { + "tags": [ + "wiki", + "v1" + ], + "operationId": "remove-personal-wiki-visibility-grant", + "parameters": [ + { + "name": "user_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wiki_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourcePrincipalType" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/ownership": { + "post": { + "operationId": "set-mcp-resource-ownership", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceAuthorization" + } + } + } + } + } + } + }, + "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/ownership/grants": { + "get": { + "operationId": "list-mcp-resource-ownership-grants", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } + } + } + }, + "post": { + "operationId": "add-mcp-resource-ownership-grant", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } + } + } + }, + "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/ownership/grants/{principal_type}/{principal_id}": { + "delete": { + "operationId": "remove-mcp-resource-ownership-grant", + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/visibility": { + "post": { + "operationId": "set-mcp-resource-visibility", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceAuthorization" + } + } + } + } + } + } + }, + "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/visibility/grants": { + "get": { + "operationId": "list-mcp-resource-visibility-grants", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } } } }, - "AccountOrganizationMembership": { + "post": { + "operationId": "add-mcp-resource-visibility-grant", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } + } + } + }, + "/api/v1/{scope_kind}/{scope_id}/mcp/{root_kind}/{id}/visibility/grants/{principal_type}/{principal_id}": { + "delete": { + "operationId": "remove-mcp-resource-visibility-grant", + "responses": { + "200": { + "description": "" + } + } + } + } + }, + "components": { + "schemas": { + "AcceptInvitationRequest": { "type": "object", - "description": "Explicit login-account membership, independent of runtime identity availability.", "required": [ - "account_id", - "organization_id", - "name", - "role" + "invitation_id", + "password" ], "properties": { - "account_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization_id": { + "invitation_id": { "type": "string" }, - "role": { + "password": { "type": "string" } } @@ -44195,6 +46781,18 @@ } } }, + "AssociatedToolkit": { + "type": "object", + "description": "An optional toolkit backend materialized as an ordinary custom Tools provider.", + "required": [ + "discovery_url" + ], + "properties": { + "discovery_url": { + "type": "string" + } + } + }, "Attachment": { "type": "object", "description": "ChatKit-owned attachment metadata.", @@ -44455,9 +47053,11 @@ }, "BillingProductId": { "type": "string", - "description": "The Core subscription whose access is evaluated per organization.", + "description": "A separately billed Tilde product whose access is evaluated per organization.", "enum": [ - "tilde_core" + "tilde_core", + "tilde_pay", + "ash" ] }, "BrokerAction": { @@ -44788,6 +47388,72 @@ } } }, + "ChannelDeliveryOptions": { + "type": "object", + "description": "Private send intent; never include this value in canonical public events.", + "properties": { + "attachment_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "bcc": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "cc": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "html": { + "type": [ + "string", + "null" + ] + }, + "provider_options": { + "description": "Opaque extension interpreted exclusively by the owning adapter." + }, + "reply_all": { + "type": [ + "boolean", + "null" + ] + }, + "subject": { + "type": [ + "string", + "null" + ] + }, + "to": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "visible_recipients": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomExternalIdentity" + } + } + } + }, "ChatApproval": { "type": "object", "description": "Approval information in an HTTP agent tool invocation.", @@ -45627,6 +48293,86 @@ ], "description": "Trusted durable execution context supplied by ChatKit to an HTTP agent.\n\nThis is Tilde-owned control state, not conversation or provider metadata." }, + "ChatKitIdentity": { + "type": "object", + "description": "A party that can appear in a ChatKit session.", + "required": [ + "id", + "org_id", + "team_id", + "kind", + "display_name", + "created_at", + "updated_at" + ], + "properties": { + "agent_inbox_id": { + "type": [ + "string", + "null" + ], + "description": "Set when this address belongs to one of our agents." + }, + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "display_name": { + "type": "string" + }, + "external_id": { + "type": [ + "string", + "null" + ], + "description": "The address within that scheme. `None` only for [`ChatKitIdentityKind::TildeUser`]." + }, + "id": { + "type": "string" + }, + "kind": { + "$ref": "#/components/schemas/ChatKitIdentityKind" + }, + "metadata": { + "type": [ + "object", + "null" + ] + }, + "org_id": { + "type": "string" + }, + "provider_id": { + "type": [ + "string", + "null" + ], + "description": "Namespace that owns the address. Two GitHub organizations can both have\na `dan`, so the scheme alone is never unique." + }, + "team_id": { + "type": "string" + }, + "tilde_user_id": { + "type": [ + "string", + "null" + ], + "description": "Set only by a verified linking flow, or by us when registering an\naddress for one of our own principals. `None` means no authority." + }, + "updated_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "verified_at": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + } + } + }, "ChatKitIdentityKind": { "type": "string", "description": "Address scheme for a [`ChatKitIdentity`].", @@ -45800,6 +48546,66 @@ "agent" ] }, + "ChatKitProviderManifest": { + "type": "object", + "description": "Discovery document served by the customer's SDK endpoint.", + "required": [ + "protocol_version", + "version", + "display_name", + "description", + "invoke_url", + "configuration_schema", + "capabilities" + ], + "properties": { + "auth_methods": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomProviderAuthMethod" + } + }, + "capabilities": { + "$ref": "#/components/schemas/CustomProviderCapabilities" + }, + "configuration_schema": {}, + "description": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomProviderField" + } + }, + "invoke_url": { + "type": "string" + }, + "protocol_version": { + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "session_tools": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomSessionTool" + } + }, + "subscriptions": { + "type": "array", + "items": { + "type": "string" + } + }, + "version": { + "type": "string" + } + } + }, "ChatKitRealtimeSocketTicket": { "type": "object", "required": [ @@ -47016,12 +49822,6 @@ "local_runtime_tunnel_origin" ], "properties": { - "account_organizations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AccountOrganizationMembership" - } - }, "groups": { "type": "array", "items": { @@ -47037,13 +49837,6 @@ "local_runtime_tunnel_origin": { "type": "string" }, - "organization_onboarding_completed": { - "type": [ - "boolean", - "null" - ], - "description": "True after explicit first-organization creation, even if that org was removed.\nA membership-less completed account needs invitation/link recovery, not replay." - }, "organizations": { "type": "array", "items": { @@ -48391,50 +51184,6 @@ } } }, - "CreateIdentityLinkRequest": { - "type": "object", - "properties": { - "delivery": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/IdentityLinkDelivery" - } - ] - }, - "return_url": { - "type": [ - "string", - "null" - ] - } - } - }, - "CreateIdentityRequest": { - "type": "object", - "required": [ - "kind" - ], - "properties": { - "display_name": { - "type": [ - "string", - "null" - ] - }, - "identifiers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IdentityIdentifier" - } - }, - "kind": { - "$ref": "#/components/schemas/UserType" - } - } - }, "CreateManagedUserCredentialBody": { "type": "object", "required": [ @@ -48758,27 +51507,6 @@ "schema": {} } }, - "CreatePayWalletRequest": { - "type": "object", - "required": [ - "name", - "wallet_customer_id" - ], - "properties": { - "name": { - "type": "string" - }, - "owner_id": { - "type": [ - "string", - "null" - ] - }, - "wallet_customer_id": { - "type": "string" - } - } - }, "CreatePersonalToolGroupInstanceBody": { "type": "object", "required": [ @@ -48842,39 +51570,6 @@ } } }, - "CreateProxyTokenRequest": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "allowed_return_urls": { - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "type": "array", - "items": { - "type": "string" - } - }, - "expires_at": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - ] - }, - "name": { - "type": "string" - } - } - }, "CreateRelationshipTypeBody": { "type": "object", "required": [ @@ -49717,7 +52412,237 @@ "from_inbox_type_id", "role", "user_display_name", - "text" + "text" + ], + "properties": { + "from_inbox_instance_id": { + "type": [ + "string", + "null" + ] + }, + "from_inbox_type_id": { + "type": "string" + }, + "id": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4", + "description": "Caller-provided message ID for deduplication. If omitted, a new UUID is generated." + } + ] + }, + "in_reply_to_inbox_id": { + "type": [ + "string", + "null" + ] + }, + "in_reply_to_message_id": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] + }, + "inbox_settings": { + "type": "object", + "additionalProperties": {}, + "propertyNames": { + "type": "string" + } + }, + "metadata": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedJsonValue" + } + ] + }, + "related_task_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "role": { + "$ref": "#/components/schemas/MessageRole" + }, + "text": { + "type": "string" + }, + "to_inbox_instance_id": { + "type": [ + "string", + "null" + ] + }, + "to_inbox_type_id": { + "type": [ + "string", + "null" + ] + }, + "user_display_name": { + "type": "string" + }, + "user_external_id": { + "type": [ + "string", + "null" + ] + } + } + }, + "CreateToolGroupInstanceParamsInner": { + "type": "object", + "required": [ + "display_name" + ], + "properties": { + "authorization": { + "$ref": "#/components/schemas/ResourceAuthorizationModes" + }, + "common_provider_installation_id": { + "type": [ + "string", + "null" + ] + }, + "display_name": { + "type": "string" + }, + "initial_grants": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrantRequest" + } + }, + "resource_server_credential_id": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] + }, + "return_on_successful_brokering": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/ReturnAddress" + } + ] + }, + "tool_group_instance_id": { + "type": [ + "string", + "null" + ] + }, + "user_credential_id": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] + } + } + }, + "CreateTrustedRuntimeInner": { + "type": "object", + "required": [ + "name", + "type", + "signing_public_key", + "encryption_public_key" + ], + "properties": { + "description": { + "type": [ + "string", + "null" + ] + }, + "encryption_key_alg": { + "$ref": "#/components/schemas/TrustedRuntimeEncryptionAlgorithm" + }, + "encryption_public_key": { + "type": "string" + }, + "key_id": { + "type": [ + "string", + "null" + ] + }, + "name": { + "type": "string" + }, + "signing_key_alg": { + "$ref": "#/components/schemas/TrustedRuntimeSigningAlgorithm" + }, + "signing_public_key": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/TrustedRuntimeType" + } + } + }, + "CreateTrustedSkillProviderRequest": { + "type": "object", + "required": [ + "provider_id", + "name", + "description", + "github_url" + ], + "properties": { + "branch": { + "type": [ + "string", + "null" + ] + }, + "description": { + "type": "string" + }, + "github_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "provider_id": { + "type": "string" + } + } + }, + "CreateUIMessageRequest": { + "type": "object", + "description": "Request to create a new UI message", + "required": [ + "from_inbox_type_id", + "role", + "user_display_name", + "parts" ], "properties": { "from_inbox_instance_id": { @@ -49773,6 +52698,12 @@ } ] }, + "parts": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UIMessagePart" + } + }, "related_task_ids": { "type": "array", "items": { @@ -49782,9 +52713,6 @@ "role": { "$ref": "#/components/schemas/MessageRole" }, - "text": { - "type": "string" - }, "to_inbox_instance_id": { "type": [ "string", @@ -49808,22 +52736,21 @@ } } }, - "CreateToolGroupInstanceParamsInner": { + "CreateUserCredentialParamsInner": { "type": "object", "required": [ - "display_name" + "user_credential_configuration", + "dek_alias" ], "properties": { "authorization": { "$ref": "#/components/schemas/ResourceAuthorizationModes" }, - "common_provider_installation_id": { - "type": [ - "string", - "null" - ] + "browser_password_manager_eligible": { + "type": "boolean", + "description": "Allow Browser form filling to enumerate this credential." }, - "display_name": { + "dek_alias": { "type": "string" }, "initial_grants": { @@ -49832,33 +52759,80 @@ "$ref": "#/components/schemas/ResourceGrantRequest" } }, - "resource_server_credential_id": { + "metadata": { "oneOf": [ { "type": "null" }, { - "$ref": "#/components/schemas/WrappedUuidV4" + "$ref": "#/components/schemas/Metadata" } ] }, - "return_on_successful_brokering": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ReturnAddress" - } + "user_credential_configuration": { + "$ref": "#/components/schemas/WrappedJsonValue" + } + } + }, + "CreateWikiAssetBody": { + "type": "object", + "required": [ + "filename", + "media_type" + ], + "properties": { + "alt_text": { + "type": [ + "string", + "null" ] }, - "tool_group_instance_id": { + "checksum": { "type": [ "string", "null" ] }, - "user_credential_id": { + "filename": { + "type": "string" + }, + "folder_path": { + "type": "string" + }, + "media_type": { + "type": "string" + }, + "size_bytes": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "title": { + "type": [ + "string", + "null" + ] + } + } + }, + "CreateWikiInner": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "agent_id": { + "type": [ + "string", + "null" + ] + }, + "authorization": { + "$ref": "#/components/schemas/ResourceAuthorizationModes" + }, + "id": { "oneOf": [ { "type": "null" @@ -49867,116 +52841,215 @@ "$ref": "#/components/schemas/WrappedUuidV4" } ] + }, + "initial_grants": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrantRequest" + } + }, + "memory_bank_ids": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/components/schemas/WrappedUuidV4" + }, + "description": "Memory banks that should durably ingest this wiki's content." + }, + "name": { + "type": "string" } } }, - "CreateTrustedRuntimeInner": { + "CredentialSetupBinding": { + "type": "object", + "description": "Typed relationship established after a state-import credential is configured.", + "required": [ + "owner_type", + "owner_id" + ], + "properties": { + "desired_enabled": { + "type": "boolean" + }, + "owner_id": { + "type": "string" + }, + "owner_type": { + "type": "string" + } + } + }, + "CredentialSetupCredentialKind": { + "type": "string", + "enum": [ + "resource_server_credential", + "user_credential" + ] + }, + "CredentialSetupFormField": { "type": "object", "required": [ "name", - "type", - "signing_public_key", - "encryption_public_key" + "label", + "field_type" ], "properties": { - "description": { + "field_type": { + "type": "string" + }, + "help_text": { "type": [ "string", "null" ] }, - "encryption_key_alg": { - "$ref": "#/components/schemas/TrustedRuntimeEncryptionAlgorithm" + "label": { + "type": "string" }, - "encryption_public_key": { + "name": { "type": "string" }, - "key_id": { + "placeholder": { "type": [ "string", "null" ] }, - "name": { - "type": "string" - }, - "signing_key_alg": { - "$ref": "#/components/schemas/TrustedRuntimeSigningAlgorithm" - }, - "signing_public_key": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/TrustedRuntimeType" + "required": { + "type": "boolean" } } }, - "CreateTrustedSkillProviderRequest": { + "CredentialSetupItem": { "type": "object", "required": [ + "id", + "org_id", + "team_id", + "display_name", "provider_id", - "name", - "description", - "github_url" + "credential_source_type_id", + "owner_type", + "owner_id", + "status", + "desired_enabled", + "metadata", + "created_at", + "updated_at" ], "properties": { - "branch": { + "bindings": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CredentialSetupBinding" + } + }, + "common_provider": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CommonProviderCredentialSetup" + } + ] + }, + "configuration_defaults": { + "$ref": "#/components/schemas/WrappedJsonValue" + }, + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "credential_source_type_id": { + "type": "string" + }, + "desired_enabled": { + "type": "boolean" + }, + "display_name": { + "type": "string" + }, + "icon_url": { "type": [ "string", "null" ] }, - "description": { + "id": { "type": "string" }, - "github_url": { + "last_error": { + "type": [ + "string", + "null" + ] + }, + "metadata": { + "$ref": "#/components/schemas/WrappedJsonValue" + }, + "org_id": { "type": "string" }, - "name": { + "owner_id": { "type": "string" }, - "provider_id": { + "owner_type": { "type": "string" - } - } - }, - "CreateUIMessageRequest": { - "type": "object", - "description": "Request to create a new UI message", - "required": [ - "from_inbox_type_id", - "role", - "user_display_name", - "parts" - ], - "properties": { - "from_inbox_instance_id": { + }, + "provider_display_name": { "type": [ "string", "null" ] }, - "from_inbox_type_id": { + "provider_id": { "type": "string" }, - "id": { + "provider_provisioner_id": { + "type": [ + "string", + "null" + ] + }, + "resource_server_credential_id": { "oneOf": [ { "type": "null" }, { - "$ref": "#/components/schemas/WrappedUuidV4", - "description": "Caller-provided message ID for deduplication. If omitted, a new UUID is generated." + "$ref": "#/components/schemas/WrappedUuidV4" } ] }, - "in_reply_to_inbox_id": { + "return_url": { "type": [ "string", "null" ] }, - "in_reply_to_message_id": { + "source": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CredentialSetupSource" + } + ] + }, + "status": { + "$ref": "#/components/schemas/CredentialSetupItemStatus" + }, + "team_id": { + "type": "string" + }, + "updated_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "user_credential_id": { "oneOf": [ { "type": "null" @@ -49985,55 +53058,324 @@ "$ref": "#/components/schemas/WrappedUuidV4" } ] + } + } + }, + "CredentialSetupItemPaginatedResponse": { + "type": "object", + "required": [ + "items" + ], + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CredentialSetupItem" + } + }, + "next_page_token": { + "type": "string" + } + } + }, + "CredentialSetupItemStatus": { + "type": "string", + "enum": [ + "pending", + "in_progress", + "connected", + "failed" + ] + }, + "CredentialSetupNextAction": { + "oneOf": [ + { + "type": "object", + "required": [ + "url", + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "redirect" + ] + }, + "url": { + "type": "string" + } + } + }, + { + "type": "object", + "required": [ + "credential_kind", + "fields", + "submit_label", + "type" + ], + "properties": { + "configuration_defaults": { + "$ref": "#/components/schemas/WrappedJsonValue", + "description": "Non-secret, server-authored values merged into the submitted\ncredential configuration. This keeps portable state capable of\ncarrying protocol metadata without exposing it as editable form\nfields or exporting secrets." + }, + "credential_kind": { + "$ref": "#/components/schemas/CredentialSetupCredentialKind" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CredentialSetupFormField" + } + }, + "submit_label": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "submit_form" + ] + } + } + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "type": { + "type": "string", + "enum": [ + "complete" + ] + } + } + } + ] + }, + "CredentialSetupSource": { + "type": "string", + "description": "Origin of a durable credential setup item.", + "enum": [ + "state_import", + "user_credential_brokering", + "mcp_tool_group_instance_creation", + "mcp_proxied_server_connection" + ] + }, + "CredentialSourceSerialized": { + "type": "object", + "required": [ + "type_id", + "configuration_schema", + "name", + "display_name", + "auth_adapter", + "documentation", + "requires_brokering", + "requires_resource_server_credential_refreshing", + "requires_user_credential_refreshing", + "supports_auto_display_name", + "display_name_description" + ], + "properties": { + "auth_adapter": { + "$ref": "#/components/schemas/ProviderAuthAdapterConfig" + }, + "configuration_schema": { + "$ref": "#/components/schemas/ConfigurationSchema" + }, + "display_name": { + "type": "string" + }, + "display_name_description": { + "type": "string" + }, + "documentation": { + "type": "string" + }, + "name": { + "type": "string" + }, + "requires_brokering": { + "type": "boolean" + }, + "requires_resource_server_credential_refreshing": { + "type": "boolean" + }, + "requires_user_credential_refreshing": { + "type": "boolean" + }, + "supports_auto_display_name": { + "type": "boolean" + }, + "type_id": { + "type": "string" + } + } + }, + "CurrentSeatStatus": { + "type": "string", + "description": "Current caller's seat state. Machine identities never consume seats.", + "enum": [ + "active", + "not_assigned", + "not_billable" + ] + }, + "CustomChatKitProvider": { + "type": "object", + "description": "Stable registration, separate from any configured connection.", + "required": [ + "id", + "org_id", + "team_id", + "display_name", + "discovery_url", + "enabled", + "local_running_endpoint", + "revision", + "created_at", + "updated_at" + ], + "properties": { + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "discovery_url": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "last_discovery_at": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + }, + "last_discovery_error": { + "type": [ + "string", + "null" + ] }, - "inbox_settings": { - "type": "object", - "additionalProperties": {}, - "propertyNames": { - "type": "string" - } + "local_running_endpoint": { + "type": "boolean" }, - "metadata": { + "manifest": { "oneOf": [ { "type": "null" }, { - "$ref": "#/components/schemas/WrappedJsonValue" + "$ref": "#/components/schemas/ChatKitProviderManifest" } ] }, - "parts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UIMessagePart" - } + "org_id": { + "type": "string" }, - "related_task_ids": { - "type": "array", - "items": { - "type": "string" - } + "revision": { + "type": "integer", + "format": "int64" }, - "role": { - "$ref": "#/components/schemas/MessageRole" + "team_id": { + "type": "string" }, - "to_inbox_instance_id": { + "updated_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + } + }, + "CustomConnectionCredentials": { + "type": "object", + "description": "Returned once after rotation, with remote notification outcome for host recovery.", + "required": [ + "runtime_token", + "backend_notified" + ], + "properties": { + "backend_notified": { + "type": "boolean" + }, + "runtime_token": { + "type": "string" + } + } + }, + "CustomConnectionInfo": { + "type": "object", + "description": "Public connection configuration; runtime credentials and setup state are excluded.", + "required": [ + "setup_id", + "enabled", + "id", + "org_id", + "team_id", + "definition_id", + "display_name", + "status", + "configuration" + ], + "properties": { + "configuration": {}, + "default_agent_inbox_id": { "type": [ "string", "null" ] }, - "to_inbox_type_id": { + "definition_id": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "setup_id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "team_id": { + "type": "string" + }, + "tool_group_instance_id": { "type": [ "string", "null" ] }, - "user_display_name": { - "type": "string" - }, - "user_external_id": { + "toolkit_discovery_url": { "type": [ "string", "null" @@ -50041,492 +53383,730 @@ } } }, - "CreateUserCredentialParamsInner": { + "CustomConnectionInfoPaginatedResponse": { "type": "object", "required": [ - "user_credential_configuration", - "dek_alias" + "items" ], "properties": { - "authorization": { - "$ref": "#/components/schemas/ResourceAuthorizationModes" - }, - "browser_password_manager_eligible": { - "type": "boolean", - "description": "Allow Browser form filling to enumerate this credential." - }, - "dek_alias": { - "type": "string" - }, - "initial_grants": { + "items": { "type": "array", "items": { - "$ref": "#/components/schemas/ResourceGrantRequest" + "$ref": "#/components/schemas/CustomConnectionInfo" } }, - "metadata": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/Metadata" - } - ] - }, - "user_credential_configuration": { - "$ref": "#/components/schemas/WrappedJsonValue" + "next_page_token": { + "type": "string" } } }, - "CreateWalletBody": { + "CustomConnectionWork": { "type": "object", + "description": "Operational diagnostics omit normalized message bodies and credentials.", "required": [ - "name", - "wallet_customer_id" + "work_id", + "kind", + "status", + "attempts", + "created_at", + "next_attempt_at" ], "properties": { - "name": { + "attempts": { + "type": "integer", + "format": "int64" + }, + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "kind": { "type": "string" }, - "owner_id": { + "last_error": { "type": [ "string", "null" ] }, - "wallet_customer_id": { + "next_attempt_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "status": { + "type": "string" + }, + "work_id": { "type": "string" } } }, - "CreateWalletCustomerBody": { + "CustomConnectionWorkPaginatedResponse": { "type": "object", "required": [ - "name" + "items" ], "properties": { - "account_type": { - "type": "string" + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomConnectionWork" + } }, - "name": { + "next_page_token": { "type": "string" - }, - "owner_id": { - "type": [ - "string", - "null" - ] } } }, - "CreateWalletVirtualAccountBody": { + "CustomExternalIdentity": { "type": "object", + "description": "One external address; callers cannot grant themselves principal authority.", "required": [ - "currency" + "external_id", + "display_name", + "kind" ], "properties": { - "currency": { + "display_name": { + "type": "string" + }, + "external_id": { "type": "string" + }, + "kind": { + "$ref": "#/components/schemas/ChatKitIdentityKind" } } }, - "CreateWikiAssetBody": { + "CustomInboundMessage": { "type": "object", + "description": "Normalized event accepted using a single connection's runtime credential.", "required": [ - "filename", - "media_type" + "event_id", + "conversation_key", + "external_message_id", + "sender", + "text" ], "properties": { - "alt_text": { - "type": [ - "string", - "null" - ] - }, - "checksum": { - "type": [ - "string", - "null" - ] + "attachment_ids": { + "type": "array", + "items": { + "type": "string" + } }, - "filename": { + "conversation_key": { "type": "string" }, - "folder_path": { + "event_id": { "type": "string" }, - "media_type": { + "external_message_id": { "type": "string" }, - "size_bytes": { - "type": [ - "integer", - "null" - ], - "format": "int64" + "provider_metadata": {}, + "provider_thread": {}, + "sender": { + "$ref": "#/components/schemas/CustomExternalIdentity" }, - "title": { - "type": [ - "string", - "null" - ] + "text": { + "type": "string" } } }, - "CreateWikiInner": { + "CustomIngressReceipt": { "type": "object", + "description": "A durable ingestion acknowledgment, including replay of an existing event.", "required": [ - "name" + "event_id", + "message_id", + "status" ], "properties": { - "agent_id": { - "type": [ - "string", - "null" - ] + "event_id": { + "type": "string" }, - "authorization": { - "$ref": "#/components/schemas/ResourceAuthorizationModes" + "message_id": { + "type": "string" }, - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] + "status": { + "type": "string" + } + } + }, + "CustomProviderAuthMethod": { + "type": "object", + "description": "Provider-owned authorization method; secret fields are never list outputs.", + "required": [ + "id", + "display_name", + "description", + "fields" + ], + "properties": { + "description": { + "type": "string" }, - "initial_grants": { + "display_name": { + "type": "string" + }, + "fields": { "type": "array", "items": { - "$ref": "#/components/schemas/ResourceGrantRequest" + "$ref": "#/components/schemas/CustomProviderField" } }, - "memory_bank_ids": { + "id": { + "type": "string" + } + } + }, + "CustomProviderCapabilities": { + "type": "object", + "description": "Content conversion and runtime features declared by a backend.", + "properties": { + "attachments": { + "type": "boolean" + }, + "delivery": { + "type": "boolean" + }, + "html": { + "type": "boolean" + }, + "identity": { + "type": "boolean" + }, + "inbound": { + "type": "boolean" + }, + "markdown": { + "type": "boolean" + }, + "max_length": { "type": [ - "array", + "integer", "null" ], - "items": { - "$ref": "#/components/schemas/WrappedUuidV4" - }, - "description": "Memory banks that should durably ingest this wiki's content." + "minimum": 0 }, - "name": { - "type": "string" + "streaming": { + "type": "boolean" + }, + "toolkit": { + "type": "boolean" } } }, - "CreatedIdentityLink": { + "CustomProviderField": { "type": "object", + "description": "Named schema-backed field rendered by the existing generic setup flow.", "required": [ - "id", - "url", - "expires_at" + "name", + "label", + "field_type" ], "properties": { - "expires_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" + "field_type": { + "type": "string" }, - "id": { + "label": { "type": "string" }, - "url": { + "name": { + "type": "string" + }, + "placeholder": { "type": "string" + }, + "required": { + "type": "boolean" } } }, - "CreatedProxyToken": { + "CustomProviderInvocation": { "type": "object", + "description": "Exact signed remote invocation. Secret-bearing payloads intentionally omit Debug.", "required": [ - "token", - "secret" + "protocol_version", + "manifest_version", + "request_id", + "scope", + "operation", + "input", + "configuration", + "secrets" ], "properties": { - "secret": { + "configuration": {}, + "context": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CustomSessionContext" + } + ] + }, + "input": {}, + "manifest_version": { "type": "string" }, - "token": { - "$ref": "#/components/schemas/OrgProxyToken" - } + "operation": { + "$ref": "#/components/schemas/CustomProviderOperation" + }, + "protocol_version": { + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "request_id": { + "type": "string" + }, + "scope": { + "$ref": "#/components/schemas/CustomProviderScope" + }, + "secrets": {} } }, - "CredentialSetupBinding": { + "CustomProviderList": { "type": "object", - "description": "Typed relationship established after a state-import credential is configured.", + "description": "A paginated team catalog; continuation uses the existing timestamp cursor.", "required": [ - "owner_type", - "owner_id" + "items" ], "properties": { - "desired_enabled": { - "type": "boolean" - }, - "owner_id": { - "type": "string" + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomChatKitProvider" + } }, - "owner_type": { - "type": "string" + "next_page_token": { + "type": [ + "string", + "null" + ] } } }, - "CredentialSetupCredentialKind": { + "CustomProviderOperation": { "type": "string", + "description": "Tilde-owned protocol operations are typed independently of provider business inputs.", "enum": [ - "resource_server_credential", - "user_credential" + "setup_start", + "setup_resume", + "disconnect", + "runtime_credentials_updated", + "toolkit_configured", + "register_identity", + "normalize_mentions", + "list_session_tools", + "invoke_session_tool", + "reconcile_session_tool", + "prepare_send", + "deliver", + "reconcile_delivery" ] }, - "CredentialSetupFormField": { + "CustomProviderRegistration": { "type": "object", + "description": "Signing material is returned only by explicit create/rotate operations.", "required": [ - "name", - "label", - "field_type" + "provider", + "signing_key" ], "properties": { - "field_type": { - "type": "string" - }, - "help_text": { - "type": [ - "string", - "null" - ] + "provider": { + "$ref": "#/components/schemas/CustomChatKitProvider" }, - "label": { + "signing_key": { "type": "string" - }, - "name": { + } + } + }, + "CustomProviderRegistrationInput": { + "type": "object", + "description": "Input for creating or editing a reusable backend registration.", + "required": [ + "display_name", + "discovery_url" + ], + "properties": { + "discovery_url": { "type": "string" }, - "placeholder": { - "type": [ - "string", - "null" - ] + "display_name": { + "type": "string" }, - "required": { + "local_running_endpoint": { "type": "boolean" } } }, - "CredentialSetupItem": { + "CustomProviderScope": { "type": "object", + "description": "Tenant-scoped coordinates recovered from persisted records.", "required": [ - "id", "org_id", "team_id", - "display_name", - "provider_id", - "credential_source_type_id", - "owner_type", - "owner_id", - "status", - "desired_enabled", - "metadata", - "created_at", - "updated_at" + "definition_id", + "connection_id" ], "properties": { - "bindings": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CredentialSetupBinding" + "connection_id": { + "type": "string" + }, + "definition_id": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "team_id": { + "type": "string" + } + } + }, + "CustomReconciliation": { + "oneOf": [ + { + "type": "object", + "required": [ + "result", + "status" + ], + "properties": { + "result": {}, + "status": { + "type": "string", + "enum": [ + "applied" + ] + } + } + }, + { + "type": "object", + "required": [ + "status" + ], + "properties": { + "status": { + "type": "string", + "enum": [ + "absent" + ] + } + } + }, + { + "type": "object", + "required": [ + "reason", + "status" + ], + "properties": { + "reason": { + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "uncertain" + ] + } + } + } + ], + "description": "Remote mutations must distinguish absence from an unresolved prior attempt." + }, + "CustomRuntimeCommand": { + "oneOf": [ + { + "type": "object", + "required": [ + "operation" + ], + "properties": { + "operation": { + "type": "string", + "enum": [ + "register_agent_identity" + ] + } + } + }, + { + "type": "object", + "required": [ + "tags", + "operation" + ], + "properties": { + "operation": { + "type": "string", + "enum": [ + "normalize_mentions" + ] + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + { + "type": "object", + "required": [ + "conversation_key", + "operation" + ], + "properties": { + "conversation_key": { + "type": "string" + }, + "operation": { + "type": "string", + "enum": [ + "ensure_conversation" + ] + }, + "provider_thread": {}, + "title": { + "type": [ + "string", + "null" + ] + } } }, - "common_provider": { - "oneOf": [ - { - "type": "null" + { + "type": "object", + "required": [ + "session_id", + "media_type", + "operation" + ], + "properties": { + "filename": { + "type": [ + "string", + "null" + ] }, - { - "$ref": "#/components/schemas/CommonProviderCredentialSetup" + "media_type": { + "type": "string" + }, + "operation": { + "type": "string", + "enum": [ + "create_attachment_upload" + ] + }, + "session_id": { + "type": "string" + }, + "size_bytes": { + "type": [ + "integer", + "null" + ], + "format": "int64" } - ] - }, - "configuration_defaults": { - "$ref": "#/components/schemas/WrappedJsonValue" - }, - "created_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "credential_source_type_id": { - "type": "string" - }, - "desired_enabled": { - "type": "boolean" - }, - "display_name": { - "type": "string" - }, - "icon_url": { - "type": [ - "string", - "null" - ] - }, - "id": { - "type": "string" - }, - "last_error": { - "type": [ - "string", - "null" - ] - }, - "metadata": { - "$ref": "#/components/schemas/WrappedJsonValue" - }, - "org_id": { - "type": "string" - }, - "owner_id": { - "type": "string" - }, - "owner_type": { - "type": "string" - }, - "provider_display_name": { - "type": [ - "string", - "null" - ] - }, - "provider_id": { - "type": "string" - }, - "provider_provisioner_id": { - "type": [ - "string", - "null" - ] + } }, - "resource_server_credential_id": { - "oneOf": [ - { - "type": "null" + { + "type": "object", + "required": [ + "session_id", + "attachment_id", + "operation" + ], + "properties": { + "attachment_id": { + "type": "string" }, - { - "$ref": "#/components/schemas/WrappedUuidV4" + "operation": { + "type": "string", + "enum": [ + "complete_attachment_upload" + ] + }, + "session_id": { + "type": "string" + }, + "sha256": { + "type": [ + "string", + "null" + ] + }, + "size_bytes": { + "type": [ + "integer", + "null" + ], + "format": "int64" } - ] - }, - "return_url": { - "type": [ - "string", - "null" - ] + } }, - "source": { - "oneOf": [ - { - "type": "null" + { + "type": "object", + "required": [ + "session_id", + "attachment_id", + "operation" + ], + "properties": { + "attachment_id": { + "type": "string" }, - { - "$ref": "#/components/schemas/CredentialSetupSource" + "operation": { + "type": "string", + "enum": [ + "attachment_download" + ] + }, + "session_id": { + "type": "string" } - ] - }, - "status": { - "$ref": "#/components/schemas/CredentialSetupItemStatus" - }, - "team_id": { - "type": "string" + } }, - "updated_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" + { + "type": "object", + "required": [ + "session_id", + "identity", + "operation" + ], + "properties": { + "identity": { + "$ref": "#/components/schemas/CustomExternalIdentity" + }, + "operation": { + "type": "string", + "enum": [ + "upsert_participant" + ] + }, + "session_id": { + "type": "string" + } + } }, - "user_credential_id": { - "oneOf": [ - { - "type": "null" + { + "type": "object", + "required": [ + "session_id", + "external_id", + "operation" + ], + "properties": { + "external_id": { + "type": "string" }, - { - "$ref": "#/components/schemas/WrappedUuidV4" + "operation": { + "type": "string", + "enum": [ + "leave_participant" + ] + }, + "session_id": { + "type": "string" } - ] - } - } - }, - "CredentialSetupItemPaginatedResponse": { - "type": "object", - "required": [ - "items" - ], - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CredentialSetupItem" } }, - "next_page_token": { - "type": "string" + { + "type": "object", + "required": [ + "session_id", + "operation" + ], + "properties": { + "next_page_token": { + "type": [ + "string", + "null" + ] + }, + "operation": { + "type": "string", + "enum": [ + "history" + ] + }, + "page_size": { + "type": [ + "integer", + "null" + ], + "format": "int64" + }, + "session_id": { + "type": "string" + } + } } - } - }, - "CredentialSetupItemStatus": { - "type": "string", - "enum": [ - "pending", - "in_progress", - "connected", - "failed" - ] + ], + "description": "Narrow operations a provider may perform inside its own bound conversations." }, - "CredentialSetupNextAction": { + "CustomRuntimeResponse": { "oneOf": [ { "type": "object", "required": [ - "url", + "identity", "type" ], "properties": { + "identity": { + "$ref": "#/components/schemas/ChatKitIdentity" + }, "type": { "type": "string", "enum": [ - "redirect" + "identity" ] - }, - "url": { - "type": "string" } } }, { "type": "object", "required": [ - "credential_kind", - "fields", - "submit_label", + "identities", "type" ], "properties": { - "configuration_defaults": { - "$ref": "#/components/schemas/WrappedJsonValue", - "description": "Non-secret, server-authored values merged into the submitted\ncredential configuration. This keeps portable state capable of\ncarrying protocol metadata without exposing it as editable form\nfields or exporting secrets." - }, - "credential_kind": { - "$ref": "#/components/schemas/CredentialSetupCredentialKind" - }, - "fields": { + "identities": { "type": "array", "items": { - "$ref": "#/components/schemas/CredentialSetupFormField" + "$ref": "#/components/schemas/ChatKitIdentity" } }, - "submit_label": { + "type": { + "type": "string", + "enum": [ + "mentions" + ] + } + } + }, + { + "type": "object", + "required": [ + "session_id", + "type" + ], + "properties": { + "session_id": { "type": "string" }, "type": { "type": "string", "enum": [ - "submit_form" + "conversation" ] } } @@ -50534,10 +54114,103 @@ { "type": "object", "required": [ + "upload", "type" ], "properties": { - "message": { + "type": { + "type": "string", + "enum": [ + "upload" + ] + }, + "upload": { + "$ref": "#/components/schemas/CreateAttachmentUploadResponse" + } + } + }, + { + "type": "object", + "required": [ + "attachment", + "type" + ], + "properties": { + "attachment": { + "$ref": "#/components/schemas/Attachment" + }, + "type": { + "type": "string", + "enum": [ + "attachment" + ] + } + } + }, + { + "type": "object", + "required": [ + "download", + "type" + ], + "properties": { + "download": { + "$ref": "#/components/schemas/GetAttachmentDownloadUrlResponse" + }, + "type": { + "type": "string", + "enum": [ + "download" + ] + } + } + }, + { + "type": "object", + "required": [ + "participant", + "type" + ], + "properties": { + "participant": { + "$ref": "#/components/schemas/ChatKitParticipant" + }, + "type": { + "type": "string", + "enum": [ + "participant" + ] + } + } + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "left" + ] + } + } + }, + { + "type": "object", + "required": [ + "messages", + "type" + ], + "properties": { + "messages": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomVisibleMessage" + } + }, + "next_page_token": { "type": [ "string", "null" @@ -50546,82 +54219,135 @@ "type": { "type": "string", "enum": [ - "complete" + "history" ] } } } - ] - }, - "CredentialSetupSource": { - "type": "string", - "description": "Origin of a durable credential setup item.", - "enum": [ - "state_import", - "user_credential_brokering", - "mcp_tool_group_instance_creation", - "mcp_proxied_server_connection" - ] + ], + "description": "Runtime responses deliberately expose no general team resource operations." }, - "CredentialSourceSerialized": { + "CustomSessionContext": { "type": "object", + "description": "Coordinates verified against the active turn before invoking a session tool.", "required": [ - "type_id", - "configuration_schema", - "name", - "display_name", - "auth_adapter", - "documentation", - "requires_brokering", - "requires_resource_server_credential_refreshing", - "requires_user_credential_refreshing", - "supports_auto_display_name", - "display_name_description" + "session_id", + "agent_inbox_instance_id", + "target_inbox_instance_id", + "trigger_message_id", + "execution_id", + "conversation_key", + "external_message_id", + "provider_message", + "provider_thread" ], "properties": { - "auth_adapter": { - "$ref": "#/components/schemas/ProviderAuthAdapterConfig" + "agent_inbox_instance_id": { + "type": "string" }, - "configuration_schema": { - "$ref": "#/components/schemas/ConfigurationSchema" + "conversation_key": { + "type": "string" }, - "display_name": { + "execution_id": { "type": "string" }, - "display_name_description": { + "external_message_id": { "type": "string" }, - "documentation": { + "participants": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomSessionParticipant" + } + }, + "provider_message": {}, + "provider_thread": { + "description": "Only the provider adapter interprets this external reply handle." + }, + "session_id": { "type": "string" }, - "name": { + "target_inbox_instance_id": { "type": "string" }, - "requires_brokering": { - "type": "boolean" + "trigger_message_id": { + "type": "string" + } + } + }, + "CustomSessionParticipant": { + "type": "object", + "description": "Active delivery roster, excluding Tilde authorization principals and other connections' addresses.", + "required": [ + "instance_id", + "display_name", + "is_agent" + ], + "properties": { + "display_name": { + "type": "string" }, - "requires_resource_server_credential_refreshing": { - "type": "boolean" + "external_id": { + "type": [ + "string", + "null" + ] }, - "requires_user_credential_refreshing": { - "type": "boolean" + "instance_id": { + "type": "string" }, - "supports_auto_display_name": { + "is_agent": { "type": "boolean" + } + } + }, + "CustomSessionTool": { + "type": "object", + "description": "Tool schemas describe business inputs only. Context travels separately.", + "required": [ + "name", + "description", + "input_schema", + "output_schema" + ], + "properties": { + "description": { + "type": "string" }, - "type_id": { + "input_schema": {}, + "name": { "type": "string" + }, + "output_schema": {}, + "read_only": { + "type": "boolean" } } }, - "CurrentSeatStatus": { - "type": "string", - "description": "Current caller's seat state. Machine identities never consume seats.", - "enum": [ - "active", - "not_assigned", - "not_billable" - ] + "CustomSessionToolCatalog": { + "type": "object", + "description": "Server-bound tool catalog for the authenticated agent's current turn.", + "required": [ + "tools" + ], + "properties": { + "context": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/CustomSessionContext" + } + ] + }, + "tools": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomSessionTool" + } + } + } }, "CustomSkillSpec": { "type": "object", @@ -50816,6 +54542,33 @@ } } }, + "CustomVisibleMessage": { + "type": "object", + "required": [ + "id", + "role", + "text", + "sender_display_name", + "created_at" + ], + "properties": { + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "id": { + "type": "string" + }, + "role": { + "$ref": "#/components/schemas/MessageRole" + }, + "sender_display_name": { + "type": "string" + }, + "text": { + "type": "string" + } + } + }, "DataUIPart": { "type": "object", "description": "Data UI part - represents custom data parts", @@ -50936,49 +54689,6 @@ } } }, - "DelegatedIdentity": { - "type": "object", - "description": "A runtime actor authenticated by an organization application credential.\nCredential authority remains separate from the actor's own groups.", - "required": [ - "sub", - "org_id", - "proxy_token_id", - "kind", - "groups" - ], - "properties": { - "email": { - "type": [ - "string", - "null" - ] - }, - "groups": { - "type": "array", - "items": { - "type": "string" - } - }, - "kind": { - "$ref": "#/components/schemas/UserType" - }, - "org_id": { - "type": "string" - }, - "proxy_token_id": { - "type": "string" - }, - "sub": { - "type": "string" - }, - "team_id": { - "type": [ - "string", - "null" - ] - } - } - }, "DeleteChatKitAgentTurnQueueItemResponse": { "type": "object", "required": [ @@ -51094,46 +54804,6 @@ } } }, - "DirectTokenPayment": { - "type": "object", - "required": [ - "destination_address", - "amount" - ], - "properties": { - "amount": { - "type": "string" - }, - "asset": { - "type": "string" - }, - "chain": { - "type": "string" - }, - "destination_address": { - "type": "string" - }, - "destination_asset": { - "type": [ - "string", - "null" - ] - }, - "destination_chain": { - "type": [ - "string", - "null" - ] - }, - "slippage_bps": { - "type": [ - "integer", - "null" - ], - "format": "int64" - } - } - }, "DownloadSkillPackageFileRequest": { "type": "object", "description": "Selects one package file for a lazy download URL.", @@ -51610,80 +55280,6 @@ } } }, - "GetBalancesResponse": { - "type": "object", - "required": [ - "wallet_id", - "balances" - ], - "properties": { - "balances": { - "$ref": "#/components/schemas/WrappedJsonValue" - }, - "wallet_id": { - "type": "string" - } - } - }, - "GetCryptoDepositInformationResponse": { - "type": "object", - "required": [ - "wallet_id", - "crypto" - ], - "properties": { - "crypto": { - "$ref": "#/components/schemas/WrappedJsonValue" - }, - "wallet_id": { - "type": "string" - } - } - }, - "GetFiatDepositInformationResponse": { - "type": "object", - "required": [ - "wallet_id", - "currency", - "fiat" - ], - "properties": { - "currency": { - "type": "string" - }, - "fiat": { - "$ref": "#/components/schemas/WrappedJsonValue" - }, - "wallet_id": { - "type": "string" - } - } - }, - "GetWalletCustomerKycResponse": { - "type": "object", - "required": [ - "wallet_customer_id", - "compose_customer_id", - "kyc_verified" - ], - "properties": { - "compose_customer_id": { - "type": "string" - }, - "kyc_flow_link": { - "type": [ - "string", - "null" - ] - }, - "kyc_verified": { - "type": "boolean" - }, - "wallet_customer_id": { - "type": "string" - } - } - }, "Goal": { "type": "object", "description": "Durable desired outcome owned by one explicit agent in one conversation.", @@ -52460,20 +56056,6 @@ "groups" ], "properties": { - "account_groups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Administrative account roles, separate from the runtime actor's resource groups." - }, - "account_id": { - "type": [ - "string", - "null" - ], - "description": "Login account that authenticated this runtime actor. Human-owned API keys have no account session." - }, "email": { "type": [ "string", @@ -53035,29 +56617,6 @@ }, "Identity": { "oneOf": [ - { - "allOf": [ - { - "$ref": "#/components/schemas/DelegatedIdentity", - "description": "Application-authenticated runtime identity; never a login account." - }, - { - "type": "object", - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "delegated" - ] - } - } - } - ], - "description": "Application-authenticated runtime identity; never a login account." - }, { "allOf": [ { @@ -53122,82 +56681,6 @@ ], "description": "Authenticated identity representing the caller of a request.\n\nThis is the result of authentication and is used throughout the system\nfor authorization decisions." }, - "IdentityClaimRequest": { - "type": "object", - "required": [ - "claim" - ], - "properties": { - "claim": { - "type": "string" - } - } - }, - "IdentityIdentifier": { - "type": "object", - "required": [ - "namespace", - "value" - ], - "properties": { - "namespace": { - "type": "string" - }, - "value": { - "type": "string" - } - } - }, - "IdentityLinkDelivery": { - "type": "object", - "required": [ - "type", - "address" - ], - "properties": { - "address": { - "type": "string" - }, - "type": { - "type": "string" - } - } - }, - "IdentityLinkPreview": { - "type": "object", - "required": [ - "application_name", - "org_id", - "identity_id", - "expires_at" - ], - "properties": { - "account_email": { - "type": [ - "string", - "null" - ] - }, - "application_name": { - "type": "string" - }, - "display_name": { - "type": [ - "string", - "null" - ] - }, - "expires_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "identity_id": { - "type": "string" - }, - "org_id": { - "type": "string" - } - } - }, "IdentityLinkRoute": { "type": "object", "description": "Tenant a linked address routes to when it arrives on a shared channel.", @@ -53219,66 +56702,6 @@ } } }, - "IdentityTeam": { - "type": "object", - "required": [ - "org_id", - "team_id", - "identity_id" - ], - "properties": { - "identity_id": { - "type": "string" - }, - "org_id": { - "type": "string" - }, - "team_id": { - "type": "string" - } - } - }, - "IdentityTeamMembership": { - "type": "object", - "description": "Runtime membership only; this record never grants a login-account role.", - "required": [ - "identity_id", - "org_id", - "team_id", - "role" - ], - "properties": { - "identity_id": { - "type": "string" - }, - "org_id": { - "type": "string" - }, - "role": { - "type": "string" - }, - "team_id": { - "type": "string" - } - } - }, - "IdentityTeamMembershipPaginatedResponse": { - "type": "object", - "required": [ - "items" - ], - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IdentityTeamMembership" - } - }, - "next_page_token": { - "type": "string" - } - } - }, "IdentityVerification": { "type": "object", "description": "One pending or completed challenge. The code hash is never on the wire.", @@ -54176,27 +57599,6 @@ } } }, - "LinkedIdentity": { - "type": "object", - "required": [ - "org_id", - "identity_id" - ], - "properties": { - "identity_id": { - "type": "string" - }, - "org_id": { - "type": "string" - }, - "return_url": { - "type": [ - "string", - "null" - ] - } - } - }, "ListApiKeysResponse": { "type": "object", "required": [ @@ -54416,233 +57818,6 @@ } ] }, - "MakeMppPaymentRequest": { - "type": "object", - "required": [ - "wallet_id", - "url" - ], - "properties": { - "body": {}, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - } - }, - "max_amount": { - "type": [ - "string", - "null" - ] - }, - "max_amount_atomic": { - "type": [ - "string", - "null" - ] - }, - "method": { - "type": [ - "string", - "null" - ] - }, - "payment": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DirectTokenPayment" - } - ] - }, - "preferred_assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "preferred_channels": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Payment-channel contract addresses the caller explicitly permits.\nStateful methods that sign a server-selected channel, such as the\nStellar `channel` intent, require this pin on their first use. A\nvalidated `session_snapshot` pins subsequent requests." - }, - "preferred_networks": { - "type": "array", - "items": { - "type": "string" - } - }, - "preferred_recipients": { - "type": "array", - "items": { - "type": "string" - } - }, - "session_action": { - "type": [ - "string", - "null" - ], - "description": "Session lifecycle action (`open`, `voucher`, `commit`, `topUp`, or\n`close`). Omit to open when no snapshot is supplied and voucher\notherwise." - }, - "session_amount_atomic": { - "type": [ - "string", - "null" - ], - "description": "Incremental session amount in atomic units. Required for voucher and\ncommit actions unless the challenge pins an increment." - }, - "session_delivery_id": { - "type": [ - "string", - "null" - ], - "description": "Delivery identifier required by a metered `commit` action." - }, - "session_snapshot": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/PaymentSessionSnapshot", - "description": "Previously returned client session state for restart-safe continuation." - } - ] - }, - "settlement_mode": { - "type": [ - "string", - "null" - ], - "description": "Preferred method-specific settlement mode. Methods that negotiate\nclient versus server broadcast currently accept `push` or `pull`." - }, - "transport": { - "type": [ - "string", - "null" - ], - "description": "Payment transport. Defaults to `http`; use `mcp` for MCP's nested\npayment metadata or `jsonrpc` for the generic root `_meta` binding.\nTempo session challenges also support `sse` and `websocket` (`ws`) for\nmetered streaming with in-band voucher and receipt handling." - }, - "url": { - "type": "string" - }, - "wallet_id": { - "type": "string" - } - } - }, - "MakeX402PaymentRequest": { - "type": "object", - "required": [ - "wallet_id", - "url" - ], - "properties": { - "body": {}, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - } - }, - "max_amount": { - "type": [ - "string", - "null" - ] - }, - "max_amount_atomic": { - "type": [ - "string", - "null" - ] - }, - "method": { - "type": [ - "string", - "null" - ] - }, - "payment": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DirectTokenPayment" - } - ] - }, - "preferred_assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "preferred_networks": { - "type": "array", - "items": { - "type": "string" - } - }, - "preferred_recipients": { - "type": "array", - "items": { - "type": "string" - } - }, - "session_action": { - "type": [ - "string", - "null" - ], - "description": "Stateful scheme action (`open`, `voucher`, or `refund`). Omit to open\nwhen no snapshot is supplied and voucher otherwise." - }, - "session_amount_atomic": { - "type": [ - "string", - "null" - ], - "description": "Incremental amount for voucher/close actions, in atomic units." - }, - "session_snapshot": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/PaymentSessionSnapshot", - "description": "Previously returned client session state for restart-safe continuation." - } - ] - }, - "transport": { - "type": [ - "string", - "null" - ], - "description": "Payment transport. Defaults to `http`; use `mcp` when `body` is the\nJSON-RPC MCP tool-call request that should be retried with x402 metadata." - }, - "url": { - "type": "string" - }, - "wallet_id": { - "type": "string" - } - } - }, "ManagedSkillSelection": { "type": "object", "required": [ @@ -56355,41 +59530,6 @@ } } }, - "OnboardOrganizationRequest": { - "type": "object", - "required": [ - "name", - "team_name" - ], - "properties": { - "name": { - "type": "string" - }, - "team_name": { - "type": "string" - } - }, - "additionalProperties": false - }, - "OnboardOrganizationResponse": { - "type": "object", - "required": [ - "org_id", - "team_id", - "identity_id" - ], - "properties": { - "identity_id": { - "type": "string" - }, - "org_id": { - "type": "string" - }, - "team_id": { - "type": "string" - } - } - }, "OntologyPageTypeDefinition": { "type": "object", "description": "A page type bundled by an ontology template.", @@ -56716,98 +59856,6 @@ "disabled" ] }, - "OrgProxyToken": { - "type": "object", - "required": [ - "id", - "org_id", - "name", - "token_prefix", - "capabilities", - "allowed_return_urls", - "created_by_account_id", - "created_at" - ], - "properties": { - "allowed_return_urls": { - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "type": "array", - "items": { - "type": "string" - } - }, - "created_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "created_by_account_id": { - "type": "string" - }, - "expires_at": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - ] - }, - "id": { - "type": "string" - }, - "last_used_at": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - ] - }, - "name": { - "type": "string" - }, - "org_id": { - "type": "string" - }, - "revoked_at": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - ] - }, - "token_prefix": { - "type": "string" - } - } - }, - "OrgProxyTokenPaginatedResponse": { - "type": "object", - "required": [ - "items" - ], - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/OrgProxyToken" - } - }, - "next_page_token": { - "type": "string" - } - } - }, "Organization": { "type": "object", "required": [ @@ -56905,13 +59953,6 @@ "user" ], "properties": { - "account_id": { - "type": [ - "string", - "null" - ], - "description": "Enabled Tilde login account linked to this runtime identity, when present." - }, "membership": { "$ref": "#/components/schemas/UserOrganization" }, @@ -57033,264 +60074,6 @@ "done" ] }, - "PayOnboardingStep": { - "type": "string", - "enum": [ - "enter_details", - "complete_kyc", - "ready" - ] - }, - "PayPaymentRequest": { - "type": "object", - "required": [ - "wallet_id", - "url" - ], - "properties": { - "body": {}, - "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "propertyNames": { - "type": "string" - } - }, - "max_amount": { - "type": [ - "string", - "null" - ] - }, - "max_amount_atomic": { - "type": [ - "string", - "null" - ] - }, - "method": { - "type": [ - "string", - "null" - ] - }, - "payment": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/DirectTokenPayment" - } - ] - }, - "preferred_assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "preferred_channels": { - "type": "array", - "items": { - "type": "string" - } - }, - "preferred_networks": { - "type": "array", - "items": { - "type": "string" - } - }, - "preferred_recipients": { - "type": "array", - "items": { - "type": "string" - } - }, - "session_action": { - "type": [ - "string", - "null" - ] - }, - "session_amount_atomic": { - "type": [ - "string", - "null" - ] - }, - "session_delivery_id": { - "type": [ - "string", - "null" - ] - }, - "session_snapshot": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/PaymentSessionSnapshot" - } - ] - }, - "settlement_mode": { - "type": [ - "string", - "null" - ] - }, - "transport": { - "type": [ - "string", - "null" - ] - }, - "url": { - "type": "string" - }, - "wallet_id": { - "type": "string" - } - } - }, - "PayWalletSummaryError": { - "type": "object", - "required": [ - "field", - "message" - ], - "properties": { - "field": { - "type": "string" - }, - "message": { - "type": "string" - } - } - }, - "PayWalletSummaryResponse": { - "type": "object", - "properties": { - "balances": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/GetBalancesResponse" - } - ] - }, - "crypto_deposit": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/GetCryptoDepositInformationResponse" - } - ] - }, - "fiat_deposit": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/GetFiatDepositInformationResponse" - } - ] - }, - "summary_errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PayWalletSummaryError" - } - }, - "wallet": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/Wallet" - } - ] - } - } - }, - "PaymentResponse": { - "type": "object", - "required": [ - "wallet_id", - "protocol", - "response" - ], - "properties": { - "protocol": { - "type": "string" - }, - "response": { - "$ref": "#/components/schemas/WrappedJsonValue" - }, - "wallet_id": { - "type": "string" - } - } - }, - "PaymentSessionSnapshot": { - "type": "object", - "description": "Opaque-enough client state needed to safely resume a stateful payment\nscheme after a process restart. Every field is authenticated again against\nthe next server challenge before it is used.", - "required": [ - "protocol", - "method", - "network", - "channel_id", - "cumulative_amount", - "nonce", - "expires_at", - "deposit_amount", - "authorized_signer" - ], - "properties": { - "authorized_signer": { - "type": "string" - }, - "channel_id": { - "type": "string" - }, - "cumulative_amount": { - "type": "string" - }, - "deposit_amount": { - "type": "string" - }, - "expires_at": { - "type": "integer", - "format": "int64" - }, - "metadata": {}, - "method": { - "type": "string" - }, - "network": { - "type": "string" - }, - "nonce": { - "type": "integer", - "format": "int64", - "minimum": 0 - }, - "protocol": { - "type": "string" - } - } - }, "PersonalMcpServerInstanceSerialized": { "type": "object", "required": [ @@ -58904,119 +61687,6 @@ } } }, - "ProvisionIdentityTeamRequest": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string" - } - } - }, - "ProvisionPayBrowserResponse": { - "type": "object", - "required": [ - "browser_definition_id", - "enabled_tool_ids" - ], - "properties": { - "browser_definition_id": { - "type": "string" - }, - "enabled_tool_ids": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ProvisionTildePayRequest": { - "type": "object", - "properties": { - "account_type": { - "type": [ - "string", - "null" - ] - }, - "name": { - "type": [ - "string", - "null" - ] - }, - "owner_id": { - "type": [ - "string", - "null" - ] - } - } - }, - "ProvisionTildePayResponse": { - "type": "object", - "required": [ - "next_step" - ], - "properties": { - "browser": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ProvisionPayBrowserResponse" - } - ] - }, - "customer": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WalletCustomer" - } - ] - }, - "kyc": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/GetWalletCustomerKycResponse" - } - ] - }, - "mcp": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/SetupPayMcpResponse" - } - ] - }, - "next_step": { - "$ref": "#/components/schemas/PayOnboardingStep" - }, - "wallet": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/Wallet" - } - ] - } - } - }, "ProvisionedProviderApp": { "type": "object", "description": "App credentials and metadata created by a provider provisioner.", @@ -59768,34 +62438,6 @@ } } }, - "RefreshWalletTransactionHistoryResponse": { - "type": "object", - "required": [ - "wallet_id", - "scanned_chains", - "inserted_or_updated", - "linked_transactions" - ], - "properties": { - "inserted_or_updated": { - "type": "integer", - "minimum": 0 - }, - "linked_transactions": { - "type": "integer", - "minimum": 0 - }, - "scanned_chains": { - "type": "array", - "items": { - "type": "string" - } - }, - "wallet_id": { - "type": "string" - } - } - }, "RegisterAgentTool": { "type": "object", "required": [ @@ -60368,17 +63010,6 @@ } } }, - "RenameProxyTokenRequest": { - "type": "object", - "required": [ - "name" - ], - "properties": { - "name": { - "type": "string" - } - } - }, "ReorderChatKitAgentTurnQueueItemRequestInner": { "type": "object", "required": [ @@ -61149,6 +63780,17 @@ } } }, + "RetryConnectionWork": { + "type": "object", + "required": [ + "work_id" + ], + "properties": { + "work_id": { + "type": "string" + } + } + }, "RetryMemorySourceBody": { "type": "object", "required": [ @@ -61831,7 +64473,7 @@ "type": "string" }, "posthog_product": { - "type": "string" + "$ref": "#/components/schemas/BillingProductId" }, "posthog_project_id": { "type": "string" @@ -61850,59 +64492,6 @@ } } }, - "RuntimeIdentity": { - "type": "object", - "required": [ - "id", - "org_id", - "kind", - "disabled", - "identifiers" - ], - "properties": { - "disabled": { - "type": "boolean" - }, - "display_name": { - "type": [ - "string", - "null" - ] - }, - "id": { - "type": "string" - }, - "identifiers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IdentityIdentifier" - } - }, - "kind": { - "$ref": "#/components/schemas/UserType" - }, - "org_id": { - "type": "string" - } - } - }, - "RuntimeIdentityPaginatedResponse": { - "type": "object", - "required": [ - "items" - ], - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RuntimeIdentity" - } - }, - "next_page_token": { - "type": "string" - } - } - }, "SelectDebugAuthProfileRequest": { "type": "object", "required": [ @@ -62293,6 +64882,12 @@ "content" ], "properties": { + "attachment_ids": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, "bcc": { "type": [ "array", @@ -62320,6 +64915,17 @@ "null" ] }, + "provider_options": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedJsonValue", + "description": "Private adapter extensions, never interpreted as routing or authority." + } + ] + }, "reply_all": { "type": [ "boolean", @@ -62676,32 +65282,6 @@ } } }, - "SetupPayMcpResponse": { - "type": "object", - "required": [ - "mcp_server_id", - "tool_group_instance_id", - "enabled_tool_ids", - "mcp_path" - ], - "properties": { - "enabled_tool_ids": { - "type": "array", - "items": { - "type": "string" - } - }, - "mcp_path": { - "type": "string" - }, - "mcp_server_id": { - "type": "string" - }, - "tool_group_instance_id": { - "type": "string" - } - } - }, "SignalAction": { "oneOf": [ { @@ -66864,29 +69444,6 @@ } } }, - "UpdateIdentityRequest": { - "type": "object", - "properties": { - "disabled": { - "type": [ - "boolean", - "null" - ] - }, - "display_name": { - "type": [ - "string", - "null" - ] - }, - "identifiers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IdentityIdentifier" - } - } - } - }, "UpdateManagedUserCredentialBody": { "type": "object", "required": [ @@ -68335,553 +70892,6 @@ "admin" ] }, - "WaitForPayBalanceRequest": { - "type": "object", - "required": [ - "wallet_id", - "asset", - "minimum_amount" - ], - "properties": { - "asset": { - "type": "string" - }, - "minimum_amount": { - "type": "number", - "format": "double" - }, - "poll_interval_secs": { - "type": [ - "integer", - "null" - ], - "format": "int64", - "minimum": 0 - }, - "timeout_secs": { - "type": [ - "integer", - "null" - ], - "format": "int64", - "minimum": 0 - }, - "wallet_id": { - "type": "string" - } - } - }, - "WaitUntilBalanceRequest": { - "type": "object", - "required": [ - "wallet_id", - "asset", - "minimum_amount" - ], - "properties": { - "asset": { - "type": "string" - }, - "minimum_amount": { - "type": "number", - "format": "double" - }, - "poll_interval_secs": { - "type": "integer", - "format": "int64", - "minimum": 0 - }, - "timeout_secs": { - "type": "integer", - "format": "int64", - "minimum": 0 - }, - "wallet_id": { - "type": "string" - } - } - }, - "WaitUntilBalanceResponse": { - "type": "object", - "required": [ - "wallet_id", - "satisfied", - "observed_amount" - ], - "properties": { - "observed_amount": { - "type": "number", - "format": "double" - }, - "satisfied": { - "type": "boolean" - }, - "wallet_id": { - "type": "string" - } - } - }, - "Wallet": { - "type": "object", - "required": [ - "id", - "org_id", - "team_id", - "name", - "status", - "wallet_customer_id", - "privy_wallet_id", - "privy_evm_address", - "compose_customer_id", - "compose_deposit_currency", - "compose_deposit_chain", - "created_at", - "updated_at" - ], - "properties": { - "cached_compose_balances": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedJsonValue" - } - ] - }, - "compose_customer_id": { - "type": "string" - }, - "compose_deposit_chain": { - "type": "string" - }, - "compose_deposit_currency": { - "type": "string" - }, - "compose_deposit_wallet_id": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "id": { - "type": "string" - }, - "last_compose_sync_at": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - ] - }, - "name": { - "type": "string" - }, - "org_id": { - "type": "string" - }, - "owner_id": { - "type": [ - "string", - "null" - ] - }, - "privy_evm_address": { - "type": "string" - }, - "privy_wallet_id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "team_id": { - "type": "string" - }, - "updated_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "wallet_customer_id": { - "type": "string" - } - } - }, - "WalletCustomer": { - "type": "object", - "required": [ - "id", - "org_id", - "team_id", - "name", - "account_type", - "compose_customer_id", - "kyc_verified", - "compose_customer_payload", - "created_at", - "updated_at" - ], - "properties": { - "account_type": { - "type": "string" - }, - "compose_customer_id": { - "type": "string" - }, - "compose_customer_payload": { - "$ref": "#/components/schemas/WrappedJsonValue" - }, - "compose_kyc_payload": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedJsonValue" - } - ] - }, - "created_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "id": { - "type": "string" - }, - "kyc_flow_link": { - "type": [ - "string", - "null" - ] - }, - "kyc_verified": { - "type": "boolean" - }, - "name": { - "type": "string" - }, - "org_id": { - "type": "string" - }, - "owner_id": { - "type": [ - "string", - "null" - ] - }, - "team_id": { - "type": "string" - }, - "updated_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - } - }, - "WalletCustomerPaginatedResponse": { - "type": "object", - "required": [ - "items" - ], - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WalletCustomer" - } - }, - "next_page_token": { - "type": "string" - } - } - }, - "WalletMerchant": { - "type": "object", - "required": [ - "id", - "org_id", - "team_id", - "origin", - "merchant_url", - "raw_metadata", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "favicon_url": { - "type": [ - "string", - "null" - ] - }, - "icon_fetched_at": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - ] - }, - "icon_media_type": { - "type": [ - "string", - "null" - ] - }, - "icon_sha256": { - "type": [ - "string", - "null" - ] - }, - "id": { - "type": "string" - }, - "merchant_url": { - "type": "string" - }, - "name": { - "type": [ - "string", - "null" - ] - }, - "org_id": { - "type": "string" - }, - "origin": { - "type": "string" - }, - "raw_metadata": { - "$ref": "#/components/schemas/WrappedJsonValue" - }, - "team_id": { - "type": "string" - }, - "updated_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - } - }, - "WalletPaginatedResponse": { - "type": "object", - "required": [ - "items" - ], - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Wallet" - } - }, - "next_page_token": { - "type": "string" - } - } - }, - "WalletTransactionHistoryItem": { - "type": "object", - "required": [ - "id", - "org_id", - "team_id", - "wallet_id", - "item_type", - "direction", - "status", - "occurred_at", - "raw_payload", - "created_at", - "updated_at" - ], - "properties": { - "amount": { - "type": [ - "string", - "null" - ] - }, - "amount_decimals": { - "type": [ - "integer", - "null" - ], - "format": "int32" - }, - "amount_raw": { - "type": [ - "string", - "null" - ] - }, - "asset": { - "type": [ - "string", - "null" - ] - }, - "chain": { - "type": [ - "string", - "null" - ] - }, - "counterparty_address": { - "type": [ - "string", - "null" - ] - }, - "created_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "direction": { - "type": "string" - }, - "id": { - "type": "string" - }, - "item_type": { - "type": "string" - }, - "merchant": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WalletMerchant" - } - ] - }, - "merchant_id": { - "type": [ - "string", - "null" - ] - }, - "occurred_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "org_id": { - "type": "string" - }, - "raw_payload": { - "$ref": "#/components/schemas/WrappedJsonValue" - }, - "scanned_at": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedChronoDateTime" - } - ] - }, - "status": { - "type": "string" - }, - "team_id": { - "type": "string" - }, - "updated_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "wallet_id": { - "type": "string" - } - } - }, - "WalletTransactionHistoryItemPaginatedResponse": { - "type": "object", - "required": [ - "items" - ], - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WalletTransactionHistoryItem" - } - }, - "next_page_token": { - "type": "string" - } - } - }, - "WalletVirtualAccount": { - "type": "object", - "required": [ - "id", - "org_id", - "team_id", - "wallet_id", - "wallet_customer_id", - "compose_customer_id", - "compose_virtual_account_id", - "currency", - "created_at", - "updated_at" - ], - "properties": { - "cached_compose_deposit_info": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedJsonValue" - } - ] - }, - "compose_customer_id": { - "type": "string" - }, - "compose_virtual_account_id": { - "type": "string" - }, - "created_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "currency": { - "type": "string" - }, - "id": { - "type": "string" - }, - "org_id": { - "type": "string" - }, - "status": { - "type": [ - "string", - "null" - ] - }, - "team_id": { - "type": "string" - }, - "updated_at": { - "$ref": "#/components/schemas/WrappedChronoDateTime" - }, - "wallet_customer_id": { - "type": "string" - }, - "wallet_id": { - "type": "string" - } - } - }, "WebhookSigningKeyMetadata": { "type": "object", "description": "Safe public metadata for a webhook signing key. Secret material is omitted.", @@ -69889,18 +71899,6 @@ "scheme": "bearer", "bearerFormat": "JWT", "description": "OAuth 2.0 bearer token issued by https://api.trytilde.ai." - }, - "login_cookie": { - "type": "apiKey", - "in": "cookie", - "name": "tilde_access_token", - "description": "Tilde account session; mutations require the same Origin." - }, - "org_proxy_token": { - "type": "apiKey", - "in": "header", - "name": "X-Tilde-Proxy-Token", - "description": "Server-only organization proxy credential. Runtime delegation also requires X-Tilde-Identity-Id and org/team routing; do not combine with login credentials." } } }, diff --git a/packages/api-client/src/generated/index.ts b/packages/api-client/src/generated/index.ts index 10be774a..82272a0f 100644 --- a/packages/api-client/src/generated/index.ts +++ b/packages/api-client/src/generated/index.ts @@ -1,4 +1,4 @@ // This file is auto-generated by @hey-api/openapi-ts -export { acceptInvitation, addCommonProviderInstallationOwnershipGrant, addCommonProviderInstallationVisibilityGrant, addIdentityTeam, addMcpResourceOwnershipGrant, addMcpResourceVisibilityGrant, addMcpServerInstanceFunction, addMemoryBankOwnershipGrant, addMemoryBankVisibilityGrant, addOrganizationMember, addPersonalMemoryBankOwnershipGrant, addPersonalMemoryBankVisibilityGrant, addPersonalRegistryOwnershipGrant, addPersonalRegistryVisibilityGrant, addPersonalRscOwnershipGrant, addPersonalRscVisibilityGrant, addPersonalSkillOwnershipGrant, addPersonalSkillVisibilityGrant, addPersonalUcOwnershipGrant, addPersonalUcVisibilityGrant, addPersonalWikiOwnershipGrant, addPersonalWikiVisibilityGrant, addProviderSkillsToSkillRegistry, addRscOwnershipGrant, addRscVisibilityGrant, addSessionResourceGrant, addSessionUserMember, addSignalProviderGrant, addSkillOwnershipGrant, addSkillRegistryOwnershipGrant, addSkillRegistryVisibilityGrant, addSkillVisibilityGrant, addTeamGroupMember, addTeamMember, addUcOwnershipGrant, addUcVisibilityGrant, addWikiOwnershipGrant, addWikiVisibilityGrant, applyWikiOntologyTemplate, assignPersonalMemoryBankSynthesizer, authorizeOauthDeviceCode, automationsAddGrant, automationsDelete, automationsGet, automationsList, automationsListExecutions, automationsListGrants, automationsPut, automationsRemoveGrant, automationsRun, automationsSetOwnership, automationsSetVisibility, autoProvisionToolGroupInstance, autumnWebhookHandler, billingAiCreditReceiptCommit, billingAiCreditReservationRelease, billingAiCreditReserve, billingAiCreditTopupCreate, billingAiGatewayEnsure, billingAutumnBridgePost, billingContextGet, billingEnrollAccount, billingProductEnrollCurrentHuman, billingRedirect, billingRemoveAccountSeat, billingWebhookStripeDeprecated, bindToolGroupToMcpServer, bulkAddMcpServerInstanceFunctions, bulkRemoveMcpServerInstanceFunctions, cancelHumanApprovalAction, changePersonalWikiOwnership, changeWikiOwnership, chatkitAddAgentResourceGrant, chatkitAddSessionParticipant, chatkitAppendAgentRunStep, chatkitApproveSelfExtensionProposal, chatkitAutoProvisionSlackChannelInstallation, chatkitCacheConvertedMessages, chatkitCancelSelfExtensionProposal, chatkitClaimAgentResourceBundleOutputs, chatkitClaimAgentRuns, chatkitClaimSelfExtensionProposalOutputs, chatkitCollectAgentJobResult, chatkitCompleteSlackProviderProvisionedSetup, chatkitCompleteSlackSelfManagedSetup, chatkitControlAgentRun, chatkitCreateAgentRun, chatkitCreateGoal, chatkitCreateRoomInvitation, chatkitCreateSession, chatkitCreateSlackChannelInstallation, chatkitCreateTask, chatkitDecideCapabilityChange, chatkitDecideRoomInvitation, chatkitDelegateAgentJob, chatkitDeleteAgent, chatkitDeleteAgentTurnQueueItem, chatkitDeleteChatProvider, chatkitFinishAgentRunEffect, chatkitGetActiveAgentRun, chatkitGetAgent, chatkitGetAgentAvatar, chatkitGetAgentJob, chatkitGetAgentObservability, chatkitGetAgentResourceBundleProvisioning, chatkitGetAgentRun, chatkitGetAgentRunEffect, chatkitGetCompactedHistory, chatkitGetGoal, chatkitGetLatestCompaction, chatkitGetSelfExtensionProposal, chatkitGetTask, chatkitHydrateConvertedMessages, chatkitInvokeSessionProviderTool, chatkitJoinSession, chatkitListAgentJobs, chatkitListAgentResourceGrants, chatkitListAgents, chatkitListAgentTurnQueue, chatkitListAvailableChatChannels, chatkitListAvailableChatProviders, chatkitListChatProviders, chatkitListGoals, chatkitListMessageHistory, chatkitListRoomInvitations, chatkitListSelfExtensionProposals, chatkitListSessionParticipants, chatkitListSessions, chatkitListTasks, chatkitPrepareAgentRunEffect, chatkitProposeSelfExtension, chatkitProvisionAgentResourceBundle, chatkitRecallAutomaticMemory, chatkitRegisterAgentTools, chatkitRegisterChatProvider, chatkitRegisterHttpVercelAiSdkAgent, chatkitRegisterVercelUiChatProvider, chatkitRejectSelfExtensionProposal, chatkitRemoveAgentResourceGrant, chatkitRemoveSessionParticipant, chatkitReorderAgentTurnQueueItem, chatkitReportCompactionEvent, chatkitReportToolExecution, chatkitResumeAgentJob, chatkitRevokeRoomInvitation, chatkitRollbackSelfExtensionProposal, chatkitSearch, chatkitSendSessionMessage, chatkitSetAgentPermissions, chatkitSetAgentStatus, chatkitSetChatProviderStatus, chatkitStartSlackOauth, chatkitSteerAgentJob, chatkitSteerAgentTurnQueueItem, chatkitStopAgentJob, chatkitTransitionAgentRun, chatkitUpdateAgent, chatkitUpdateAgentAvatar, chatkitUpdateAgentObservability, chatkitUpdateAgentOwnership, chatkitUpdateAgentToolVisibility, chatkitUpdateAgentVisibility, chatkitUpdateChatProvider, chatkitUpdateGoal, chatkitUpdateTask, chatkitWorkspaceAgentSessions, chatkitWorkspaceBootstrap, chatkitWorkspaceConversationSnapshot, chatkitWorkspaceCreateSession, chatkitWorkspaceInterruptSession, chatkitWorkspaceMessages, chatkitWorkspaceRenameThread, chatkitWorkspaceSendMessage, chatkitWorkspaceSidebar, chatkitWorkspaceSubmitTurn, chatkitWorkspaceUpdateSessionReadState, checkMemoryBankHealth, checkPersonalMemoryBankHealth, claimTemporaryAccount, clearPersonalMemoryBankSynthesizer, completeAttachmentUpload, completeCredentialSetupItem, completeHumanApprovalAction, completeIdentityLink, completeIdentityVerification, completeWikiAssetUpload, configureHostedOpenbotInstance, connectMcpProviderCatalogEntry, connectProxiedMcpServer, createAttachmentUpload, createAttachmentUploads, createCustomToolProvider, createHostedOpenbotDeployment, createHostedOpenbotRelease, createHumanApprovalAction, createIdentity, createIdentityLink, createManagedUserCredential, createMcpServerInstance, createMemoryBank, createMessage, createOrganization, createOrgOidcProvider, createPersonalMcpServerInstance, createPersonalMemoryBank, createPersonalSkill, createPersonalSkillRegistry, createPersonalToolGroupInstance, createPersonalUserCredential, createPersonalWiki, createPersonalWikiPage, createProxyToken, createResourceServerCredential, createSession, createSkill, createSkillRegistry, createTeam, createTeamGroup, createTemporaryAccount, createToolGroupInstance, createTrustedRuntime, createTrustedSkillProvider, createUserCredential, createWiki, createWikiAssetUpload, createWikiPage, createWikiPageType, createWikiPageTypeVersion, createWikiRelationshipType, createWikiRelationshipTypeVersion, credentialGenericOauthCallback, deleteAttachment, deleteCustomToolProvider, deleteManagedUserCredential, deleteMcpServerInstance, deleteMemoryBank, deleteMemoryDocument, deleteMessage, deleteOrganization, deleteOrgOidcProvider, deletePersonalMcpServerInstance, deletePersonalMemoryBank, deletePersonalMemoryDocument, deletePersonalSkill, deletePersonalSkillRegistry, deletePersonalToolGroupInstance, deletePersonalWiki, deletePersonalWikiPage, deleteProxiedMcpServer, deleteResourceServerCredential, deleteSelfAvatar, deleteSkill, deleteSkillRegistry, deleteSynthesisSessionMemory, deleteTeam, deleteTeamGroup, deleteToolGroupInstance, deleteTrustedRuntime, deleteUserCredential, deleteVerifiedIdentityLink, deleteWiki, deleteWikiAsset, deleteWikiPage, deleteWikiPageRelationship, deleteWikiPageType, deleteWikiPageTypeVersion, deleteWikiRelationshipType, disableCustomToolProvider, disableProxiedMcpServer, disableTool, downloadAttachmentContent, downloadSkillPackageFile, downloadWikiAsset, downloadWikiAssetContent, enableAndBindProviderTools, enableCustomToolProvider, enableProxiedMcpServer, enableTool, encryptPersonalUserCredentialConfiguration, encryptResourceServerConfiguration, encryptUserCredentialConfiguration, exchangeOauthCode, expireTemporaryAccounts, exportMemoryBankTemplate, exportPersonalMemoryBankTemplate, finalizeHostedOpenbotRelease, generateLocalRuntimeTunnelApiKey, generateTemporaryAccountClaimUrl, getAttachmentDownloadUrl, getCommonProviderInstallation, getCredentialSetupItem, getCustomToolProvider, getHostedOpenbotBootstrapBundle, getHostedOpenbotInstance, getHostedOpenbotRelease, getHumanApprovalAction, getIdentity, getIdentityVerification, getLocalRuntimeTunnelApiKey, getLocalRuntimeTunnelConnector, getManagedUserCredentialSecret, getMcpServerInstance, getMemoryBank, getMemoryBankConfig, getMemoryBankDocument, getMessage, getMessageDeliveries, getOpenbotPluginsCatalog, getOrganization, getOrgOidcProvider, getPersonalMcpServerInstance, getPersonalMemoryBank, getPersonalMemoryBankConfig, getPersonalMemoryBankDocument, getPersonalSkill, getPersonalSkillRegistry, getPersonalToolGroupInstance, getPersonalWiki, getPersonalWikiPage, getProviderProvisioningHumanAction, getProxiedMcpServer, getProxiedSkillProvider, getResourceServerCredential, getRuntimeConfig, getSelfAvatar, getSelfProfile, getSessionEventHistory, getSkill, getSkillPackage, getSkillRegistry, getSkillRegistrySkill, getSkillRegistrySkillByTitle, getSkillRegistrySkillDescription, getTeam, getTeamGroup, getToolGroupInstance, getToolsOpenapiSpec, getTrustedRuntime, getUserCredential, getWiki, getWikiPage, getWikiPageBacklinks, getWikiPageNeighborhood, getWikiPageRelationship, getWikiPageType, getWikiPageTypeVersion, getWikiRelationshipType, getWikiRelationshipTypeVersion, grepPersonalWikiPages, grepWikiPages, healthCheck, importMemoryBankTemplate, importPersonalMemoryBankTemplate, initiateIdentityVerification, inspectWikiAssetReferences, inviteTeamUsers, invokeCustomTool, invokeTool, issueHostedOpenbotGitToken, issueOpenbotChatkitRealtimeTicket, issueProxyRealtimeTicket, linkTeamIdentity, listAvailableToolGroups, listCommonProviderInstallationOwnershipGrants, listCommonProviderInstallations, listCommonProviderInstallationVisibilityGrants, listCredentialSetupItems, listCustomToolProviders, listIdentities, listIdentityTeams, listInboxAgents, listInboxes, listManagedUserCredentials, listMcpProviderCatalog, listMcpResourceOwnershipGrants, listMcpResourceVisibilityGrants, listMcpServerInstances, listMemoryBankDocuments, listMemoryBankOwnershipGrants, listMemoryBanks, listMemoryBankSourceBindings, listMemoryBankVisibilityGrants, listMemorySourceBindings, listMessages, listOpenbotDeployments, listOrganizationMembers, listOrganizations, listOrganizationTeamGroups, listOrgOidcProviders, listPersonalMcpServerInstances, listPersonalMemoryBankDocuments, listPersonalMemoryBankOwnershipGrants, listPersonalMemoryBanks, listPersonalMemoryBankSourceBindings, listPersonalMemoryBankVisibilityGrants, listPersonalMemorySourceBindings, listPersonalRegistryOwnershipGrants, listPersonalRegistryVisibilityGrants, listPersonalRscOwnershipGrants, listPersonalRscVisibilityGrants, listPersonalSkillOwnershipGrants, listPersonalSkillRegistries, listPersonalSkills, listPersonalSkillVisibilityGrants, listPersonalToolGroupInstances, listPersonalUcOwnershipGrants, listPersonalUcVisibilityGrants, listPersonalWikiOwnershipGrants, listPersonalWikiPages, listPersonalWikis, listPersonalWikiVisibilityGrants, listProviderProvisionerCatalog, listProxiedMcpServers, listProxiedSkillProviders, listProxyTokens, listPublicAvailableToolGroups, listResourceServerCredentials, listRscOwnershipGrants, listRscVisibilityGrants, listSessionInboxInstances, listSessionResourceGrants, listSessions, listSessionUserMembers, listSignalProviderGrants, listSkillOwnershipGrants, listSkillRegistries, listSkillRegistryOwnershipGrants, listSkillRegistrySkillSummaries, listSkillRegistryVisibilityGrants, listSkills, listSkillVisibilityGrants, listTeamGroupMembers, listTeamGroups, listTeamInvitations, listTeamMembers, listTeams, listToolDeploymentsByAlias, listToolGroupInstances, listToolGroupInstancesGroupedByTool, listTools, listTrustedRuntimes, listUcOwnershipGrants, listUcVisibilityGrants, listUserCredentials, listVerifiedIdentityLinks, listVisibleMemoryBanks, listWikiAssets, listWikiOntologyInstallations, listWikiOntologyTemplates, listWikiOwnershipGrants, listWikiPageAssets, listWikiPageRelationships, listWikiPageRevisions, listWikiPages, listWikiPageTypes, listWikiPageTypeVersions, listWikiRelationshipTypes, listWikiRelationshipTypeVersions, listWikis, listWikiVisibilityGrants, mcpProtocolDelete, mcpProtocolGet, mcpProtocolPost, mcpServerPlaygroundChat, migrateWikiPageType, moveWikiPage, observeSession, onboardOrganization, type Options, personalMcpProtocolDelete, personalMcpProtocolGet, personalMcpProtocolPost, previewIdentityLink, previewWikiPageTypeMigration, providerProvisioningCallback, providerSetupCatalog, providerSetupResume, providerSetupStart, provisionIdentityTeam, recallMemory, recallPersonalMemory, recallSynthesisSessionMemory, reconcileOpenbotAgentBundle, redirectTemporaryAccountClaimPage, reflectMemory, reflectPersonalMemory, refreshCustomToolProvider, refreshProxiedMcpServer, registerOauthClient, registerOpenbotDeployment, registerTeamOauthClient, removeCommonProviderInstallationOwnershipGrant, removeCommonProviderInstallationVisibilityGrant, removeIdentityIdentifier, removeIdentityTeam, removeMcpResourceOwnershipGrant, removeMcpResourceVisibilityGrant, removeMcpServerInstanceFunction, removeMemoryBankOwnershipGrant, removeMemoryBankVisibilityGrant, removeOrganizationMember, removePersonalMemoryBankOwnershipGrant, removePersonalMemoryBankVisibilityGrant, removePersonalRegistryOwnershipGrant, removePersonalRegistryVisibilityGrant, removePersonalRscOwnershipGrant, removePersonalRscVisibilityGrant, removePersonalSkillOwnershipGrant, removePersonalSkillVisibilityGrant, removePersonalUcOwnershipGrant, removePersonalUcVisibilityGrant, removePersonalWikiOwnershipGrant, removePersonalWikiVisibilityGrant, removeRscOwnershipGrant, removeRscVisibilityGrant, removeSessionResourceGrant, removeSessionUserMember, removeSignalProviderGrant, removeSkillOwnershipGrant, removeSkillRegistryOwnershipGrant, removeSkillRegistryVisibilityGrant, removeSkillVisibilityGrant, removeTeamGroupMember, removeTeamMember, removeUcOwnershipGrant, removeUcVisibilityGrant, removeWikiOwnershipGrant, removeWikiVisibilityGrant, renameProxyToken, replaceMemorySourceBindings, replacePersonalMemorySourceBindings, resetMemoryBankConfig, resetPersonalMemoryBankConfig, resolveIdentity, resumeCredentialSetupItem, resumeProviderAppProvisioning, resumeUserCredentialBrokering, retainMemoryDocument, retainPersonalMemoryDocument, retainSynthesisSessionMemory, retryMemorySourceSync, retryPersonalMemorySourceBindings, retryWiki, reverseProxyAddProfileOwnershipGrant, reverseProxyAddProfileVisibilityGrant, reverseProxyCreateProfile, reverseProxyDeleteProfile, reverseProxyGetProfile, reverseProxyListProfileOwnershipGrants, reverseProxyListProfiles, reverseProxyListProfileVisibilityGrants, reverseProxyListProviders, reverseProxyProxyGet, reverseProxyProxyPost, reverseProxyRemoveProfileOwnershipGrant, reverseProxyRemoveProfileVisibilityGrant, reverseProxySetProfileOwnership, reverseProxySetProfileVisibility, reverseProxyUpdateProfile, revokeLocalRuntimeTunnelApiKey, revokeProxyToken, revokeTeamInvitation, rotateCustomToolProviderSigningKey, routeAuthCallback, routeCreateApiKey, routeDeleteApiKey, routeGetJwks, routeListApiKeys, routeListDebugAuthProfiles, routeLogout, routeRefreshToken, routeResolveLoginProvider, routeSelectDebugAuthProfile, routeStartAuthorization, searchSkillRegistry, setCommonProviderInstallationOwnership, setCommonProviderInstallationVisibility, setMcpResourceOwnership, setMcpResourceVisibility, setMemoryBankOwnershipMode, setMemoryBankVisibility, setPersonalMemoryBankOwnershipMode, setPersonalMemoryBankVisibility, setPersonalRegistryOwnershipMode, setPersonalRegistryVisibility, setPersonalRscOwnership, setPersonalRscVisibility, setPersonalSkillOwnershipMode, setPersonalSkillVisibility, setPersonalUcOwnership, setPersonalUcVisibility, setPersonalWikiOwnershipMode, setPersonalWikiVisibility, setRscOwnership, setRscVisibility, setSelfOpenbotAvatar, setSignalProviderOwnership, setSignalProviderVisibility, setSkillOwnershipMode, setSkillRegistryOwnershipMode, setSkillRegistryVisibility, setSkillVisibility, setUcOwnership, setUcVisibility, setWikiOwnershipMode, setWikiVisibility, signalsAddPersonalProviderGrant, signalsCreatePersonalProviderInstance, signalsCreateProviderInstance, signalsDeletePersonalProviderInstance, signalsDeleteProviderInstance, signalsGetDelivery, signalsGetPersonalDelivery, signalsGetPersonalProviderInstance, signalsGetProviderInstance, signalsListAvailableProviders, signalsListDeliveries, signalsListPersonalAvailableProviders, signalsListPersonalDeliveries, signalsListPersonalProviderGrants, signalsListPersonalProviderInstances, signalsListProviderInstances, signalsRemovePersonalProviderGrant, signalsRetryDelivery, signalsRetryPersonalDelivery, signalsSetPersonalProviderOwnership, signalsSetPersonalProviderVisibility, signalsTriggerFake, signalsUpdatePersonalProviderInstance, signalsUpdateProviderInstance, startCredentialSetupItem, startOauthDeviceCode, startProviderAppProvisioning, startProxiedMcpServerOauth, startUserCredentialBrokering, stateExport, stateGetImport, stateImport, stateImportEvents, statePlan, stateResolveSource, stateSchema, stateSchemaJson, stateValidate, tildePayPaymentMpp, tildePayPaymentX402, tildePayProvision, tildePayWalletCreate, tildePayWalletSummary, tildePayWalletWaitUntilBalance, traverseWikiGraph, unbindToolGroupFromMcpServer, updateCustomToolProvider, updateHostedOpenbotComputerImage, updateIdentity, updateManagedUserCredential, updateMcpServerInstance, updateMcpServerInstanceFunction, updateMemoryBank, updateMemoryBankConfig, updateOrganization, updateOrganizationMemberRole, updateOrgOidcProvider, updatePersonalMcpServerInstance, updatePersonalMemoryBank, updatePersonalMemoryBankConfig, updatePersonalSkill, updatePersonalSkillRegistry, updatePersonalToolGroupInstance, updatePersonalWiki, updatePersonalWikiPage, updateResourceServerCredential, updateSelfProfile, updateSessionOwnership, updateSessionVisibility, updateSkill, updateSkillRegistry, updateTeam, updateTeamGroup, updateTeamMemberRole, updateToolBoundParams, updateToolGroupInstance, updateTrustedRuntime, updateUserCredential, updateWiki, updateWikiAsset, updateWikiPage, updateWikiPageRelationship, updateWikiPageType, updateWikiRelationshipType, uploadAttachmentContent, uploadHostedOpenbotReleaseFile, uploadSelfAvatar, uploadWikiAssetContent, upsertWikiPageRelationship, validateSynthesisSessionBatch, validateWikiPageTypeData, verifyOrgOidcProviderDomain, walletCreate, walletCustomerCreate, walletCustomerGet, walletCustomerKycGet, walletCustomerList, walletGet, walletGetBalances, walletGetCryptoDepositInformation, walletGetFiatDepositInformation, walletList, walletMakeMppPayment, walletMakeX402Payment, walletTransactionHistoryList, walletTransactionHistoryRefresh, walletVirtualAccountCreate, walletWaitUntilBalance, whoami } from './sdk.gen'; -export { type AcceptInvitationData, type AcceptInvitationError, type AcceptInvitationErrors, type AcceptInvitationRequest, type AcceptInvitationResponse, type AcceptInvitationResponse2, type AcceptInvitationResponses, type AccountOrganizationMembership, type AddChatKitParticipantRequestInner, type AddCommonProviderInstallationOwnershipGrantData, type AddCommonProviderInstallationOwnershipGrantResponse, type AddCommonProviderInstallationOwnershipGrantResponses, type AddCommonProviderInstallationVisibilityGrantData, type AddCommonProviderInstallationVisibilityGrantResponse, type AddCommonProviderInstallationVisibilityGrantResponses, type AddIdentityTeamData, type AddIdentityTeamResponse, type AddIdentityTeamResponses, type AddMcpResourceOwnershipGrantData, type AddMcpResourceOwnershipGrantResponse, type AddMcpResourceOwnershipGrantResponses, type AddMcpResourceVisibilityGrantData, type AddMcpResourceVisibilityGrantResponse, type AddMcpResourceVisibilityGrantResponses, type AddMcpServerInstanceFunctionBody, type AddMcpServerInstanceFunctionData, type AddMcpServerInstanceFunctionError, type AddMcpServerInstanceFunctionErrors, type AddMcpServerInstanceFunctionResponse, type AddMcpServerInstanceFunctionResponses, type AddMemoryBankOwnershipGrantData, type AddMemoryBankOwnershipGrantResponse, type AddMemoryBankOwnershipGrantResponses, type AddMemoryBankVisibilityGrantData, type AddMemoryBankVisibilityGrantResponse, type AddMemoryBankVisibilityGrantResponses, type AddOrganizationMemberData, type AddOrganizationMemberError, type AddOrganizationMemberErrors, type AddOrganizationMemberRequest, type AddOrganizationMemberResponse, type AddOrganizationMemberResponses, type AddPersonalMemoryBankOwnershipGrantData, type AddPersonalMemoryBankOwnershipGrantResponse, type AddPersonalMemoryBankOwnershipGrantResponses, type AddPersonalMemoryBankVisibilityGrantData, type AddPersonalMemoryBankVisibilityGrantResponse, type AddPersonalMemoryBankVisibilityGrantResponses, type AddPersonalRegistryOwnershipGrantData, type AddPersonalRegistryOwnershipGrantResponse, type AddPersonalRegistryOwnershipGrantResponses, type AddPersonalRegistryVisibilityGrantData, type AddPersonalRegistryVisibilityGrantResponse, type AddPersonalRegistryVisibilityGrantResponses, type AddPersonalRscOwnershipGrantData, type AddPersonalRscOwnershipGrantResponse, type AddPersonalRscOwnershipGrantResponses, type AddPersonalRscVisibilityGrantData, type AddPersonalRscVisibilityGrantResponse, type AddPersonalRscVisibilityGrantResponses, type AddPersonalSkillOwnershipGrantData, type AddPersonalSkillOwnershipGrantResponse, type AddPersonalSkillOwnershipGrantResponses, type AddPersonalSkillVisibilityGrantData, type AddPersonalSkillVisibilityGrantResponse, type AddPersonalSkillVisibilityGrantResponses, type AddPersonalUcOwnershipGrantData, type AddPersonalUcOwnershipGrantResponse, type AddPersonalUcOwnershipGrantResponses, type AddPersonalUcVisibilityGrantData, type AddPersonalUcVisibilityGrantResponse, type AddPersonalUcVisibilityGrantResponses, type AddPersonalWikiOwnershipGrantData, type AddPersonalWikiOwnershipGrantResponse, type AddPersonalWikiOwnershipGrantResponses, type AddPersonalWikiVisibilityGrantData, type AddPersonalWikiVisibilityGrantResponse, type AddPersonalWikiVisibilityGrantResponses, type AddProviderSkillsToRegistryRequest, type AddProviderSkillsToSkillRegistryData, type AddProviderSkillsToSkillRegistryError, type AddProviderSkillsToSkillRegistryErrors, type AddProviderSkillsToSkillRegistryResponse, type AddProviderSkillsToSkillRegistryResponses, type AddRscOwnershipGrantData, type AddRscOwnershipGrantResponse, type AddRscOwnershipGrantResponses, type AddRscVisibilityGrantData, type AddRscVisibilityGrantResponse, type AddRscVisibilityGrantResponses, type AddSessionResourceGrantData, type AddSessionResourceGrantError, type AddSessionResourceGrantErrors, type AddSessionResourceGrantResponse, type AddSessionResourceGrantResponses, type AddSessionUserMemberData, type AddSessionUserMemberError, type AddSessionUserMemberErrors, type AddSessionUserMemberRequest, type AddSessionUserMemberResponse, type AddSessionUserMemberResponses, type AddSignalProviderGrantData, type AddSignalProviderGrantResponse, type AddSignalProviderGrantResponses, type AddSkillOwnershipGrantData, type AddSkillOwnershipGrantResponse, type AddSkillOwnershipGrantResponses, type AddSkillRegistryOwnershipGrantData, type AddSkillRegistryOwnershipGrantResponse, type AddSkillRegistryOwnershipGrantResponses, type AddSkillRegistryVisibilityGrantData, type AddSkillRegistryVisibilityGrantResponse, type AddSkillRegistryVisibilityGrantResponses, type AddSkillVisibilityGrantData, type AddSkillVisibilityGrantResponse, type AddSkillVisibilityGrantResponses, type AddTeamGroupMemberData, type AddTeamGroupMemberError, type AddTeamGroupMemberErrors, type AddTeamGroupMemberResponses, type AddTeamMemberBody, type AddTeamMemberData, type AddTeamMemberError, type AddTeamMemberErrors, type AddTeamMemberResponse, type AddTeamMemberResponses, type AddUcOwnershipGrantData, type AddUcOwnershipGrantResponse, type AddUcOwnershipGrantResponses, type AddUcVisibilityGrantData, type AddUcVisibilityGrantResponse, type AddUcVisibilityGrantResponses, type AddWikiOwnershipGrantData, type AddWikiOwnershipGrantResponse, type AddWikiOwnershipGrantResponses, type AddWikiVisibilityGrantData, type AddWikiVisibilityGrantResponse, type AddWikiVisibilityGrantResponses, type Agent, AgentCredentialStrategy, type AgentEndpointSpec, AgentEventVisibility, type AgentJob, type AgentJobArtifact, type AgentJobBudget, type AgentJobPaginatedResponse, AgentJobStatus, type AgentMultiplayerPermissions, type AgentObservabilityConfiguration, type AgentObservabilityPolicy, type AgentPermissions, type AgentProvisioningOperation, type AgentProvisioningOutputs, AgentProvisioningStatus, type AgentReachScope, type AgentRun, type AgentRunBudget, type AgentRunEffectReceipt, type AgentRunJobContext, AgentRunStatus, type AgentSpec, type AgentToolCatalogEntry, AgentToolSource, AgentToolStatus, type AiCreditReservation, type AiCreditTopup, type AppendAgentRunStepInner, type ApplyOntologyTemplateResult, type ApplyWikiOntologyTemplateData, type ApplyWikiOntologyTemplateResponse, type ApplyWikiOntologyTemplateResponses, type Approval, ApprovalDecision, type AssignMemoryBankSynthesizerBody, type AssignPersonalMemoryBankSynthesizerData, type AssignPersonalMemoryBankSynthesizerResponse, type AssignPersonalMemoryBankSynthesizerResponses, type Attachment, AttachmentUploadStatus, type AuthorizeOauthDeviceCodeData, type AuthorizeOauthDeviceCodeError, type AuthorizeOauthDeviceCodeErrors, type AuthorizeOauthDeviceCodeResponses, type AutomationsAddGrantData, type AutomationsAddGrantResponse, type AutomationsAddGrantResponses, type AutomationsDeleteData, type AutomationsDeleteResponse, type AutomationsDeleteResponses, type AutomationsGetData, type AutomationsGetError, type AutomationsGetErrors, type AutomationsGetResponse, type AutomationsGetResponses, type AutomationsListData, type AutomationsListExecutionsData, type AutomationsListExecutionsResponse, type AutomationsListExecutionsResponses, type AutomationsListGrantsData, type AutomationsListGrantsResponse, type AutomationsListGrantsResponses, type AutomationsListResponse, type AutomationsListResponses, type AutomationsPutData, type AutomationsPutError, type AutomationsPutErrors, type AutomationsPutResponse, type AutomationsPutResponses, type AutomationsRemoveGrantData, type AutomationsRemoveGrantResponses, type AutomationsRunData, type AutomationsRunResponse, type AutomationsRunResponses, type AutomationsSetOwnershipData, type AutomationsSetOwnershipResponse, type AutomationsSetOwnershipResponses, type AutomationsSetVisibilityData, type AutomationsSetVisibilityResponse, type AutomationsSetVisibilityResponses, type AutoProvisionSlackChannelInstallationRequestInner, type AutoProvisionSlackChannelInstallationResponse, type AutoProvisionToolGroupInstanceData, type AutoProvisionToolGroupInstanceError, type AutoProvisionToolGroupInstanceErrors, type AutoProvisionToolGroupInstanceParamsInner, type AutoProvisionToolGroupInstanceResponse, type AutoProvisionToolGroupInstanceResponse2, type AutoProvisionToolGroupInstanceResponses, type AutumnWebhookHandlerData, type AutumnWebhookHandlerErrors, type AutumnWebhookHandlerResponses, type BillingAiCreditReceiptCommitData, type BillingAiCreditReceiptCommitResponse, type BillingAiCreditReceiptCommitResponses, type BillingAiCreditReservationReleaseData, type BillingAiCreditReservationReleaseResponse, type BillingAiCreditReservationReleaseResponses, type BillingAiCreditReserveData, type BillingAiCreditReserveResponse, type BillingAiCreditReserveResponses, type BillingAiCreditTopupCreateData, type BillingAiCreditTopupCreateError, type BillingAiCreditTopupCreateErrors, type BillingAiCreditTopupCreateResponse, type BillingAiCreditTopupCreateResponses, type BillingAiGatewayEnsureData, type BillingAiGatewayEnsureError, type BillingAiGatewayEnsureErrors, type BillingAiGatewayEnsureResponse, type BillingAiGatewayEnsureResponses, type BillingAutumnBridgePostData, type BillingAutumnBridgePostError, type BillingAutumnBridgePostErrors, type BillingAutumnBridgePostResponses, type BillingContext, type BillingContextGetData, type BillingContextGetError, type BillingContextGetErrors, type BillingContextGetResponse, type BillingContextGetResponses, type BillingEnrollAccountData, type BillingEnrollAccountError, type BillingEnrollAccountErrors, type BillingEnrollAccountResponse, type BillingEnrollAccountResponses, type BillingProductEnrollCurrentHumanData, type BillingProductEnrollCurrentHumanError, type BillingProductEnrollCurrentHumanErrors, type BillingProductEnrollCurrentHumanResponse, type BillingProductEnrollCurrentHumanResponses, BillingProductId, type BillingRedirectData, type BillingRedirectErrors, type BillingRemoveAccountSeatData, type BillingRemoveAccountSeatError, type BillingRemoveAccountSeatErrors, type BillingRemoveAccountSeatResponse, type BillingRemoveAccountSeatResponses, type BillingWebhookStripeDeprecatedData, type BillingWebhookStripeDeprecatedResponse, type BillingWebhookStripeDeprecatedResponses, type BindToolGroupToMcpServerData, type BindToolGroupToMcpServerError, type BindToolGroupToMcpServerErrors, type BindToolGroupToMcpServerResponse, type BindToolGroupToMcpServerResponses, type BrokerAction, type BrokerActionRedirect, type BrokerInput, type BrokerState, type BulkAddMcpServerInstanceFunctionItem, type BulkAddMcpServerInstanceFunctionsBody, type BulkAddMcpServerInstanceFunctionsData, type BulkAddMcpServerInstanceFunctionsError, type BulkAddMcpServerInstanceFunctionsErrors, type BulkAddMcpServerInstanceFunctionsResponse, type BulkAddMcpServerInstanceFunctionsResponses, type BulkRemoveMcpServerInstanceFunctionsBody, type BulkRemoveMcpServerInstanceFunctionsData, type BulkRemoveMcpServerInstanceFunctionsError, type BulkRemoveMcpServerInstanceFunctionsErrors, type BulkRemoveMcpServerInstanceFunctionsResponse, type BulkRemoveMcpServerInstanceFunctionsResponses, type CacheConvertedMessagesRequest, type CacheConvertedMessagesResponse, type CachedAgentRepresentation, type CancelHumanApprovalActionData, type CancelHumanApprovalActionError, type CancelHumanApprovalActionErrors, type CancelHumanApprovalActionRequest, type CancelHumanApprovalActionResponse, type CancelHumanApprovalActionResponses, type CapabilityChangeApproval, CapabilityChangeDecision, type ChangePersonalWikiOwnershipData, type ChangePersonalWikiOwnershipResponse, type ChangePersonalWikiOwnershipResponses, type ChangeResourceOwnershipRequest, type ChangeWikiOwnershipData, type ChangeWikiOwnershipResponse, type ChangeWikiOwnershipResponses, type ChatApproval, ChatApprovalDecision, type ChatChannelInstallationInstructions, ChatChannelPlatformScope, type ChatChannelProvider, type ChatChannelProviderAuthMethod, type ChatChannelSubscriptionOption, type ChatkitAddAgentResourceGrantData, type ChatkitAddAgentResourceGrantError, type ChatkitAddAgentResourceGrantErrors, type ChatkitAddAgentResourceGrantResponse, type ChatkitAddAgentResourceGrantResponses, type ChatkitAddSessionParticipantData, type ChatkitAddSessionParticipantError, type ChatkitAddSessionParticipantErrors, type ChatkitAddSessionParticipantResponse, type ChatkitAddSessionParticipantResponses, type ChatKitAgent, type ChatKitAgentAvatar, ChatKitAgentConcurrencyPolicy, type ChatKitAgentInvocationActor, type ChatKitAgentJobExecutionContext, type ChatKitAgentPaginatedResponse, type ChatKitAgentRunExecutionContext, type ChatKitAgentTurnQueueItem, type ChatKitAgentTurnQueueItemPaginatedResponse, ChatKitAgentTurnQueueStatus, type ChatkitAppendAgentRunStepData, type ChatkitAppendAgentRunStepResponse, type ChatkitAppendAgentRunStepResponses, type ChatkitApproveSelfExtensionProposalData, type ChatkitApproveSelfExtensionProposalResponse, type ChatkitApproveSelfExtensionProposalResponses, type ChatKitAutomaticMemoryItem, ChatKitAutomaticMemoryMode, type ChatKitAutomaticMemoryProjection, type ChatkitAutoProvisionSlackChannelInstallationData, type ChatkitAutoProvisionSlackChannelInstallationError, type ChatkitAutoProvisionSlackChannelInstallationErrors, type ChatkitAutoProvisionSlackChannelInstallationResponse, type ChatkitAutoProvisionSlackChannelInstallationResponses, type ChatkitCacheConvertedMessagesData, type ChatkitCacheConvertedMessagesError, type ChatkitCacheConvertedMessagesErrors, type ChatkitCacheConvertedMessagesResponse, type ChatkitCacheConvertedMessagesResponses, type ChatkitCancelSelfExtensionProposalData, type ChatkitCancelSelfExtensionProposalResponse, type ChatkitCancelSelfExtensionProposalResponses, type ChatKitChatProviderConfigField, type ChatkitClaimAgentResourceBundleOutputsData, type ChatkitClaimAgentResourceBundleOutputsResponse, type ChatkitClaimAgentResourceBundleOutputsResponses, type ChatkitClaimAgentRunsData, type ChatkitClaimAgentRunsResponse, type ChatkitClaimAgentRunsResponses, type ChatkitClaimSelfExtensionProposalOutputsData, type ChatkitClaimSelfExtensionProposalOutputsResponse, type ChatkitClaimSelfExtensionProposalOutputsResponses, type ChatkitCollectAgentJobResultData, type ChatkitCollectAgentJobResultResponse, type ChatkitCollectAgentJobResultResponses, type ChatKitCompactedHistoryResponse, type ChatKitCompactionCheckpoint, type ChatKitCompactionLifecycleInput, type ChatkitCompleteSlackProviderProvisionedSetupData, type ChatkitCompleteSlackProviderProvisionedSetupError, type ChatkitCompleteSlackProviderProvisionedSetupErrors, type ChatkitCompleteSlackProviderProvisionedSetupResponse, type ChatkitCompleteSlackProviderProvisionedSetupResponses, type ChatkitCompleteSlackSelfManagedSetupData, type ChatkitCompleteSlackSelfManagedSetupError, type ChatkitCompleteSlackSelfManagedSetupErrors, type ChatkitCompleteSlackSelfManagedSetupResponse, type ChatkitCompleteSlackSelfManagedSetupResponses, type ChatkitControlAgentRunData, type ChatkitControlAgentRunResponse, type ChatkitControlAgentRunResponses, type ChatkitCreateAgentRunData, type ChatkitCreateAgentRunResponse, type ChatkitCreateAgentRunResponses, type ChatkitCreateGoalData, type ChatkitCreateGoalResponse, type ChatkitCreateGoalResponses, type ChatkitCreateRoomInvitationData, type ChatkitCreateRoomInvitationError, type ChatkitCreateRoomInvitationErrors, type ChatkitCreateRoomInvitationResponse, type ChatkitCreateRoomInvitationResponses, type ChatkitCreateSessionData, type ChatkitCreateSessionError, type ChatkitCreateSessionErrors, type ChatkitCreateSessionResponse, type ChatkitCreateSessionResponses, type ChatkitCreateSlackChannelInstallationData, type ChatkitCreateSlackChannelInstallationError, type ChatkitCreateSlackChannelInstallationErrors, type ChatkitCreateSlackChannelInstallationResponse, type ChatkitCreateSlackChannelInstallationResponses, type ChatkitCreateTaskData, type ChatkitCreateTaskResponse, type ChatkitCreateTaskResponses, type ChatkitDecideCapabilityChangeData, type ChatkitDecideCapabilityChangeResponse, type ChatkitDecideCapabilityChangeResponses, type ChatkitDecideRoomInvitationData, type ChatkitDecideRoomInvitationError, type ChatkitDecideRoomInvitationErrors, type ChatkitDecideRoomInvitationResponse, type ChatkitDecideRoomInvitationResponses, type ChatkitDelegateAgentJobData, type ChatkitDelegateAgentJobResponse, type ChatkitDelegateAgentJobResponses, type ChatkitDeleteAgentData, type ChatkitDeleteAgentError, type ChatkitDeleteAgentErrors, type ChatkitDeleteAgentResponse, type ChatkitDeleteAgentResponses, type ChatkitDeleteAgentTurnQueueItemData, type ChatkitDeleteAgentTurnQueueItemError, type ChatkitDeleteAgentTurnQueueItemErrors, type ChatkitDeleteAgentTurnQueueItemResponse, type ChatkitDeleteAgentTurnQueueItemResponses, type ChatkitDeleteChatProviderData, type ChatkitDeleteChatProviderError, type ChatkitDeleteChatProviderErrors, type ChatkitDeleteChatProviderResponse, type ChatkitDeleteChatProviderResponses, type ChatKitExecutionContext, type ChatkitFinishAgentRunEffectData, type ChatkitFinishAgentRunEffectResponse, type ChatkitFinishAgentRunEffectResponses, type ChatkitGetActiveAgentRunData, type ChatkitGetActiveAgentRunResponse, type ChatkitGetActiveAgentRunResponses, type ChatkitGetAgentAvatarData, type ChatkitGetAgentAvatarError, type ChatkitGetAgentAvatarErrors, type ChatkitGetAgentAvatarResponse, type ChatkitGetAgentAvatarResponses, type ChatkitGetAgentData, type ChatkitGetAgentError, type ChatkitGetAgentErrors, type ChatkitGetAgentJobData, type ChatkitGetAgentJobResponse, type ChatkitGetAgentJobResponses, type ChatkitGetAgentObservabilityData, type ChatkitGetAgentObservabilityError, type ChatkitGetAgentObservabilityErrors, type ChatkitGetAgentObservabilityResponse, type ChatkitGetAgentObservabilityResponses, type ChatkitGetAgentResourceBundleProvisioningData, type ChatkitGetAgentResourceBundleProvisioningResponse, type ChatkitGetAgentResourceBundleProvisioningResponses, type ChatkitGetAgentResponse, type ChatkitGetAgentResponses, type ChatkitGetAgentRunData, type ChatkitGetAgentRunEffectData, type ChatkitGetAgentRunEffectResponse, type ChatkitGetAgentRunEffectResponses, type ChatkitGetAgentRunResponse, type ChatkitGetAgentRunResponses, type ChatkitGetCompactedHistoryData, type ChatkitGetCompactedHistoryError, type ChatkitGetCompactedHistoryErrors, type ChatkitGetCompactedHistoryResponse, type ChatkitGetCompactedHistoryResponses, type ChatkitGetGoalData, type ChatkitGetGoalResponse, type ChatkitGetGoalResponses, type ChatkitGetLatestCompactionData, type ChatkitGetLatestCompactionError, type ChatkitGetLatestCompactionErrors, type ChatkitGetLatestCompactionResponse, type ChatkitGetLatestCompactionResponses, type ChatkitGetSelfExtensionProposalData, type ChatkitGetSelfExtensionProposalResponse, type ChatkitGetSelfExtensionProposalResponses, type ChatkitGetTaskData, type ChatkitGetTaskResponse, type ChatkitGetTaskResponses, type ChatkitHydrateConvertedMessagesData, type ChatkitHydrateConvertedMessagesError, type ChatkitHydrateConvertedMessagesErrors, type ChatkitHydrateConvertedMessagesResponse, type ChatkitHydrateConvertedMessagesResponses, ChatKitIdentityKind, type ChatkitInvokeSessionProviderToolData, type ChatkitInvokeSessionProviderToolError, type ChatkitInvokeSessionProviderToolErrors, type ChatkitInvokeSessionProviderToolResponse, type ChatkitInvokeSessionProviderToolResponses, type ChatkitJoinSessionData, type ChatkitJoinSessionError, type ChatkitJoinSessionErrors, type ChatkitJoinSessionResponse, type ChatkitJoinSessionResponses, type ChatkitListAgentJobsData, type ChatkitListAgentJobsResponse, type ChatkitListAgentJobsResponses, type ChatkitListAgentResourceGrantsData, type ChatkitListAgentResourceGrantsError, type ChatkitListAgentResourceGrantsErrors, type ChatkitListAgentResourceGrantsResponse, type ChatkitListAgentResourceGrantsResponses, type ChatkitListAgentsData, type ChatkitListAgentsError, type ChatkitListAgentsErrors, type ChatkitListAgentsResponse, type ChatkitListAgentsResponses, type ChatkitListAgentTurnQueueData, type ChatkitListAgentTurnQueueError, type ChatkitListAgentTurnQueueErrors, type ChatkitListAgentTurnQueueResponse, type ChatkitListAgentTurnQueueResponses, type ChatkitListAvailableChatChannelsData, type ChatkitListAvailableChatChannelsError, type ChatkitListAvailableChatChannelsErrors, type ChatkitListAvailableChatChannelsResponse, type ChatkitListAvailableChatChannelsResponses, type ChatkitListAvailableChatProvidersData, type ChatkitListAvailableChatProvidersError, type ChatkitListAvailableChatProvidersErrors, type ChatkitListAvailableChatProvidersResponse, type ChatkitListAvailableChatProvidersResponses, type ChatkitListChatProvidersData, type ChatkitListChatProvidersError, type ChatkitListChatProvidersErrors, type ChatkitListChatProvidersResponse, type ChatkitListChatProvidersResponses, type ChatkitListGoalsData, type ChatkitListGoalsResponse, type ChatkitListGoalsResponses, type ChatkitListMessageHistoryData, type ChatkitListMessageHistoryError, type ChatkitListMessageHistoryErrors, type ChatkitListMessageHistoryResponse, type ChatkitListMessageHistoryResponses, type ChatkitListRoomInvitationsData, type ChatkitListRoomInvitationsError, type ChatkitListRoomInvitationsErrors, type ChatkitListRoomInvitationsResponse, type ChatkitListRoomInvitationsResponses, type ChatkitListSelfExtensionProposalsData, type ChatkitListSelfExtensionProposalsResponse, type ChatkitListSelfExtensionProposalsResponses, type ChatkitListSessionParticipantsData, type ChatkitListSessionParticipantsError, type ChatkitListSessionParticipantsErrors, type ChatkitListSessionParticipantsResponse, type ChatkitListSessionParticipantsResponses, type ChatkitListSessionsData, type ChatkitListSessionsError, type ChatkitListSessionsErrors, type ChatkitListSessionsResponse, type ChatkitListSessionsResponses, type ChatkitListTasksData, type ChatkitListTasksResponse, type ChatkitListTasksResponses, type ChatKitMessageIdentity, type ChatKitParticipant, type ChatKitParticipantInput, ChatKitParticipantMembershipSource, ChatKitParticipantRole, ChatKitParticipantType, type ChatkitPrepareAgentRunEffectData, type ChatkitPrepareAgentRunEffectResponse, type ChatkitPrepareAgentRunEffectResponses, type ChatkitProposeSelfExtensionData, type ChatkitProposeSelfExtensionResponse, type ChatkitProposeSelfExtensionResponses, type ChatkitProvisionAgentResourceBundleData, type ChatkitProvisionAgentResourceBundleResponse, type ChatkitProvisionAgentResourceBundleResponses, type ChatKitRealtimeSocketTicket, ChatKitRealtimeTicketTransport, type ChatkitRecallAutomaticMemoryData, type ChatkitRecallAutomaticMemoryError, type ChatkitRecallAutomaticMemoryErrors, type ChatkitRecallAutomaticMemoryResponse, type ChatkitRecallAutomaticMemoryResponses, type ChatkitRegisterAgentToolsData, type ChatkitRegisterAgentToolsError, type ChatkitRegisterAgentToolsErrors, type ChatkitRegisterAgentToolsResponse, type ChatkitRegisterAgentToolsResponses, type ChatkitRegisterChatProviderData, type ChatkitRegisterChatProviderError, type ChatkitRegisterChatProviderErrors, type ChatkitRegisterChatProviderResponse, type ChatkitRegisterChatProviderResponses, type ChatkitRegisterHttpVercelAiSdkAgentData, type ChatkitRegisterHttpVercelAiSdkAgentError, type ChatkitRegisterHttpVercelAiSdkAgentErrors, type ChatkitRegisterHttpVercelAiSdkAgentResponse, type ChatkitRegisterHttpVercelAiSdkAgentResponses, type ChatkitRegisterVercelUiChatProviderData, type ChatkitRegisterVercelUiChatProviderError, type ChatkitRegisterVercelUiChatProviderErrors, type ChatkitRegisterVercelUiChatProviderResponse, type ChatkitRegisterVercelUiChatProviderResponses, type ChatkitRejectSelfExtensionProposalData, type ChatkitRejectSelfExtensionProposalResponse, type ChatkitRejectSelfExtensionProposalResponses, type ChatkitRemoveAgentResourceGrantData, type ChatkitRemoveAgentResourceGrantError, type ChatkitRemoveAgentResourceGrantErrors, type ChatkitRemoveAgentResourceGrantResponse, type ChatkitRemoveAgentResourceGrantResponses, type ChatkitRemoveSessionParticipantData, type ChatkitRemoveSessionParticipantError, type ChatkitRemoveSessionParticipantErrors, type ChatkitRemoveSessionParticipantResponse, type ChatkitRemoveSessionParticipantResponses, type ChatkitReorderAgentTurnQueueItemData, type ChatkitReorderAgentTurnQueueItemError, type ChatkitReorderAgentTurnQueueItemErrors, type ChatkitReorderAgentTurnQueueItemResponse, type ChatkitReorderAgentTurnQueueItemResponses, type ChatkitReportCompactionEventData, type ChatkitReportCompactionEventError, type ChatkitReportCompactionEventErrors, type ChatkitReportCompactionEventResponse, type ChatkitReportCompactionEventResponses, type ChatkitReportToolExecutionData, type ChatkitReportToolExecutionError, type ChatkitReportToolExecutionErrors, type ChatkitReportToolExecutionResponse, type ChatkitReportToolExecutionResponses, type ChatKitRequestAgent, type ChatKitRequestAgentAvatar, type ChatkitResumeAgentJobData, type ChatkitResumeAgentJobResponse, type ChatkitResumeAgentJobResponses, type ChatkitRevokeRoomInvitationData, type ChatkitRevokeRoomInvitationError, type ChatkitRevokeRoomInvitationErrors, type ChatkitRevokeRoomInvitationResponse, type ChatkitRevokeRoomInvitationResponses, type ChatkitRollbackSelfExtensionProposalData, type ChatkitRollbackSelfExtensionProposalResponse, type ChatkitRollbackSelfExtensionProposalResponses, type ChatKitRoomInvitation, ChatKitRoomInvitationDecision, type ChatKitRoomInvitationPaginatedResponse, ChatKitRoomInvitationStatus, type ChatKitSearchAgent, type ChatkitSearchData, type ChatkitSearchError, type ChatkitSearchErrors, type ChatKitSearchHit, ChatKitSearchHitKind, type ChatKitSearchHitPaginatedResponse, type ChatkitSearchResponse, type ChatkitSearchResponses, type ChatKitSearchSession, type ChatkitSendSessionMessageData, type ChatkitSendSessionMessageError, type ChatkitSendSessionMessageErrors, type ChatkitSendSessionMessageResponse, type ChatkitSendSessionMessageResponses, type ChatKitSessionUserState, type ChatKitSessionWithParticipants, type ChatkitSetAgentPermissionsData, type ChatkitSetAgentPermissionsError, type ChatkitSetAgentPermissionsErrors, type ChatkitSetAgentPermissionsResponse, type ChatkitSetAgentPermissionsResponses, type ChatkitSetAgentStatusData, type ChatkitSetAgentStatusError, type ChatkitSetAgentStatusErrors, type ChatkitSetAgentStatusResponse, type ChatkitSetAgentStatusResponses, type ChatkitSetChatProviderStatusData, type ChatkitSetChatProviderStatusError, type ChatkitSetChatProviderStatusErrors, type ChatkitSetChatProviderStatusResponse, type ChatkitSetChatProviderStatusResponses, type ChatkitStartSlackOauthData, type ChatkitStartSlackOauthError, type ChatkitStartSlackOauthErrors, type ChatkitStartSlackOauthResponse, type ChatkitStartSlackOauthResponses, type ChatkitSteerAgentJobData, type ChatkitSteerAgentJobResponse, type ChatkitSteerAgentJobResponses, type ChatkitSteerAgentTurnQueueItemData, type ChatkitSteerAgentTurnQueueItemError, type ChatkitSteerAgentTurnQueueItemErrors, type ChatkitSteerAgentTurnQueueItemResponse, type ChatkitSteerAgentTurnQueueItemResponses, type ChatkitStopAgentJobData, type ChatkitStopAgentJobResponse, type ChatkitStopAgentJobResponses, type ChatkitTransitionAgentRunData, type ChatkitTransitionAgentRunResponse, type ChatkitTransitionAgentRunResponses, type ChatkitUpdateAgentAvatarData, type ChatkitUpdateAgentAvatarError, type ChatkitUpdateAgentAvatarErrors, type ChatkitUpdateAgentAvatarResponse, type ChatkitUpdateAgentAvatarResponses, type ChatkitUpdateAgentData, type ChatkitUpdateAgentError, type ChatkitUpdateAgentErrors, type ChatkitUpdateAgentObservabilityData, type ChatkitUpdateAgentObservabilityError, type ChatkitUpdateAgentObservabilityErrors, type ChatkitUpdateAgentObservabilityResponse, type ChatkitUpdateAgentObservabilityResponses, type ChatkitUpdateAgentOwnershipData, type ChatkitUpdateAgentOwnershipError, type ChatkitUpdateAgentOwnershipErrors, type ChatkitUpdateAgentOwnershipResponse, type ChatkitUpdateAgentOwnershipResponses, type ChatkitUpdateAgentResponse, type ChatkitUpdateAgentResponses, type ChatkitUpdateAgentToolVisibilityData, type ChatkitUpdateAgentToolVisibilityError, type ChatkitUpdateAgentToolVisibilityErrors, type ChatkitUpdateAgentToolVisibilityResponse, type ChatkitUpdateAgentToolVisibilityResponses, type ChatkitUpdateAgentVisibilityData, type ChatkitUpdateAgentVisibilityError, type ChatkitUpdateAgentVisibilityErrors, type ChatkitUpdateAgentVisibilityResponse, type ChatkitUpdateAgentVisibilityResponses, type ChatkitUpdateChatProviderData, type ChatkitUpdateChatProviderError, type ChatkitUpdateChatProviderErrors, type ChatkitUpdateChatProviderResponse, type ChatkitUpdateChatProviderResponses, type ChatkitUpdateGoalData, type ChatkitUpdateGoalResponse, type ChatkitUpdateGoalResponses, type ChatkitUpdateTaskData, type ChatkitUpdateTaskResponse, type ChatkitUpdateTaskResponses, type ChatkitWorkspaceAgentSessionsData, type ChatkitWorkspaceAgentSessionsResponse, type ChatKitWorkspaceAgentSessionsResponse, type ChatkitWorkspaceAgentSessionsResponses, type ChatKitWorkspaceAgentSummary, type ChatKitWorkspaceAttachmentCompletion, type ChatkitWorkspaceBootstrapData, type ChatkitWorkspaceBootstrapResponse, type ChatKitWorkspaceBootstrapResponse, type ChatkitWorkspaceBootstrapResponses, type ChatKitWorkspaceConversationSnapshot, type ChatkitWorkspaceConversationSnapshotData, type ChatkitWorkspaceConversationSnapshotResponse, type ChatkitWorkspaceConversationSnapshotResponses, type ChatkitWorkspaceCreateSessionData, type ChatkitWorkspaceCreateSessionResponse, type ChatkitWorkspaceCreateSessionResponses, type ChatkitWorkspaceInterruptSessionData, type ChatkitWorkspaceInterruptSessionResponse, type ChatkitWorkspaceInterruptSessionResponses, type ChatkitWorkspaceMessagesData, type ChatkitWorkspaceMessagesResponse, type ChatkitWorkspaceMessagesResponses, type ChatKitWorkspaceParticipantEvent, type ChatKitWorkspaceParticipantEventKind, type ChatKitWorkspaceQueuedTurns, type ChatkitWorkspaceRenameThreadData, type ChatkitWorkspaceRenameThreadResponse, type ChatkitWorkspaceRenameThreadResponses, type ChatkitWorkspaceSendMessageData, type ChatkitWorkspaceSendMessageResponse, type ChatkitWorkspaceSendMessageResponses, type ChatKitWorkspaceSessionSummary, type ChatkitWorkspaceSidebarData, type ChatkitWorkspaceSidebarResponse, type ChatKitWorkspaceSidebarResponse, type ChatkitWorkspaceSidebarResponses, type ChatkitWorkspaceSubmitTurnData, type ChatkitWorkspaceSubmitTurnResponse, type ChatkitWorkspaceSubmitTurnResponses, type ChatkitWorkspaceUpdateSessionReadStateData, type ChatkitWorkspaceUpdateSessionReadStateResponse, type ChatkitWorkspaceUpdateSessionReadStateResponses, type ChatMessage, type ChatMessageContext, type ChatMessagePart, type ChatRequest, type ChatSessionContext, ChatToolInvocationState, type CheckMemoryBankHealthData, type CheckMemoryBankHealthResponse, type CheckMemoryBankHealthResponses, type CheckPersonalMemoryBankHealthData, type CheckPersonalMemoryBankHealthResponse, type CheckPersonalMemoryBankHealthResponses, type ClaimAgentRunsInner, type ClaimTemporaryAccountData, type ClaimTemporaryAccountError, type ClaimTemporaryAccountErrors, type ClaimTemporaryAccountRequest, type ClaimTemporaryAccountResponse, type ClaimTemporaryAccountResponse2, type ClaimTemporaryAccountResponses, type ClearPersonalMemoryBankSynthesizerData, type ClearPersonalMemoryBankSynthesizerResponse, type ClearPersonalMemoryBankSynthesizerResponses, type ClientOptions, type CloudWhoamiResponse, type CommitAiCreditReceiptBody, type CommonProviderConfiguration, type CommonProviderCredentialSetup, type CommonProviderInstallationPage, type CommonProviderInstallationSerialized, type CommonProviderRuntimeState, type CompleteAttachmentUploadData, type CompleteAttachmentUploadError, type CompleteAttachmentUploadErrors, type CompleteAttachmentUploadInner, type CompleteAttachmentUploadResponse, type CompleteAttachmentUploadResponses, type CompleteCredentialSetupItemBody, type CompleteCredentialSetupItemData, type CompleteCredentialSetupItemResponse, type CompleteCredentialSetupItemResponses, type CompleteHumanApprovalActionData, type CompleteHumanApprovalActionError, type CompleteHumanApprovalActionErrors, type CompleteHumanApprovalActionRequest, type CompleteHumanApprovalActionResponse, type CompleteHumanApprovalActionResponses, type CompleteIdentityLinkData, type CompleteIdentityLinkResponse, type CompleteIdentityLinkResponses, type CompleteIdentityVerificationData, type CompleteIdentityVerificationError, type CompleteIdentityVerificationErrors, type CompleteIdentityVerificationRequestInner, type CompleteIdentityVerificationResponse, type CompleteIdentityVerificationResponses, type CompleteSlackProviderProvisionedSetupRequestInner, type CompleteSlackSelfManagedSetupRequestInner, type CompleteWikiAssetUploadData, type CompleteWikiAssetUploadResponse, type CompleteWikiAssetUploadResponses, type ConfigurationSchema, type ConfigureHostedOpenbotInstanceData, type ConfigureHostedOpenbotInstanceError, type ConfigureHostedOpenbotInstanceErrors, type ConfigureHostedOpenBotInstanceRequest, type ConfigureHostedOpenbotInstanceResponse, type ConfigureHostedOpenbotInstanceResponses, type ConnectMcpProviderCatalogEntryData, type ConnectMcpProviderCatalogEntryError, type ConnectMcpProviderCatalogEntryErrors, type ConnectMcpProviderCatalogEntryRequestInner, type ConnectMcpProviderCatalogEntryResponse, type ConnectMcpProviderCatalogEntryResponse2, type ConnectMcpProviderCatalogEntryResponses, type ConnectProxiedMcpServerData, type ConnectProxiedMcpServerError, type ConnectProxiedMcpServerErrors, type ConnectProxiedMcpServerRequestInner, type ConnectProxiedMcpServerResponse, type ConnectProxiedMcpServerResponse2, type ConnectProxiedMcpServerResponses, type ControlAgentRunInner, type CreateAgentRunInner, type CreateAiCreditTopupBody, type CreateApiKeyInner, type CreateApiKeyResponse, type CreateAttachmentUploadData, type CreateAttachmentUploadError, type CreateAttachmentUploadErrors, type CreateAttachmentUploadInner, type CreateAttachmentUploadResponse, type CreateAttachmentUploadResponse2, type CreateAttachmentUploadResponses, type CreateAttachmentUploadsData, type CreateAttachmentUploadsError, type CreateAttachmentUploadsErrors, type CreateAttachmentUploadsInner, type CreateAttachmentUploadsResponse, type CreateAttachmentUploadsResponse2, type CreateAttachmentUploadsResponses, type CreateChatKitRoomInvitationRequestInner, type CreateChatKitSessionRequestInner, type CreateChatKitWorkspaceSessionRequestInner, type CreateCustomToolProviderData, type CreateCustomToolProviderRequestInner, type CreateCustomToolProviderResponse, type CreateCustomToolProviderResponse2, type CreateCustomToolProviderResponses, type CreatedIdentityLink, type CreatedProxyToken, type CreateGoalRequestInner, type CreateHostedOpenbotDeploymentData, type CreateHostedOpenbotDeploymentError, type CreateHostedOpenbotDeploymentErrors, type CreateHostedOpenBotDeploymentRequest, type CreateHostedOpenbotDeploymentResponse, type CreateHostedOpenbotDeploymentResponses, type CreateHostedOpenbotReleaseData, type CreateHostedOpenbotReleaseError, type CreateHostedOpenbotReleaseErrors, type CreateHostedOpenBotReleaseFile, type CreateHostedOpenBotReleaseRequest, type CreateHostedOpenbotReleaseResponse, type CreateHostedOpenbotReleaseResponses, type CreateHumanApprovalActionData, type CreateHumanApprovalActionError, type CreateHumanApprovalActionErrors, type CreateHumanApprovalActionRequestInner, type CreateHumanApprovalActionResponse, type CreateHumanApprovalActionResponse2, type CreateHumanApprovalActionResponses, type CreateIdentityData, type CreateIdentityError, type CreateIdentityErrors, type CreateIdentityLinkData, type CreateIdentityLinkError, type CreateIdentityLinkErrors, type CreateIdentityLinkRequest, type CreateIdentityLinkResponse, type CreateIdentityLinkResponses, type CreateIdentityRequest, type CreateIdentityResponse, type CreateIdentityResponses, type CreateManagedUserCredentialBody, type CreateManagedUserCredentialData, type CreateManagedUserCredentialResponse, type CreateManagedUserCredentialResponses, type CreateMcpServerInstanceData, type CreateMcpServerInstanceError, type CreateMcpServerInstanceErrors, type CreateMcpServerInstanceRequestInner, type CreateMcpServerInstanceResponse, type CreateMcpServerInstanceResponses, type CreateMemoryBankBody, type CreateMemoryBankData, type CreateMemoryBankResponse, type CreateMemoryBankResponses, type CreateMessageData, type CreateMessageError, type CreateMessageErrors, type CreateMessageRequest, type CreateMessageResponse, type CreateMessageResponses, type CreateOrganizationData, type CreateOrganizationError, type CreateOrganizationErrors, type CreateOrganizationRequest, type CreateOrganizationResponse, type CreateOrganizationResponses, type CreateOrgOidcProviderData, type CreateOrgOidcProviderError, type CreateOrgOidcProviderErrors, type CreateOrgOidcProviderRequest, type CreateOrgOidcProviderResponse, type CreateOrgOidcProviderResponses, type CreatePageTypeBody, type CreatePageTypeVersionBody, type CreatePayWalletRequest, type CreatePersonalMcpServerInstanceData, type CreatePersonalMcpServerInstanceError, type CreatePersonalMcpServerInstanceErrors, type CreatePersonalMcpServerInstanceResponse, type CreatePersonalMcpServerInstanceResponses, type CreatePersonalMemoryBankData, type CreatePersonalMemoryBankResponse, type CreatePersonalMemoryBankResponses, type CreatePersonalSkillData, type CreatePersonalSkillRegistryData, type CreatePersonalSkillRegistryResponse, type CreatePersonalSkillRegistryResponses, type CreatePersonalSkillResponse, type CreatePersonalSkillResponses, type CreatePersonalToolGroupInstanceBody, type CreatePersonalToolGroupInstanceData, type CreatePersonalToolGroupInstanceError, type CreatePersonalToolGroupInstanceErrors, type CreatePersonalToolGroupInstanceResponse, type CreatePersonalToolGroupInstanceResponses, type CreatePersonalUserCredentialData, type CreatePersonalUserCredentialResponse, type CreatePersonalUserCredentialResponses, type CreatePersonalWikiData, type CreatePersonalWikiPageData, type CreatePersonalWikiPageResponse, type CreatePersonalWikiPageResponses, type CreatePersonalWikiResponse, type CreatePersonalWikiResponses, type CreateProxyTokenData, type CreateProxyTokenError, type CreateProxyTokenErrors, type CreateProxyTokenRequest, type CreateProxyTokenResponse, type CreateProxyTokenResponses, type CreateRelationshipTypeBody, type CreateRelationshipTypeVersionBody, type CreateResourcePlaneGrantRequest, type CreateResourceServerCredentialData, type CreateResourceServerCredentialParamsInner, type CreateResourceServerCredentialResponse, type CreateResourceServerCredentialResponses, type CreateReverseProxyProfileInner, type CreateSelfExtensionProposalInner, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionInner, type CreateSessionResponse, type CreateSessionResponses, type CreateSignalMessageRequest, type CreateSignalProviderInstanceRequestInner, type CreateSkillData, type CreateSkillError, type CreateSkillErrors, type CreateSkillInner, type CreateSkillRegistryBody, type CreateSkillRegistryData, type CreateSkillRegistryError, type CreateSkillRegistryErrors, type CreateSkillRegistryResponse, type CreateSkillRegistryResponses, type CreateSkillResponse, type CreateSkillResponses, type CreateSlackChannelInstallationRequestInner, type CreateSlackChannelInstallationResponse, type CreateTaskRequestInner, type CreateTeamData, type CreateTeamError, type CreateTeamErrors, type CreateTeamGroupBody, type CreateTeamGroupData, type CreateTeamGroupError, type CreateTeamGroupErrors, type CreateTeamGroupResponse, type CreateTeamGroupResponses, type CreateTeamRequest, type CreateTeamResponse, type CreateTeamResponses, type CreateTemporaryAccountData, type CreateTemporaryAccountError, type CreateTemporaryAccountErrors, type CreateTemporaryAccountRequest, type CreateTemporaryAccountResponse, type CreateTemporaryAccountResponse2, type CreateTemporaryAccountResponses, type CreateTextMessageRequest, type CreateToolGroupInstanceData, type CreateToolGroupInstanceError, type CreateToolGroupInstanceErrors, type CreateToolGroupInstanceParamsInner, type CreateToolGroupInstanceResponse, type CreateToolGroupInstanceResponses, type CreateTrustedRuntimeData, type CreateTrustedRuntimeError, type CreateTrustedRuntimeErrors, type CreateTrustedRuntimeInner, type CreateTrustedRuntimeResponse, type CreateTrustedRuntimeResponses, type CreateTrustedSkillProviderData, type CreateTrustedSkillProviderError, type CreateTrustedSkillProviderErrors, type CreateTrustedSkillProviderRequest, type CreateTrustedSkillProviderResponse, type CreateTrustedSkillProviderResponses, type CreateUiMessageRequest, type CreateUserCredentialData, type CreateUserCredentialParamsInner, type CreateUserCredentialResponse, type CreateUserCredentialResponses, type CreateWalletBody, type CreateWalletCustomerBody, type CreateWalletVirtualAccountBody, type CreateWikiAssetBody, type CreateWikiAssetUploadData, type CreateWikiAssetUploadResponse, type CreateWikiAssetUploadResponses, type CreateWikiData, type CreateWikiInner, type CreateWikiPageData, type CreateWikiPageResponse, type CreateWikiPageResponses, type CreateWikiPageTypeData, type CreateWikiPageTypeResponse, type CreateWikiPageTypeResponses, type CreateWikiPageTypeVersionData, type CreateWikiPageTypeVersionErrors, type CreateWikiPageTypeVersionResponse, type CreateWikiPageTypeVersionResponses, type CreateWikiRelationshipTypeData, type CreateWikiRelationshipTypeResponse, type CreateWikiRelationshipTypeResponses, type CreateWikiRelationshipTypeVersionData, type CreateWikiRelationshipTypeVersionErrors, type CreateWikiRelationshipTypeVersionResponse, type CreateWikiRelationshipTypeVersionResponses, type CreateWikiResponse, type CreateWikiResponses, type CredentialGenericOauthCallbackData, type CredentialGenericOauthCallbackResponses, type CredentialSetupBinding, CredentialSetupCredentialKind, type CredentialSetupFormField, type CredentialSetupItem, type CredentialSetupItemPaginatedResponse, CredentialSetupItemStatus, type CredentialSetupNextAction, CredentialSetupSource, type CredentialSourceSerialized, CurrentSeatStatus, type CustomSkillSpec, type CustomToolProviderDetails, type CustomToolProviderListItem, type CustomToolProviderListItemPaginatedResponse, type CustomToolProviderSerialized, type DataUiPart, type DebugAuthProfilesResponse, type DecideCapabilityChangeRequest, type DecideChatKitRoomInvitationRequestInner, type DelegateAgentJobRequestInner, type DelegatedIdentity, type DeleteAttachmentData, type DeleteAttachmentError, type DeleteAttachmentErrors, type DeleteAttachmentResponse, type DeleteAttachmentResponses, type DeleteChatKitAgentTurnQueueItemResponse, type DeleteCustomToolProviderData, type DeleteCustomToolProviderResponses, type DeleteInboxResponse, type DeleteManagedUserCredentialData, type DeleteManagedUserCredentialResponses, type DeleteMcpServerInstanceData, type DeleteMcpServerInstanceError, type DeleteMcpServerInstanceErrors, type DeleteMcpServerInstanceResponses, type DeleteMemoryBankData, type DeleteMemoryBankResponses, type DeleteMemoryDocumentBody, type DeleteMemoryDocumentData, type DeleteMemoryDocumentResponses, type DeleteMessageData, type DeleteMessageError, type DeleteMessageErrors, type DeleteMessageResponse, type DeleteMessageResponse2, type DeleteMessageResponses, type DeleteOrganizationData, type DeleteOrganizationError, type DeleteOrganizationErrors, type DeleteOrganizationResponses, type DeleteOrgOidcProviderData, type DeleteOrgOidcProviderError, type DeleteOrgOidcProviderErrors, type DeleteOrgOidcProviderResponses, type DeletePersonalMcpServerInstanceData, type DeletePersonalMcpServerInstanceResponses, type DeletePersonalMemoryBankData, type DeletePersonalMemoryBankResponses, type DeletePersonalMemoryDocumentData, type DeletePersonalMemoryDocumentResponses, type DeletePersonalSkillData, type DeletePersonalSkillRegistryData, type DeletePersonalSkillRegistryResponses, type DeletePersonalSkillResponses, type DeletePersonalToolGroupInstanceData, type DeletePersonalToolGroupInstanceResponses, type DeletePersonalWikiData, type DeletePersonalWikiPageData, type DeletePersonalWikiPageResponses, type DeletePersonalWikiResponses, type DeleteProxiedMcpServerData, type DeleteProxiedMcpServerError, type DeleteProxiedMcpServerErrors, type DeleteProxiedMcpServerResponses, type DeleteResourceServerCredentialData, type DeleteResourceServerCredentialResponses, type DeleteRoutineResponse, type DeleteSelfAvatarData, type DeleteSelfAvatarError, type DeleteSelfAvatarErrors, type DeleteSelfAvatarResponses, type DeleteSignalResponse, type DeleteSkillData, type DeleteSkillError, type DeleteSkillErrors, type DeleteSkillRegistryData, type DeleteSkillRegistryError, type DeleteSkillRegistryErrors, type DeleteSkillRegistryResponses, type DeleteSkillResponses, type DeleteSynthesisMemoryDocumentBody, type DeleteSynthesisSessionMemoryData, type DeleteSynthesisSessionMemoryResponse, type DeleteSynthesisSessionMemoryResponses, type DeleteTeamData, type DeleteTeamError, type DeleteTeamErrors, type DeleteTeamGroupData, type DeleteTeamGroupError, type DeleteTeamGroupErrors, type DeleteTeamGroupResponses, type DeleteTeamResponses, type DeleteToolGroupInstanceData, type DeleteToolGroupInstanceError, type DeleteToolGroupInstanceErrors, type DeleteToolGroupInstanceResponses, type DeleteTrustedRuntimeData, type DeleteTrustedRuntimeError, type DeleteTrustedRuntimeErrors, type DeleteTrustedRuntimeResponses, type DeleteUserCredentialData, type DeleteUserCredentialResponses, type DeleteVerifiedIdentityLinkData, type DeleteVerifiedIdentityLinkError, type DeleteVerifiedIdentityLinkErrors, type DeleteVerifiedIdentityLinkResponse, type DeleteVerifiedIdentityLinkResponse2, type DeleteVerifiedIdentityLinkResponses, type DeleteWikiAssetData, type DeleteWikiAssetErrors, type DeleteWikiAssetResponses, type DeleteWikiData, type DeleteWikiPageData, type DeleteWikiPageErrors, type DeleteWikiPageRelationshipData, type DeleteWikiPageRelationshipResponses, type DeleteWikiPageResponses, type DeleteWikiPageTypeData, type DeleteWikiPageTypeErrors, type DeleteWikiPageTypeResponse, type DeleteWikiPageTypeResponses, type DeleteWikiPageTypeVersionData, type DeleteWikiPageTypeVersionErrors, type DeleteWikiPageTypeVersionResponse, type DeleteWikiPageTypeVersionResponses, type DeleteWikiRelationshipTypeData, type DeleteWikiRelationshipTypeErrors, type DeleteWikiRelationshipTypeResponses, type DeleteWikiResponses, type DeploymentEnvironmentFile, type DirectTokenPayment, type DisableCustomToolProviderData, type DisableCustomToolProviderResponse, type DisableCustomToolProviderResponses, type DisableProxiedMcpServerData, type DisableProxiedMcpServerError, type DisableProxiedMcpServerErrors, type DisableProxiedMcpServerResponse, type DisableProxiedMcpServerResponses, type DisableToolData, type DisableToolError, type DisableToolErrors, type DisableToolResponse, type DisableToolResponses, type DownloadAttachmentContentData, type DownloadAttachmentContentError, type DownloadAttachmentContentErrors, type DownloadAttachmentContentResponse, type DownloadAttachmentContentResponses, type DownloadSkillPackageFileData, type DownloadSkillPackageFileError, type DownloadSkillPackageFileErrors, type DownloadSkillPackageFileRequest, type DownloadSkillPackageFileResponse, type DownloadSkillPackageFileResponses, type DownloadWikiAssetContentData, type DownloadWikiAssetContentErrors, type DownloadWikiAssetContentResponse, type DownloadWikiAssetContentResponses, type DownloadWikiAssetData, type DownloadWikiAssetResponse, type DownloadWikiAssetResponses, type EnableAndBindMcpServerResult, type EnableAndBindProviderToolsData, type EnableAndBindProviderToolsError, type EnableAndBindProviderToolsErrors, type EnableAndBindProviderToolsResponse, type EnableAndBindProviderToolsResponses, type EnableAndBindToolFailure, type EnableAndBindToolsBody, type EnableAndBindToolsResponse, type EnableCustomToolProviderData, type EnableCustomToolProviderResponse, type EnableCustomToolProviderResponses, type EnabledSkillsSpec, type EnableProxiedMcpServerData, type EnableProxiedMcpServerError, type EnableProxiedMcpServerErrors, type EnableProxiedMcpServerResponse, type EnableProxiedMcpServerResponses, type EnableToolData, type EnableToolError, type EnableToolErrors, type EnableToolInstanceParamsInner, type EnableToolResponse, type EnableToolResponses, type EncryptCredentialConfigurationParamsInner, type EncryptedTrustedRuntimePayload, type EncryptPersonalUserCredentialConfigurationData, type EncryptPersonalUserCredentialConfigurationResponses, type EncryptResourceServerConfigurationData, type EncryptResourceServerConfigurationResponses, type EncryptUserCredentialConfigurationData, type EncryptUserCredentialConfigurationResponses, EndpointType, type Error, type ExchangeOAuthCodeBody, type ExchangeOauthCodeData, type ExchangeOauthCodeErrors, type ExchangeOauthCodeResponse, type ExchangeOauthCodeResponses, type ExchangeOAuthCodeResult, type ExpectedRevisionBody, type ExpireTemporaryAccountsData, type ExpireTemporaryAccountsError, type ExpireTemporaryAccountsErrors, type ExpireTemporaryAccountsResponse, type ExpireTemporaryAccountsResponse2, type ExpireTemporaryAccountsResponses, type ExportMemoryBankTemplateData, type ExportMemoryBankTemplateResponse, type ExportMemoryBankTemplateResponses, type ExportPersonalMemoryBankTemplateData, type ExportPersonalMemoryBankTemplateResponse, type ExportPersonalMemoryBankTemplateResponses, type FileUiPart, type FinalizeHostedOpenbotReleaseData, type FinalizeHostedOpenbotReleaseError, type FinalizeHostedOpenbotReleaseErrors, type FinalizeHostedOpenbotReleaseResponse, type FinalizeHostedOpenbotReleaseResponses, type GenerateLocalRuntimeTunnelApiKeyData, type GenerateLocalRuntimeTunnelApiKeyError, type GenerateLocalRuntimeTunnelApiKeyErrors, type GenerateLocalRuntimeTunnelApiKeyResponse, type GenerateLocalRuntimeTunnelApiKeyResponse2, type GenerateLocalRuntimeTunnelApiKeyResponses, type GenerateTemporaryAccountClaimUrlData, type GenerateTemporaryAccountClaimUrlError, type GenerateTemporaryAccountClaimUrlErrors, type GenerateTemporaryAccountClaimUrlResponse, type GenerateTemporaryAccountClaimUrlResponse2, type GenerateTemporaryAccountClaimUrlResponses, type GetAttachmentDownloadUrlData, type GetAttachmentDownloadUrlError, type GetAttachmentDownloadUrlErrors, type GetAttachmentDownloadUrlResponse, type GetAttachmentDownloadUrlResponse2, type GetAttachmentDownloadUrlResponses, type GetBalancesResponse, type GetCommonProviderInstallationData, type GetCommonProviderInstallationResponse, type GetCommonProviderInstallationResponses, type GetCredentialSetupItemData, type GetCredentialSetupItemResponse, type GetCredentialSetupItemResponses, type GetCryptoDepositInformationResponse, type GetCustomToolProviderData, type GetCustomToolProviderResponse, type GetCustomToolProviderResponses, type GetFiatDepositInformationResponse, type GetHostedOpenbotBootstrapBundleData, type GetHostedOpenbotBootstrapBundleError, type GetHostedOpenbotBootstrapBundleErrors, type GetHostedOpenbotBootstrapBundleResponse, type GetHostedOpenbotBootstrapBundleResponses, type GetHostedOpenbotInstanceData, type GetHostedOpenbotInstanceError, type GetHostedOpenbotInstanceErrors, type GetHostedOpenbotInstanceResponse, type GetHostedOpenbotInstanceResponses, type GetHostedOpenbotReleaseData, type GetHostedOpenbotReleaseError, type GetHostedOpenbotReleaseErrors, type GetHostedOpenbotReleaseResponse, type GetHostedOpenbotReleaseResponses, type GetHumanApprovalActionData, type GetHumanApprovalActionError, type GetHumanApprovalActionErrors, type GetHumanApprovalActionResponse, type GetHumanApprovalActionResponses, type GetIdentityData, type GetIdentityError, type GetIdentityErrors, type GetIdentityResponse, type GetIdentityResponses, type GetIdentityVerificationData, type GetIdentityVerificationError, type GetIdentityVerificationErrors, type GetIdentityVerificationResponse, type GetIdentityVerificationResponses, type GetLocalRuntimeTunnelApiKeyData, type GetLocalRuntimeTunnelApiKeyError, type GetLocalRuntimeTunnelApiKeyErrors, type GetLocalRuntimeTunnelApiKeyResponse, type GetLocalRuntimeTunnelApiKeyResponses, type GetLocalRuntimeTunnelConnectorData, type GetLocalRuntimeTunnelConnectorError, type GetLocalRuntimeTunnelConnectorErrors, type GetLocalRuntimeTunnelConnectorResponse, type GetLocalRuntimeTunnelConnectorResponses, type GetManagedUserCredentialSecretData, type GetManagedUserCredentialSecretResponse, type GetManagedUserCredentialSecretResponses, type GetMcpServerInstanceData, type GetMcpServerInstanceError, type GetMcpServerInstanceErrors, type GetMcpServerInstanceResponse, type GetMcpServerInstanceResponses, type GetMemoryBankConfigData, type GetMemoryBankConfigResponse, type GetMemoryBankConfigResponses, type GetMemoryBankData, type GetMemoryBankDocumentData, type GetMemoryBankDocumentResponse, type GetMemoryBankDocumentResponses, type GetMemoryBankResponse, type GetMemoryBankResponses, type GetMessageData, type GetMessageDeliveriesData, type GetMessageDeliveriesError, type GetMessageDeliveriesErrors, type GetMessageDeliveriesResponse, type GetMessageDeliveriesResponses, type GetMessageError, type GetMessageErrors, type GetMessageResponse, type GetMessageResponses, type GetOpenbotPluginsCatalogData, type GetOpenbotPluginsCatalogResponse, type GetOpenbotPluginsCatalogResponses, type GetOrganizationData, type GetOrganizationError, type GetOrganizationErrors, type GetOrganizationResponse, type GetOrganizationResponses, type GetOrgOidcProviderData, type GetOrgOidcProviderError, type GetOrgOidcProviderErrors, type GetOrgOidcProviderResponse, type GetOrgOidcProviderResponses, type GetPersonalMcpServerInstanceData, type GetPersonalMcpServerInstanceResponse, type GetPersonalMcpServerInstanceResponses, type GetPersonalMemoryBankConfigData, type GetPersonalMemoryBankConfigResponse, type GetPersonalMemoryBankConfigResponses, type GetPersonalMemoryBankData, type GetPersonalMemoryBankDocumentData, type GetPersonalMemoryBankDocumentResponse, type GetPersonalMemoryBankDocumentResponses, type GetPersonalMemoryBankResponse, type GetPersonalMemoryBankResponses, type GetPersonalSkillData, type GetPersonalSkillRegistryData, type GetPersonalSkillRegistryResponse, type GetPersonalSkillRegistryResponses, type GetPersonalSkillResponse, type GetPersonalSkillResponses, type GetPersonalToolGroupInstanceData, type GetPersonalToolGroupInstanceResponse, type GetPersonalToolGroupInstanceResponses, type GetPersonalWikiData, type GetPersonalWikiPageData, type GetPersonalWikiPageResponse, type GetPersonalWikiPageResponses, type GetPersonalWikiResponse, type GetPersonalWikiResponses, type GetProviderProvisioningHumanActionData, type GetProviderProvisioningHumanActionResponse, type GetProviderProvisioningHumanActionResponses, type GetProxiedMcpServerData, type GetProxiedMcpServerError, type GetProxiedMcpServerErrors, type GetProxiedMcpServerResponse, type GetProxiedMcpServerResponses, type GetProxiedSkillProviderData, type GetProxiedSkillProviderError, type GetProxiedSkillProviderErrors, type GetProxiedSkillProviderResponse, type GetProxiedSkillProviderResponses, type GetResourceServerCredentialData, type GetResourceServerCredentialResponse, type GetResourceServerCredentialResponses, type GetRuntimeConfigData, type GetRuntimeConfigResponse, type GetRuntimeConfigResponses, type GetSelfAvatarData, type GetSelfAvatarError, type GetSelfAvatarErrors, type GetSelfAvatarResponse, type GetSelfAvatarResponses, type GetSelfProfileData, type GetSelfProfileError, type GetSelfProfileErrors, type GetSelfProfileResponse, type GetSelfProfileResponses, type GetSessionEventHistoryData, type GetSessionEventHistoryError, type GetSessionEventHistoryErrors, type GetSessionEventHistoryResponse, type GetSessionEventHistoryResponses, type GetSkillData, type GetSkillError, type GetSkillErrors, type GetSkillPackageData, type GetSkillPackageError, type GetSkillPackageErrors, type GetSkillPackageResponse, type GetSkillPackageResponses, type GetSkillRegistryData, type GetSkillRegistryError, type GetSkillRegistryErrors, type GetSkillRegistryResponse, type GetSkillRegistryResponses, type GetSkillRegistrySkillByTitleData, type GetSkillRegistrySkillByTitleError, type GetSkillRegistrySkillByTitleErrors, type GetSkillRegistrySkillByTitleResponse, type GetSkillRegistrySkillByTitleResponses, type GetSkillRegistrySkillData, type GetSkillRegistrySkillDescriptionData, type GetSkillRegistrySkillDescriptionError, type GetSkillRegistrySkillDescriptionErrors, type GetSkillRegistrySkillDescriptionResponse, type GetSkillRegistrySkillDescriptionResponses, type GetSkillRegistrySkillError, type GetSkillRegistrySkillErrors, type GetSkillRegistrySkillResponse, type GetSkillRegistrySkillResponses, type GetSkillResponse, type GetSkillResponses, type GetTeamData, type GetTeamError, type GetTeamErrors, type GetTeamGroupData, type GetTeamGroupError, type GetTeamGroupErrors, type GetTeamGroupResponse, type GetTeamGroupResponses, type GetTeamResponse, type GetTeamResponses, type GetToolGroupInstanceData, type GetToolGroupInstanceError, type GetToolGroupInstanceErrors, type GetToolGroupInstanceResponse, type GetToolGroupInstanceResponses, type GetToolsOpenapiSpecData, type GetToolsOpenapiSpecError, type GetToolsOpenapiSpecErrors, type GetToolsOpenapiSpecResponse, type GetToolsOpenapiSpecResponses, type GetTrustedRuntimeData, type GetTrustedRuntimeError, type GetTrustedRuntimeErrors, type GetTrustedRuntimeResponse, type GetTrustedRuntimeResponses, type GetUserCredentialData, type GetUserCredentialResponse, type GetUserCredentialResponses, type GetWalletCustomerKycResponse, type GetWikiData, type GetWikiPageBacklinksData, type GetWikiPageBacklinksResponse, type GetWikiPageBacklinksResponses, type GetWikiPageData, type GetWikiPageNeighborhoodData, type GetWikiPageNeighborhoodResponse, type GetWikiPageNeighborhoodResponses, type GetWikiPageRelationshipData, type GetWikiPageRelationshipResponse, type GetWikiPageRelationshipResponses, type GetWikiPageResponse, type GetWikiPageResponses, type GetWikiPageTypeData, type GetWikiPageTypeResponse, type GetWikiPageTypeResponses, type GetWikiPageTypeVersionData, type GetWikiPageTypeVersionResponse, type GetWikiPageTypeVersionResponses, type GetWikiRelationshipTypeData, type GetWikiRelationshipTypeResponse, type GetWikiRelationshipTypeResponses, type GetWikiRelationshipTypeVersionData, type GetWikiRelationshipTypeVersionResponse, type GetWikiRelationshipTypeVersionResponses, type GetWikiResponse, type GetWikiResponses, type Goal, type GoalPaginatedResponse, GoalStatus, type GrepPersonalWikiPagesData, type GrepPersonalWikiPagesResponse, type GrepPersonalWikiPagesResponses, type GrepWikiPagesBody, type GrepWikiPagesData, type GrepWikiPagesResponse, type GrepWikiPagesResponse2, type GrepWikiPagesResponses, type Group, type GroupMembership, type GroupMemberWithUser, type GroupMemberWithUserPaginatedResponse, type HashedApiKey, type HealthCheckData, type HealthCheckError, type HealthCheckErrors, type HealthCheckResponse, type HealthCheckResponse2, type HealthCheckResponses, type HostedOpenBotBootstrapBundle, type HostedOpenBotDeployment, HostedOpenBotExeStep, type HostedOpenBotGitToken, type HostedOpenBotInstance, HostedOpenBotInstanceStatus, type HostedOpenBotRelease, type HostedOpenBotReleaseFile, HostedOpenBotReleaseService, HostedOpenBotReleaseStatus, HostedOpenBotTarget, type Human, type HumanApprovalAction, type HumanApprovalActionPayload, type HumanApprovalActionResponse, type HumanApprovalCompletion, HumanApprovalDecision, type HumanApprovalNote, type HydrateConvertedMessagesRequest, type HydrateConvertedMessagesResponse, type Identity, type IdentityClaimRequest, type IdentityIdentifier, type IdentityLinkDelivery, type IdentityLinkPreview, type IdentityLinkRoute, type IdentityTeam, type IdentityTeamMembership, type IdentityTeamMembershipPaginatedResponse, type IdentityVerification, type IdentityVerificationChallenge, IdentityVerificationMode, type ImportMemoryBankTemplateBody, type ImportMemoryBankTemplateData, type ImportMemoryBankTemplateResponse, type ImportMemoryBankTemplateResponse2, type ImportMemoryBankTemplateResponses, type ImportPersonalMemoryBankTemplateData, type ImportPersonalMemoryBankTemplateResponse, type ImportPersonalMemoryBankTemplateResponses, type ImportRunSummary, type ImportStateRequest, type ImportStateResponse, type Inbox, type InboxInstance, InboxInstanceTypingStatus, type InboxPaginatedResponse, InboxStatus, InboxType, type InboxWithLinkedInboxes, type InboxWithLinkedInboxesPaginatedResponse, type IngestSignalResponse, type InitiateIdentityVerificationData, type InitiateIdentityVerificationError, type InitiateIdentityVerificationErrors, type InitiateIdentityVerificationRequestInner, type InitiateIdentityVerificationResponse, type InitiateIdentityVerificationResponses, type InspectWikiAssetReferencesData, type InspectWikiAssetReferencesResponse, type InspectWikiAssetReferencesResponses, type InterruptChatKitSessionResponse, type InviteTeamUsersData, type InviteTeamUsersError, type InviteTeamUsersErrors, type InviteTeamUsersResponse, type InviteTeamUsersResponses, type InviteUserFailure, type InviteUserInput, type InviteUsersBody, type InviteUsersResponse, type InvokeCustomToolData, type InvokeCustomToolRequestInner, type InvokeCustomToolResponse, type InvokeCustomToolResponses, type InvokeError, type InvokeResult, type InvokeSessionProviderToolBody, type InvokeSessionProviderToolResponse, type InvokeToolData, type InvokeToolError, type InvokeToolErrors, type InvokeToolInstanceParamsInner, type InvokeToolResponse, type InvokeToolResponses, type IssueChatKitRealtimeSocketTicketRequest, type IssueHostedOpenbotGitTokenData, type IssueHostedOpenbotGitTokenError, type IssueHostedOpenbotGitTokenErrors, type IssueHostedOpenbotGitTokenResponse, type IssueHostedOpenbotGitTokenResponses, type IssueOpenbotChatkitRealtimeTicketData, type IssueOpenbotChatkitRealtimeTicketError, type IssueOpenbotChatkitRealtimeTicketErrors, type IssueOpenbotChatkitRealtimeTicketResponse, type IssueOpenbotChatkitRealtimeTicketResponses, type IssueProxyRealtimeTicketData, type IssueProxyRealtimeTicketResponse, type IssueProxyRealtimeTicketResponses, type JsonEqualsPredicate, type JsonSchema, type Jwk, type JwksResponse, type LinkedIdentity, type LinkTeamIdentityData, type LinkTeamIdentityError, type LinkTeamIdentityErrors, type LinkTeamIdentityRequestInner, type LinkTeamIdentityResponse, type LinkTeamIdentityResponses, type ListApiKeysResponse, type ListAvailableToolGroupsData, type ListAvailableToolGroupsError, type ListAvailableToolGroupsErrors, type ListAvailableToolGroupsResponse, type ListAvailableToolGroupsResponses, type ListCommonProviderInstallationOwnershipGrantsData, type ListCommonProviderInstallationOwnershipGrantsResponse, type ListCommonProviderInstallationOwnershipGrantsResponses, type ListCommonProviderInstallationsData, type ListCommonProviderInstallationsResponse, type ListCommonProviderInstallationsResponses, type ListCommonProviderInstallationVisibilityGrantsData, type ListCommonProviderInstallationVisibilityGrantsResponse, type ListCommonProviderInstallationVisibilityGrantsResponses, type ListCredentialSetupItemsData, type ListCredentialSetupItemsResponse, type ListCredentialSetupItemsResponses, type ListCustomToolProvidersData, type ListCustomToolProvidersResponse, type ListCustomToolProvidersResponses, type ListIdentitiesData, type ListIdentitiesError, type ListIdentitiesErrors, type ListIdentitiesResponse, type ListIdentitiesResponses, type ListIdentityTeamsData, type ListIdentityTeamsResponse, type ListIdentityTeamsResponses, type ListInboxAgentsData, type ListInboxAgentsError, type ListInboxAgentsErrors, type ListInboxAgentsResponse, type ListInboxAgentsResponses, type ListInboxesData, type ListInboxesError, type ListInboxesErrors, type ListInboxesResponse, type ListInboxesResponses, type ListManagedUserCredentialsData, type ListManagedUserCredentialsResponse, type ListManagedUserCredentialsResponses, type ListMcpProviderCatalogData, type ListMcpProviderCatalogError, type ListMcpProviderCatalogErrors, type ListMcpProviderCatalogResponse, type ListMcpProviderCatalogResponse2, type ListMcpProviderCatalogResponses, type ListMcpResourceOwnershipGrantsData, type ListMcpResourceOwnershipGrantsResponse, type ListMcpResourceOwnershipGrantsResponses, type ListMcpResourceVisibilityGrantsData, type ListMcpResourceVisibilityGrantsResponse, type ListMcpResourceVisibilityGrantsResponses, type ListMcpServerInstancesData, type ListMcpServerInstancesError, type ListMcpServerInstancesErrors, type ListMcpServerInstancesResponse, type ListMcpServerInstancesResponses, type ListMemoryBankDocumentsData, type ListMemoryBankDocumentsResponse, type ListMemoryBankDocumentsResponses, type ListMemoryBankOwnershipGrantsData, type ListMemoryBankOwnershipGrantsResponse, type ListMemoryBankOwnershipGrantsResponses, type ListMemoryBanksData, type ListMemoryBankSourceBindingsData, type ListMemoryBankSourceBindingsResponse, type ListMemoryBankSourceBindingsResponses, type ListMemoryBanksResponse, type ListMemoryBanksResponses, type ListMemoryBankVisibilityGrantsData, type ListMemoryBankVisibilityGrantsResponse, type ListMemoryBankVisibilityGrantsResponses, type ListMemorySourceBindingsData, type ListMemorySourceBindingsResponse, type ListMemorySourceBindingsResponses, type ListMessagesData, type ListMessagesError, type ListMessagesErrors, type ListMessagesResponse, type ListMessagesResponses, type ListOpenbotDeploymentsData, type ListOpenbotDeploymentsError, type ListOpenbotDeploymentsErrors, type ListOpenbotDeploymentsResponse, type ListOpenBotDeploymentsResponse, type ListOpenbotDeploymentsResponses, type ListOrganizationMembersData, type ListOrganizationMembersError, type ListOrganizationMembersErrors, type ListOrganizationMembersResponse, type ListOrganizationMembersResponses, type ListOrganizationsData, type ListOrganizationsError, type ListOrganizationsErrors, type ListOrganizationsResponses, type ListOrganizationTeamGroupsData, type ListOrganizationTeamGroupsResponse, type ListOrganizationTeamGroupsResponses, type ListOrgOidcProvidersData, type ListOrgOidcProvidersError, type ListOrgOidcProvidersErrors, type ListOrgOidcProvidersResponse, type ListOrgOidcProvidersResponses, type ListPersonalMcpServerInstancesData, type ListPersonalMcpServerInstancesError, type ListPersonalMcpServerInstancesErrors, type ListPersonalMcpServerInstancesResponse, type ListPersonalMcpServerInstancesResponses, type ListPersonalMemoryBankDocumentsData, type ListPersonalMemoryBankDocumentsResponse, type ListPersonalMemoryBankDocumentsResponses, type ListPersonalMemoryBankOwnershipGrantsData, type ListPersonalMemoryBankOwnershipGrantsResponse, type ListPersonalMemoryBankOwnershipGrantsResponses, type ListPersonalMemoryBanksData, type ListPersonalMemoryBankSourceBindingsData, type ListPersonalMemoryBankSourceBindingsResponse, type ListPersonalMemoryBankSourceBindingsResponses, type ListPersonalMemoryBanksResponse, type ListPersonalMemoryBanksResponses, type ListPersonalMemoryBankVisibilityGrantsData, type ListPersonalMemoryBankVisibilityGrantsResponse, type ListPersonalMemoryBankVisibilityGrantsResponses, type ListPersonalMemorySourceBindingsData, type ListPersonalMemorySourceBindingsResponse, type ListPersonalMemorySourceBindingsResponses, type ListPersonalRegistryOwnershipGrantsData, type ListPersonalRegistryOwnershipGrantsResponse, type ListPersonalRegistryOwnershipGrantsResponses, type ListPersonalRegistryVisibilityGrantsData, type ListPersonalRegistryVisibilityGrantsResponse, type ListPersonalRegistryVisibilityGrantsResponses, type ListPersonalRscOwnershipGrantsData, type ListPersonalRscOwnershipGrantsResponse, type ListPersonalRscOwnershipGrantsResponses, type ListPersonalRscVisibilityGrantsData, type ListPersonalRscVisibilityGrantsResponse, type ListPersonalRscVisibilityGrantsResponses, type ListPersonalSkillOwnershipGrantsData, type ListPersonalSkillOwnershipGrantsResponse, type ListPersonalSkillOwnershipGrantsResponses, type ListPersonalSkillRegistriesData, type ListPersonalSkillRegistriesResponse, type ListPersonalSkillRegistriesResponses, type ListPersonalSkillsData, type ListPersonalSkillsResponse, type ListPersonalSkillsResponses, type ListPersonalSkillVisibilityGrantsData, type ListPersonalSkillVisibilityGrantsResponse, type ListPersonalSkillVisibilityGrantsResponses, type ListPersonalToolGroupInstancesData, type ListPersonalToolGroupInstancesError, type ListPersonalToolGroupInstancesErrors, type ListPersonalToolGroupInstancesResponse, type ListPersonalToolGroupInstancesResponses, type ListPersonalUcOwnershipGrantsData, type ListPersonalUcOwnershipGrantsResponse, type ListPersonalUcOwnershipGrantsResponses, type ListPersonalUcVisibilityGrantsData, type ListPersonalUcVisibilityGrantsResponse, type ListPersonalUcVisibilityGrantsResponses, type ListPersonalWikiOwnershipGrantsData, type ListPersonalWikiOwnershipGrantsResponse, type ListPersonalWikiOwnershipGrantsResponses, type ListPersonalWikiPagesData, type ListPersonalWikiPagesResponse, type ListPersonalWikiPagesResponses, type ListPersonalWikisData, type ListPersonalWikisResponse, type ListPersonalWikisResponses, type ListPersonalWikiVisibilityGrantsData, type ListPersonalWikiVisibilityGrantsResponse, type ListPersonalWikiVisibilityGrantsResponses, type ListProviderProvisionerCatalogData, type ListProviderProvisionerCatalogResponse, type ListProviderProvisionerCatalogResponses, type ListProviderSetupCatalogResponse, type ListProxiedMcpServersData, type ListProxiedMcpServersError, type ListProxiedMcpServersErrors, type ListProxiedMcpServersResponse, type ListProxiedMcpServersResponses, type ListProxiedSkillProvidersData, type ListProxiedSkillProvidersResponse, type ListProxiedSkillProvidersResponse2, type ListProxiedSkillProvidersResponses, type ListProxyTokensData, type ListProxyTokensError, type ListProxyTokensErrors, type ListProxyTokensResponse, type ListProxyTokensResponses, type ListPublicAvailableToolGroupsData, type ListPublicAvailableToolGroupsError, type ListPublicAvailableToolGroupsErrors, type ListPublicAvailableToolGroupsResponse, type ListPublicAvailableToolGroupsResponses, type ListResourceServerCredentialsData, type ListResourceServerCredentialsResponse, type ListResourceServerCredentialsResponses, type ListReverseProxyProvidersResponse, type ListRscOwnershipGrantsData, type ListRscOwnershipGrantsResponse, type ListRscOwnershipGrantsResponses, type ListRscVisibilityGrantsData, type ListRscVisibilityGrantsResponse, type ListRscVisibilityGrantsResponses, type ListSessionInboxInstancesData, type ListSessionInboxInstancesError, type ListSessionInboxInstancesErrors, type ListSessionInboxInstancesResponse, type ListSessionInboxInstancesResponses, type ListSessionResourceGrantsData, type ListSessionResourceGrantsError, type ListSessionResourceGrantsErrors, type ListSessionResourceGrantsResponse, type ListSessionResourceGrantsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListSessionUserMembersData, type ListSessionUserMembersError, type ListSessionUserMembersErrors, type ListSessionUserMembersResponse, type ListSessionUserMembersResponses, type ListSignalProviderGrantsData, type ListSignalProviderGrantsResponse, type ListSignalProviderGrantsResponses, type ListSkillOwnershipGrantsData, type ListSkillOwnershipGrantsResponse, type ListSkillOwnershipGrantsResponses, type ListSkillRegistriesData, type ListSkillRegistriesError, type ListSkillRegistriesErrors, type ListSkillRegistriesResponse, type ListSkillRegistriesResponses, type ListSkillRegistryOwnershipGrantsData, type ListSkillRegistryOwnershipGrantsResponse, type ListSkillRegistryOwnershipGrantsResponses, type ListSkillRegistrySkillSummariesData, type ListSkillRegistrySkillSummariesError, type ListSkillRegistrySkillSummariesErrors, type ListSkillRegistrySkillSummariesResponse, type ListSkillRegistrySkillSummariesResponses, type ListSkillRegistryVisibilityGrantsData, type ListSkillRegistryVisibilityGrantsResponse, type ListSkillRegistryVisibilityGrantsResponses, type ListSkillsData, type ListSkillsError, type ListSkillsErrors, type ListSkillsResponse, type ListSkillsResponses, type ListSkillVisibilityGrantsData, type ListSkillVisibilityGrantsResponse, type ListSkillVisibilityGrantsResponses, type ListTeamGroupMembersData, type ListTeamGroupMembersResponse, type ListTeamGroupMembersResponses, type ListTeamGroupsData, type ListTeamGroupsResponse, type ListTeamGroupsResponses, type ListTeamInvitationsData, type ListTeamInvitationsResponse, type ListTeamInvitationsResponses, type ListTeamMembersData, type ListTeamMembersError, type ListTeamMembersErrors, type ListTeamMembersResponse, type ListTeamMembersResponses, type ListTeamsData, type ListTeamsError, type ListTeamsErrors, type ListTeamsResponse, type ListTeamsResponses, type ListToolDeploymentsByAliasData, type ListToolDeploymentsByAliasError, type ListToolDeploymentsByAliasErrors, type ListToolDeploymentsByAliasResponse, type ListToolDeploymentsByAliasResponses, type ListToolGroupInstancesData, type ListToolGroupInstancesError, type ListToolGroupInstancesErrors, type ListToolGroupInstancesGroupedByToolData, type ListToolGroupInstancesGroupedByToolError, type ListToolGroupInstancesGroupedByToolErrors, type ListToolGroupInstancesGroupedByToolResponse, type ListToolGroupInstancesGroupedByToolResponses, type ListToolGroupInstancesResponse, type ListToolGroupInstancesResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTrustedRuntimesData, type ListTrustedRuntimesError, type ListTrustedRuntimesErrors, type ListTrustedRuntimesResponse, type ListTrustedRuntimesResponses, type ListUcOwnershipGrantsData, type ListUcOwnershipGrantsResponse, type ListUcOwnershipGrantsResponses, type ListUcVisibilityGrantsData, type ListUcVisibilityGrantsResponse, type ListUcVisibilityGrantsResponses, type ListUserCredentialsData, type ListUserCredentialsResponse, type ListUserCredentialsResponses, type ListVerifiedIdentityLinksData, type ListVerifiedIdentityLinksError, type ListVerifiedIdentityLinksErrors, type ListVerifiedIdentityLinksResponse, type ListVerifiedIdentityLinksResponse2, type ListVerifiedIdentityLinksResponses, type ListVisibleMemoryBanksData, type ListVisibleMemoryBanksResponse, type ListVisibleMemoryBanksResponses, type ListWikiAssetsData, type ListWikiAssetsResponse, type ListWikiAssetsResponses, type ListWikiOntologyInstallationsData, type ListWikiOntologyInstallationsResponse, type ListWikiOntologyInstallationsResponses, type ListWikiOntologyTemplatesData, type ListWikiOntologyTemplatesResponse, type ListWikiOntologyTemplatesResponses, type ListWikiOwnershipGrantsData, type ListWikiOwnershipGrantsResponse, type ListWikiOwnershipGrantsResponses, type ListWikiPageAssetsData, type ListWikiPageAssetsResponse, type ListWikiPageAssetsResponses, type ListWikiPageRelationshipsData, type ListWikiPageRelationshipsResponse, type ListWikiPageRelationshipsResponses, type ListWikiPageRevisionsData, type ListWikiPageRevisionsResponse, type ListWikiPageRevisionsResponses, type ListWikiPagesData, type ListWikiPagesResponse, type ListWikiPagesResponses, type ListWikiPageTypesData, type ListWikiPageTypesResponse, type ListWikiPageTypesResponses, type ListWikiPageTypeVersionsData, type ListWikiPageTypeVersionsResponse, type ListWikiPageTypeVersionsResponses, type ListWikiRelationshipTypesData, type ListWikiRelationshipTypesResponse, type ListWikiRelationshipTypesResponses, type ListWikiRelationshipTypeVersionsData, type ListWikiRelationshipTypeVersionsResponse, type ListWikiRelationshipTypeVersionsResponses, type ListWikisData, type ListWikisResponse, type ListWikisResponses, type ListWikiVisibilityGrantsData, type ListWikiVisibilityGrantsResponse, type ListWikiVisibilityGrantsResponses, type LocalRuntimeTunnelApiKey, type LocalRuntimeTunnelConnector, type LoginProviderResolution, type MakeMppPaymentRequest, type MakeX402PaymentRequest, type ManagedSkillSelection, type ManagedUserCredentialSecretResponse, type ManagedUserCredentialSummary, type ManagedUserCredentialSummaryPaginatedResponse, type ManagedUserCredentialSummaryValue, type McpPlaygroundAiSdkChatMessage, type McpPlaygroundAiSdkChatMessagePart, type McpPlaygroundAiSdkChatRequest, type McpProtocolDeleteData, type McpProtocolDeleteError, type McpProtocolDeleteErrors, type McpProtocolDeleteResponses, type McpProtocolGetData, type McpProtocolGetError, type McpProtocolGetErrors, type McpProtocolGetResponses, type McpProtocolPostData, type McpProtocolPostError, type McpProtocolPostErrors, type McpProtocolPostResponses, McpProviderCatalogConnectionMethod, type McpProviderCatalogEntry, type McpProviderCatalogTool, type McpServerInstanceSerializedWithFunctions, type McpServerInstanceSerializedWithFunctionsPaginatedResponse, type McpServerInstanceToolSerialized, type McpServerPlaygroundChatData, type McpServerPlaygroundChatError, type McpServerPlaygroundChatErrors, type McpServerPlaygroundChatResponses, type McpServerSpec, type MemoryActorContext, type MemoryBank, type MemoryBankConfig, type MemoryBankDocumentList, type MemoryBankHealth, type MemoryBankPaginatedResponse, type MemoryBankSpec, MemoryBankStatus, type MemoryBankTemplate, type MemoryDocument, type MemoryDocumentAuthorship, MemoryDocumentOrigin, type MemoryDocumentProvenance, type MemoryDocumentRelations, type MemoryOperationResponse, MemoryProvider, type MemoryProviderDocumentState, type MemorySourceBinding, MemorySourceKind, type MemorySourceProvenance, type MemorySpec, type MemorySynthesisMutationBinding, MemorySynthesisOutcome, MemoryType, type Message, type MessageActorContext, type MessageDeliveryReceipt, MessageFormat, type MessageFormatConfig, type MessagePaginatedResponse, MessageRole, type Metadata, type MigrateWikiPageBody, type MigrateWikiPageTypeData, type MigrateWikiPageTypeErrors, type MigrateWikiPageTypeResponse, type MigrateWikiPageTypeResponses, type MoveWikiPageBody, type MoveWikiPageData, type MoveWikiPageErrors, type MoveWikiPageResponse, type MoveWikiPageResponses, type ObserveSessionData, type ObserveSessionError, type ObserveSessionErrors, type ObserveSessionResponses, type OnboardOrganizationData, type OnboardOrganizationError, type OnboardOrganizationErrors, type OnboardOrganizationRequest, type OnboardOrganizationResponse, type OnboardOrganizationResponse2, type OnboardOrganizationResponses, type OntologyPageTypeDefinition, type OntologyRelationshipTypeDefinition, type OpenBotAgentSkillInput, type OpenBotDeployment, type OpenBotPluginsCatalogResponse, type Organization, type OrganizationAiCreditContext, type OrganizationMemberWithUser, type OrganizationMemberWithUserPaginatedResponse, type OrgOidcProvider, type OrgOidcProviderPaginatedResponse, OrgOidcProviderStatus, type OrgProxyToken, type OrgProxyTokenPaginatedResponse, type PageRelationshipView, type PageTypeMigrationIssue, type PageTypeMigrationPreview, type PageTypeValidationResult, PartState, type PaymentResponse, type PaymentSessionSnapshot, PayOnboardingStep, type PayPaymentRequest, type PayWalletSummaryError, type PayWalletSummaryResponse, type PersonalMcpProtocolDeleteData, type PersonalMcpProtocolDeleteResponses, type PersonalMcpProtocolGetData, type PersonalMcpProtocolGetResponses, type PersonalMcpProtocolPostData, type PersonalMcpProtocolPostResponses, type PersonalMcpServerInstanceSerialized, type PersonalSkill, type PersonalSkillRegistry, type PersonalToolGroupInstanceSerialized, type PlanStateRequest, type PlatformChannelAddress, type PreviewIdentityLinkData, type PreviewIdentityLinkResponse, type PreviewIdentityLinkResponses, type PreviewWikiPageTypeMigrationData, type PreviewWikiPageTypeMigrationErrors, type PreviewWikiPageTypeMigrationResponse, type PreviewWikiPageTypeMigrationResponses, type ProductBillingContext, ProductSubscriptionStatus, type ProposalCredentialRequirement, type ProposalPermissionChange, type ProviderAppProvisioningResponse, type ProviderAuthAccountNameDisplay, type ProviderAuthAdapterApiKey, type ProviderAuthAdapterConfig, type ProviderAuthAdapterCustom, type ProviderAuthAdapterCustomJsonSchema, type ProviderAuthAdapterNoAuth, type ProviderAuthAdapterOauthApp, type ProviderAuthAdapterOauthJwtBearer, type ProviderAuthAdapterServerTokenExchange, type ProviderAuthAdapterTildeManagedOauth, type ProviderAuthFieldDisplay, ProviderDeliveryStatus, type ProviderProvisionerConfigField, type ProviderProvisionerCredentialRequirement, type ProviderProvisionerForm, type ProviderProvisionerInstructions, ProviderProvisionerSetupKind, type ProviderProvisioningCallbackData, type ProviderProvisioningCallbackResponse, type ProviderProvisioningCallbackResponses, type ProviderProvisioningHumanAction, type ProviderProvisioningInput, type ProviderProvisioningNextAction, type ProviderSetupAuthMethod, type ProviderSetupCatalogData, type ProviderSetupCatalogResponse, type ProviderSetupCatalogResponses, type ProviderSetupDescriptor, type ProviderSetupField, type ProviderSetupNextAction, type ProviderSetupOption, type ProviderSetupResponse, type ProviderSetupResumeData, type ProviderSetupResumeResponse, type ProviderSetupResumeResponses, type ProviderSetupStartData, type ProviderSetupStartResponse, type ProviderSetupStartResponses, type ProvisionAgentRequest, type ProvisionedProviderApp, type ProvisionedResource, ProvisionerCredentialKind, type ProvisionIdentityTeamData, type ProvisionIdentityTeamRequest, type ProvisionIdentityTeamResponse, type ProvisionIdentityTeamResponses, type ProvisionPayBrowserResponse, type ProvisionTildePayRequest, type ProvisionTildePayResponse, ProxiedMcpApiKeyLocation, ProxiedMcpAuthMode, type ProxiedMcpServerDetails, type ProxiedMcpServerListItem, type ProxiedMcpServerListItemPaginatedResponse, type ProxiedMcpServerSerialized, type ProxiedSkill, type ProxiedSkillProvider, type ProxyCredentialTemplate, type PutRoutineBody, type ReasoningUiPart, type RecallChatKitAutomaticMemoryBody, type RecallMemoryBody, type RecallMemoryData, type RecallMemoryResponse, type RecallMemoryResponses, type RecallPersonalMemoryData, type RecallPersonalMemoryResponse, type RecallPersonalMemoryResponses, type RecallSynthesisSessionMemoryData, type RecallSynthesisSessionMemoryResponse, type RecallSynthesisSessionMemoryResponses, type ReconcileOpenBotAgentBundleBody, type ReconcileOpenbotAgentBundleData, type ReconcileOpenbotAgentBundleResponse, type ReconcileOpenBotAgentBundleResponse, type ReconcileOpenbotAgentBundleResponses, type RecordAgentRunEffectInner, type RedirectTemporaryAccountClaimPageData, type ReflectMemoryBody, type ReflectMemoryData, type ReflectMemoryResponse, type ReflectMemoryResponses, type ReflectPersonalMemoryData, type ReflectPersonalMemoryResponse, type ReflectPersonalMemoryResponses, type RefreshCustomToolProviderData, type RefreshCustomToolProviderResponse, type RefreshCustomToolProviderResponse2, type RefreshCustomToolProviderResponses, type RefreshProxiedMcpServerData, type RefreshProxiedMcpServerError, type RefreshProxiedMcpServerErrors, type RefreshProxiedMcpServerResponse, type RefreshProxiedMcpServerResponses, type RefreshTokenRequest, type RefreshWalletTransactionHistoryResponse, type RegisterAgentTool, type RegisterAgentToolsRequestInner, type RegisterChatKitChatProviderRequestInner, type RegisterChatKitChatProviderResponse, type RegisterHttpVercelAiSdkAgentRequestInner, type RegisterHttpVercelAiSdkAgentResponse, type RegisterInboxInstanceRequest, type RegisterOauthClientData, type RegisterOauthClientError, type RegisterOauthClientErrors, type RegisterOAuthClientRequest, type RegisterOauthClientResponse, type RegisterOAuthClientResponse, type RegisterOauthClientResponses, type RegisterOpenbotDeploymentData, type RegisterOpenbotDeploymentError, type RegisterOpenbotDeploymentErrors, type RegisterOpenBotDeploymentRequest, type RegisterOpenbotDeploymentResponse, type RegisterOpenbotDeploymentResponses, type RegisterTeamOauthClientData, type RegisterTeamOauthClientError, type RegisterTeamOauthClientErrors, type RegisterTeamOauthClientResponse, type RegisterTeamOauthClientResponses, type RegisterVercelUiChatProviderRequestInner, RelationshipDirectionality, type ReleaseAiCreditReservationBody, type RemoveChatKitParticipantResponse, type RemoveCommonProviderInstallationOwnershipGrantData, type RemoveCommonProviderInstallationOwnershipGrantResponses, type RemoveCommonProviderInstallationVisibilityGrantData, type RemoveCommonProviderInstallationVisibilityGrantResponses, type RemoveIdentityIdentifierData, type RemoveIdentityIdentifierResponse, type RemoveIdentityIdentifierResponses, type RemoveIdentityTeamData, type RemoveIdentityTeamResponses, type RemoveMcpResourceOwnershipGrantData, type RemoveMcpResourceOwnershipGrantResponses, type RemoveMcpResourceVisibilityGrantData, type RemoveMcpResourceVisibilityGrantResponses, type RemoveMcpServerInstanceFunctionData, type RemoveMcpServerInstanceFunctionError, type RemoveMcpServerInstanceFunctionErrors, type RemoveMcpServerInstanceFunctionResponse, type RemoveMcpServerInstanceFunctionResponses, type RemoveMemoryBankOwnershipGrantData, type RemoveMemoryBankOwnershipGrantResponses, type RemoveMemoryBankVisibilityGrantData, type RemoveMemoryBankVisibilityGrantResponses, type RemoveOrganizationMemberData, type RemoveOrganizationMemberError, type RemoveOrganizationMemberErrors, type RemoveOrganizationMemberResponses, type RemovePersonalMemoryBankOwnershipGrantData, type RemovePersonalMemoryBankOwnershipGrantResponses, type RemovePersonalMemoryBankVisibilityGrantData, type RemovePersonalMemoryBankVisibilityGrantResponses, type RemovePersonalRegistryOwnershipGrantData, type RemovePersonalRegistryOwnershipGrantResponses, type RemovePersonalRegistryVisibilityGrantData, type RemovePersonalRegistryVisibilityGrantResponses, type RemovePersonalRscOwnershipGrantData, type RemovePersonalRscOwnershipGrantResponses, type RemovePersonalRscVisibilityGrantData, type RemovePersonalRscVisibilityGrantResponses, type RemovePersonalSkillOwnershipGrantData, type RemovePersonalSkillOwnershipGrantResponses, type RemovePersonalSkillVisibilityGrantData, type RemovePersonalSkillVisibilityGrantResponses, type RemovePersonalUcOwnershipGrantData, type RemovePersonalUcOwnershipGrantResponses, type RemovePersonalUcVisibilityGrantData, type RemovePersonalUcVisibilityGrantResponses, type RemovePersonalWikiOwnershipGrantData, type RemovePersonalWikiOwnershipGrantResponses, type RemovePersonalWikiVisibilityGrantData, type RemovePersonalWikiVisibilityGrantResponses, type RemoveRscOwnershipGrantData, type RemoveRscOwnershipGrantResponses, type RemoveRscVisibilityGrantData, type RemoveRscVisibilityGrantResponses, type RemoveSessionResourceGrantData, type RemoveSessionResourceGrantError, type RemoveSessionResourceGrantErrors, type RemoveSessionResourceGrantResponse, type RemoveSessionResourceGrantResponses, type RemoveSessionUserMemberData, type RemoveSessionUserMemberError, type RemoveSessionUserMemberErrors, type RemoveSessionUserMemberResponse, type RemoveSessionUserMemberResponse2, type RemoveSessionUserMemberResponses, type RemoveSignalProviderGrantData, type RemoveSignalProviderGrantResponses, type RemoveSkillOwnershipGrantData, type RemoveSkillOwnershipGrantResponses, type RemoveSkillRegistryOwnershipGrantData, type RemoveSkillRegistryOwnershipGrantResponses, type RemoveSkillRegistryVisibilityGrantData, type RemoveSkillRegistryVisibilityGrantResponses, type RemoveSkillVisibilityGrantData, type RemoveSkillVisibilityGrantResponses, type RemoveTeamGroupMemberData, type RemoveTeamGroupMemberResponses, type RemoveTeamMemberData, type RemoveTeamMemberError, type RemoveTeamMemberErrors, type RemoveTeamMemberResponses, type RemoveUcOwnershipGrantData, type RemoveUcOwnershipGrantResponses, type RemoveUcVisibilityGrantData, type RemoveUcVisibilityGrantResponses, type RemoveWikiOwnershipGrantData, type RemoveWikiOwnershipGrantResponses, type RemoveWikiVisibilityGrantData, type RemoveWikiVisibilityGrantResponses, type RenameChatKitWorkspaceThreadRequestInner, type RenameProxyTokenData, type RenameProxyTokenError, type RenameProxyTokenErrors, type RenameProxyTokenRequest, type RenameProxyTokenResponses, type ReorderChatKitAgentTurnQueueItemRequestInner, type ReplaceMemoryBankBindingsBody, type ReplaceMemorySourceBindingsData, type ReplaceMemorySourceBindingsResponse, type ReplaceMemorySourceBindingsResponses, type ReplacePersonalMemorySourceBindingsData, type ReplacePersonalMemorySourceBindingsResponse, type ReplacePersonalMemorySourceBindingsResponses, type ReportChatKitCompactionEventInner, type ReportChatKitCompactionEventResponse, type ReportedAgentTool, type ReportToolExecutionRequestInner, type ReserveAiCreditsBody, type ResetMemoryBankConfigData, type ResetMemoryBankConfigResponse, type ResetMemoryBankConfigResponses, type ResetPersonalMemoryBankConfigData, type ResetPersonalMemoryBankConfigResponse, type ResetPersonalMemoryBankConfigResponses, type ResolveIdentityData, type ResolveIdentityError, type ResolveIdentityErrors, type ResolveIdentityResponse, type ResolveIdentityResponses, type ResolveLoginProviderResponse, type ResolveStateSourceRequest, type ResolveStateSourceResponse, ResourceAccessMode, ResourceAction, type ResourceApplyOutput, type ResourceAuthorization, type ResourceAuthorizationModes, type ResourceGrant, ResourceGrantPlane, type ResourceGrantRequest, type ResourceOwnership, type ResourcePlanItem, ResourcePrincipalType, ResourceServerCredentialPurpose, type ResourceServerCredentialSerialized, type ResourceServerCredentialSerializedPaginatedResponse, type ResumeAgentJobRequestInner, type ResumeCredentialSetupItemBody, type ResumeCredentialSetupItemData, type ResumeCredentialSetupItemResponse, type ResumeCredentialSetupItemResponses, type ResumeProviderAppProvisioningBody, type ResumeProviderAppProvisioningData, type ResumeProviderAppProvisioningResponse, type ResumeProviderAppProvisioningResponses, type ResumeProviderSetupBody, type ResumeUserCredentialBrokeringData, type ResumeUserCredentialBrokeringParams, type ResumeUserCredentialBrokeringResponse, type ResumeUserCredentialBrokeringResponses, type RetainMemoryBody, type RetainMemoryDocumentData, type RetainMemoryDocumentResponse, type RetainMemoryDocumentResponses, type RetainPersonalMemoryDocumentData, type RetainPersonalMemoryDocumentResponse, type RetainPersonalMemoryDocumentResponses, type RetainSynthesisSessionMemoryData, type RetainSynthesisSessionMemoryResponse, type RetainSynthesisSessionMemoryResponses, type RetryMemorySourceBody, type RetryMemorySourceSyncData, type RetryMemorySourceSyncResponse, type RetryMemorySourceSyncResponses, type RetryPersonalMemorySourceBindingsData, type RetryPersonalMemorySourceBindingsResponse, type RetryPersonalMemorySourceBindingsResponses, type RetryWikiData, type RetryWikiResponse, type RetryWikiResponses, type ReturnAddress, type ReturnAddressUrl, type ReverseProxyAddProfileOwnershipGrantData, type ReverseProxyAddProfileOwnershipGrantResponse, type ReverseProxyAddProfileOwnershipGrantResponses, type ReverseProxyAddProfileVisibilityGrantData, type ReverseProxyAddProfileVisibilityGrantResponse, type ReverseProxyAddProfileVisibilityGrantResponses, type ReverseProxyCreateProfileData, type ReverseProxyCreateProfileError, type ReverseProxyCreateProfileErrors, type ReverseProxyCreateProfileResponse, type ReverseProxyCreateProfileResponses, type ReverseProxyDeleteProfileData, type ReverseProxyDeleteProfileError, type ReverseProxyDeleteProfileErrors, type ReverseProxyDeleteProfileResponses, type ReverseProxyGetProfileData, type ReverseProxyGetProfileError, type ReverseProxyGetProfileErrors, type ReverseProxyGetProfileResponse, type ReverseProxyGetProfileResponses, type ReverseProxyListProfileOwnershipGrantsData, type ReverseProxyListProfileOwnershipGrantsResponse, type ReverseProxyListProfileOwnershipGrantsResponses, type ReverseProxyListProfilesData, type ReverseProxyListProfilesError, type ReverseProxyListProfilesErrors, type ReverseProxyListProfilesResponse, type ReverseProxyListProfilesResponses, type ReverseProxyListProfileVisibilityGrantsData, type ReverseProxyListProfileVisibilityGrantsResponse, type ReverseProxyListProfileVisibilityGrantsResponses, type ReverseProxyListProvidersData, type ReverseProxyListProvidersResponse, type ReverseProxyListProvidersResponses, type ReverseProxyProfile, type ReverseProxyProfilePaginatedResponse, type ReverseProxyProviderInfo, type ReverseProxyProxyGetData, type ReverseProxyProxyGetResponses, type ReverseProxyProxyPostData, type ReverseProxyProxyPostResponses, type ReverseProxyRemoveProfileOwnershipGrantData, type ReverseProxyRemoveProfileOwnershipGrantResponses, type ReverseProxyRemoveProfileVisibilityGrantData, type ReverseProxyRemoveProfileVisibilityGrantResponses, type ReverseProxySetProfileOwnershipData, type ReverseProxySetProfileOwnershipResponse, type ReverseProxySetProfileOwnershipResponses, type ReverseProxySetProfileVisibilityData, type ReverseProxySetProfileVisibilityResponse, type ReverseProxySetProfileVisibilityResponses, type ReverseProxyUpdateProfileData, type ReverseProxyUpdateProfileError, type ReverseProxyUpdateProfileErrors, type ReverseProxyUpdateProfileResponse, type ReverseProxyUpdateProfileResponses, type RevokeLocalRuntimeTunnelApiKeyData, type RevokeLocalRuntimeTunnelApiKeyError, type RevokeLocalRuntimeTunnelApiKeyErrors, type RevokeLocalRuntimeTunnelApiKeyResponse, type RevokeLocalRuntimeTunnelApiKeyResponses, type RevokeProxyTokenData, type RevokeProxyTokenError, type RevokeProxyTokenErrors, type RevokeProxyTokenResponses, type RevokeTeamInvitationData, type RevokeTeamInvitationResponses, type RotateCustomToolProviderSigningKeyData, type RotateCustomToolProviderSigningKeyResponse, type RotateCustomToolProviderSigningKeyResponse2, type RotateCustomToolProviderSigningKeyResponses, type RouteAuthCallbackData, type RouteAuthCallbackError, type RouteAuthCallbackErrors, type RouteCreateApiKeyData, type RouteCreateApiKeyError, type RouteCreateApiKeyErrors, type RouteCreateApiKeyResponse, type RouteCreateApiKeyResponses, type RouteDeleteApiKeyData, type RouteDeleteApiKeyError, type RouteDeleteApiKeyErrors, type RouteDeleteApiKeyResponse, type RouteDeleteApiKeyResponses, type RouteGetJwksData, type RouteGetJwksError, type RouteGetJwksErrors, type RouteGetJwksResponse, type RouteGetJwksResponses, type RouteListApiKeysData, type RouteListApiKeysError, type RouteListApiKeysErrors, type RouteListApiKeysResponse, type RouteListApiKeysResponses, type RouteListDebugAuthProfilesData, type RouteListDebugAuthProfilesError, type RouteListDebugAuthProfilesErrors, type RouteListDebugAuthProfilesResponse, type RouteListDebugAuthProfilesResponses, type RouteLogoutData, type RouteRefreshTokenData, type RouteRefreshTokenError, type RouteRefreshTokenErrors, type RouteRefreshTokenResponse, type RouteRefreshTokenResponses, type RouteResolveLoginProviderData, type RouteResolveLoginProviderError, type RouteResolveLoginProviderErrors, type RouteResolveLoginProviderResponse, type RouteResolveLoginProviderResponses, type RouteSelectDebugAuthProfileData, type RouteSelectDebugAuthProfileError, type RouteSelectDebugAuthProfileErrors, type RouteSelectDebugAuthProfileResponse, type RouteSelectDebugAuthProfileResponses, type RouteStartAuthorizationData, type RouteStartAuthorizationError, type RouteStartAuthorizationErrors, type Routine, RoutineEventInstructionPolicy, type RoutineExecution, type RoutineExecutionPaginatedResponse, type RoutinePaginatedResponse, type RoutineTrigger, type RoutineTriggerInput, type RoutineTriggerSpec, type RunRoutineBody, type RunRoutineResponse, type RuntimeConfig, type RuntimeIdentity, type RuntimeIdentityPaginatedResponse, type SearchSkillRegistryData, type SearchSkillRegistryError, type SearchSkillRegistryErrors, type SearchSkillRegistryResponse, type SearchSkillRegistryResponses, type SelectDebugAuthProfileRequest, SelfExtensionCategory, type SelfExtensionPreview, type SelfExtensionProposal, type SelfExtensionProposalOutputs, type SelfExtensionResource, SelfExtensionStatus, type SelfProfileAvatarResponse, type SelfProfileResponse, type SelfProfileUser, type SendChatKitWorkspaceMessageRequestInner, type SendSessionMessageBody, type SendSessionMessageInput, type SendSessionMessageResponse, type Session, type SessionCorrelation, type SessionPaginatedResponse, type SessionParticipantIdentity, SessionPurpose, type SessionUserMembership, SessionUserRole, type SetChatKitResourceStatusRequest, type SetCommonProviderInstallationOwnershipData, type SetCommonProviderInstallationOwnershipResponse, type SetCommonProviderInstallationOwnershipResponses, type SetCommonProviderInstallationVisibilityData, type SetCommonProviderInstallationVisibilityResponse, type SetCommonProviderInstallationVisibilityResponses, type SetMcpResourceOwnershipData, type SetMcpResourceOwnershipResponse, type SetMcpResourceOwnershipResponses, type SetMcpResourceVisibilityData, type SetMcpResourceVisibilityResponse, type SetMcpResourceVisibilityResponses, type SetMemoryBankOwnershipModeData, type SetMemoryBankOwnershipModeResponse, type SetMemoryBankOwnershipModeResponses, type SetMemoryBankVisibilityData, type SetMemoryBankVisibilityResponse, type SetMemoryBankVisibilityResponses, type SetOpenBotAvatarRequest, type SetPersonalMemoryBankOwnershipModeData, type SetPersonalMemoryBankOwnershipModeResponse, type SetPersonalMemoryBankOwnershipModeResponses, type SetPersonalMemoryBankVisibilityData, type SetPersonalMemoryBankVisibilityResponse, type SetPersonalMemoryBankVisibilityResponses, type SetPersonalRegistryOwnershipModeData, type SetPersonalRegistryOwnershipModeResponse, type SetPersonalRegistryOwnershipModeResponses, type SetPersonalRegistryVisibilityData, type SetPersonalRegistryVisibilityResponse, type SetPersonalRegistryVisibilityResponses, type SetPersonalRscOwnershipData, type SetPersonalRscOwnershipResponse, type SetPersonalRscOwnershipResponses, type SetPersonalRscVisibilityData, type SetPersonalRscVisibilityResponse, type SetPersonalRscVisibilityResponses, type SetPersonalSkillOwnershipModeData, type SetPersonalSkillOwnershipModeResponse, type SetPersonalSkillOwnershipModeResponses, type SetPersonalSkillVisibilityData, type SetPersonalSkillVisibilityResponse, type SetPersonalSkillVisibilityResponses, type SetPersonalUcOwnershipData, type SetPersonalUcOwnershipResponse, type SetPersonalUcOwnershipResponses, type SetPersonalUcVisibilityData, type SetPersonalUcVisibilityResponse, type SetPersonalUcVisibilityResponses, type SetPersonalWikiOwnershipModeData, type SetPersonalWikiOwnershipModeResponse, type SetPersonalWikiOwnershipModeResponses, type SetPersonalWikiVisibilityData, type SetPersonalWikiVisibilityResponse, type SetPersonalWikiVisibilityResponses, type SetResourceAccessModeRequest, type SetRscOwnershipData, type SetRscOwnershipResponse, type SetRscOwnershipResponses, type SetRscVisibilityData, type SetRscVisibilityResponse, type SetRscVisibilityResponses, type SetSelfOpenbotAvatarData, type SetSelfOpenbotAvatarError, type SetSelfOpenbotAvatarErrors, type SetSelfOpenbotAvatarResponse, type SetSelfOpenbotAvatarResponses, type SetSignalProviderOwnershipData, type SetSignalProviderOwnershipResponse, type SetSignalProviderOwnershipResponses, type SetSignalProviderVisibilityData, type SetSignalProviderVisibilityResponse, type SetSignalProviderVisibilityResponses, type SetSkillOwnershipModeData, type SetSkillOwnershipModeResponse, type SetSkillOwnershipModeResponses, type SetSkillRegistryOwnershipModeData, type SetSkillRegistryOwnershipModeResponse, type SetSkillRegistryOwnershipModeResponses, type SetSkillRegistryVisibilityData, type SetSkillRegistryVisibilityResponse, type SetSkillRegistryVisibilityResponses, type SetSkillVisibilityData, type SetSkillVisibilityResponse, type SetSkillVisibilityResponses, type SetUcOwnershipData, type SetUcOwnershipResponse, type SetUcOwnershipResponses, type SetUcVisibilityData, type SetUcVisibilityResponse, type SetUcVisibilityResponses, type SetupPayMcpResponse, type SetWikiOwnershipModeData, type SetWikiOwnershipModeResponse, type SetWikiOwnershipModeResponses, type SetWikiVisibilityData, type SetWikiVisibilityResponse, type SetWikiVisibilityResponses, type SignalAction, type SignalDelivery, type SignalDeliveryPaginatedResponse, SignalDeliveryStatus, SignalIngressMode, type SignalInterpolationVariable, type SignalMessage, type SignalMessageContext, type SignalPollingDescriptor, SignalProviderAuthMethod, type SignalProviderInstance, type SignalProviderInstancePaginatedResponse, SignalProviderInstanceStatus, type SignalProviderRouteDescriptor, type SignalProviderSourceSerialized, type SignalProviderSourceSerializedPaginatedResponse, type SignalRuleFilter, type SignalsAddPersonalProviderGrantData, type SignalsAddPersonalProviderGrantResponse, type SignalsAddPersonalProviderGrantResponses, type SignalsCreatePersonalProviderInstanceData, type SignalsCreatePersonalProviderInstanceResponse, type SignalsCreatePersonalProviderInstanceResponses, type SignalsCreateProviderInstanceData, type SignalsCreateProviderInstanceResponse, type SignalsCreateProviderInstanceResponses, type SignalsDeletePersonalProviderInstanceData, type SignalsDeletePersonalProviderInstanceResponse, type SignalsDeletePersonalProviderInstanceResponses, type SignalsDeleteProviderInstanceData, type SignalsDeleteProviderInstanceResponse, type SignalsDeleteProviderInstanceResponses, type SignalSessionPolicy, type SignalsGetDeliveryData, type SignalsGetDeliveryResponse, type SignalsGetDeliveryResponses, type SignalsGetPersonalDeliveryData, type SignalsGetPersonalDeliveryResponse, type SignalsGetPersonalDeliveryResponses, type SignalsGetPersonalProviderInstanceData, type SignalsGetPersonalProviderInstanceResponse, type SignalsGetPersonalProviderInstanceResponses, type SignalsGetProviderInstanceData, type SignalsGetProviderInstanceResponse, type SignalsGetProviderInstanceResponses, type SignalsListAvailableProvidersData, type SignalsListAvailableProvidersResponse, type SignalsListAvailableProvidersResponses, type SignalsListDeliveriesData, type SignalsListDeliveriesResponse, type SignalsListDeliveriesResponses, type SignalsListPersonalAvailableProvidersData, type SignalsListPersonalAvailableProvidersResponse, type SignalsListPersonalAvailableProvidersResponses, type SignalsListPersonalDeliveriesData, type SignalsListPersonalDeliveriesResponse, type SignalsListPersonalDeliveriesResponses, type SignalsListPersonalProviderGrantsData, type SignalsListPersonalProviderGrantsResponse, type SignalsListPersonalProviderGrantsResponses, type SignalsListPersonalProviderInstancesData, type SignalsListPersonalProviderInstancesResponse, type SignalsListPersonalProviderInstancesResponses, type SignalsListProviderInstancesData, type SignalsListProviderInstancesResponse, type SignalsListProviderInstancesResponses, type SignalsRemovePersonalProviderGrantData, type SignalsRemovePersonalProviderGrantResponses, type SignalsRetryDeliveryData, type SignalsRetryDeliveryResponse, type SignalsRetryDeliveryResponses, type SignalsRetryPersonalDeliveryData, type SignalsRetryPersonalDeliveryResponse, type SignalsRetryPersonalDeliveryResponses, type SignalsSetPersonalProviderOwnershipData, type SignalsSetPersonalProviderOwnershipResponse, type SignalsSetPersonalProviderOwnershipResponses, type SignalsSetPersonalProviderVisibilityData, type SignalsSetPersonalProviderVisibilityResponse, type SignalsSetPersonalProviderVisibilityResponses, type SignalsTriggerFakeData, type SignalsTriggerFakeResponse, type SignalsTriggerFakeResponses, type SignalsUpdatePersonalProviderInstanceData, type SignalsUpdatePersonalProviderInstanceResponse, type SignalsUpdatePersonalProviderInstanceResponses, type SignalsUpdateProviderInstanceData, type SignalsUpdateProviderInstanceResponse, type SignalsUpdateProviderInstanceResponses, type SignalTypeSourceSerialized, type SignalWebhookVerificationDescriptor, type Skill, type SkillDescriptionResponse, type SkillDiscoverySearchRequest, type SkillDiscoverySearchResponse, type SkillPackageFile, type SkillPackageFileDownload, type SkillPackageManifest, type SkillPaginatedResponse, type SkillRegistry, type SkillRegistryPaginatedResponse, type SkillRegistrySpec, type SkillSummary, type SkillSummaryPaginatedResponse, type SlackInstallationNextAction, type SourceDocumentUiPart, type SourceUrlUiPart, type StartBrokeringBodyExternal, type StartCredentialSetupItemBody, type StartCredentialSetupItemData, type StartCredentialSetupItemResponse, type StartCredentialSetupItemResponse2, type StartCredentialSetupItemResponses, type StartOAuthDeviceCodeBody, type StartOauthDeviceCodeData, type StartOauthDeviceCodeError, type StartOauthDeviceCodeErrors, type StartOauthDeviceCodeResponse, type StartOauthDeviceCodeResponses, type StartOAuthDeviceCodeResult, type StartProviderAppProvisioningBody, type StartProviderAppProvisioningData, type StartProviderAppProvisioningResponse, type StartProviderAppProvisioningResponses, type StartProviderSetupBody, type StartProxiedMcpServerOauthData, type StartProxiedMcpServerOauthError, type StartProxiedMcpServerOauthErrors, type StartProxiedMcpServerOauthRequestInner, type StartProxiedMcpServerOauthResponse, type StartProxiedMcpServerOauthResponse2, type StartProxiedMcpServerOauthResponses, type StartSlackOauthRequestInner, type StartUserCredentialBrokeringData, type StartUserCredentialBrokeringResponse, type StartUserCredentialBrokeringResponses, StateDocumentFormat, type StateExportData, type StateExportError, type StateExportErrors, type StateExportResponses, type StateGetImportData, type StateGetImportResponse, type StateGetImportResponses, type StateImportData, type StateImportEventsData, type StateImportEventsResponses, type StateImportOutputs, type StateImportResponse, type StateImportResponses, StateImportStatus, type StateMetadata, type StatePlan, type StatePlanData, type StatePlanResponse, type StatePlanResponses, type StateResolveSourceData, type StateResolveSourceError, type StateResolveSourceErrors, type StateResolveSourceResponse, type StateResolveSourceResponses, type StateSchema, type StateSchemaData, type StateSchemaJsonData, type StateSchemaJsonResponses, type StateSchemaResponse, type StateSchemaResponses, type StateSourceMetadata, type StateValidateData, type StateValidateResponse, type StateValidateResponses, type StateVariableDefinition, StateVariableType, type SteerAgentJobRequestInner, type SteerChatKitAgentTurnQueueItemResponse, type StepStartUiPart, type StopAgentJobRequestInner, type StoredEvent, type StoredEventPaginatedResponse, type StoredMemoryDocument, type SubmitChatKitWorkspaceTurnRequestInner, type SubmitChatKitWorkspaceTurnResponse, type SupportedCredentialInfo, type SynthesisSessionRetainMemoryBody, type Task, type TaskPaginatedResponse, TaskStatus, type Team, type TeamGroupSummary, type TeamGroupSummaryPaginatedResponse, type TeamMemberWithUser, type TeamMemberWithUserPaginatedResponse, type TeamPaginatedResponse, type TextMessage, type TextUiPart, type TildePayPaymentMppData, type TildePayPaymentMppResponse, type TildePayPaymentMppResponses, type TildePayPaymentX402Data, type TildePayPaymentX402Response, type TildePayPaymentX402Responses, type TildePayProvisionData, type TildePayProvisionResponse, type TildePayProvisionResponses, type TildePayWalletCreateData, type TildePayWalletCreateResponse, type TildePayWalletCreateResponses, type TildePayWalletSummaryData, type TildePayWalletSummaryResponse, type TildePayWalletSummaryResponses, type TildePayWalletWaitUntilBalanceData, type TildePayWalletWaitUntilBalanceResponse, type TildePayWalletWaitUntilBalanceResponses, type TokenResponse, type ToolConfig, type ToolConfigPaginatedResponse, type ToolDeploymentWithGroupSerialized, type ToolDeploymentWithGroupSerializedPaginatedResponse, type ToolExecution, ToolExecutionAuthority, ToolExecutionState, type ToolGroupInstanceListItem, type ToolGroupInstanceListItemPaginatedResponse, type ToolGroupInstanceSerialized, type ToolGroupInstanceSerializedWithCredentials, type ToolGroupInstanceSerializedWithEverything, type ToolGroupSourceSerialized, type ToolGroupSourceSerializedPaginatedResponse, type ToolInstanceListItem, type ToolInstanceSerialized, type ToolInstanceSerializedPaginatedResponse, ToolInvocationState, type ToolSourceSerialized, type ToolUiPart, type TransitionAgentRunInner, type TraverseWikiGraphData, type TraverseWikiGraphResponse, type TraverseWikiGraphResponses, type TriggerFakeSignalRequest, type TrustedRuntime, TrustedRuntimeEncryptionAlgorithm, type TrustedRuntimePaginatedResponse, TrustedRuntimeSigningAlgorithm, TrustedRuntimeStatus, TrustedRuntimeType, type TupleUnit, type UiMessage, type UiMessagePart, type UnbindToolGroupFromMcpServerData, type UnbindToolGroupFromMcpServerError, type UnbindToolGroupFromMcpServerErrors, type UnbindToolGroupFromMcpServerResponse, type UnbindToolGroupFromMcpServerResponses, type UpdateAgentObservabilityPolicyRequestInner, type UpdateAgentToolVisibilityRequestInner, type UpdateChatKitChatProviderRequestInner, type UpdateChatKitSessionUserStateRequestInner, type UpdateCredentialBody, type UpdateCustomToolProviderData, type UpdateCustomToolProviderRequestInner, type UpdateCustomToolProviderResponse, type UpdateCustomToolProviderResponses, type UpdateGoalRequestInner, type UpdateHostedOpenbotComputerImageData, type UpdateHostedOpenbotComputerImageError, type UpdateHostedOpenbotComputerImageErrors, type UpdateHostedOpenBotComputerImageRequest, type UpdateHostedOpenbotComputerImageResponse, type UpdateHostedOpenbotComputerImageResponses, type UpdateHttpVercelAiSdkAgentRequestInner, type UpdateIdentityData, type UpdateIdentityError, type UpdateIdentityErrors, type UpdateIdentityRequest, type UpdateIdentityResponse, type UpdateIdentityResponses, type UpdateManagedUserCredentialBody, type UpdateManagedUserCredentialData, type UpdateManagedUserCredentialResponse, type UpdateManagedUserCredentialResponses, type UpdateMcpServerInstanceBody, type UpdateMcpServerInstanceData, type UpdateMcpServerInstanceError, type UpdateMcpServerInstanceErrors, type UpdateMcpServerInstanceFunctionData, type UpdateMcpServerInstanceFunctionError, type UpdateMcpServerInstanceFunctionErrors, type UpdateMcpServerInstanceFunctionResponse, type UpdateMcpServerInstanceFunctionResponses, type UpdateMcpServerInstanceRequestInner, type UpdateMcpServerInstanceResponse, type UpdateMcpServerInstanceResponses, type UpdateMcpServerInstanceToolBody, type UpdateMemberRoleBody, type UpdateMemoryBankBody, type UpdateMemoryBankConfigBody, type UpdateMemoryBankConfigData, type UpdateMemoryBankConfigResponse, type UpdateMemoryBankConfigResponses, type UpdateMemoryBankData, type UpdateMemoryBankResponse, type UpdateMemoryBankResponses, type UpdateOrganizationData, type UpdateOrganizationError, type UpdateOrganizationErrors, type UpdateOrganizationMemberRoleBody, type UpdateOrganizationMemberRoleData, type UpdateOrganizationMemberRoleError, type UpdateOrganizationMemberRoleErrors, type UpdateOrganizationMemberRoleResponse, type UpdateOrganizationMemberRoleResponses, type UpdateOrganizationRequest, type UpdateOrganizationResponses, type UpdateOrgOidcProviderData, type UpdateOrgOidcProviderError, type UpdateOrgOidcProviderErrors, type UpdateOrgOidcProviderRequest, type UpdateOrgOidcProviderResponse, type UpdateOrgOidcProviderResponses, type UpdatePageTypeBody, type UpdatePersonalMcpServerInstanceData, type UpdatePersonalMcpServerInstanceResponse, type UpdatePersonalMcpServerInstanceResponses, type UpdatePersonalMemoryBankConfigData, type UpdatePersonalMemoryBankConfigResponse, type UpdatePersonalMemoryBankConfigResponses, type UpdatePersonalMemoryBankData, type UpdatePersonalMemoryBankResponse, type UpdatePersonalMemoryBankResponses, type UpdatePersonalSkillData, type UpdatePersonalSkillRegistryData, type UpdatePersonalSkillRegistryResponse, type UpdatePersonalSkillRegistryResponses, type UpdatePersonalSkillResponse, type UpdatePersonalSkillResponses, type UpdatePersonalToolGroupInstanceData, type UpdatePersonalToolGroupInstanceResponse, type UpdatePersonalToolGroupInstanceResponses, type UpdatePersonalWikiData, type UpdatePersonalWikiPageData, type UpdatePersonalWikiPageResponse, type UpdatePersonalWikiPageResponses, type UpdatePersonalWikiResponse, type UpdatePersonalWikiResponses, type UpdateRelationshipTypeBody, type UpdateResourceServerCredentialData, type UpdateResourceServerCredentialResponse, type UpdateResourceServerCredentialResponses, type UpdateReverseProxyProfileInner, type UpdateSelfProfileData, type UpdateSelfProfileError, type UpdateSelfProfileErrors, type UpdateSelfProfileRequest, type UpdateSelfProfileResponse, type UpdateSelfProfileResponses, type UpdateSessionOwnershipData, type UpdateSessionOwnershipError, type UpdateSessionOwnershipErrors, type UpdateSessionOwnershipResponse, type UpdateSessionOwnershipResponses, type UpdateSessionVisibilityData, type UpdateSessionVisibilityError, type UpdateSessionVisibilityErrors, type UpdateSessionVisibilityResponse, type UpdateSessionVisibilityResponses, type UpdateSignalProviderInstanceRequestInner, type UpdateSkillBody, type UpdateSkillData, type UpdateSkillError, type UpdateSkillErrors, type UpdateSkillRegistryBody, type UpdateSkillRegistryData, type UpdateSkillRegistryError, type UpdateSkillRegistryErrors, type UpdateSkillRegistryResponse, type UpdateSkillRegistryResponses, type UpdateSkillResponse, type UpdateSkillResponses, type UpdateTaskRequestInner, type UpdateTeamData, type UpdateTeamError, type UpdateTeamErrors, type UpdateTeamGroupBody, type UpdateTeamGroupData, type UpdateTeamGroupError, type UpdateTeamGroupErrors, type UpdateTeamGroupResponse, type UpdateTeamGroupResponses, type UpdateTeamMemberRoleData, type UpdateTeamMemberRoleError, type UpdateTeamMemberRoleErrors, type UpdateTeamMemberRoleResponse, type UpdateTeamMemberRoleResponses, type UpdateTeamRequest, type UpdateTeamResponses, type UpdateToolBoundParamsData, type UpdateToolBoundParamsError, type UpdateToolBoundParamsErrors, type UpdateToolBoundParamsResponse, type UpdateToolBoundParamsResponses, type UpdateToolGroupInstanceData, type UpdateToolGroupInstanceError, type UpdateToolGroupInstanceErrors, type UpdateToolGroupInstanceParamsInner, type UpdateToolGroupInstanceResponse, type UpdateToolGroupInstanceResponses, type UpdateToolInstanceBoundParamsInner, type UpdateTrustedRuntimeBody, type UpdateTrustedRuntimeData, type UpdateTrustedRuntimeError, type UpdateTrustedRuntimeErrors, type UpdateTrustedRuntimeResponse, type UpdateTrustedRuntimeResponses, type UpdateUserCredentialData, type UpdateUserCredentialResponse, type UpdateUserCredentialResponses, type UpdateWikiAssetBody, type UpdateWikiAssetData, type UpdateWikiAssetResponse, type UpdateWikiAssetResponses, type UpdateWikiBody, type UpdateWikiData, type UpdateWikiPageData, type UpdateWikiPageErrors, type UpdateWikiPageRelationshipData, type UpdateWikiPageRelationshipResponse, type UpdateWikiPageRelationshipResponses, type UpdateWikiPageResponse, type UpdateWikiPageResponses, type UpdateWikiPageTypeData, type UpdateWikiPageTypeErrors, type UpdateWikiPageTypeResponse, type UpdateWikiPageTypeResponses, type UpdateWikiRelationshipTypeData, type UpdateWikiRelationshipTypeErrors, type UpdateWikiRelationshipTypeResponse, type UpdateWikiRelationshipTypeResponses, type UpdateWikiResponse, type UpdateWikiResponses, type UploadAttachmentContentData, type UploadAttachmentContentError, type UploadAttachmentContentErrors, type UploadAttachmentContentResponse, type UploadAttachmentContentResponses, type UploadHostedOpenbotReleaseFileData, type UploadHostedOpenbotReleaseFileError, type UploadHostedOpenbotReleaseFileErrors, type UploadHostedOpenbotReleaseFileResponse, type UploadHostedOpenbotReleaseFileResponses, type UploadSelfAvatarData, type UploadSelfAvatarError, type UploadSelfAvatarErrors, type UploadSelfAvatarResponse, type UploadSelfAvatarResponses, type UploadWikiAssetContentData, type UploadWikiAssetContentErrors, type UploadWikiAssetContentResponses, type UpsertPageRelationshipBody, type UpsertWikiPageBody, type UpsertWikiPageRelationshipData, type UpsertWikiPageRelationshipErrors, type UpsertWikiPageRelationshipResponse, type UpsertWikiPageRelationshipResponses, type User, type UserAvatar, type UserCredentialBrokeringResponse, type UserCredentialSerialized, type UserCredentialSerializedPaginatedResponse, type UserInvitation, type UserInvitationPaginatedResponse, type UserOrganization, type UserTeam, UserToolFederationMode, type UserToolFederationSelection, UserType, type ValidatePageTypeDataBody, type ValidateStateRequest, type ValidateStateResponse, type ValidateSynthesisBatchBody, type ValidateSynthesisSessionBatchData, type ValidateSynthesisSessionBatchResponse, type ValidateSynthesisSessionBatchResponses, type ValidateWikiPageTypeDataData, type ValidateWikiPageTypeDataResponse, type ValidateWikiPageTypeDataResponses, type Vec, type VerifiedIdentityLink, VerifiedIdentityLinkSource, type VerifyOrgOidcProviderDomainData, type VerifyOrgOidcProviderDomainError, type VerifyOrgOidcProviderDomainErrors, type VerifyOrgOidcProviderDomainResponse, type VerifyOrgOidcProviderDomainResponses, type WaitForPayBalanceRequest, type WaitUntilBalanceRequest, type WaitUntilBalanceResponse, type Wallet, type WalletCreateData, type WalletCreateError, type WalletCreateErrors, type WalletCreateResponse, type WalletCreateResponses, type WalletCustomer, type WalletCustomerCreateData, type WalletCustomerCreateResponse, type WalletCustomerCreateResponses, type WalletCustomerGetData, type WalletCustomerGetResponse, type WalletCustomerGetResponses, type WalletCustomerKycGetData, type WalletCustomerKycGetResponse, type WalletCustomerKycGetResponses, type WalletCustomerListData, type WalletCustomerListResponse, type WalletCustomerListResponses, type WalletCustomerPaginatedResponse, type WalletGetBalancesData, type WalletGetBalancesResponse, type WalletGetBalancesResponses, type WalletGetCryptoDepositInformationData, type WalletGetCryptoDepositInformationResponse, type WalletGetCryptoDepositInformationResponses, type WalletGetData, type WalletGetFiatDepositInformationData, type WalletGetFiatDepositInformationResponse, type WalletGetFiatDepositInformationResponses, type WalletGetResponse, type WalletGetResponses, type WalletListData, type WalletListResponse, type WalletListResponses, type WalletMakeMppPaymentData, type WalletMakeMppPaymentResponse, type WalletMakeMppPaymentResponses, type WalletMakeX402PaymentData, type WalletMakeX402PaymentResponse, type WalletMakeX402PaymentResponses, type WalletMerchant, type WalletPaginatedResponse, type WalletTransactionHistoryItem, type WalletTransactionHistoryItemPaginatedResponse, type WalletTransactionHistoryListData, type WalletTransactionHistoryListResponse, type WalletTransactionHistoryListResponses, type WalletTransactionHistoryRefreshData, type WalletTransactionHistoryRefreshResponse, type WalletTransactionHistoryRefreshResponses, type WalletVirtualAccount, type WalletVirtualAccountCreateData, type WalletVirtualAccountCreateError, type WalletVirtualAccountCreateErrors, type WalletVirtualAccountCreateResponse, type WalletVirtualAccountCreateResponses, type WalletWaitUntilBalanceData, type WalletWaitUntilBalanceResponse, type WalletWaitUntilBalanceResponses, type WebhookSigningKeyMetadata, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type Wiki, type WikiAsset, type WikiAssetDownloadResponse, type WikiAssetPaginatedResponse, type WikiAssetReferences, WikiAssetStatus, type WikiAssetUploadResponse, type WikiGraph, type WikiGrepMatch, type WikiOntologyInstallation, type WikiOntologyTemplate, type WikiPage, type WikiPagePaginatedResponse, type WikiPageRelationship, type WikiPageRevision, type WikiPageRevisionPaginatedResponse, type WikiPageType, type WikiPageTypeVersion, type WikiPaginatedResponse, type WikiRelationshipEvidence, type WikiRelationshipType, type WikiRelationshipTypeVersion, type WikiSpec, WikiStatus, type WrappedChronoDateTime, type WrappedJsonValue, type WrappedUuidV4 } from './types.gen'; +export { acceptInvitation, addCommonProviderInstallationOwnershipGrant, addCommonProviderInstallationVisibilityGrant, addMcpResourceOwnershipGrant, addMcpResourceVisibilityGrant, addMcpServerInstanceFunction, addMemoryBankOwnershipGrant, addMemoryBankVisibilityGrant, addOrganizationMember, addPersonalMemoryBankOwnershipGrant, addPersonalMemoryBankVisibilityGrant, addPersonalRegistryOwnershipGrant, addPersonalRegistryVisibilityGrant, addPersonalRscOwnershipGrant, addPersonalRscVisibilityGrant, addPersonalSkillOwnershipGrant, addPersonalSkillVisibilityGrant, addPersonalUcOwnershipGrant, addPersonalUcVisibilityGrant, addPersonalWikiOwnershipGrant, addPersonalWikiVisibilityGrant, addProviderSkillsToSkillRegistry, addRscOwnershipGrant, addRscVisibilityGrant, addSessionResourceGrant, addSessionUserMember, addSignalProviderGrant, addSkillOwnershipGrant, addSkillRegistryOwnershipGrant, addSkillRegistryVisibilityGrant, addSkillVisibilityGrant, addTeamGroupMember, addTeamMember, addUcOwnershipGrant, addUcVisibilityGrant, addWikiOwnershipGrant, addWikiVisibilityGrant, applyWikiOntologyTemplate, assignPersonalMemoryBankSynthesizer, authorizeOauthDeviceCode, automationsAddGrant, automationsDelete, automationsGet, automationsList, automationsListExecutions, automationsListGrants, automationsPut, automationsRemoveGrant, automationsRun, automationsSetOwnership, automationsSetVisibility, autoProvisionToolGroupInstance, autumnWebhookHandler, billingAiCreditReceiptCommit, billingAiCreditReservationRelease, billingAiCreditReserve, billingAiCreditTopupCreate, billingAiGatewayEnsure, billingAutumnBridgePost, billingContextGet, billingProductEnrollCurrentHuman, billingRedirect, billingWebhookStripeDeprecated, bindToolGroupToMcpServer, bulkAddMcpServerInstanceFunctions, bulkRemoveMcpServerInstanceFunctions, cancelHumanApprovalAction, changePersonalWikiOwnership, changeWikiOwnership, chatkitAddAgentResourceGrant, chatkitAddSessionParticipant, chatkitAppendAgentRunStep, chatkitApproveSelfExtensionProposal, chatkitAutoProvisionSlackChannelInstallation, chatkitCacheConvertedMessages, chatkitCancelSelfExtensionProposal, chatkitClaimAgentResourceBundleOutputs, chatkitClaimAgentRuns, chatkitClaimSelfExtensionProposalOutputs, chatkitCollectAgentJobResult, chatkitCompleteSlackProviderProvisionedSetup, chatkitCompleteSlackSelfManagedSetup, chatkitControlAgentRun, chatkitCreateAgentRun, chatkitCreateCustomProvider, chatkitCreateGoal, chatkitCreateRoomInvitation, chatkitCreateSession, chatkitCreateSlackChannelInstallation, chatkitCreateTask, chatkitCustomProviderRuntime, chatkitDecideCapabilityChange, chatkitDecideRoomInvitation, chatkitDelegateAgentJob, chatkitDeleteAgent, chatkitDeleteAgentTurnQueueItem, chatkitDeleteChatProvider, chatkitDeleteCustomProvider, chatkitDisableCustomProvider, chatkitEnableCustomProvider, chatkitFinishAgentRunEffect, chatkitGetActiveAgentRun, chatkitGetAgent, chatkitGetAgentAvatar, chatkitGetAgentJob, chatkitGetAgentObservability, chatkitGetAgentResourceBundleProvisioning, chatkitGetAgentRun, chatkitGetAgentRunEffect, chatkitGetCompactedHistory, chatkitGetCustomConnection, chatkitGetCustomProvider, chatkitGetGoal, chatkitGetLatestCompaction, chatkitGetSelfExtensionProposal, chatkitGetTask, chatkitHydrateConvertedMessages, chatkitIngestCustomProviderMessage, chatkitInvokeSessionProviderTool, chatkitJoinSession, chatkitListAgentJobs, chatkitListAgentResourceGrants, chatkitListAgents, chatkitListAgentTurnQueue, chatkitListAvailableChatChannels, chatkitListAvailableChatProviders, chatkitListChatProviders, chatkitListCustomConnections, chatkitListCustomConnectionWork, chatkitListCustomProvider, chatkitListGoals, chatkitListMessageHistory, chatkitListRoomInvitations, chatkitListSelfExtensionProposals, chatkitListSessionParticipants, chatkitListSessionProviderTools, chatkitListSessions, chatkitListTasks, chatkitPrepareAgentRunEffect, chatkitProposeSelfExtension, chatkitProvisionAgentResourceBundle, chatkitRecallAutomaticMemory, chatkitRefreshCustomProvider, chatkitRegisterAgentTools, chatkitRegisterChatProvider, chatkitRegisterHttpVercelAiSdkAgent, chatkitRegisterVercelUiChatProvider, chatkitRejectSelfExtensionProposal, chatkitRemoveAgentResourceGrant, chatkitRemoveSessionParticipant, chatkitReorderAgentTurnQueueItem, chatkitReportCompactionEvent, chatkitReportToolExecution, chatkitResumeAgentJob, chatkitRetryCustomConnectionWork, chatkitRevokeRoomInvitation, chatkitRollbackSelfExtensionProposal, chatkitRotateCustomConnectionCredentials, chatkitRotateCustomProvider, chatkitSearch, chatkitSendSessionMessage, chatkitSetAgentPermissions, chatkitSetAgentStatus, chatkitSetChatProviderStatus, chatkitStartSlackOauth, chatkitSteerAgentJob, chatkitSteerAgentTurnQueueItem, chatkitStopAgentJob, chatkitStreamSessionEvents, chatkitTransitionAgentRun, chatkitUpdateAgent, chatkitUpdateAgentAvatar, chatkitUpdateAgentObservability, chatkitUpdateAgentOwnership, chatkitUpdateAgentToolVisibility, chatkitUpdateAgentVisibility, chatkitUpdateChatProvider, chatkitUpdateCustomProvider, chatkitUpdateGoal, chatkitUpdateTask, chatkitWorkspaceAgentSessions, chatkitWorkspaceBootstrap, chatkitWorkspaceConversationSnapshot, chatkitWorkspaceCreateSession, chatkitWorkspaceInterruptSession, chatkitWorkspaceMessages, chatkitWorkspaceRenameThread, chatkitWorkspaceSendMessage, chatkitWorkspaceSidebar, chatkitWorkspaceSubmitTurn, chatkitWorkspaceUpdateSessionReadState, checkMemoryBankHealth, checkPersonalMemoryBankHealth, claimTemporaryAccount, clearPersonalMemoryBankSynthesizer, completeAttachmentUpload, completeCredentialSetupItem, completeHumanApprovalAction, completeIdentityVerification, completeWikiAssetUpload, configureHostedOpenbotInstance, connectMcpProviderCatalogEntry, connectProxiedMcpServer, createAttachmentUpload, createAttachmentUploads, createCustomToolProvider, createHostedOpenbotDeployment, createHostedOpenbotRelease, createHumanApprovalAction, createManagedUserCredential, createMcpServerInstance, createMemoryBank, createMessage, createOrganization, createOrgOidcProvider, createPersonalMcpServerInstance, createPersonalMemoryBank, createPersonalSkill, createPersonalSkillRegistry, createPersonalToolGroupInstance, createPersonalUserCredential, createPersonalWiki, createPersonalWikiPage, createResourceServerCredential, createSession, createSkill, createSkillRegistry, createTeam, createTeamGroup, createTemporaryAccount, createToolGroupInstance, createTrustedRuntime, createTrustedSkillProvider, createUserCredential, createWiki, createWikiAssetUpload, createWikiPage, createWikiPageType, createWikiPageTypeVersion, createWikiRelationshipType, createWikiRelationshipTypeVersion, credentialGenericOauthCallback, deleteAttachment, deleteCustomToolProvider, deleteManagedUserCredential, deleteMcpServerInstance, deleteMemoryBank, deleteMemoryDocument, deleteMessage, deleteOrganization, deleteOrgOidcProvider, deletePersonalMcpServerInstance, deletePersonalMemoryBank, deletePersonalMemoryDocument, deletePersonalSkill, deletePersonalSkillRegistry, deletePersonalToolGroupInstance, deletePersonalWiki, deletePersonalWikiPage, deleteProxiedMcpServer, deleteResourceServerCredential, deleteSelfAvatar, deleteSkill, deleteSkillRegistry, deleteSynthesisSessionMemory, deleteTeam, deleteTeamGroup, deleteToolGroupInstance, deleteTrustedRuntime, deleteUserCredential, deleteVerifiedIdentityLink, deleteWiki, deleteWikiAsset, deleteWikiPage, deleteWikiPageRelationship, deleteWikiPageType, deleteWikiPageTypeVersion, deleteWikiRelationshipType, disableCustomToolProvider, disableProxiedMcpServer, disableTool, downloadAttachmentContent, downloadSkillPackageFile, downloadWikiAsset, downloadWikiAssetContent, enableAndBindProviderTools, enableCustomToolProvider, enableProxiedMcpServer, enableTool, encryptPersonalUserCredentialConfiguration, encryptResourceServerConfiguration, encryptUserCredentialConfiguration, exchangeOauthCode, expireTemporaryAccounts, exportMemoryBankTemplate, exportPersonalMemoryBankTemplate, finalizeHostedOpenbotRelease, generateLocalRuntimeTunnelApiKey, generateTemporaryAccountClaimUrl, getAttachmentDownloadUrl, getCommonProviderInstallation, getCredentialSetupItem, getCustomToolProvider, getHostedOpenbotBootstrapBundle, getHostedOpenbotInstance, getHostedOpenbotRelease, getHumanApprovalAction, getIdentityVerification, getLocalRuntimeTunnelApiKey, getLocalRuntimeTunnelConnector, getManagedUserCredentialSecret, getMcpServerInstance, getMemoryBank, getMemoryBankConfig, getMemoryBankDocument, getMessage, getMessageDeliveries, getOpenbotPluginsCatalog, getOrganization, getOrgOidcProvider, getPersonalMcpServerInstance, getPersonalMemoryBank, getPersonalMemoryBankConfig, getPersonalMemoryBankDocument, getPersonalSkill, getPersonalSkillRegistry, getPersonalToolGroupInstance, getPersonalWiki, getPersonalWikiPage, getProviderProvisioningHumanAction, getProxiedMcpServer, getProxiedSkillProvider, getResourceServerCredential, getRuntimeConfig, getSelfAvatar, getSelfProfile, getSessionEventHistory, getSkill, getSkillPackage, getSkillRegistry, getSkillRegistrySkill, getSkillRegistrySkillByTitle, getSkillRegistrySkillDescription, getTeam, getTeamGroup, getToolGroupInstance, getToolsOpenapiSpec, getTrustedRuntime, getUserCredential, getWiki, getWikiPage, getWikiPageBacklinks, getWikiPageNeighborhood, getWikiPageRelationship, getWikiPageType, getWikiPageTypeVersion, getWikiRelationshipType, getWikiRelationshipTypeVersion, grepPersonalWikiPages, grepWikiPages, healthCheck, importMemoryBankTemplate, importPersonalMemoryBankTemplate, initiateIdentityVerification, inspectWikiAssetReferences, inviteTeamUsers, invokeCustomTool, invokeTool, issueHostedOpenbotGitToken, issueOpenbotChatkitRealtimeTicket, linkTeamIdentity, listAvailableToolGroups, listCommonProviderInstallationOwnershipGrants, listCommonProviderInstallations, listCommonProviderInstallationVisibilityGrants, listCredentialSetupItems, listCustomToolProviders, listInboxAgents, listInboxes, listManagedUserCredentials, listMcpProviderCatalog, listMcpResourceOwnershipGrants, listMcpResourceVisibilityGrants, listMcpServerInstances, listMemoryBankDocuments, listMemoryBankOwnershipGrants, listMemoryBanks, listMemoryBankSourceBindings, listMemoryBankVisibilityGrants, listMemorySourceBindings, listMessages, listOpenbotDeployments, listOrganizationMembers, listOrganizations, listOrganizationTeamGroups, listOrgOidcProviders, listPersonalMcpServerInstances, listPersonalMemoryBankDocuments, listPersonalMemoryBankOwnershipGrants, listPersonalMemoryBanks, listPersonalMemoryBankSourceBindings, listPersonalMemoryBankVisibilityGrants, listPersonalMemorySourceBindings, listPersonalRegistryOwnershipGrants, listPersonalRegistryVisibilityGrants, listPersonalRscOwnershipGrants, listPersonalRscVisibilityGrants, listPersonalSkillOwnershipGrants, listPersonalSkillRegistries, listPersonalSkills, listPersonalSkillVisibilityGrants, listPersonalToolGroupInstances, listPersonalUcOwnershipGrants, listPersonalUcVisibilityGrants, listPersonalWikiOwnershipGrants, listPersonalWikiPages, listPersonalWikis, listPersonalWikiVisibilityGrants, listProviderProvisionerCatalog, listProxiedMcpServers, listProxiedSkillProviders, listPublicAvailableToolGroups, listResourceServerCredentials, listRscOwnershipGrants, listRscVisibilityGrants, listSessionInboxInstances, listSessionResourceGrants, listSessions, listSessionUserMembers, listSignalProviderGrants, listSkillOwnershipGrants, listSkillRegistries, listSkillRegistryOwnershipGrants, listSkillRegistrySkillSummaries, listSkillRegistryVisibilityGrants, listSkills, listSkillVisibilityGrants, listTeamGroupMembers, listTeamGroups, listTeamInvitations, listTeamMembers, listTeams, listToolDeploymentsByAlias, listToolGroupInstances, listToolGroupInstancesGroupedByTool, listTools, listTrustedRuntimes, listUcOwnershipGrants, listUcVisibilityGrants, listUserCredentials, listVerifiedIdentityLinks, listVisibleMemoryBanks, listWikiAssets, listWikiOntologyInstallations, listWikiOntologyTemplates, listWikiOwnershipGrants, listWikiPageAssets, listWikiPageRelationships, listWikiPageRevisions, listWikiPages, listWikiPageTypes, listWikiPageTypeVersions, listWikiRelationshipTypes, listWikiRelationshipTypeVersions, listWikis, listWikiVisibilityGrants, mcpProtocolDelete, mcpProtocolGet, mcpProtocolPost, mcpServerPlaygroundChat, migrateWikiPageType, moveWikiPage, observeSession, type Options, personalMcpProtocolDelete, personalMcpProtocolGet, personalMcpProtocolPost, previewWikiPageTypeMigration, providerProvisioningCallback, providerSetupCatalog, providerSetupResume, providerSetupStart, recallMemory, recallPersonalMemory, recallSynthesisSessionMemory, reconcileOpenbotAgentBundle, redirectTemporaryAccountClaimPage, reflectMemory, reflectPersonalMemory, refreshCustomToolProvider, refreshProxiedMcpServer, registerOauthClient, registerOpenbotDeployment, registerTeamOauthClient, removeCommonProviderInstallationOwnershipGrant, removeCommonProviderInstallationVisibilityGrant, removeMcpResourceOwnershipGrant, removeMcpResourceVisibilityGrant, removeMcpServerInstanceFunction, removeMemoryBankOwnershipGrant, removeMemoryBankVisibilityGrant, removeOrganizationMember, removePersonalMemoryBankOwnershipGrant, removePersonalMemoryBankVisibilityGrant, removePersonalRegistryOwnershipGrant, removePersonalRegistryVisibilityGrant, removePersonalRscOwnershipGrant, removePersonalRscVisibilityGrant, removePersonalSkillOwnershipGrant, removePersonalSkillVisibilityGrant, removePersonalUcOwnershipGrant, removePersonalUcVisibilityGrant, removePersonalWikiOwnershipGrant, removePersonalWikiVisibilityGrant, removeRscOwnershipGrant, removeRscVisibilityGrant, removeSessionResourceGrant, removeSessionUserMember, removeSignalProviderGrant, removeSkillOwnershipGrant, removeSkillRegistryOwnershipGrant, removeSkillRegistryVisibilityGrant, removeSkillVisibilityGrant, removeTeamGroupMember, removeTeamMember, removeUcOwnershipGrant, removeUcVisibilityGrant, removeWikiOwnershipGrant, removeWikiVisibilityGrant, replaceMemorySourceBindings, replacePersonalMemorySourceBindings, resetMemoryBankConfig, resetPersonalMemoryBankConfig, resumeCredentialSetupItem, resumeProviderAppProvisioning, resumeUserCredentialBrokering, retainMemoryDocument, retainPersonalMemoryDocument, retainSynthesisSessionMemory, retryMemorySourceSync, retryPersonalMemorySourceBindings, retryWiki, reverseProxyAddProfileOwnershipGrant, reverseProxyAddProfileVisibilityGrant, reverseProxyCreateProfile, reverseProxyDeleteProfile, reverseProxyGetProfile, reverseProxyListProfileOwnershipGrants, reverseProxyListProfiles, reverseProxyListProfileVisibilityGrants, reverseProxyListProviders, reverseProxyProxyGet, reverseProxyProxyPost, reverseProxyRemoveProfileOwnershipGrant, reverseProxyRemoveProfileVisibilityGrant, reverseProxySetProfileOwnership, reverseProxySetProfileVisibility, reverseProxyUpdateProfile, revokeLocalRuntimeTunnelApiKey, revokeTeamInvitation, rotateCustomToolProviderSigningKey, routeAuthCallback, routeCreateApiKey, routeDeleteApiKey, routeGetJwks, routeListApiKeys, routeListDebugAuthProfiles, routeLogout, routeRefreshToken, routeResolveLoginProvider, routeSelectDebugAuthProfile, routeStartAuthorization, searchSkillRegistry, setCommonProviderInstallationOwnership, setCommonProviderInstallationVisibility, setMcpResourceOwnership, setMcpResourceVisibility, setMemoryBankOwnershipMode, setMemoryBankVisibility, setPersonalMemoryBankOwnershipMode, setPersonalMemoryBankVisibility, setPersonalRegistryOwnershipMode, setPersonalRegistryVisibility, setPersonalRscOwnership, setPersonalRscVisibility, setPersonalSkillOwnershipMode, setPersonalSkillVisibility, setPersonalUcOwnership, setPersonalUcVisibility, setPersonalWikiOwnershipMode, setPersonalWikiVisibility, setRscOwnership, setRscVisibility, setSelfOpenbotAvatar, setSignalProviderOwnership, setSignalProviderVisibility, setSkillOwnershipMode, setSkillRegistryOwnershipMode, setSkillRegistryVisibility, setSkillVisibility, setUcOwnership, setUcVisibility, setWikiOwnershipMode, setWikiVisibility, signalsAddPersonalProviderGrant, signalsCreatePersonalProviderInstance, signalsCreateProviderInstance, signalsDeletePersonalProviderInstance, signalsDeleteProviderInstance, signalsGetDelivery, signalsGetPersonalDelivery, signalsGetPersonalProviderInstance, signalsGetProviderInstance, signalsListAvailableProviders, signalsListDeliveries, signalsListPersonalAvailableProviders, signalsListPersonalDeliveries, signalsListPersonalProviderGrants, signalsListPersonalProviderInstances, signalsListProviderInstances, signalsRemovePersonalProviderGrant, signalsRetryDelivery, signalsRetryPersonalDelivery, signalsSetPersonalProviderOwnership, signalsSetPersonalProviderVisibility, signalsTriggerFake, signalsUpdatePersonalProviderInstance, signalsUpdateProviderInstance, startCredentialSetupItem, startOauthDeviceCode, startProviderAppProvisioning, startProxiedMcpServerOauth, startUserCredentialBrokering, stateExport, stateGetImport, stateImport, stateImportEvents, statePlan, stateResolveSource, stateSchema, stateSchemaJson, stateValidate, traverseWikiGraph, unbindToolGroupFromMcpServer, updateCustomToolProvider, updateHostedOpenbotComputerImage, updateManagedUserCredential, updateMcpServerInstance, updateMcpServerInstanceFunction, updateMemoryBank, updateMemoryBankConfig, updateOrganization, updateOrganizationMemberRole, updateOrgOidcProvider, updatePersonalMcpServerInstance, updatePersonalMemoryBank, updatePersonalMemoryBankConfig, updatePersonalSkill, updatePersonalSkillRegistry, updatePersonalToolGroupInstance, updatePersonalWiki, updatePersonalWikiPage, updateResourceServerCredential, updateSelfProfile, updateSessionOwnership, updateSessionVisibility, updateSkill, updateSkillRegistry, updateTeam, updateTeamGroup, updateTeamMemberRole, updateToolBoundParams, updateToolGroupInstance, updateTrustedRuntime, updateUserCredential, updateWiki, updateWikiAsset, updateWikiPage, updateWikiPageRelationship, updateWikiPageType, updateWikiRelationshipType, uploadAttachmentContent, uploadHostedOpenbotReleaseFile, uploadSelfAvatar, uploadWikiAssetContent, upsertWikiPageRelationship, validateSynthesisSessionBatch, validateWikiPageTypeData, verifyOrgOidcProviderDomain, whoami } from './sdk.gen'; +export { type AcceptInvitationData, type AcceptInvitationError, type AcceptInvitationErrors, type AcceptInvitationRequest, type AcceptInvitationResponse, type AcceptInvitationResponses, type AddChatKitParticipantRequestInner, type AddCommonProviderInstallationOwnershipGrantData, type AddCommonProviderInstallationOwnershipGrantResponse, type AddCommonProviderInstallationOwnershipGrantResponses, type AddCommonProviderInstallationVisibilityGrantData, type AddCommonProviderInstallationVisibilityGrantResponse, type AddCommonProviderInstallationVisibilityGrantResponses, type AddMcpResourceOwnershipGrantData, type AddMcpResourceOwnershipGrantResponse, type AddMcpResourceOwnershipGrantResponses, type AddMcpResourceVisibilityGrantData, type AddMcpResourceVisibilityGrantResponse, type AddMcpResourceVisibilityGrantResponses, type AddMcpServerInstanceFunctionBody, type AddMcpServerInstanceFunctionData, type AddMcpServerInstanceFunctionError, type AddMcpServerInstanceFunctionErrors, type AddMcpServerInstanceFunctionResponse, type AddMcpServerInstanceFunctionResponses, type AddMemoryBankOwnershipGrantData, type AddMemoryBankOwnershipGrantResponse, type AddMemoryBankOwnershipGrantResponses, type AddMemoryBankVisibilityGrantData, type AddMemoryBankVisibilityGrantResponse, type AddMemoryBankVisibilityGrantResponses, type AddOrganizationMemberData, type AddOrganizationMemberError, type AddOrganizationMemberErrors, type AddOrganizationMemberRequest, type AddOrganizationMemberResponse, type AddOrganizationMemberResponses, type AddPersonalMemoryBankOwnershipGrantData, type AddPersonalMemoryBankOwnershipGrantResponse, type AddPersonalMemoryBankOwnershipGrantResponses, type AddPersonalMemoryBankVisibilityGrantData, type AddPersonalMemoryBankVisibilityGrantResponse, type AddPersonalMemoryBankVisibilityGrantResponses, type AddPersonalRegistryOwnershipGrantData, type AddPersonalRegistryOwnershipGrantResponse, type AddPersonalRegistryOwnershipGrantResponses, type AddPersonalRegistryVisibilityGrantData, type AddPersonalRegistryVisibilityGrantResponse, type AddPersonalRegistryVisibilityGrantResponses, type AddPersonalRscOwnershipGrantData, type AddPersonalRscOwnershipGrantResponse, type AddPersonalRscOwnershipGrantResponses, type AddPersonalRscVisibilityGrantData, type AddPersonalRscVisibilityGrantResponse, type AddPersonalRscVisibilityGrantResponses, type AddPersonalSkillOwnershipGrantData, type AddPersonalSkillOwnershipGrantResponse, type AddPersonalSkillOwnershipGrantResponses, type AddPersonalSkillVisibilityGrantData, type AddPersonalSkillVisibilityGrantResponse, type AddPersonalSkillVisibilityGrantResponses, type AddPersonalUcOwnershipGrantData, type AddPersonalUcOwnershipGrantResponse, type AddPersonalUcOwnershipGrantResponses, type AddPersonalUcVisibilityGrantData, type AddPersonalUcVisibilityGrantResponse, type AddPersonalUcVisibilityGrantResponses, type AddPersonalWikiOwnershipGrantData, type AddPersonalWikiOwnershipGrantResponse, type AddPersonalWikiOwnershipGrantResponses, type AddPersonalWikiVisibilityGrantData, type AddPersonalWikiVisibilityGrantResponse, type AddPersonalWikiVisibilityGrantResponses, type AddProviderSkillsToRegistryRequest, type AddProviderSkillsToSkillRegistryData, type AddProviderSkillsToSkillRegistryError, type AddProviderSkillsToSkillRegistryErrors, type AddProviderSkillsToSkillRegistryResponse, type AddProviderSkillsToSkillRegistryResponses, type AddRscOwnershipGrantData, type AddRscOwnershipGrantResponse, type AddRscOwnershipGrantResponses, type AddRscVisibilityGrantData, type AddRscVisibilityGrantResponse, type AddRscVisibilityGrantResponses, type AddSessionResourceGrantData, type AddSessionResourceGrantError, type AddSessionResourceGrantErrors, type AddSessionResourceGrantResponse, type AddSessionResourceGrantResponses, type AddSessionUserMemberData, type AddSessionUserMemberError, type AddSessionUserMemberErrors, type AddSessionUserMemberRequest, type AddSessionUserMemberResponse, type AddSessionUserMemberResponses, type AddSignalProviderGrantData, type AddSignalProviderGrantResponse, type AddSignalProviderGrantResponses, type AddSkillOwnershipGrantData, type AddSkillOwnershipGrantResponse, type AddSkillOwnershipGrantResponses, type AddSkillRegistryOwnershipGrantData, type AddSkillRegistryOwnershipGrantResponse, type AddSkillRegistryOwnershipGrantResponses, type AddSkillRegistryVisibilityGrantData, type AddSkillRegistryVisibilityGrantResponse, type AddSkillRegistryVisibilityGrantResponses, type AddSkillVisibilityGrantData, type AddSkillVisibilityGrantResponse, type AddSkillVisibilityGrantResponses, type AddTeamGroupMemberData, type AddTeamGroupMemberError, type AddTeamGroupMemberErrors, type AddTeamGroupMemberResponses, type AddTeamMemberBody, type AddTeamMemberData, type AddTeamMemberError, type AddTeamMemberErrors, type AddTeamMemberResponse, type AddTeamMemberResponses, type AddUcOwnershipGrantData, type AddUcOwnershipGrantResponse, type AddUcOwnershipGrantResponses, type AddUcVisibilityGrantData, type AddUcVisibilityGrantResponse, type AddUcVisibilityGrantResponses, type AddWikiOwnershipGrantData, type AddWikiOwnershipGrantResponse, type AddWikiOwnershipGrantResponses, type AddWikiVisibilityGrantData, type AddWikiVisibilityGrantResponse, type AddWikiVisibilityGrantResponses, type Agent, AgentCredentialStrategy, type AgentEndpointSpec, AgentEventVisibility, type AgentJob, type AgentJobArtifact, type AgentJobBudget, type AgentJobPaginatedResponse, AgentJobStatus, type AgentMultiplayerPermissions, type AgentObservabilityConfiguration, type AgentObservabilityPolicy, type AgentPermissions, type AgentProvisioningOperation, type AgentProvisioningOutputs, AgentProvisioningStatus, type AgentReachScope, type AgentRun, type AgentRunBudget, type AgentRunEffectReceipt, type AgentRunJobContext, AgentRunStatus, type AgentSpec, type AgentToolCatalogEntry, AgentToolSource, AgentToolStatus, type AiCreditReservation, type AiCreditTopup, type AppendAgentRunStepInner, type ApplyOntologyTemplateResult, type ApplyWikiOntologyTemplateData, type ApplyWikiOntologyTemplateResponse, type ApplyWikiOntologyTemplateResponses, type Approval, ApprovalDecision, type AssignMemoryBankSynthesizerBody, type AssignPersonalMemoryBankSynthesizerData, type AssignPersonalMemoryBankSynthesizerResponse, type AssignPersonalMemoryBankSynthesizerResponses, type AssociatedToolkit, type Attachment, AttachmentUploadStatus, type AuthorizeOauthDeviceCodeData, type AuthorizeOauthDeviceCodeError, type AuthorizeOauthDeviceCodeErrors, type AuthorizeOauthDeviceCodeResponses, type AutomationsAddGrantData, type AutomationsAddGrantResponse, type AutomationsAddGrantResponses, type AutomationsDeleteData, type AutomationsDeleteResponse, type AutomationsDeleteResponses, type AutomationsGetData, type AutomationsGetError, type AutomationsGetErrors, type AutomationsGetResponse, type AutomationsGetResponses, type AutomationsListData, type AutomationsListExecutionsData, type AutomationsListExecutionsResponse, type AutomationsListExecutionsResponses, type AutomationsListGrantsData, type AutomationsListGrantsResponse, type AutomationsListGrantsResponses, type AutomationsListResponse, type AutomationsListResponses, type AutomationsPutData, type AutomationsPutError, type AutomationsPutErrors, type AutomationsPutResponse, type AutomationsPutResponses, type AutomationsRemoveGrantData, type AutomationsRemoveGrantResponses, type AutomationsRunData, type AutomationsRunResponse, type AutomationsRunResponses, type AutomationsSetOwnershipData, type AutomationsSetOwnershipResponse, type AutomationsSetOwnershipResponses, type AutomationsSetVisibilityData, type AutomationsSetVisibilityResponse, type AutomationsSetVisibilityResponses, type AutoProvisionSlackChannelInstallationRequestInner, type AutoProvisionSlackChannelInstallationResponse, type AutoProvisionToolGroupInstanceData, type AutoProvisionToolGroupInstanceError, type AutoProvisionToolGroupInstanceErrors, type AutoProvisionToolGroupInstanceParamsInner, type AutoProvisionToolGroupInstanceResponse, type AutoProvisionToolGroupInstanceResponse2, type AutoProvisionToolGroupInstanceResponses, type AutumnWebhookHandlerData, type AutumnWebhookHandlerErrors, type AutumnWebhookHandlerResponses, type BillingAiCreditReceiptCommitData, type BillingAiCreditReceiptCommitResponse, type BillingAiCreditReceiptCommitResponses, type BillingAiCreditReservationReleaseData, type BillingAiCreditReservationReleaseResponse, type BillingAiCreditReservationReleaseResponses, type BillingAiCreditReserveData, type BillingAiCreditReserveResponse, type BillingAiCreditReserveResponses, type BillingAiCreditTopupCreateData, type BillingAiCreditTopupCreateError, type BillingAiCreditTopupCreateErrors, type BillingAiCreditTopupCreateResponse, type BillingAiCreditTopupCreateResponses, type BillingAiGatewayEnsureData, type BillingAiGatewayEnsureError, type BillingAiGatewayEnsureErrors, type BillingAiGatewayEnsureResponse, type BillingAiGatewayEnsureResponses, type BillingAutumnBridgePostData, type BillingAutumnBridgePostError, type BillingAutumnBridgePostErrors, type BillingAutumnBridgePostResponses, type BillingContext, type BillingContextGetData, type BillingContextGetError, type BillingContextGetErrors, type BillingContextGetResponse, type BillingContextGetResponses, type BillingProductEnrollCurrentHumanData, type BillingProductEnrollCurrentHumanError, type BillingProductEnrollCurrentHumanErrors, type BillingProductEnrollCurrentHumanResponse, type BillingProductEnrollCurrentHumanResponses, BillingProductId, type BillingRedirectData, type BillingRedirectErrors, type BillingWebhookStripeDeprecatedData, type BillingWebhookStripeDeprecatedResponse, type BillingWebhookStripeDeprecatedResponses, type BindToolGroupToMcpServerData, type BindToolGroupToMcpServerError, type BindToolGroupToMcpServerErrors, type BindToolGroupToMcpServerResponse, type BindToolGroupToMcpServerResponses, type BrokerAction, type BrokerActionRedirect, type BrokerInput, type BrokerState, type BulkAddMcpServerInstanceFunctionItem, type BulkAddMcpServerInstanceFunctionsBody, type BulkAddMcpServerInstanceFunctionsData, type BulkAddMcpServerInstanceFunctionsError, type BulkAddMcpServerInstanceFunctionsErrors, type BulkAddMcpServerInstanceFunctionsResponse, type BulkAddMcpServerInstanceFunctionsResponses, type BulkRemoveMcpServerInstanceFunctionsBody, type BulkRemoveMcpServerInstanceFunctionsData, type BulkRemoveMcpServerInstanceFunctionsError, type BulkRemoveMcpServerInstanceFunctionsErrors, type BulkRemoveMcpServerInstanceFunctionsResponse, type BulkRemoveMcpServerInstanceFunctionsResponses, type CacheConvertedMessagesRequest, type CacheConvertedMessagesResponse, type CachedAgentRepresentation, type CancelHumanApprovalActionData, type CancelHumanApprovalActionError, type CancelHumanApprovalActionErrors, type CancelHumanApprovalActionRequest, type CancelHumanApprovalActionResponse, type CancelHumanApprovalActionResponses, type CapabilityChangeApproval, CapabilityChangeDecision, type ChangePersonalWikiOwnershipData, type ChangePersonalWikiOwnershipResponse, type ChangePersonalWikiOwnershipResponses, type ChangeResourceOwnershipRequest, type ChangeWikiOwnershipData, type ChangeWikiOwnershipResponse, type ChangeWikiOwnershipResponses, type ChannelDeliveryOptions, type ChatApproval, ChatApprovalDecision, type ChatChannelInstallationInstructions, ChatChannelPlatformScope, type ChatChannelProvider, type ChatChannelProviderAuthMethod, type ChatChannelSubscriptionOption, type ChatkitAddAgentResourceGrantData, type ChatkitAddAgentResourceGrantError, type ChatkitAddAgentResourceGrantErrors, type ChatkitAddAgentResourceGrantResponse, type ChatkitAddAgentResourceGrantResponses, type ChatkitAddSessionParticipantData, type ChatkitAddSessionParticipantError, type ChatkitAddSessionParticipantErrors, type ChatkitAddSessionParticipantResponse, type ChatkitAddSessionParticipantResponses, type ChatKitAgent, type ChatKitAgentAvatar, ChatKitAgentConcurrencyPolicy, type ChatKitAgentInvocationActor, type ChatKitAgentJobExecutionContext, type ChatKitAgentPaginatedResponse, type ChatKitAgentRunExecutionContext, type ChatKitAgentTurnQueueItem, type ChatKitAgentTurnQueueItemPaginatedResponse, ChatKitAgentTurnQueueStatus, type ChatkitAppendAgentRunStepData, type ChatkitAppendAgentRunStepResponse, type ChatkitAppendAgentRunStepResponses, type ChatkitApproveSelfExtensionProposalData, type ChatkitApproveSelfExtensionProposalResponse, type ChatkitApproveSelfExtensionProposalResponses, type ChatKitAutomaticMemoryItem, ChatKitAutomaticMemoryMode, type ChatKitAutomaticMemoryProjection, type ChatkitAutoProvisionSlackChannelInstallationData, type ChatkitAutoProvisionSlackChannelInstallationError, type ChatkitAutoProvisionSlackChannelInstallationErrors, type ChatkitAutoProvisionSlackChannelInstallationResponse, type ChatkitAutoProvisionSlackChannelInstallationResponses, type ChatkitCacheConvertedMessagesData, type ChatkitCacheConvertedMessagesError, type ChatkitCacheConvertedMessagesErrors, type ChatkitCacheConvertedMessagesResponse, type ChatkitCacheConvertedMessagesResponses, type ChatkitCancelSelfExtensionProposalData, type ChatkitCancelSelfExtensionProposalResponse, type ChatkitCancelSelfExtensionProposalResponses, type ChatKitChatProviderConfigField, type ChatkitClaimAgentResourceBundleOutputsData, type ChatkitClaimAgentResourceBundleOutputsResponse, type ChatkitClaimAgentResourceBundleOutputsResponses, type ChatkitClaimAgentRunsData, type ChatkitClaimAgentRunsResponse, type ChatkitClaimAgentRunsResponses, type ChatkitClaimSelfExtensionProposalOutputsData, type ChatkitClaimSelfExtensionProposalOutputsResponse, type ChatkitClaimSelfExtensionProposalOutputsResponses, type ChatkitCollectAgentJobResultData, type ChatkitCollectAgentJobResultResponse, type ChatkitCollectAgentJobResultResponses, type ChatKitCompactedHistoryResponse, type ChatKitCompactionCheckpoint, type ChatKitCompactionLifecycleInput, type ChatkitCompleteSlackProviderProvisionedSetupData, type ChatkitCompleteSlackProviderProvisionedSetupError, type ChatkitCompleteSlackProviderProvisionedSetupErrors, type ChatkitCompleteSlackProviderProvisionedSetupResponse, type ChatkitCompleteSlackProviderProvisionedSetupResponses, type ChatkitCompleteSlackSelfManagedSetupData, type ChatkitCompleteSlackSelfManagedSetupError, type ChatkitCompleteSlackSelfManagedSetupErrors, type ChatkitCompleteSlackSelfManagedSetupResponse, type ChatkitCompleteSlackSelfManagedSetupResponses, type ChatkitControlAgentRunData, type ChatkitControlAgentRunResponse, type ChatkitControlAgentRunResponses, type ChatkitCreateAgentRunData, type ChatkitCreateAgentRunResponse, type ChatkitCreateAgentRunResponses, type ChatkitCreateCustomProviderData, type ChatkitCreateCustomProviderError, type ChatkitCreateCustomProviderErrors, type ChatkitCreateCustomProviderResponse, type ChatkitCreateCustomProviderResponses, type ChatkitCreateGoalData, type ChatkitCreateGoalResponse, type ChatkitCreateGoalResponses, type ChatkitCreateRoomInvitationData, type ChatkitCreateRoomInvitationError, type ChatkitCreateRoomInvitationErrors, type ChatkitCreateRoomInvitationResponse, type ChatkitCreateRoomInvitationResponses, type ChatkitCreateSessionData, type ChatkitCreateSessionError, type ChatkitCreateSessionErrors, type ChatkitCreateSessionResponse, type ChatkitCreateSessionResponses, type ChatkitCreateSlackChannelInstallationData, type ChatkitCreateSlackChannelInstallationError, type ChatkitCreateSlackChannelInstallationErrors, type ChatkitCreateSlackChannelInstallationResponse, type ChatkitCreateSlackChannelInstallationResponses, type ChatkitCreateTaskData, type ChatkitCreateTaskResponse, type ChatkitCreateTaskResponses, type ChatkitCustomProviderRuntimeData, type ChatkitCustomProviderRuntimeError, type ChatkitCustomProviderRuntimeErrors, type ChatkitCustomProviderRuntimeResponse, type ChatkitCustomProviderRuntimeResponses, type ChatkitDecideCapabilityChangeData, type ChatkitDecideCapabilityChangeResponse, type ChatkitDecideCapabilityChangeResponses, type ChatkitDecideRoomInvitationData, type ChatkitDecideRoomInvitationError, type ChatkitDecideRoomInvitationErrors, type ChatkitDecideRoomInvitationResponse, type ChatkitDecideRoomInvitationResponses, type ChatkitDelegateAgentJobData, type ChatkitDelegateAgentJobResponse, type ChatkitDelegateAgentJobResponses, type ChatkitDeleteAgentData, type ChatkitDeleteAgentError, type ChatkitDeleteAgentErrors, type ChatkitDeleteAgentResponse, type ChatkitDeleteAgentResponses, type ChatkitDeleteAgentTurnQueueItemData, type ChatkitDeleteAgentTurnQueueItemError, type ChatkitDeleteAgentTurnQueueItemErrors, type ChatkitDeleteAgentTurnQueueItemResponse, type ChatkitDeleteAgentTurnQueueItemResponses, type ChatkitDeleteChatProviderData, type ChatkitDeleteChatProviderError, type ChatkitDeleteChatProviderErrors, type ChatkitDeleteChatProviderResponse, type ChatkitDeleteChatProviderResponses, type ChatkitDeleteCustomProviderData, type ChatkitDeleteCustomProviderError, type ChatkitDeleteCustomProviderErrors, type ChatkitDeleteCustomProviderResponse, type ChatkitDeleteCustomProviderResponses, type ChatkitDisableCustomProviderData, type ChatkitDisableCustomProviderError, type ChatkitDisableCustomProviderErrors, type ChatkitDisableCustomProviderResponse, type ChatkitDisableCustomProviderResponses, type ChatkitEnableCustomProviderData, type ChatkitEnableCustomProviderError, type ChatkitEnableCustomProviderErrors, type ChatkitEnableCustomProviderResponse, type ChatkitEnableCustomProviderResponses, type ChatKitExecutionContext, type ChatkitFinishAgentRunEffectData, type ChatkitFinishAgentRunEffectResponse, type ChatkitFinishAgentRunEffectResponses, type ChatkitGetActiveAgentRunData, type ChatkitGetActiveAgentRunResponse, type ChatkitGetActiveAgentRunResponses, type ChatkitGetAgentAvatarData, type ChatkitGetAgentAvatarError, type ChatkitGetAgentAvatarErrors, type ChatkitGetAgentAvatarResponse, type ChatkitGetAgentAvatarResponses, type ChatkitGetAgentData, type ChatkitGetAgentError, type ChatkitGetAgentErrors, type ChatkitGetAgentJobData, type ChatkitGetAgentJobResponse, type ChatkitGetAgentJobResponses, type ChatkitGetAgentObservabilityData, type ChatkitGetAgentObservabilityError, type ChatkitGetAgentObservabilityErrors, type ChatkitGetAgentObservabilityResponse, type ChatkitGetAgentObservabilityResponses, type ChatkitGetAgentResourceBundleProvisioningData, type ChatkitGetAgentResourceBundleProvisioningResponse, type ChatkitGetAgentResourceBundleProvisioningResponses, type ChatkitGetAgentResponse, type ChatkitGetAgentResponses, type ChatkitGetAgentRunData, type ChatkitGetAgentRunEffectData, type ChatkitGetAgentRunEffectResponse, type ChatkitGetAgentRunEffectResponses, type ChatkitGetAgentRunResponse, type ChatkitGetAgentRunResponses, type ChatkitGetCompactedHistoryData, type ChatkitGetCompactedHistoryError, type ChatkitGetCompactedHistoryErrors, type ChatkitGetCompactedHistoryResponse, type ChatkitGetCompactedHistoryResponses, type ChatkitGetCustomConnectionData, type ChatkitGetCustomConnectionError, type ChatkitGetCustomConnectionErrors, type ChatkitGetCustomConnectionResponse, type ChatkitGetCustomConnectionResponses, type ChatkitGetCustomProviderData, type ChatkitGetCustomProviderError, type ChatkitGetCustomProviderErrors, type ChatkitGetCustomProviderResponse, type ChatkitGetCustomProviderResponses, type ChatkitGetGoalData, type ChatkitGetGoalResponse, type ChatkitGetGoalResponses, type ChatkitGetLatestCompactionData, type ChatkitGetLatestCompactionError, type ChatkitGetLatestCompactionErrors, type ChatkitGetLatestCompactionResponse, type ChatkitGetLatestCompactionResponses, type ChatkitGetSelfExtensionProposalData, type ChatkitGetSelfExtensionProposalResponse, type ChatkitGetSelfExtensionProposalResponses, type ChatkitGetTaskData, type ChatkitGetTaskResponse, type ChatkitGetTaskResponses, type ChatkitHydrateConvertedMessagesData, type ChatkitHydrateConvertedMessagesError, type ChatkitHydrateConvertedMessagesErrors, type ChatkitHydrateConvertedMessagesResponse, type ChatkitHydrateConvertedMessagesResponses, type ChatKitIdentity, ChatKitIdentityKind, type ChatkitIngestCustomProviderMessageData, type ChatkitIngestCustomProviderMessageError, type ChatkitIngestCustomProviderMessageErrors, type ChatkitIngestCustomProviderMessageResponse, type ChatkitIngestCustomProviderMessageResponses, type ChatkitInvokeSessionProviderToolData, type ChatkitInvokeSessionProviderToolError, type ChatkitInvokeSessionProviderToolErrors, type ChatkitInvokeSessionProviderToolResponse, type ChatkitInvokeSessionProviderToolResponses, type ChatkitJoinSessionData, type ChatkitJoinSessionError, type ChatkitJoinSessionErrors, type ChatkitJoinSessionResponse, type ChatkitJoinSessionResponses, type ChatkitListAgentJobsData, type ChatkitListAgentJobsResponse, type ChatkitListAgentJobsResponses, type ChatkitListAgentResourceGrantsData, type ChatkitListAgentResourceGrantsError, type ChatkitListAgentResourceGrantsErrors, type ChatkitListAgentResourceGrantsResponse, type ChatkitListAgentResourceGrantsResponses, type ChatkitListAgentsData, type ChatkitListAgentsError, type ChatkitListAgentsErrors, type ChatkitListAgentsResponse, type ChatkitListAgentsResponses, type ChatkitListAgentTurnQueueData, type ChatkitListAgentTurnQueueError, type ChatkitListAgentTurnQueueErrors, type ChatkitListAgentTurnQueueResponse, type ChatkitListAgentTurnQueueResponses, type ChatkitListAvailableChatChannelsData, type ChatkitListAvailableChatChannelsError, type ChatkitListAvailableChatChannelsErrors, type ChatkitListAvailableChatChannelsResponse, type ChatkitListAvailableChatChannelsResponses, type ChatkitListAvailableChatProvidersData, type ChatkitListAvailableChatProvidersError, type ChatkitListAvailableChatProvidersErrors, type ChatkitListAvailableChatProvidersResponse, type ChatkitListAvailableChatProvidersResponses, type ChatkitListChatProvidersData, type ChatkitListChatProvidersError, type ChatkitListChatProvidersErrors, type ChatkitListChatProvidersResponse, type ChatkitListChatProvidersResponses, type ChatkitListCustomConnectionsData, type ChatkitListCustomConnectionsError, type ChatkitListCustomConnectionsErrors, type ChatkitListCustomConnectionsResponse, type ChatkitListCustomConnectionsResponses, type ChatkitListCustomConnectionWorkData, type ChatkitListCustomConnectionWorkError, type ChatkitListCustomConnectionWorkErrors, type ChatkitListCustomConnectionWorkResponse, type ChatkitListCustomConnectionWorkResponses, type ChatkitListCustomProviderData, type ChatkitListCustomProviderError, type ChatkitListCustomProviderErrors, type ChatkitListCustomProviderResponse, type ChatkitListCustomProviderResponses, type ChatkitListGoalsData, type ChatkitListGoalsResponse, type ChatkitListGoalsResponses, type ChatkitListMessageHistoryData, type ChatkitListMessageHistoryError, type ChatkitListMessageHistoryErrors, type ChatkitListMessageHistoryResponse, type ChatkitListMessageHistoryResponses, type ChatkitListRoomInvitationsData, type ChatkitListRoomInvitationsError, type ChatkitListRoomInvitationsErrors, type ChatkitListRoomInvitationsResponse, type ChatkitListRoomInvitationsResponses, type ChatkitListSelfExtensionProposalsData, type ChatkitListSelfExtensionProposalsResponse, type ChatkitListSelfExtensionProposalsResponses, type ChatkitListSessionParticipantsData, type ChatkitListSessionParticipantsError, type ChatkitListSessionParticipantsErrors, type ChatkitListSessionParticipantsResponse, type ChatkitListSessionParticipantsResponses, type ChatkitListSessionProviderToolsData, type ChatkitListSessionProviderToolsError, type ChatkitListSessionProviderToolsErrors, type ChatkitListSessionProviderToolsResponse, type ChatkitListSessionProviderToolsResponses, type ChatkitListSessionsData, type ChatkitListSessionsError, type ChatkitListSessionsErrors, type ChatkitListSessionsResponse, type ChatkitListSessionsResponses, type ChatkitListTasksData, type ChatkitListTasksResponse, type ChatkitListTasksResponses, type ChatKitMessageIdentity, type ChatKitParticipant, type ChatKitParticipantInput, ChatKitParticipantMembershipSource, ChatKitParticipantRole, ChatKitParticipantType, type ChatkitPrepareAgentRunEffectData, type ChatkitPrepareAgentRunEffectResponse, type ChatkitPrepareAgentRunEffectResponses, type ChatkitProposeSelfExtensionData, type ChatkitProposeSelfExtensionResponse, type ChatkitProposeSelfExtensionResponses, type ChatKitProviderManifest, type ChatkitProvisionAgentResourceBundleData, type ChatkitProvisionAgentResourceBundleResponse, type ChatkitProvisionAgentResourceBundleResponses, type ChatKitRealtimeSocketTicket, ChatKitRealtimeTicketTransport, type ChatkitRecallAutomaticMemoryData, type ChatkitRecallAutomaticMemoryError, type ChatkitRecallAutomaticMemoryErrors, type ChatkitRecallAutomaticMemoryResponse, type ChatkitRecallAutomaticMemoryResponses, type ChatkitRefreshCustomProviderData, type ChatkitRefreshCustomProviderError, type ChatkitRefreshCustomProviderErrors, type ChatkitRefreshCustomProviderResponse, type ChatkitRefreshCustomProviderResponses, type ChatkitRegisterAgentToolsData, type ChatkitRegisterAgentToolsError, type ChatkitRegisterAgentToolsErrors, type ChatkitRegisterAgentToolsResponse, type ChatkitRegisterAgentToolsResponses, type ChatkitRegisterChatProviderData, type ChatkitRegisterChatProviderError, type ChatkitRegisterChatProviderErrors, type ChatkitRegisterChatProviderResponse, type ChatkitRegisterChatProviderResponses, type ChatkitRegisterHttpVercelAiSdkAgentData, type ChatkitRegisterHttpVercelAiSdkAgentError, type ChatkitRegisterHttpVercelAiSdkAgentErrors, type ChatkitRegisterHttpVercelAiSdkAgentResponse, type ChatkitRegisterHttpVercelAiSdkAgentResponses, type ChatkitRegisterVercelUiChatProviderData, type ChatkitRegisterVercelUiChatProviderError, type ChatkitRegisterVercelUiChatProviderErrors, type ChatkitRegisterVercelUiChatProviderResponse, type ChatkitRegisterVercelUiChatProviderResponses, type ChatkitRejectSelfExtensionProposalData, type ChatkitRejectSelfExtensionProposalResponse, type ChatkitRejectSelfExtensionProposalResponses, type ChatkitRemoveAgentResourceGrantData, type ChatkitRemoveAgentResourceGrantError, type ChatkitRemoveAgentResourceGrantErrors, type ChatkitRemoveAgentResourceGrantResponse, type ChatkitRemoveAgentResourceGrantResponses, type ChatkitRemoveSessionParticipantData, type ChatkitRemoveSessionParticipantError, type ChatkitRemoveSessionParticipantErrors, type ChatkitRemoveSessionParticipantResponse, type ChatkitRemoveSessionParticipantResponses, type ChatkitReorderAgentTurnQueueItemData, type ChatkitReorderAgentTurnQueueItemError, type ChatkitReorderAgentTurnQueueItemErrors, type ChatkitReorderAgentTurnQueueItemResponse, type ChatkitReorderAgentTurnQueueItemResponses, type ChatkitReportCompactionEventData, type ChatkitReportCompactionEventError, type ChatkitReportCompactionEventErrors, type ChatkitReportCompactionEventResponse, type ChatkitReportCompactionEventResponses, type ChatkitReportToolExecutionData, type ChatkitReportToolExecutionError, type ChatkitReportToolExecutionErrors, type ChatkitReportToolExecutionResponse, type ChatkitReportToolExecutionResponses, type ChatKitRequestAgent, type ChatKitRequestAgentAvatar, type ChatkitResumeAgentJobData, type ChatkitResumeAgentJobResponse, type ChatkitResumeAgentJobResponses, type ChatkitRetryCustomConnectionWorkData, type ChatkitRetryCustomConnectionWorkError, type ChatkitRetryCustomConnectionWorkErrors, type ChatkitRetryCustomConnectionWorkResponse, type ChatkitRetryCustomConnectionWorkResponses, type ChatkitRevokeRoomInvitationData, type ChatkitRevokeRoomInvitationError, type ChatkitRevokeRoomInvitationErrors, type ChatkitRevokeRoomInvitationResponse, type ChatkitRevokeRoomInvitationResponses, type ChatkitRollbackSelfExtensionProposalData, type ChatkitRollbackSelfExtensionProposalResponse, type ChatkitRollbackSelfExtensionProposalResponses, type ChatKitRoomInvitation, ChatKitRoomInvitationDecision, type ChatKitRoomInvitationPaginatedResponse, ChatKitRoomInvitationStatus, type ChatkitRotateCustomConnectionCredentialsData, type ChatkitRotateCustomConnectionCredentialsError, type ChatkitRotateCustomConnectionCredentialsErrors, type ChatkitRotateCustomConnectionCredentialsResponse, type ChatkitRotateCustomConnectionCredentialsResponses, type ChatkitRotateCustomProviderData, type ChatkitRotateCustomProviderError, type ChatkitRotateCustomProviderErrors, type ChatkitRotateCustomProviderResponse, type ChatkitRotateCustomProviderResponses, type ChatKitSearchAgent, type ChatkitSearchData, type ChatkitSearchError, type ChatkitSearchErrors, type ChatKitSearchHit, ChatKitSearchHitKind, type ChatKitSearchHitPaginatedResponse, type ChatkitSearchResponse, type ChatkitSearchResponses, type ChatKitSearchSession, type ChatkitSendSessionMessageData, type ChatkitSendSessionMessageError, type ChatkitSendSessionMessageErrors, type ChatkitSendSessionMessageResponse, type ChatkitSendSessionMessageResponses, type ChatKitSessionUserState, type ChatKitSessionWithParticipants, type ChatkitSetAgentPermissionsData, type ChatkitSetAgentPermissionsError, type ChatkitSetAgentPermissionsErrors, type ChatkitSetAgentPermissionsResponse, type ChatkitSetAgentPermissionsResponses, type ChatkitSetAgentStatusData, type ChatkitSetAgentStatusError, type ChatkitSetAgentStatusErrors, type ChatkitSetAgentStatusResponse, type ChatkitSetAgentStatusResponses, type ChatkitSetChatProviderStatusData, type ChatkitSetChatProviderStatusError, type ChatkitSetChatProviderStatusErrors, type ChatkitSetChatProviderStatusResponse, type ChatkitSetChatProviderStatusResponses, type ChatkitStartSlackOauthData, type ChatkitStartSlackOauthError, type ChatkitStartSlackOauthErrors, type ChatkitStartSlackOauthResponse, type ChatkitStartSlackOauthResponses, type ChatkitSteerAgentJobData, type ChatkitSteerAgentJobResponse, type ChatkitSteerAgentJobResponses, type ChatkitSteerAgentTurnQueueItemData, type ChatkitSteerAgentTurnQueueItemError, type ChatkitSteerAgentTurnQueueItemErrors, type ChatkitSteerAgentTurnQueueItemResponse, type ChatkitSteerAgentTurnQueueItemResponses, type ChatkitStopAgentJobData, type ChatkitStopAgentJobResponse, type ChatkitStopAgentJobResponses, type ChatkitStreamSessionEventsData, type ChatkitStreamSessionEventsError, type ChatkitStreamSessionEventsErrors, type ChatkitStreamSessionEventsResponses, type ChatkitTransitionAgentRunData, type ChatkitTransitionAgentRunResponse, type ChatkitTransitionAgentRunResponses, type ChatkitUpdateAgentAvatarData, type ChatkitUpdateAgentAvatarError, type ChatkitUpdateAgentAvatarErrors, type ChatkitUpdateAgentAvatarResponse, type ChatkitUpdateAgentAvatarResponses, type ChatkitUpdateAgentData, type ChatkitUpdateAgentError, type ChatkitUpdateAgentErrors, type ChatkitUpdateAgentObservabilityData, type ChatkitUpdateAgentObservabilityError, type ChatkitUpdateAgentObservabilityErrors, type ChatkitUpdateAgentObservabilityResponse, type ChatkitUpdateAgentObservabilityResponses, type ChatkitUpdateAgentOwnershipData, type ChatkitUpdateAgentOwnershipError, type ChatkitUpdateAgentOwnershipErrors, type ChatkitUpdateAgentOwnershipResponse, type ChatkitUpdateAgentOwnershipResponses, type ChatkitUpdateAgentResponse, type ChatkitUpdateAgentResponses, type ChatkitUpdateAgentToolVisibilityData, type ChatkitUpdateAgentToolVisibilityError, type ChatkitUpdateAgentToolVisibilityErrors, type ChatkitUpdateAgentToolVisibilityResponse, type ChatkitUpdateAgentToolVisibilityResponses, type ChatkitUpdateAgentVisibilityData, type ChatkitUpdateAgentVisibilityError, type ChatkitUpdateAgentVisibilityErrors, type ChatkitUpdateAgentVisibilityResponse, type ChatkitUpdateAgentVisibilityResponses, type ChatkitUpdateChatProviderData, type ChatkitUpdateChatProviderError, type ChatkitUpdateChatProviderErrors, type ChatkitUpdateChatProviderResponse, type ChatkitUpdateChatProviderResponses, type ChatkitUpdateCustomProviderData, type ChatkitUpdateCustomProviderError, type ChatkitUpdateCustomProviderErrors, type ChatkitUpdateCustomProviderResponse, type ChatkitUpdateCustomProviderResponses, type ChatkitUpdateGoalData, type ChatkitUpdateGoalResponse, type ChatkitUpdateGoalResponses, type ChatkitUpdateTaskData, type ChatkitUpdateTaskResponse, type ChatkitUpdateTaskResponses, type ChatkitWorkspaceAgentSessionsData, type ChatkitWorkspaceAgentSessionsResponse, type ChatKitWorkspaceAgentSessionsResponse, type ChatkitWorkspaceAgentSessionsResponses, type ChatKitWorkspaceAgentSummary, type ChatKitWorkspaceAttachmentCompletion, type ChatkitWorkspaceBootstrapData, type ChatkitWorkspaceBootstrapResponse, type ChatKitWorkspaceBootstrapResponse, type ChatkitWorkspaceBootstrapResponses, type ChatKitWorkspaceConversationSnapshot, type ChatkitWorkspaceConversationSnapshotData, type ChatkitWorkspaceConversationSnapshotResponse, type ChatkitWorkspaceConversationSnapshotResponses, type ChatkitWorkspaceCreateSessionData, type ChatkitWorkspaceCreateSessionResponse, type ChatkitWorkspaceCreateSessionResponses, type ChatkitWorkspaceInterruptSessionData, type ChatkitWorkspaceInterruptSessionResponse, type ChatkitWorkspaceInterruptSessionResponses, type ChatkitWorkspaceMessagesData, type ChatkitWorkspaceMessagesResponse, type ChatkitWorkspaceMessagesResponses, type ChatKitWorkspaceParticipantEvent, type ChatKitWorkspaceParticipantEventKind, type ChatKitWorkspaceQueuedTurns, type ChatkitWorkspaceRenameThreadData, type ChatkitWorkspaceRenameThreadResponse, type ChatkitWorkspaceRenameThreadResponses, type ChatkitWorkspaceSendMessageData, type ChatkitWorkspaceSendMessageResponse, type ChatkitWorkspaceSendMessageResponses, type ChatKitWorkspaceSessionSummary, type ChatkitWorkspaceSidebarData, type ChatkitWorkspaceSidebarResponse, type ChatKitWorkspaceSidebarResponse, type ChatkitWorkspaceSidebarResponses, type ChatkitWorkspaceSubmitTurnData, type ChatkitWorkspaceSubmitTurnResponse, type ChatkitWorkspaceSubmitTurnResponses, type ChatkitWorkspaceUpdateSessionReadStateData, type ChatkitWorkspaceUpdateSessionReadStateResponse, type ChatkitWorkspaceUpdateSessionReadStateResponses, type ChatMessage, type ChatMessageContext, type ChatMessagePart, type ChatRequest, type ChatSessionContext, ChatToolInvocationState, type CheckMemoryBankHealthData, type CheckMemoryBankHealthResponse, type CheckMemoryBankHealthResponses, type CheckPersonalMemoryBankHealthData, type CheckPersonalMemoryBankHealthResponse, type CheckPersonalMemoryBankHealthResponses, type ClaimAgentRunsInner, type ClaimTemporaryAccountData, type ClaimTemporaryAccountError, type ClaimTemporaryAccountErrors, type ClaimTemporaryAccountRequest, type ClaimTemporaryAccountResponse, type ClaimTemporaryAccountResponse2, type ClaimTemporaryAccountResponses, type ClearPersonalMemoryBankSynthesizerData, type ClearPersonalMemoryBankSynthesizerResponse, type ClearPersonalMemoryBankSynthesizerResponses, type ClientOptions, type CloudWhoamiResponse, type CommitAiCreditReceiptBody, type CommonProviderConfiguration, type CommonProviderCredentialSetup, type CommonProviderInstallationPage, type CommonProviderInstallationSerialized, type CommonProviderRuntimeState, type CompleteAttachmentUploadData, type CompleteAttachmentUploadError, type CompleteAttachmentUploadErrors, type CompleteAttachmentUploadInner, type CompleteAttachmentUploadResponse, type CompleteAttachmentUploadResponses, type CompleteCredentialSetupItemBody, type CompleteCredentialSetupItemData, type CompleteCredentialSetupItemResponse, type CompleteCredentialSetupItemResponses, type CompleteHumanApprovalActionData, type CompleteHumanApprovalActionError, type CompleteHumanApprovalActionErrors, type CompleteHumanApprovalActionRequest, type CompleteHumanApprovalActionResponse, type CompleteHumanApprovalActionResponses, type CompleteIdentityVerificationData, type CompleteIdentityVerificationError, type CompleteIdentityVerificationErrors, type CompleteIdentityVerificationRequestInner, type CompleteIdentityVerificationResponse, type CompleteIdentityVerificationResponses, type CompleteSlackProviderProvisionedSetupRequestInner, type CompleteSlackSelfManagedSetupRequestInner, type CompleteWikiAssetUploadData, type CompleteWikiAssetUploadResponse, type CompleteWikiAssetUploadResponses, type ConfigurationSchema, type ConfigureHostedOpenbotInstanceData, type ConfigureHostedOpenbotInstanceError, type ConfigureHostedOpenbotInstanceErrors, type ConfigureHostedOpenBotInstanceRequest, type ConfigureHostedOpenbotInstanceResponse, type ConfigureHostedOpenbotInstanceResponses, type ConnectMcpProviderCatalogEntryData, type ConnectMcpProviderCatalogEntryError, type ConnectMcpProviderCatalogEntryErrors, type ConnectMcpProviderCatalogEntryRequestInner, type ConnectMcpProviderCatalogEntryResponse, type ConnectMcpProviderCatalogEntryResponse2, type ConnectMcpProviderCatalogEntryResponses, type ConnectProxiedMcpServerData, type ConnectProxiedMcpServerError, type ConnectProxiedMcpServerErrors, type ConnectProxiedMcpServerRequestInner, type ConnectProxiedMcpServerResponse, type ConnectProxiedMcpServerResponse2, type ConnectProxiedMcpServerResponses, type ControlAgentRunInner, type CreateAgentRunInner, type CreateAiCreditTopupBody, type CreateApiKeyInner, type CreateApiKeyResponse, type CreateAttachmentUploadData, type CreateAttachmentUploadError, type CreateAttachmentUploadErrors, type CreateAttachmentUploadInner, type CreateAttachmentUploadResponse, type CreateAttachmentUploadResponse2, type CreateAttachmentUploadResponses, type CreateAttachmentUploadsData, type CreateAttachmentUploadsError, type CreateAttachmentUploadsErrors, type CreateAttachmentUploadsInner, type CreateAttachmentUploadsResponse, type CreateAttachmentUploadsResponse2, type CreateAttachmentUploadsResponses, type CreateChatKitRoomInvitationRequestInner, type CreateChatKitSessionRequestInner, type CreateChatKitWorkspaceSessionRequestInner, type CreateCustomToolProviderData, type CreateCustomToolProviderRequestInner, type CreateCustomToolProviderResponse, type CreateCustomToolProviderResponse2, type CreateCustomToolProviderResponses, type CreateGoalRequestInner, type CreateHostedOpenbotDeploymentData, type CreateHostedOpenbotDeploymentError, type CreateHostedOpenbotDeploymentErrors, type CreateHostedOpenBotDeploymentRequest, type CreateHostedOpenbotDeploymentResponse, type CreateHostedOpenbotDeploymentResponses, type CreateHostedOpenbotReleaseData, type CreateHostedOpenbotReleaseError, type CreateHostedOpenbotReleaseErrors, type CreateHostedOpenBotReleaseFile, type CreateHostedOpenBotReleaseRequest, type CreateHostedOpenbotReleaseResponse, type CreateHostedOpenbotReleaseResponses, type CreateHumanApprovalActionData, type CreateHumanApprovalActionError, type CreateHumanApprovalActionErrors, type CreateHumanApprovalActionRequestInner, type CreateHumanApprovalActionResponse, type CreateHumanApprovalActionResponse2, type CreateHumanApprovalActionResponses, type CreateManagedUserCredentialBody, type CreateManagedUserCredentialData, type CreateManagedUserCredentialResponse, type CreateManagedUserCredentialResponses, type CreateMcpServerInstanceData, type CreateMcpServerInstanceError, type CreateMcpServerInstanceErrors, type CreateMcpServerInstanceRequestInner, type CreateMcpServerInstanceResponse, type CreateMcpServerInstanceResponses, type CreateMemoryBankBody, type CreateMemoryBankData, type CreateMemoryBankResponse, type CreateMemoryBankResponses, type CreateMessageData, type CreateMessageError, type CreateMessageErrors, type CreateMessageRequest, type CreateMessageResponse, type CreateMessageResponses, type CreateOrganizationData, type CreateOrganizationError, type CreateOrganizationErrors, type CreateOrganizationRequest, type CreateOrganizationResponse, type CreateOrganizationResponses, type CreateOrgOidcProviderData, type CreateOrgOidcProviderError, type CreateOrgOidcProviderErrors, type CreateOrgOidcProviderRequest, type CreateOrgOidcProviderResponse, type CreateOrgOidcProviderResponses, type CreatePageTypeBody, type CreatePageTypeVersionBody, type CreatePersonalMcpServerInstanceData, type CreatePersonalMcpServerInstanceError, type CreatePersonalMcpServerInstanceErrors, type CreatePersonalMcpServerInstanceResponse, type CreatePersonalMcpServerInstanceResponses, type CreatePersonalMemoryBankData, type CreatePersonalMemoryBankResponse, type CreatePersonalMemoryBankResponses, type CreatePersonalSkillData, type CreatePersonalSkillRegistryData, type CreatePersonalSkillRegistryResponse, type CreatePersonalSkillRegistryResponses, type CreatePersonalSkillResponse, type CreatePersonalSkillResponses, type CreatePersonalToolGroupInstanceBody, type CreatePersonalToolGroupInstanceData, type CreatePersonalToolGroupInstanceError, type CreatePersonalToolGroupInstanceErrors, type CreatePersonalToolGroupInstanceResponse, type CreatePersonalToolGroupInstanceResponses, type CreatePersonalUserCredentialData, type CreatePersonalUserCredentialResponse, type CreatePersonalUserCredentialResponses, type CreatePersonalWikiData, type CreatePersonalWikiPageData, type CreatePersonalWikiPageResponse, type CreatePersonalWikiPageResponses, type CreatePersonalWikiResponse, type CreatePersonalWikiResponses, type CreateRelationshipTypeBody, type CreateRelationshipTypeVersionBody, type CreateResourcePlaneGrantRequest, type CreateResourceServerCredentialData, type CreateResourceServerCredentialParamsInner, type CreateResourceServerCredentialResponse, type CreateResourceServerCredentialResponses, type CreateReverseProxyProfileInner, type CreateSelfExtensionProposalInner, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionInner, type CreateSessionResponse, type CreateSessionResponses, type CreateSignalMessageRequest, type CreateSignalProviderInstanceRequestInner, type CreateSkillData, type CreateSkillError, type CreateSkillErrors, type CreateSkillInner, type CreateSkillRegistryBody, type CreateSkillRegistryData, type CreateSkillRegistryError, type CreateSkillRegistryErrors, type CreateSkillRegistryResponse, type CreateSkillRegistryResponses, type CreateSkillResponse, type CreateSkillResponses, type CreateSlackChannelInstallationRequestInner, type CreateSlackChannelInstallationResponse, type CreateTaskRequestInner, type CreateTeamData, type CreateTeamError, type CreateTeamErrors, type CreateTeamGroupBody, type CreateTeamGroupData, type CreateTeamGroupError, type CreateTeamGroupErrors, type CreateTeamGroupResponse, type CreateTeamGroupResponses, type CreateTeamRequest, type CreateTeamResponse, type CreateTeamResponses, type CreateTemporaryAccountData, type CreateTemporaryAccountError, type CreateTemporaryAccountErrors, type CreateTemporaryAccountRequest, type CreateTemporaryAccountResponse, type CreateTemporaryAccountResponse2, type CreateTemporaryAccountResponses, type CreateTextMessageRequest, type CreateToolGroupInstanceData, type CreateToolGroupInstanceError, type CreateToolGroupInstanceErrors, type CreateToolGroupInstanceParamsInner, type CreateToolGroupInstanceResponse, type CreateToolGroupInstanceResponses, type CreateTrustedRuntimeData, type CreateTrustedRuntimeError, type CreateTrustedRuntimeErrors, type CreateTrustedRuntimeInner, type CreateTrustedRuntimeResponse, type CreateTrustedRuntimeResponses, type CreateTrustedSkillProviderData, type CreateTrustedSkillProviderError, type CreateTrustedSkillProviderErrors, type CreateTrustedSkillProviderRequest, type CreateTrustedSkillProviderResponse, type CreateTrustedSkillProviderResponses, type CreateUiMessageRequest, type CreateUserCredentialData, type CreateUserCredentialParamsInner, type CreateUserCredentialResponse, type CreateUserCredentialResponses, type CreateWikiAssetBody, type CreateWikiAssetUploadData, type CreateWikiAssetUploadResponse, type CreateWikiAssetUploadResponses, type CreateWikiData, type CreateWikiInner, type CreateWikiPageData, type CreateWikiPageResponse, type CreateWikiPageResponses, type CreateWikiPageTypeData, type CreateWikiPageTypeResponse, type CreateWikiPageTypeResponses, type CreateWikiPageTypeVersionData, type CreateWikiPageTypeVersionErrors, type CreateWikiPageTypeVersionResponse, type CreateWikiPageTypeVersionResponses, type CreateWikiRelationshipTypeData, type CreateWikiRelationshipTypeResponse, type CreateWikiRelationshipTypeResponses, type CreateWikiRelationshipTypeVersionData, type CreateWikiRelationshipTypeVersionErrors, type CreateWikiRelationshipTypeVersionResponse, type CreateWikiRelationshipTypeVersionResponses, type CreateWikiResponse, type CreateWikiResponses, type CredentialGenericOauthCallbackData, type CredentialGenericOauthCallbackResponses, type CredentialSetupBinding, CredentialSetupCredentialKind, type CredentialSetupFormField, type CredentialSetupItem, type CredentialSetupItemPaginatedResponse, CredentialSetupItemStatus, type CredentialSetupNextAction, CredentialSetupSource, type CredentialSourceSerialized, CurrentSeatStatus, type CustomChatKitProvider, type CustomConnectionCredentials, type CustomConnectionInfo, type CustomConnectionInfoPaginatedResponse, type CustomConnectionWork, type CustomConnectionWorkPaginatedResponse, type CustomExternalIdentity, type CustomInboundMessage, type CustomIngressReceipt, type CustomProviderAuthMethod, type CustomProviderCapabilities, type CustomProviderField, type CustomProviderInvocation, type CustomProviderList, CustomProviderOperation, type CustomProviderRegistration, type CustomProviderRegistrationInput, type CustomProviderScope, type CustomReconciliation, type CustomRuntimeCommand, type CustomRuntimeResponse, type CustomSessionContext, type CustomSessionParticipant, type CustomSessionTool, type CustomSessionToolCatalog, type CustomSkillSpec, type CustomToolProviderDetails, type CustomToolProviderListItem, type CustomToolProviderListItemPaginatedResponse, type CustomToolProviderSerialized, type CustomVisibleMessage, type DataUiPart, type DebugAuthProfilesResponse, type DecideCapabilityChangeRequest, type DecideChatKitRoomInvitationRequestInner, type DelegateAgentJobRequestInner, type DeleteAttachmentData, type DeleteAttachmentError, type DeleteAttachmentErrors, type DeleteAttachmentResponse, type DeleteAttachmentResponses, type DeleteChatKitAgentTurnQueueItemResponse, type DeleteCustomToolProviderData, type DeleteCustomToolProviderResponses, type DeleteInboxResponse, type DeleteManagedUserCredentialData, type DeleteManagedUserCredentialResponses, type DeleteMcpServerInstanceData, type DeleteMcpServerInstanceError, type DeleteMcpServerInstanceErrors, type DeleteMcpServerInstanceResponses, type DeleteMemoryBankData, type DeleteMemoryBankResponses, type DeleteMemoryDocumentBody, type DeleteMemoryDocumentData, type DeleteMemoryDocumentResponses, type DeleteMessageData, type DeleteMessageError, type DeleteMessageErrors, type DeleteMessageResponse, type DeleteMessageResponse2, type DeleteMessageResponses, type DeleteOrganizationData, type DeleteOrganizationError, type DeleteOrganizationErrors, type DeleteOrganizationResponses, type DeleteOrgOidcProviderData, type DeleteOrgOidcProviderError, type DeleteOrgOidcProviderErrors, type DeleteOrgOidcProviderResponses, type DeletePersonalMcpServerInstanceData, type DeletePersonalMcpServerInstanceResponses, type DeletePersonalMemoryBankData, type DeletePersonalMemoryBankResponses, type DeletePersonalMemoryDocumentData, type DeletePersonalMemoryDocumentResponses, type DeletePersonalSkillData, type DeletePersonalSkillRegistryData, type DeletePersonalSkillRegistryResponses, type DeletePersonalSkillResponses, type DeletePersonalToolGroupInstanceData, type DeletePersonalToolGroupInstanceResponses, type DeletePersonalWikiData, type DeletePersonalWikiPageData, type DeletePersonalWikiPageResponses, type DeletePersonalWikiResponses, type DeleteProxiedMcpServerData, type DeleteProxiedMcpServerError, type DeleteProxiedMcpServerErrors, type DeleteProxiedMcpServerResponses, type DeleteResourceServerCredentialData, type DeleteResourceServerCredentialResponses, type DeleteRoutineResponse, type DeleteSelfAvatarData, type DeleteSelfAvatarError, type DeleteSelfAvatarErrors, type DeleteSelfAvatarResponses, type DeleteSignalResponse, type DeleteSkillData, type DeleteSkillError, type DeleteSkillErrors, type DeleteSkillRegistryData, type DeleteSkillRegistryError, type DeleteSkillRegistryErrors, type DeleteSkillRegistryResponses, type DeleteSkillResponses, type DeleteSynthesisMemoryDocumentBody, type DeleteSynthesisSessionMemoryData, type DeleteSynthesisSessionMemoryResponse, type DeleteSynthesisSessionMemoryResponses, type DeleteTeamData, type DeleteTeamError, type DeleteTeamErrors, type DeleteTeamGroupData, type DeleteTeamGroupError, type DeleteTeamGroupErrors, type DeleteTeamGroupResponses, type DeleteTeamResponses, type DeleteToolGroupInstanceData, type DeleteToolGroupInstanceError, type DeleteToolGroupInstanceErrors, type DeleteToolGroupInstanceResponses, type DeleteTrustedRuntimeData, type DeleteTrustedRuntimeError, type DeleteTrustedRuntimeErrors, type DeleteTrustedRuntimeResponses, type DeleteUserCredentialData, type DeleteUserCredentialResponses, type DeleteVerifiedIdentityLinkData, type DeleteVerifiedIdentityLinkError, type DeleteVerifiedIdentityLinkErrors, type DeleteVerifiedIdentityLinkResponse, type DeleteVerifiedIdentityLinkResponse2, type DeleteVerifiedIdentityLinkResponses, type DeleteWikiAssetData, type DeleteWikiAssetErrors, type DeleteWikiAssetResponses, type DeleteWikiData, type DeleteWikiPageData, type DeleteWikiPageErrors, type DeleteWikiPageRelationshipData, type DeleteWikiPageRelationshipResponses, type DeleteWikiPageResponses, type DeleteWikiPageTypeData, type DeleteWikiPageTypeErrors, type DeleteWikiPageTypeResponse, type DeleteWikiPageTypeResponses, type DeleteWikiPageTypeVersionData, type DeleteWikiPageTypeVersionErrors, type DeleteWikiPageTypeVersionResponse, type DeleteWikiPageTypeVersionResponses, type DeleteWikiRelationshipTypeData, type DeleteWikiRelationshipTypeErrors, type DeleteWikiRelationshipTypeResponses, type DeleteWikiResponses, type DeploymentEnvironmentFile, type DisableCustomToolProviderData, type DisableCustomToolProviderResponse, type DisableCustomToolProviderResponses, type DisableProxiedMcpServerData, type DisableProxiedMcpServerError, type DisableProxiedMcpServerErrors, type DisableProxiedMcpServerResponse, type DisableProxiedMcpServerResponses, type DisableToolData, type DisableToolError, type DisableToolErrors, type DisableToolResponse, type DisableToolResponses, type DownloadAttachmentContentData, type DownloadAttachmentContentError, type DownloadAttachmentContentErrors, type DownloadAttachmentContentResponse, type DownloadAttachmentContentResponses, type DownloadSkillPackageFileData, type DownloadSkillPackageFileError, type DownloadSkillPackageFileErrors, type DownloadSkillPackageFileRequest, type DownloadSkillPackageFileResponse, type DownloadSkillPackageFileResponses, type DownloadWikiAssetContentData, type DownloadWikiAssetContentErrors, type DownloadWikiAssetContentResponse, type DownloadWikiAssetContentResponses, type DownloadWikiAssetData, type DownloadWikiAssetResponse, type DownloadWikiAssetResponses, type EnableAndBindMcpServerResult, type EnableAndBindProviderToolsData, type EnableAndBindProviderToolsError, type EnableAndBindProviderToolsErrors, type EnableAndBindProviderToolsResponse, type EnableAndBindProviderToolsResponses, type EnableAndBindToolFailure, type EnableAndBindToolsBody, type EnableAndBindToolsResponse, type EnableCustomToolProviderData, type EnableCustomToolProviderResponse, type EnableCustomToolProviderResponses, type EnabledSkillsSpec, type EnableProxiedMcpServerData, type EnableProxiedMcpServerError, type EnableProxiedMcpServerErrors, type EnableProxiedMcpServerResponse, type EnableProxiedMcpServerResponses, type EnableToolData, type EnableToolError, type EnableToolErrors, type EnableToolInstanceParamsInner, type EnableToolResponse, type EnableToolResponses, type EncryptCredentialConfigurationParamsInner, type EncryptedTrustedRuntimePayload, type EncryptPersonalUserCredentialConfigurationData, type EncryptPersonalUserCredentialConfigurationResponses, type EncryptResourceServerConfigurationData, type EncryptResourceServerConfigurationResponses, type EncryptUserCredentialConfigurationData, type EncryptUserCredentialConfigurationResponses, EndpointType, type Error, type ExchangeOAuthCodeBody, type ExchangeOauthCodeData, type ExchangeOauthCodeErrors, type ExchangeOauthCodeResponse, type ExchangeOauthCodeResponses, type ExchangeOAuthCodeResult, type ExpectedRevisionBody, type ExpireTemporaryAccountsData, type ExpireTemporaryAccountsError, type ExpireTemporaryAccountsErrors, type ExpireTemporaryAccountsResponse, type ExpireTemporaryAccountsResponse2, type ExpireTemporaryAccountsResponses, type ExportMemoryBankTemplateData, type ExportMemoryBankTemplateResponse, type ExportMemoryBankTemplateResponses, type ExportPersonalMemoryBankTemplateData, type ExportPersonalMemoryBankTemplateResponse, type ExportPersonalMemoryBankTemplateResponses, type FileUiPart, type FinalizeHostedOpenbotReleaseData, type FinalizeHostedOpenbotReleaseError, type FinalizeHostedOpenbotReleaseErrors, type FinalizeHostedOpenbotReleaseResponse, type FinalizeHostedOpenbotReleaseResponses, type GenerateLocalRuntimeTunnelApiKeyData, type GenerateLocalRuntimeTunnelApiKeyError, type GenerateLocalRuntimeTunnelApiKeyErrors, type GenerateLocalRuntimeTunnelApiKeyResponse, type GenerateLocalRuntimeTunnelApiKeyResponse2, type GenerateLocalRuntimeTunnelApiKeyResponses, type GenerateTemporaryAccountClaimUrlData, type GenerateTemporaryAccountClaimUrlError, type GenerateTemporaryAccountClaimUrlErrors, type GenerateTemporaryAccountClaimUrlResponse, type GenerateTemporaryAccountClaimUrlResponse2, type GenerateTemporaryAccountClaimUrlResponses, type GetAttachmentDownloadUrlData, type GetAttachmentDownloadUrlError, type GetAttachmentDownloadUrlErrors, type GetAttachmentDownloadUrlResponse, type GetAttachmentDownloadUrlResponse2, type GetAttachmentDownloadUrlResponses, type GetCommonProviderInstallationData, type GetCommonProviderInstallationResponse, type GetCommonProviderInstallationResponses, type GetCredentialSetupItemData, type GetCredentialSetupItemResponse, type GetCredentialSetupItemResponses, type GetCustomToolProviderData, type GetCustomToolProviderResponse, type GetCustomToolProviderResponses, type GetHostedOpenbotBootstrapBundleData, type GetHostedOpenbotBootstrapBundleError, type GetHostedOpenbotBootstrapBundleErrors, type GetHostedOpenbotBootstrapBundleResponse, type GetHostedOpenbotBootstrapBundleResponses, type GetHostedOpenbotInstanceData, type GetHostedOpenbotInstanceError, type GetHostedOpenbotInstanceErrors, type GetHostedOpenbotInstanceResponse, type GetHostedOpenbotInstanceResponses, type GetHostedOpenbotReleaseData, type GetHostedOpenbotReleaseError, type GetHostedOpenbotReleaseErrors, type GetHostedOpenbotReleaseResponse, type GetHostedOpenbotReleaseResponses, type GetHumanApprovalActionData, type GetHumanApprovalActionError, type GetHumanApprovalActionErrors, type GetHumanApprovalActionResponse, type GetHumanApprovalActionResponses, type GetIdentityVerificationData, type GetIdentityVerificationError, type GetIdentityVerificationErrors, type GetIdentityVerificationResponse, type GetIdentityVerificationResponses, type GetLocalRuntimeTunnelApiKeyData, type GetLocalRuntimeTunnelApiKeyError, type GetLocalRuntimeTunnelApiKeyErrors, type GetLocalRuntimeTunnelApiKeyResponse, type GetLocalRuntimeTunnelApiKeyResponses, type GetLocalRuntimeTunnelConnectorData, type GetLocalRuntimeTunnelConnectorError, type GetLocalRuntimeTunnelConnectorErrors, type GetLocalRuntimeTunnelConnectorResponse, type GetLocalRuntimeTunnelConnectorResponses, type GetManagedUserCredentialSecretData, type GetManagedUserCredentialSecretResponse, type GetManagedUserCredentialSecretResponses, type GetMcpServerInstanceData, type GetMcpServerInstanceError, type GetMcpServerInstanceErrors, type GetMcpServerInstanceResponse, type GetMcpServerInstanceResponses, type GetMemoryBankConfigData, type GetMemoryBankConfigResponse, type GetMemoryBankConfigResponses, type GetMemoryBankData, type GetMemoryBankDocumentData, type GetMemoryBankDocumentResponse, type GetMemoryBankDocumentResponses, type GetMemoryBankResponse, type GetMemoryBankResponses, type GetMessageData, type GetMessageDeliveriesData, type GetMessageDeliveriesError, type GetMessageDeliveriesErrors, type GetMessageDeliveriesResponse, type GetMessageDeliveriesResponses, type GetMessageError, type GetMessageErrors, type GetMessageResponse, type GetMessageResponses, type GetOpenbotPluginsCatalogData, type GetOpenbotPluginsCatalogResponse, type GetOpenbotPluginsCatalogResponses, type GetOrganizationData, type GetOrganizationError, type GetOrganizationErrors, type GetOrganizationResponse, type GetOrganizationResponses, type GetOrgOidcProviderData, type GetOrgOidcProviderError, type GetOrgOidcProviderErrors, type GetOrgOidcProviderResponse, type GetOrgOidcProviderResponses, type GetPersonalMcpServerInstanceData, type GetPersonalMcpServerInstanceResponse, type GetPersonalMcpServerInstanceResponses, type GetPersonalMemoryBankConfigData, type GetPersonalMemoryBankConfigResponse, type GetPersonalMemoryBankConfigResponses, type GetPersonalMemoryBankData, type GetPersonalMemoryBankDocumentData, type GetPersonalMemoryBankDocumentResponse, type GetPersonalMemoryBankDocumentResponses, type GetPersonalMemoryBankResponse, type GetPersonalMemoryBankResponses, type GetPersonalSkillData, type GetPersonalSkillRegistryData, type GetPersonalSkillRegistryResponse, type GetPersonalSkillRegistryResponses, type GetPersonalSkillResponse, type GetPersonalSkillResponses, type GetPersonalToolGroupInstanceData, type GetPersonalToolGroupInstanceResponse, type GetPersonalToolGroupInstanceResponses, type GetPersonalWikiData, type GetPersonalWikiPageData, type GetPersonalWikiPageResponse, type GetPersonalWikiPageResponses, type GetPersonalWikiResponse, type GetPersonalWikiResponses, type GetProviderProvisioningHumanActionData, type GetProviderProvisioningHumanActionResponse, type GetProviderProvisioningHumanActionResponses, type GetProxiedMcpServerData, type GetProxiedMcpServerError, type GetProxiedMcpServerErrors, type GetProxiedMcpServerResponse, type GetProxiedMcpServerResponses, type GetProxiedSkillProviderData, type GetProxiedSkillProviderError, type GetProxiedSkillProviderErrors, type GetProxiedSkillProviderResponse, type GetProxiedSkillProviderResponses, type GetResourceServerCredentialData, type GetResourceServerCredentialResponse, type GetResourceServerCredentialResponses, type GetRuntimeConfigData, type GetRuntimeConfigResponse, type GetRuntimeConfigResponses, type GetSelfAvatarData, type GetSelfAvatarError, type GetSelfAvatarErrors, type GetSelfAvatarResponse, type GetSelfAvatarResponses, type GetSelfProfileData, type GetSelfProfileError, type GetSelfProfileErrors, type GetSelfProfileResponse, type GetSelfProfileResponses, type GetSessionEventHistoryData, type GetSessionEventHistoryError, type GetSessionEventHistoryErrors, type GetSessionEventHistoryResponse, type GetSessionEventHistoryResponses, type GetSkillData, type GetSkillError, type GetSkillErrors, type GetSkillPackageData, type GetSkillPackageError, type GetSkillPackageErrors, type GetSkillPackageResponse, type GetSkillPackageResponses, type GetSkillRegistryData, type GetSkillRegistryError, type GetSkillRegistryErrors, type GetSkillRegistryResponse, type GetSkillRegistryResponses, type GetSkillRegistrySkillByTitleData, type GetSkillRegistrySkillByTitleError, type GetSkillRegistrySkillByTitleErrors, type GetSkillRegistrySkillByTitleResponse, type GetSkillRegistrySkillByTitleResponses, type GetSkillRegistrySkillData, type GetSkillRegistrySkillDescriptionData, type GetSkillRegistrySkillDescriptionError, type GetSkillRegistrySkillDescriptionErrors, type GetSkillRegistrySkillDescriptionResponse, type GetSkillRegistrySkillDescriptionResponses, type GetSkillRegistrySkillError, type GetSkillRegistrySkillErrors, type GetSkillRegistrySkillResponse, type GetSkillRegistrySkillResponses, type GetSkillResponse, type GetSkillResponses, type GetTeamData, type GetTeamError, type GetTeamErrors, type GetTeamGroupData, type GetTeamGroupError, type GetTeamGroupErrors, type GetTeamGroupResponse, type GetTeamGroupResponses, type GetTeamResponse, type GetTeamResponses, type GetToolGroupInstanceData, type GetToolGroupInstanceError, type GetToolGroupInstanceErrors, type GetToolGroupInstanceResponse, type GetToolGroupInstanceResponses, type GetToolsOpenapiSpecData, type GetToolsOpenapiSpecError, type GetToolsOpenapiSpecErrors, type GetToolsOpenapiSpecResponse, type GetToolsOpenapiSpecResponses, type GetTrustedRuntimeData, type GetTrustedRuntimeError, type GetTrustedRuntimeErrors, type GetTrustedRuntimeResponse, type GetTrustedRuntimeResponses, type GetUserCredentialData, type GetUserCredentialResponse, type GetUserCredentialResponses, type GetWikiData, type GetWikiPageBacklinksData, type GetWikiPageBacklinksResponse, type GetWikiPageBacklinksResponses, type GetWikiPageData, type GetWikiPageNeighborhoodData, type GetWikiPageNeighborhoodResponse, type GetWikiPageNeighborhoodResponses, type GetWikiPageRelationshipData, type GetWikiPageRelationshipResponse, type GetWikiPageRelationshipResponses, type GetWikiPageResponse, type GetWikiPageResponses, type GetWikiPageTypeData, type GetWikiPageTypeResponse, type GetWikiPageTypeResponses, type GetWikiPageTypeVersionData, type GetWikiPageTypeVersionResponse, type GetWikiPageTypeVersionResponses, type GetWikiRelationshipTypeData, type GetWikiRelationshipTypeResponse, type GetWikiRelationshipTypeResponses, type GetWikiRelationshipTypeVersionData, type GetWikiRelationshipTypeVersionResponse, type GetWikiRelationshipTypeVersionResponses, type GetWikiResponse, type GetWikiResponses, type Goal, type GoalPaginatedResponse, GoalStatus, type GrepPersonalWikiPagesData, type GrepPersonalWikiPagesResponse, type GrepPersonalWikiPagesResponses, type GrepWikiPagesBody, type GrepWikiPagesData, type GrepWikiPagesResponse, type GrepWikiPagesResponse2, type GrepWikiPagesResponses, type Group, type GroupMembership, type GroupMemberWithUser, type GroupMemberWithUserPaginatedResponse, type HashedApiKey, type HealthCheckData, type HealthCheckError, type HealthCheckErrors, type HealthCheckResponse, type HealthCheckResponse2, type HealthCheckResponses, type HostedOpenBotBootstrapBundle, type HostedOpenBotDeployment, HostedOpenBotExeStep, type HostedOpenBotGitToken, type HostedOpenBotInstance, HostedOpenBotInstanceStatus, type HostedOpenBotRelease, type HostedOpenBotReleaseFile, HostedOpenBotReleaseService, HostedOpenBotReleaseStatus, HostedOpenBotTarget, type Human, type HumanApprovalAction, type HumanApprovalActionPayload, type HumanApprovalActionResponse, type HumanApprovalCompletion, HumanApprovalDecision, type HumanApprovalNote, type HydrateConvertedMessagesRequest, type HydrateConvertedMessagesResponse, type Identity, type IdentityLinkRoute, type IdentityVerification, type IdentityVerificationChallenge, IdentityVerificationMode, type ImportMemoryBankTemplateBody, type ImportMemoryBankTemplateData, type ImportMemoryBankTemplateResponse, type ImportMemoryBankTemplateResponse2, type ImportMemoryBankTemplateResponses, type ImportPersonalMemoryBankTemplateData, type ImportPersonalMemoryBankTemplateResponse, type ImportPersonalMemoryBankTemplateResponses, type ImportRunSummary, type ImportStateRequest, type ImportStateResponse, type Inbox, type InboxInstance, InboxInstanceTypingStatus, type InboxPaginatedResponse, InboxStatus, InboxType, type InboxWithLinkedInboxes, type InboxWithLinkedInboxesPaginatedResponse, type IngestSignalResponse, type InitiateIdentityVerificationData, type InitiateIdentityVerificationError, type InitiateIdentityVerificationErrors, type InitiateIdentityVerificationRequestInner, type InitiateIdentityVerificationResponse, type InitiateIdentityVerificationResponses, type InspectWikiAssetReferencesData, type InspectWikiAssetReferencesResponse, type InspectWikiAssetReferencesResponses, type InterruptChatKitSessionResponse, type InviteTeamUsersData, type InviteTeamUsersError, type InviteTeamUsersErrors, type InviteTeamUsersResponse, type InviteTeamUsersResponses, type InviteUserFailure, type InviteUserInput, type InviteUsersBody, type InviteUsersResponse, type InvokeCustomToolData, type InvokeCustomToolRequestInner, type InvokeCustomToolResponse, type InvokeCustomToolResponses, type InvokeError, type InvokeResult, type InvokeSessionProviderToolBody, type InvokeSessionProviderToolResponse, type InvokeToolData, type InvokeToolError, type InvokeToolErrors, type InvokeToolInstanceParamsInner, type InvokeToolResponse, type InvokeToolResponses, type IssueChatKitRealtimeSocketTicketRequest, type IssueHostedOpenbotGitTokenData, type IssueHostedOpenbotGitTokenError, type IssueHostedOpenbotGitTokenErrors, type IssueHostedOpenbotGitTokenResponse, type IssueHostedOpenbotGitTokenResponses, type IssueOpenbotChatkitRealtimeTicketData, type IssueOpenbotChatkitRealtimeTicketError, type IssueOpenbotChatkitRealtimeTicketErrors, type IssueOpenbotChatkitRealtimeTicketResponse, type IssueOpenbotChatkitRealtimeTicketResponses, type JsonEqualsPredicate, type JsonSchema, type Jwk, type JwksResponse, type LinkTeamIdentityData, type LinkTeamIdentityError, type LinkTeamIdentityErrors, type LinkTeamIdentityRequestInner, type LinkTeamIdentityResponse, type LinkTeamIdentityResponses, type ListApiKeysResponse, type ListAvailableToolGroupsData, type ListAvailableToolGroupsError, type ListAvailableToolGroupsErrors, type ListAvailableToolGroupsResponse, type ListAvailableToolGroupsResponses, type ListCommonProviderInstallationOwnershipGrantsData, type ListCommonProviderInstallationOwnershipGrantsResponse, type ListCommonProviderInstallationOwnershipGrantsResponses, type ListCommonProviderInstallationsData, type ListCommonProviderInstallationsResponse, type ListCommonProviderInstallationsResponses, type ListCommonProviderInstallationVisibilityGrantsData, type ListCommonProviderInstallationVisibilityGrantsResponse, type ListCommonProviderInstallationVisibilityGrantsResponses, type ListCredentialSetupItemsData, type ListCredentialSetupItemsResponse, type ListCredentialSetupItemsResponses, type ListCustomToolProvidersData, type ListCustomToolProvidersResponse, type ListCustomToolProvidersResponses, type ListInboxAgentsData, type ListInboxAgentsError, type ListInboxAgentsErrors, type ListInboxAgentsResponse, type ListInboxAgentsResponses, type ListInboxesData, type ListInboxesError, type ListInboxesErrors, type ListInboxesResponse, type ListInboxesResponses, type ListManagedUserCredentialsData, type ListManagedUserCredentialsResponse, type ListManagedUserCredentialsResponses, type ListMcpProviderCatalogData, type ListMcpProviderCatalogError, type ListMcpProviderCatalogErrors, type ListMcpProviderCatalogResponse, type ListMcpProviderCatalogResponse2, type ListMcpProviderCatalogResponses, type ListMcpResourceOwnershipGrantsData, type ListMcpResourceOwnershipGrantsResponse, type ListMcpResourceOwnershipGrantsResponses, type ListMcpResourceVisibilityGrantsData, type ListMcpResourceVisibilityGrantsResponse, type ListMcpResourceVisibilityGrantsResponses, type ListMcpServerInstancesData, type ListMcpServerInstancesError, type ListMcpServerInstancesErrors, type ListMcpServerInstancesResponse, type ListMcpServerInstancesResponses, type ListMemoryBankDocumentsData, type ListMemoryBankDocumentsResponse, type ListMemoryBankDocumentsResponses, type ListMemoryBankOwnershipGrantsData, type ListMemoryBankOwnershipGrantsResponse, type ListMemoryBankOwnershipGrantsResponses, type ListMemoryBanksData, type ListMemoryBankSourceBindingsData, type ListMemoryBankSourceBindingsResponse, type ListMemoryBankSourceBindingsResponses, type ListMemoryBanksResponse, type ListMemoryBanksResponses, type ListMemoryBankVisibilityGrantsData, type ListMemoryBankVisibilityGrantsResponse, type ListMemoryBankVisibilityGrantsResponses, type ListMemorySourceBindingsData, type ListMemorySourceBindingsResponse, type ListMemorySourceBindingsResponses, type ListMessagesData, type ListMessagesError, type ListMessagesErrors, type ListMessagesResponse, type ListMessagesResponses, type ListOpenbotDeploymentsData, type ListOpenbotDeploymentsError, type ListOpenbotDeploymentsErrors, type ListOpenbotDeploymentsResponse, type ListOpenBotDeploymentsResponse, type ListOpenbotDeploymentsResponses, type ListOrganizationMembersData, type ListOrganizationMembersError, type ListOrganizationMembersErrors, type ListOrganizationMembersResponse, type ListOrganizationMembersResponses, type ListOrganizationsData, type ListOrganizationsError, type ListOrganizationsErrors, type ListOrganizationsResponses, type ListOrganizationTeamGroupsData, type ListOrganizationTeamGroupsResponse, type ListOrganizationTeamGroupsResponses, type ListOrgOidcProvidersData, type ListOrgOidcProvidersError, type ListOrgOidcProvidersErrors, type ListOrgOidcProvidersResponse, type ListOrgOidcProvidersResponses, type ListPersonalMcpServerInstancesData, type ListPersonalMcpServerInstancesError, type ListPersonalMcpServerInstancesErrors, type ListPersonalMcpServerInstancesResponse, type ListPersonalMcpServerInstancesResponses, type ListPersonalMemoryBankDocumentsData, type ListPersonalMemoryBankDocumentsResponse, type ListPersonalMemoryBankDocumentsResponses, type ListPersonalMemoryBankOwnershipGrantsData, type ListPersonalMemoryBankOwnershipGrantsResponse, type ListPersonalMemoryBankOwnershipGrantsResponses, type ListPersonalMemoryBanksData, type ListPersonalMemoryBankSourceBindingsData, type ListPersonalMemoryBankSourceBindingsResponse, type ListPersonalMemoryBankSourceBindingsResponses, type ListPersonalMemoryBanksResponse, type ListPersonalMemoryBanksResponses, type ListPersonalMemoryBankVisibilityGrantsData, type ListPersonalMemoryBankVisibilityGrantsResponse, type ListPersonalMemoryBankVisibilityGrantsResponses, type ListPersonalMemorySourceBindingsData, type ListPersonalMemorySourceBindingsResponse, type ListPersonalMemorySourceBindingsResponses, type ListPersonalRegistryOwnershipGrantsData, type ListPersonalRegistryOwnershipGrantsResponse, type ListPersonalRegistryOwnershipGrantsResponses, type ListPersonalRegistryVisibilityGrantsData, type ListPersonalRegistryVisibilityGrantsResponse, type ListPersonalRegistryVisibilityGrantsResponses, type ListPersonalRscOwnershipGrantsData, type ListPersonalRscOwnershipGrantsResponse, type ListPersonalRscOwnershipGrantsResponses, type ListPersonalRscVisibilityGrantsData, type ListPersonalRscVisibilityGrantsResponse, type ListPersonalRscVisibilityGrantsResponses, type ListPersonalSkillOwnershipGrantsData, type ListPersonalSkillOwnershipGrantsResponse, type ListPersonalSkillOwnershipGrantsResponses, type ListPersonalSkillRegistriesData, type ListPersonalSkillRegistriesResponse, type ListPersonalSkillRegistriesResponses, type ListPersonalSkillsData, type ListPersonalSkillsResponse, type ListPersonalSkillsResponses, type ListPersonalSkillVisibilityGrantsData, type ListPersonalSkillVisibilityGrantsResponse, type ListPersonalSkillVisibilityGrantsResponses, type ListPersonalToolGroupInstancesData, type ListPersonalToolGroupInstancesError, type ListPersonalToolGroupInstancesErrors, type ListPersonalToolGroupInstancesResponse, type ListPersonalToolGroupInstancesResponses, type ListPersonalUcOwnershipGrantsData, type ListPersonalUcOwnershipGrantsResponse, type ListPersonalUcOwnershipGrantsResponses, type ListPersonalUcVisibilityGrantsData, type ListPersonalUcVisibilityGrantsResponse, type ListPersonalUcVisibilityGrantsResponses, type ListPersonalWikiOwnershipGrantsData, type ListPersonalWikiOwnershipGrantsResponse, type ListPersonalWikiOwnershipGrantsResponses, type ListPersonalWikiPagesData, type ListPersonalWikiPagesResponse, type ListPersonalWikiPagesResponses, type ListPersonalWikisData, type ListPersonalWikisResponse, type ListPersonalWikisResponses, type ListPersonalWikiVisibilityGrantsData, type ListPersonalWikiVisibilityGrantsResponse, type ListPersonalWikiVisibilityGrantsResponses, type ListProviderProvisionerCatalogData, type ListProviderProvisionerCatalogResponse, type ListProviderProvisionerCatalogResponses, type ListProviderSetupCatalogResponse, type ListProxiedMcpServersData, type ListProxiedMcpServersError, type ListProxiedMcpServersErrors, type ListProxiedMcpServersResponse, type ListProxiedMcpServersResponses, type ListProxiedSkillProvidersData, type ListProxiedSkillProvidersResponse, type ListProxiedSkillProvidersResponse2, type ListProxiedSkillProvidersResponses, type ListPublicAvailableToolGroupsData, type ListPublicAvailableToolGroupsError, type ListPublicAvailableToolGroupsErrors, type ListPublicAvailableToolGroupsResponse, type ListPublicAvailableToolGroupsResponses, type ListResourceServerCredentialsData, type ListResourceServerCredentialsResponse, type ListResourceServerCredentialsResponses, type ListReverseProxyProvidersResponse, type ListRscOwnershipGrantsData, type ListRscOwnershipGrantsResponse, type ListRscOwnershipGrantsResponses, type ListRscVisibilityGrantsData, type ListRscVisibilityGrantsResponse, type ListRscVisibilityGrantsResponses, type ListSessionInboxInstancesData, type ListSessionInboxInstancesError, type ListSessionInboxInstancesErrors, type ListSessionInboxInstancesResponse, type ListSessionInboxInstancesResponses, type ListSessionResourceGrantsData, type ListSessionResourceGrantsError, type ListSessionResourceGrantsErrors, type ListSessionResourceGrantsResponse, type ListSessionResourceGrantsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListSessionUserMembersData, type ListSessionUserMembersError, type ListSessionUserMembersErrors, type ListSessionUserMembersResponse, type ListSessionUserMembersResponses, type ListSignalProviderGrantsData, type ListSignalProviderGrantsResponse, type ListSignalProviderGrantsResponses, type ListSkillOwnershipGrantsData, type ListSkillOwnershipGrantsResponse, type ListSkillOwnershipGrantsResponses, type ListSkillRegistriesData, type ListSkillRegistriesError, type ListSkillRegistriesErrors, type ListSkillRegistriesResponse, type ListSkillRegistriesResponses, type ListSkillRegistryOwnershipGrantsData, type ListSkillRegistryOwnershipGrantsResponse, type ListSkillRegistryOwnershipGrantsResponses, type ListSkillRegistrySkillSummariesData, type ListSkillRegistrySkillSummariesError, type ListSkillRegistrySkillSummariesErrors, type ListSkillRegistrySkillSummariesResponse, type ListSkillRegistrySkillSummariesResponses, type ListSkillRegistryVisibilityGrantsData, type ListSkillRegistryVisibilityGrantsResponse, type ListSkillRegistryVisibilityGrantsResponses, type ListSkillsData, type ListSkillsError, type ListSkillsErrors, type ListSkillsResponse, type ListSkillsResponses, type ListSkillVisibilityGrantsData, type ListSkillVisibilityGrantsResponse, type ListSkillVisibilityGrantsResponses, type ListTeamGroupMembersData, type ListTeamGroupMembersResponse, type ListTeamGroupMembersResponses, type ListTeamGroupsData, type ListTeamGroupsResponse, type ListTeamGroupsResponses, type ListTeamInvitationsData, type ListTeamInvitationsResponse, type ListTeamInvitationsResponses, type ListTeamMembersData, type ListTeamMembersError, type ListTeamMembersErrors, type ListTeamMembersResponse, type ListTeamMembersResponses, type ListTeamsData, type ListTeamsError, type ListTeamsErrors, type ListTeamsResponse, type ListTeamsResponses, type ListToolDeploymentsByAliasData, type ListToolDeploymentsByAliasError, type ListToolDeploymentsByAliasErrors, type ListToolDeploymentsByAliasResponse, type ListToolDeploymentsByAliasResponses, type ListToolGroupInstancesData, type ListToolGroupInstancesError, type ListToolGroupInstancesErrors, type ListToolGroupInstancesGroupedByToolData, type ListToolGroupInstancesGroupedByToolError, type ListToolGroupInstancesGroupedByToolErrors, type ListToolGroupInstancesGroupedByToolResponse, type ListToolGroupInstancesGroupedByToolResponses, type ListToolGroupInstancesResponse, type ListToolGroupInstancesResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTrustedRuntimesData, type ListTrustedRuntimesError, type ListTrustedRuntimesErrors, type ListTrustedRuntimesResponse, type ListTrustedRuntimesResponses, type ListUcOwnershipGrantsData, type ListUcOwnershipGrantsResponse, type ListUcOwnershipGrantsResponses, type ListUcVisibilityGrantsData, type ListUcVisibilityGrantsResponse, type ListUcVisibilityGrantsResponses, type ListUserCredentialsData, type ListUserCredentialsResponse, type ListUserCredentialsResponses, type ListVerifiedIdentityLinksData, type ListVerifiedIdentityLinksError, type ListVerifiedIdentityLinksErrors, type ListVerifiedIdentityLinksResponse, type ListVerifiedIdentityLinksResponse2, type ListVerifiedIdentityLinksResponses, type ListVisibleMemoryBanksData, type ListVisibleMemoryBanksResponse, type ListVisibleMemoryBanksResponses, type ListWikiAssetsData, type ListWikiAssetsResponse, type ListWikiAssetsResponses, type ListWikiOntologyInstallationsData, type ListWikiOntologyInstallationsResponse, type ListWikiOntologyInstallationsResponses, type ListWikiOntologyTemplatesData, type ListWikiOntologyTemplatesResponse, type ListWikiOntologyTemplatesResponses, type ListWikiOwnershipGrantsData, type ListWikiOwnershipGrantsResponse, type ListWikiOwnershipGrantsResponses, type ListWikiPageAssetsData, type ListWikiPageAssetsResponse, type ListWikiPageAssetsResponses, type ListWikiPageRelationshipsData, type ListWikiPageRelationshipsResponse, type ListWikiPageRelationshipsResponses, type ListWikiPageRevisionsData, type ListWikiPageRevisionsResponse, type ListWikiPageRevisionsResponses, type ListWikiPagesData, type ListWikiPagesResponse, type ListWikiPagesResponses, type ListWikiPageTypesData, type ListWikiPageTypesResponse, type ListWikiPageTypesResponses, type ListWikiPageTypeVersionsData, type ListWikiPageTypeVersionsResponse, type ListWikiPageTypeVersionsResponses, type ListWikiRelationshipTypesData, type ListWikiRelationshipTypesResponse, type ListWikiRelationshipTypesResponses, type ListWikiRelationshipTypeVersionsData, type ListWikiRelationshipTypeVersionsResponse, type ListWikiRelationshipTypeVersionsResponses, type ListWikisData, type ListWikisResponse, type ListWikisResponses, type ListWikiVisibilityGrantsData, type ListWikiVisibilityGrantsResponse, type ListWikiVisibilityGrantsResponses, type LocalRuntimeTunnelApiKey, type LocalRuntimeTunnelConnector, type LoginProviderResolution, type ManagedSkillSelection, type ManagedUserCredentialSecretResponse, type ManagedUserCredentialSummary, type ManagedUserCredentialSummaryPaginatedResponse, type ManagedUserCredentialSummaryValue, type McpPlaygroundAiSdkChatMessage, type McpPlaygroundAiSdkChatMessagePart, type McpPlaygroundAiSdkChatRequest, type McpProtocolDeleteData, type McpProtocolDeleteError, type McpProtocolDeleteErrors, type McpProtocolDeleteResponses, type McpProtocolGetData, type McpProtocolGetError, type McpProtocolGetErrors, type McpProtocolGetResponses, type McpProtocolPostData, type McpProtocolPostError, type McpProtocolPostErrors, type McpProtocolPostResponses, McpProviderCatalogConnectionMethod, type McpProviderCatalogEntry, type McpProviderCatalogTool, type McpServerInstanceSerializedWithFunctions, type McpServerInstanceSerializedWithFunctionsPaginatedResponse, type McpServerInstanceToolSerialized, type McpServerPlaygroundChatData, type McpServerPlaygroundChatError, type McpServerPlaygroundChatErrors, type McpServerPlaygroundChatResponses, type McpServerSpec, type MemoryActorContext, type MemoryBank, type MemoryBankConfig, type MemoryBankDocumentList, type MemoryBankHealth, type MemoryBankPaginatedResponse, type MemoryBankSpec, MemoryBankStatus, type MemoryBankTemplate, type MemoryDocument, type MemoryDocumentAuthorship, MemoryDocumentOrigin, type MemoryDocumentProvenance, type MemoryDocumentRelations, type MemoryOperationResponse, MemoryProvider, type MemoryProviderDocumentState, type MemorySourceBinding, MemorySourceKind, type MemorySourceProvenance, type MemorySpec, type MemorySynthesisMutationBinding, MemorySynthesisOutcome, MemoryType, type Message, type MessageActorContext, type MessageDeliveryReceipt, MessageFormat, type MessageFormatConfig, type MessagePaginatedResponse, MessageRole, type Metadata, type MigrateWikiPageBody, type MigrateWikiPageTypeData, type MigrateWikiPageTypeErrors, type MigrateWikiPageTypeResponse, type MigrateWikiPageTypeResponses, type MoveWikiPageBody, type MoveWikiPageData, type MoveWikiPageErrors, type MoveWikiPageResponse, type MoveWikiPageResponses, type ObserveSessionData, type ObserveSessionError, type ObserveSessionErrors, type ObserveSessionResponses, type OntologyPageTypeDefinition, type OntologyRelationshipTypeDefinition, type OpenBotAgentSkillInput, type OpenBotDeployment, type OpenBotPluginsCatalogResponse, type Organization, type OrganizationAiCreditContext, type OrganizationMemberWithUser, type OrganizationMemberWithUserPaginatedResponse, type OrgOidcProvider, type OrgOidcProviderPaginatedResponse, OrgOidcProviderStatus, type PageRelationshipView, type PageTypeMigrationIssue, type PageTypeMigrationPreview, type PageTypeValidationResult, PartState, type PersonalMcpProtocolDeleteData, type PersonalMcpProtocolDeleteResponses, type PersonalMcpProtocolGetData, type PersonalMcpProtocolGetResponses, type PersonalMcpProtocolPostData, type PersonalMcpProtocolPostResponses, type PersonalMcpServerInstanceSerialized, type PersonalSkill, type PersonalSkillRegistry, type PersonalToolGroupInstanceSerialized, type PlanStateRequest, type PlatformChannelAddress, type PreviewWikiPageTypeMigrationData, type PreviewWikiPageTypeMigrationErrors, type PreviewWikiPageTypeMigrationResponse, type PreviewWikiPageTypeMigrationResponses, type ProductBillingContext, ProductSubscriptionStatus, type ProposalCredentialRequirement, type ProposalPermissionChange, type ProviderAppProvisioningResponse, type ProviderAuthAccountNameDisplay, type ProviderAuthAdapterApiKey, type ProviderAuthAdapterConfig, type ProviderAuthAdapterCustom, type ProviderAuthAdapterCustomJsonSchema, type ProviderAuthAdapterNoAuth, type ProviderAuthAdapterOauthApp, type ProviderAuthAdapterOauthJwtBearer, type ProviderAuthAdapterServerTokenExchange, type ProviderAuthAdapterTildeManagedOauth, type ProviderAuthFieldDisplay, ProviderDeliveryStatus, type ProviderProvisionerConfigField, type ProviderProvisionerCredentialRequirement, type ProviderProvisionerForm, type ProviderProvisionerInstructions, ProviderProvisionerSetupKind, type ProviderProvisioningCallbackData, type ProviderProvisioningCallbackResponse, type ProviderProvisioningCallbackResponses, type ProviderProvisioningHumanAction, type ProviderProvisioningInput, type ProviderProvisioningNextAction, type ProviderSetupAuthMethod, type ProviderSetupCatalogData, type ProviderSetupCatalogResponse, type ProviderSetupCatalogResponses, type ProviderSetupDescriptor, type ProviderSetupField, type ProviderSetupNextAction, type ProviderSetupOption, type ProviderSetupResponse, type ProviderSetupResumeData, type ProviderSetupResumeResponse, type ProviderSetupResumeResponses, type ProviderSetupStartData, type ProviderSetupStartResponse, type ProviderSetupStartResponses, type ProvisionAgentRequest, type ProvisionedProviderApp, type ProvisionedResource, ProvisionerCredentialKind, ProxiedMcpApiKeyLocation, ProxiedMcpAuthMode, type ProxiedMcpServerDetails, type ProxiedMcpServerListItem, type ProxiedMcpServerListItemPaginatedResponse, type ProxiedMcpServerSerialized, type ProxiedSkill, type ProxiedSkillProvider, type ProxyCredentialTemplate, type PutRoutineBody, type ReasoningUiPart, type RecallChatKitAutomaticMemoryBody, type RecallMemoryBody, type RecallMemoryData, type RecallMemoryResponse, type RecallMemoryResponses, type RecallPersonalMemoryData, type RecallPersonalMemoryResponse, type RecallPersonalMemoryResponses, type RecallSynthesisSessionMemoryData, type RecallSynthesisSessionMemoryResponse, type RecallSynthesisSessionMemoryResponses, type ReconcileOpenBotAgentBundleBody, type ReconcileOpenbotAgentBundleData, type ReconcileOpenbotAgentBundleResponse, type ReconcileOpenBotAgentBundleResponse, type ReconcileOpenbotAgentBundleResponses, type RecordAgentRunEffectInner, type RedirectTemporaryAccountClaimPageData, type ReflectMemoryBody, type ReflectMemoryData, type ReflectMemoryResponse, type ReflectMemoryResponses, type ReflectPersonalMemoryData, type ReflectPersonalMemoryResponse, type ReflectPersonalMemoryResponses, type RefreshCustomToolProviderData, type RefreshCustomToolProviderResponse, type RefreshCustomToolProviderResponse2, type RefreshCustomToolProviderResponses, type RefreshProxiedMcpServerData, type RefreshProxiedMcpServerError, type RefreshProxiedMcpServerErrors, type RefreshProxiedMcpServerResponse, type RefreshProxiedMcpServerResponses, type RefreshTokenRequest, type RegisterAgentTool, type RegisterAgentToolsRequestInner, type RegisterChatKitChatProviderRequestInner, type RegisterChatKitChatProviderResponse, type RegisterHttpVercelAiSdkAgentRequestInner, type RegisterHttpVercelAiSdkAgentResponse, type RegisterInboxInstanceRequest, type RegisterOauthClientData, type RegisterOauthClientError, type RegisterOauthClientErrors, type RegisterOAuthClientRequest, type RegisterOauthClientResponse, type RegisterOAuthClientResponse, type RegisterOauthClientResponses, type RegisterOpenbotDeploymentData, type RegisterOpenbotDeploymentError, type RegisterOpenbotDeploymentErrors, type RegisterOpenBotDeploymentRequest, type RegisterOpenbotDeploymentResponse, type RegisterOpenbotDeploymentResponses, type RegisterTeamOauthClientData, type RegisterTeamOauthClientError, type RegisterTeamOauthClientErrors, type RegisterTeamOauthClientResponse, type RegisterTeamOauthClientResponses, type RegisterVercelUiChatProviderRequestInner, RelationshipDirectionality, type ReleaseAiCreditReservationBody, type RemoveChatKitParticipantResponse, type RemoveCommonProviderInstallationOwnershipGrantData, type RemoveCommonProviderInstallationOwnershipGrantResponses, type RemoveCommonProviderInstallationVisibilityGrantData, type RemoveCommonProviderInstallationVisibilityGrantResponses, type RemoveMcpResourceOwnershipGrantData, type RemoveMcpResourceOwnershipGrantResponses, type RemoveMcpResourceVisibilityGrantData, type RemoveMcpResourceVisibilityGrantResponses, type RemoveMcpServerInstanceFunctionData, type RemoveMcpServerInstanceFunctionError, type RemoveMcpServerInstanceFunctionErrors, type RemoveMcpServerInstanceFunctionResponse, type RemoveMcpServerInstanceFunctionResponses, type RemoveMemoryBankOwnershipGrantData, type RemoveMemoryBankOwnershipGrantResponses, type RemoveMemoryBankVisibilityGrantData, type RemoveMemoryBankVisibilityGrantResponses, type RemoveOrganizationMemberData, type RemoveOrganizationMemberError, type RemoveOrganizationMemberErrors, type RemoveOrganizationMemberResponses, type RemovePersonalMemoryBankOwnershipGrantData, type RemovePersonalMemoryBankOwnershipGrantResponses, type RemovePersonalMemoryBankVisibilityGrantData, type RemovePersonalMemoryBankVisibilityGrantResponses, type RemovePersonalRegistryOwnershipGrantData, type RemovePersonalRegistryOwnershipGrantResponses, type RemovePersonalRegistryVisibilityGrantData, type RemovePersonalRegistryVisibilityGrantResponses, type RemovePersonalRscOwnershipGrantData, type RemovePersonalRscOwnershipGrantResponses, type RemovePersonalRscVisibilityGrantData, type RemovePersonalRscVisibilityGrantResponses, type RemovePersonalSkillOwnershipGrantData, type RemovePersonalSkillOwnershipGrantResponses, type RemovePersonalSkillVisibilityGrantData, type RemovePersonalSkillVisibilityGrantResponses, type RemovePersonalUcOwnershipGrantData, type RemovePersonalUcOwnershipGrantResponses, type RemovePersonalUcVisibilityGrantData, type RemovePersonalUcVisibilityGrantResponses, type RemovePersonalWikiOwnershipGrantData, type RemovePersonalWikiOwnershipGrantResponses, type RemovePersonalWikiVisibilityGrantData, type RemovePersonalWikiVisibilityGrantResponses, type RemoveRscOwnershipGrantData, type RemoveRscOwnershipGrantResponses, type RemoveRscVisibilityGrantData, type RemoveRscVisibilityGrantResponses, type RemoveSessionResourceGrantData, type RemoveSessionResourceGrantError, type RemoveSessionResourceGrantErrors, type RemoveSessionResourceGrantResponse, type RemoveSessionResourceGrantResponses, type RemoveSessionUserMemberData, type RemoveSessionUserMemberError, type RemoveSessionUserMemberErrors, type RemoveSessionUserMemberResponse, type RemoveSessionUserMemberResponse2, type RemoveSessionUserMemberResponses, type RemoveSignalProviderGrantData, type RemoveSignalProviderGrantResponses, type RemoveSkillOwnershipGrantData, type RemoveSkillOwnershipGrantResponses, type RemoveSkillRegistryOwnershipGrantData, type RemoveSkillRegistryOwnershipGrantResponses, type RemoveSkillRegistryVisibilityGrantData, type RemoveSkillRegistryVisibilityGrantResponses, type RemoveSkillVisibilityGrantData, type RemoveSkillVisibilityGrantResponses, type RemoveTeamGroupMemberData, type RemoveTeamGroupMemberResponses, type RemoveTeamMemberData, type RemoveTeamMemberError, type RemoveTeamMemberErrors, type RemoveTeamMemberResponses, type RemoveUcOwnershipGrantData, type RemoveUcOwnershipGrantResponses, type RemoveUcVisibilityGrantData, type RemoveUcVisibilityGrantResponses, type RemoveWikiOwnershipGrantData, type RemoveWikiOwnershipGrantResponses, type RemoveWikiVisibilityGrantData, type RemoveWikiVisibilityGrantResponses, type RenameChatKitWorkspaceThreadRequestInner, type ReorderChatKitAgentTurnQueueItemRequestInner, type ReplaceMemoryBankBindingsBody, type ReplaceMemorySourceBindingsData, type ReplaceMemorySourceBindingsResponse, type ReplaceMemorySourceBindingsResponses, type ReplacePersonalMemorySourceBindingsData, type ReplacePersonalMemorySourceBindingsResponse, type ReplacePersonalMemorySourceBindingsResponses, type ReportChatKitCompactionEventInner, type ReportChatKitCompactionEventResponse, type ReportedAgentTool, type ReportToolExecutionRequestInner, type ReserveAiCreditsBody, type ResetMemoryBankConfigData, type ResetMemoryBankConfigResponse, type ResetMemoryBankConfigResponses, type ResetPersonalMemoryBankConfigData, type ResetPersonalMemoryBankConfigResponse, type ResetPersonalMemoryBankConfigResponses, type ResolveLoginProviderResponse, type ResolveStateSourceRequest, type ResolveStateSourceResponse, ResourceAccessMode, ResourceAction, type ResourceApplyOutput, type ResourceAuthorization, type ResourceAuthorizationModes, type ResourceGrant, ResourceGrantPlane, type ResourceGrantRequest, type ResourceOwnership, type ResourcePlanItem, ResourcePrincipalType, ResourceServerCredentialPurpose, type ResourceServerCredentialSerialized, type ResourceServerCredentialSerializedPaginatedResponse, type ResumeAgentJobRequestInner, type ResumeCredentialSetupItemBody, type ResumeCredentialSetupItemData, type ResumeCredentialSetupItemResponse, type ResumeCredentialSetupItemResponses, type ResumeProviderAppProvisioningBody, type ResumeProviderAppProvisioningData, type ResumeProviderAppProvisioningResponse, type ResumeProviderAppProvisioningResponses, type ResumeProviderSetupBody, type ResumeUserCredentialBrokeringData, type ResumeUserCredentialBrokeringParams, type ResumeUserCredentialBrokeringResponse, type ResumeUserCredentialBrokeringResponses, type RetainMemoryBody, type RetainMemoryDocumentData, type RetainMemoryDocumentResponse, type RetainMemoryDocumentResponses, type RetainPersonalMemoryDocumentData, type RetainPersonalMemoryDocumentResponse, type RetainPersonalMemoryDocumentResponses, type RetainSynthesisSessionMemoryData, type RetainSynthesisSessionMemoryResponse, type RetainSynthesisSessionMemoryResponses, type RetryConnectionWork, type RetryMemorySourceBody, type RetryMemorySourceSyncData, type RetryMemorySourceSyncResponse, type RetryMemorySourceSyncResponses, type RetryPersonalMemorySourceBindingsData, type RetryPersonalMemorySourceBindingsResponse, type RetryPersonalMemorySourceBindingsResponses, type RetryWikiData, type RetryWikiResponse, type RetryWikiResponses, type ReturnAddress, type ReturnAddressUrl, type ReverseProxyAddProfileOwnershipGrantData, type ReverseProxyAddProfileOwnershipGrantResponse, type ReverseProxyAddProfileOwnershipGrantResponses, type ReverseProxyAddProfileVisibilityGrantData, type ReverseProxyAddProfileVisibilityGrantResponse, type ReverseProxyAddProfileVisibilityGrantResponses, type ReverseProxyCreateProfileData, type ReverseProxyCreateProfileError, type ReverseProxyCreateProfileErrors, type ReverseProxyCreateProfileResponse, type ReverseProxyCreateProfileResponses, type ReverseProxyDeleteProfileData, type ReverseProxyDeleteProfileError, type ReverseProxyDeleteProfileErrors, type ReverseProxyDeleteProfileResponses, type ReverseProxyGetProfileData, type ReverseProxyGetProfileError, type ReverseProxyGetProfileErrors, type ReverseProxyGetProfileResponse, type ReverseProxyGetProfileResponses, type ReverseProxyListProfileOwnershipGrantsData, type ReverseProxyListProfileOwnershipGrantsResponse, type ReverseProxyListProfileOwnershipGrantsResponses, type ReverseProxyListProfilesData, type ReverseProxyListProfilesError, type ReverseProxyListProfilesErrors, type ReverseProxyListProfilesResponse, type ReverseProxyListProfilesResponses, type ReverseProxyListProfileVisibilityGrantsData, type ReverseProxyListProfileVisibilityGrantsResponse, type ReverseProxyListProfileVisibilityGrantsResponses, type ReverseProxyListProvidersData, type ReverseProxyListProvidersResponse, type ReverseProxyListProvidersResponses, type ReverseProxyProfile, type ReverseProxyProfilePaginatedResponse, type ReverseProxyProviderInfo, type ReverseProxyProxyGetData, type ReverseProxyProxyGetResponses, type ReverseProxyProxyPostData, type ReverseProxyProxyPostResponses, type ReverseProxyRemoveProfileOwnershipGrantData, type ReverseProxyRemoveProfileOwnershipGrantResponses, type ReverseProxyRemoveProfileVisibilityGrantData, type ReverseProxyRemoveProfileVisibilityGrantResponses, type ReverseProxySetProfileOwnershipData, type ReverseProxySetProfileOwnershipResponse, type ReverseProxySetProfileOwnershipResponses, type ReverseProxySetProfileVisibilityData, type ReverseProxySetProfileVisibilityResponse, type ReverseProxySetProfileVisibilityResponses, type ReverseProxyUpdateProfileData, type ReverseProxyUpdateProfileError, type ReverseProxyUpdateProfileErrors, type ReverseProxyUpdateProfileResponse, type ReverseProxyUpdateProfileResponses, type RevokeLocalRuntimeTunnelApiKeyData, type RevokeLocalRuntimeTunnelApiKeyError, type RevokeLocalRuntimeTunnelApiKeyErrors, type RevokeLocalRuntimeTunnelApiKeyResponse, type RevokeLocalRuntimeTunnelApiKeyResponses, type RevokeTeamInvitationData, type RevokeTeamInvitationResponses, type RotateCustomToolProviderSigningKeyData, type RotateCustomToolProviderSigningKeyResponse, type RotateCustomToolProviderSigningKeyResponse2, type RotateCustomToolProviderSigningKeyResponses, type RouteAuthCallbackData, type RouteAuthCallbackError, type RouteAuthCallbackErrors, type RouteCreateApiKeyData, type RouteCreateApiKeyError, type RouteCreateApiKeyErrors, type RouteCreateApiKeyResponse, type RouteCreateApiKeyResponses, type RouteDeleteApiKeyData, type RouteDeleteApiKeyError, type RouteDeleteApiKeyErrors, type RouteDeleteApiKeyResponse, type RouteDeleteApiKeyResponses, type RouteGetJwksData, type RouteGetJwksError, type RouteGetJwksErrors, type RouteGetJwksResponse, type RouteGetJwksResponses, type RouteListApiKeysData, type RouteListApiKeysError, type RouteListApiKeysErrors, type RouteListApiKeysResponse, type RouteListApiKeysResponses, type RouteListDebugAuthProfilesData, type RouteListDebugAuthProfilesError, type RouteListDebugAuthProfilesErrors, type RouteListDebugAuthProfilesResponse, type RouteListDebugAuthProfilesResponses, type RouteLogoutData, type RouteRefreshTokenData, type RouteRefreshTokenError, type RouteRefreshTokenErrors, type RouteRefreshTokenResponse, type RouteRefreshTokenResponses, type RouteResolveLoginProviderData, type RouteResolveLoginProviderError, type RouteResolveLoginProviderErrors, type RouteResolveLoginProviderResponse, type RouteResolveLoginProviderResponses, type RouteSelectDebugAuthProfileData, type RouteSelectDebugAuthProfileError, type RouteSelectDebugAuthProfileErrors, type RouteSelectDebugAuthProfileResponse, type RouteSelectDebugAuthProfileResponses, type RouteStartAuthorizationData, type RouteStartAuthorizationError, type RouteStartAuthorizationErrors, type Routine, RoutineEventInstructionPolicy, type RoutineExecution, type RoutineExecutionPaginatedResponse, type RoutinePaginatedResponse, type RoutineTrigger, type RoutineTriggerInput, type RoutineTriggerSpec, type RunRoutineBody, type RunRoutineResponse, type RuntimeConfig, type SearchSkillRegistryData, type SearchSkillRegistryError, type SearchSkillRegistryErrors, type SearchSkillRegistryResponse, type SearchSkillRegistryResponses, type SelectDebugAuthProfileRequest, SelfExtensionCategory, type SelfExtensionPreview, type SelfExtensionProposal, type SelfExtensionProposalOutputs, type SelfExtensionResource, SelfExtensionStatus, type SelfProfileAvatarResponse, type SelfProfileResponse, type SelfProfileUser, type SendChatKitWorkspaceMessageRequestInner, type SendSessionMessageBody, type SendSessionMessageInput, type SendSessionMessageResponse, type Session, type SessionCorrelation, type SessionPaginatedResponse, type SessionParticipantIdentity, SessionPurpose, type SessionUserMembership, SessionUserRole, type SetChatKitResourceStatusRequest, type SetCommonProviderInstallationOwnershipData, type SetCommonProviderInstallationOwnershipResponse, type SetCommonProviderInstallationOwnershipResponses, type SetCommonProviderInstallationVisibilityData, type SetCommonProviderInstallationVisibilityResponse, type SetCommonProviderInstallationVisibilityResponses, type SetMcpResourceOwnershipData, type SetMcpResourceOwnershipResponse, type SetMcpResourceOwnershipResponses, type SetMcpResourceVisibilityData, type SetMcpResourceVisibilityResponse, type SetMcpResourceVisibilityResponses, type SetMemoryBankOwnershipModeData, type SetMemoryBankOwnershipModeResponse, type SetMemoryBankOwnershipModeResponses, type SetMemoryBankVisibilityData, type SetMemoryBankVisibilityResponse, type SetMemoryBankVisibilityResponses, type SetOpenBotAvatarRequest, type SetPersonalMemoryBankOwnershipModeData, type SetPersonalMemoryBankOwnershipModeResponse, type SetPersonalMemoryBankOwnershipModeResponses, type SetPersonalMemoryBankVisibilityData, type SetPersonalMemoryBankVisibilityResponse, type SetPersonalMemoryBankVisibilityResponses, type SetPersonalRegistryOwnershipModeData, type SetPersonalRegistryOwnershipModeResponse, type SetPersonalRegistryOwnershipModeResponses, type SetPersonalRegistryVisibilityData, type SetPersonalRegistryVisibilityResponse, type SetPersonalRegistryVisibilityResponses, type SetPersonalRscOwnershipData, type SetPersonalRscOwnershipResponse, type SetPersonalRscOwnershipResponses, type SetPersonalRscVisibilityData, type SetPersonalRscVisibilityResponse, type SetPersonalRscVisibilityResponses, type SetPersonalSkillOwnershipModeData, type SetPersonalSkillOwnershipModeResponse, type SetPersonalSkillOwnershipModeResponses, type SetPersonalSkillVisibilityData, type SetPersonalSkillVisibilityResponse, type SetPersonalSkillVisibilityResponses, type SetPersonalUcOwnershipData, type SetPersonalUcOwnershipResponse, type SetPersonalUcOwnershipResponses, type SetPersonalUcVisibilityData, type SetPersonalUcVisibilityResponse, type SetPersonalUcVisibilityResponses, type SetPersonalWikiOwnershipModeData, type SetPersonalWikiOwnershipModeResponse, type SetPersonalWikiOwnershipModeResponses, type SetPersonalWikiVisibilityData, type SetPersonalWikiVisibilityResponse, type SetPersonalWikiVisibilityResponses, type SetResourceAccessModeRequest, type SetRscOwnershipData, type SetRscOwnershipResponse, type SetRscOwnershipResponses, type SetRscVisibilityData, type SetRscVisibilityResponse, type SetRscVisibilityResponses, type SetSelfOpenbotAvatarData, type SetSelfOpenbotAvatarError, type SetSelfOpenbotAvatarErrors, type SetSelfOpenbotAvatarResponse, type SetSelfOpenbotAvatarResponses, type SetSignalProviderOwnershipData, type SetSignalProviderOwnershipResponse, type SetSignalProviderOwnershipResponses, type SetSignalProviderVisibilityData, type SetSignalProviderVisibilityResponse, type SetSignalProviderVisibilityResponses, type SetSkillOwnershipModeData, type SetSkillOwnershipModeResponse, type SetSkillOwnershipModeResponses, type SetSkillRegistryOwnershipModeData, type SetSkillRegistryOwnershipModeResponse, type SetSkillRegistryOwnershipModeResponses, type SetSkillRegistryVisibilityData, type SetSkillRegistryVisibilityResponse, type SetSkillRegistryVisibilityResponses, type SetSkillVisibilityData, type SetSkillVisibilityResponse, type SetSkillVisibilityResponses, type SetUcOwnershipData, type SetUcOwnershipResponse, type SetUcOwnershipResponses, type SetUcVisibilityData, type SetUcVisibilityResponse, type SetUcVisibilityResponses, type SetWikiOwnershipModeData, type SetWikiOwnershipModeResponse, type SetWikiOwnershipModeResponses, type SetWikiVisibilityData, type SetWikiVisibilityResponse, type SetWikiVisibilityResponses, type SignalAction, type SignalDelivery, type SignalDeliveryPaginatedResponse, SignalDeliveryStatus, SignalIngressMode, type SignalInterpolationVariable, type SignalMessage, type SignalMessageContext, type SignalPollingDescriptor, SignalProviderAuthMethod, type SignalProviderInstance, type SignalProviderInstancePaginatedResponse, SignalProviderInstanceStatus, type SignalProviderRouteDescriptor, type SignalProviderSourceSerialized, type SignalProviderSourceSerializedPaginatedResponse, type SignalRuleFilter, type SignalsAddPersonalProviderGrantData, type SignalsAddPersonalProviderGrantResponse, type SignalsAddPersonalProviderGrantResponses, type SignalsCreatePersonalProviderInstanceData, type SignalsCreatePersonalProviderInstanceResponse, type SignalsCreatePersonalProviderInstanceResponses, type SignalsCreateProviderInstanceData, type SignalsCreateProviderInstanceResponse, type SignalsCreateProviderInstanceResponses, type SignalsDeletePersonalProviderInstanceData, type SignalsDeletePersonalProviderInstanceResponse, type SignalsDeletePersonalProviderInstanceResponses, type SignalsDeleteProviderInstanceData, type SignalsDeleteProviderInstanceResponse, type SignalsDeleteProviderInstanceResponses, type SignalSessionPolicy, type SignalsGetDeliveryData, type SignalsGetDeliveryResponse, type SignalsGetDeliveryResponses, type SignalsGetPersonalDeliveryData, type SignalsGetPersonalDeliveryResponse, type SignalsGetPersonalDeliveryResponses, type SignalsGetPersonalProviderInstanceData, type SignalsGetPersonalProviderInstanceResponse, type SignalsGetPersonalProviderInstanceResponses, type SignalsGetProviderInstanceData, type SignalsGetProviderInstanceResponse, type SignalsGetProviderInstanceResponses, type SignalsListAvailableProvidersData, type SignalsListAvailableProvidersResponse, type SignalsListAvailableProvidersResponses, type SignalsListDeliveriesData, type SignalsListDeliveriesResponse, type SignalsListDeliveriesResponses, type SignalsListPersonalAvailableProvidersData, type SignalsListPersonalAvailableProvidersResponse, type SignalsListPersonalAvailableProvidersResponses, type SignalsListPersonalDeliveriesData, type SignalsListPersonalDeliveriesResponse, type SignalsListPersonalDeliveriesResponses, type SignalsListPersonalProviderGrantsData, type SignalsListPersonalProviderGrantsResponse, type SignalsListPersonalProviderGrantsResponses, type SignalsListPersonalProviderInstancesData, type SignalsListPersonalProviderInstancesResponse, type SignalsListPersonalProviderInstancesResponses, type SignalsListProviderInstancesData, type SignalsListProviderInstancesResponse, type SignalsListProviderInstancesResponses, type SignalsRemovePersonalProviderGrantData, type SignalsRemovePersonalProviderGrantResponses, type SignalsRetryDeliveryData, type SignalsRetryDeliveryResponse, type SignalsRetryDeliveryResponses, type SignalsRetryPersonalDeliveryData, type SignalsRetryPersonalDeliveryResponse, type SignalsRetryPersonalDeliveryResponses, type SignalsSetPersonalProviderOwnershipData, type SignalsSetPersonalProviderOwnershipResponse, type SignalsSetPersonalProviderOwnershipResponses, type SignalsSetPersonalProviderVisibilityData, type SignalsSetPersonalProviderVisibilityResponse, type SignalsSetPersonalProviderVisibilityResponses, type SignalsTriggerFakeData, type SignalsTriggerFakeResponse, type SignalsTriggerFakeResponses, type SignalsUpdatePersonalProviderInstanceData, type SignalsUpdatePersonalProviderInstanceResponse, type SignalsUpdatePersonalProviderInstanceResponses, type SignalsUpdateProviderInstanceData, type SignalsUpdateProviderInstanceResponse, type SignalsUpdateProviderInstanceResponses, type SignalTypeSourceSerialized, type SignalWebhookVerificationDescriptor, type Skill, type SkillDescriptionResponse, type SkillDiscoverySearchRequest, type SkillDiscoverySearchResponse, type SkillPackageFile, type SkillPackageFileDownload, type SkillPackageManifest, type SkillPaginatedResponse, type SkillRegistry, type SkillRegistryPaginatedResponse, type SkillRegistrySpec, type SkillSummary, type SkillSummaryPaginatedResponse, type SlackInstallationNextAction, type SourceDocumentUiPart, type SourceUrlUiPart, type StartBrokeringBodyExternal, type StartCredentialSetupItemBody, type StartCredentialSetupItemData, type StartCredentialSetupItemResponse, type StartCredentialSetupItemResponse2, type StartCredentialSetupItemResponses, type StartOAuthDeviceCodeBody, type StartOauthDeviceCodeData, type StartOauthDeviceCodeError, type StartOauthDeviceCodeErrors, type StartOauthDeviceCodeResponse, type StartOauthDeviceCodeResponses, type StartOAuthDeviceCodeResult, type StartProviderAppProvisioningBody, type StartProviderAppProvisioningData, type StartProviderAppProvisioningResponse, type StartProviderAppProvisioningResponses, type StartProviderSetupBody, type StartProxiedMcpServerOauthData, type StartProxiedMcpServerOauthError, type StartProxiedMcpServerOauthErrors, type StartProxiedMcpServerOauthRequestInner, type StartProxiedMcpServerOauthResponse, type StartProxiedMcpServerOauthResponse2, type StartProxiedMcpServerOauthResponses, type StartSlackOauthRequestInner, type StartUserCredentialBrokeringData, type StartUserCredentialBrokeringResponse, type StartUserCredentialBrokeringResponses, StateDocumentFormat, type StateExportData, type StateExportError, type StateExportErrors, type StateExportResponses, type StateGetImportData, type StateGetImportResponse, type StateGetImportResponses, type StateImportData, type StateImportEventsData, type StateImportEventsResponses, type StateImportOutputs, type StateImportResponse, type StateImportResponses, StateImportStatus, type StateMetadata, type StatePlan, type StatePlanData, type StatePlanResponse, type StatePlanResponses, type StateResolveSourceData, type StateResolveSourceError, type StateResolveSourceErrors, type StateResolveSourceResponse, type StateResolveSourceResponses, type StateSchema, type StateSchemaData, type StateSchemaJsonData, type StateSchemaJsonResponses, type StateSchemaResponse, type StateSchemaResponses, type StateSourceMetadata, type StateValidateData, type StateValidateResponse, type StateValidateResponses, type StateVariableDefinition, StateVariableType, type SteerAgentJobRequestInner, type SteerChatKitAgentTurnQueueItemResponse, type StepStartUiPart, type StopAgentJobRequestInner, type StoredEvent, type StoredEventPaginatedResponse, type StoredMemoryDocument, type SubmitChatKitWorkspaceTurnRequestInner, type SubmitChatKitWorkspaceTurnResponse, type SupportedCredentialInfo, type SynthesisSessionRetainMemoryBody, type Task, type TaskPaginatedResponse, TaskStatus, type Team, type TeamGroupSummary, type TeamGroupSummaryPaginatedResponse, type TeamMemberWithUser, type TeamMemberWithUserPaginatedResponse, type TeamPaginatedResponse, type TextMessage, type TextUiPart, type TokenResponse, type ToolConfig, type ToolConfigPaginatedResponse, type ToolDeploymentWithGroupSerialized, type ToolDeploymentWithGroupSerializedPaginatedResponse, type ToolExecution, ToolExecutionAuthority, ToolExecutionState, type ToolGroupInstanceListItem, type ToolGroupInstanceListItemPaginatedResponse, type ToolGroupInstanceSerialized, type ToolGroupInstanceSerializedWithCredentials, type ToolGroupInstanceSerializedWithEverything, type ToolGroupSourceSerialized, type ToolGroupSourceSerializedPaginatedResponse, type ToolInstanceListItem, type ToolInstanceSerialized, type ToolInstanceSerializedPaginatedResponse, ToolInvocationState, type ToolSourceSerialized, type ToolUiPart, type TransitionAgentRunInner, type TraverseWikiGraphData, type TraverseWikiGraphResponse, type TraverseWikiGraphResponses, type TriggerFakeSignalRequest, type TrustedRuntime, TrustedRuntimeEncryptionAlgorithm, type TrustedRuntimePaginatedResponse, TrustedRuntimeSigningAlgorithm, TrustedRuntimeStatus, TrustedRuntimeType, type TupleUnit, type UiMessage, type UiMessagePart, type UnbindToolGroupFromMcpServerData, type UnbindToolGroupFromMcpServerError, type UnbindToolGroupFromMcpServerErrors, type UnbindToolGroupFromMcpServerResponse, type UnbindToolGroupFromMcpServerResponses, type UpdateAgentObservabilityPolicyRequestInner, type UpdateAgentToolVisibilityRequestInner, type UpdateChatKitChatProviderRequestInner, type UpdateChatKitSessionUserStateRequestInner, type UpdateCredentialBody, type UpdateCustomToolProviderData, type UpdateCustomToolProviderRequestInner, type UpdateCustomToolProviderResponse, type UpdateCustomToolProviderResponses, type UpdateGoalRequestInner, type UpdateHostedOpenbotComputerImageData, type UpdateHostedOpenbotComputerImageError, type UpdateHostedOpenbotComputerImageErrors, type UpdateHostedOpenBotComputerImageRequest, type UpdateHostedOpenbotComputerImageResponse, type UpdateHostedOpenbotComputerImageResponses, type UpdateHttpVercelAiSdkAgentRequestInner, type UpdateManagedUserCredentialBody, type UpdateManagedUserCredentialData, type UpdateManagedUserCredentialResponse, type UpdateManagedUserCredentialResponses, type UpdateMcpServerInstanceBody, type UpdateMcpServerInstanceData, type UpdateMcpServerInstanceError, type UpdateMcpServerInstanceErrors, type UpdateMcpServerInstanceFunctionData, type UpdateMcpServerInstanceFunctionError, type UpdateMcpServerInstanceFunctionErrors, type UpdateMcpServerInstanceFunctionResponse, type UpdateMcpServerInstanceFunctionResponses, type UpdateMcpServerInstanceRequestInner, type UpdateMcpServerInstanceResponse, type UpdateMcpServerInstanceResponses, type UpdateMcpServerInstanceToolBody, type UpdateMemberRoleBody, type UpdateMemoryBankBody, type UpdateMemoryBankConfigBody, type UpdateMemoryBankConfigData, type UpdateMemoryBankConfigResponse, type UpdateMemoryBankConfigResponses, type UpdateMemoryBankData, type UpdateMemoryBankResponse, type UpdateMemoryBankResponses, type UpdateOrganizationData, type UpdateOrganizationError, type UpdateOrganizationErrors, type UpdateOrganizationMemberRoleBody, type UpdateOrganizationMemberRoleData, type UpdateOrganizationMemberRoleError, type UpdateOrganizationMemberRoleErrors, type UpdateOrganizationMemberRoleResponse, type UpdateOrganizationMemberRoleResponses, type UpdateOrganizationRequest, type UpdateOrganizationResponses, type UpdateOrgOidcProviderData, type UpdateOrgOidcProviderError, type UpdateOrgOidcProviderErrors, type UpdateOrgOidcProviderRequest, type UpdateOrgOidcProviderResponse, type UpdateOrgOidcProviderResponses, type UpdatePageTypeBody, type UpdatePersonalMcpServerInstanceData, type UpdatePersonalMcpServerInstanceResponse, type UpdatePersonalMcpServerInstanceResponses, type UpdatePersonalMemoryBankConfigData, type UpdatePersonalMemoryBankConfigResponse, type UpdatePersonalMemoryBankConfigResponses, type UpdatePersonalMemoryBankData, type UpdatePersonalMemoryBankResponse, type UpdatePersonalMemoryBankResponses, type UpdatePersonalSkillData, type UpdatePersonalSkillRegistryData, type UpdatePersonalSkillRegistryResponse, type UpdatePersonalSkillRegistryResponses, type UpdatePersonalSkillResponse, type UpdatePersonalSkillResponses, type UpdatePersonalToolGroupInstanceData, type UpdatePersonalToolGroupInstanceResponse, type UpdatePersonalToolGroupInstanceResponses, type UpdatePersonalWikiData, type UpdatePersonalWikiPageData, type UpdatePersonalWikiPageResponse, type UpdatePersonalWikiPageResponses, type UpdatePersonalWikiResponse, type UpdatePersonalWikiResponses, type UpdateRelationshipTypeBody, type UpdateResourceServerCredentialData, type UpdateResourceServerCredentialResponse, type UpdateResourceServerCredentialResponses, type UpdateReverseProxyProfileInner, type UpdateSelfProfileData, type UpdateSelfProfileError, type UpdateSelfProfileErrors, type UpdateSelfProfileRequest, type UpdateSelfProfileResponse, type UpdateSelfProfileResponses, type UpdateSessionOwnershipData, type UpdateSessionOwnershipError, type UpdateSessionOwnershipErrors, type UpdateSessionOwnershipResponse, type UpdateSessionOwnershipResponses, type UpdateSessionVisibilityData, type UpdateSessionVisibilityError, type UpdateSessionVisibilityErrors, type UpdateSessionVisibilityResponse, type UpdateSessionVisibilityResponses, type UpdateSignalProviderInstanceRequestInner, type UpdateSkillBody, type UpdateSkillData, type UpdateSkillError, type UpdateSkillErrors, type UpdateSkillRegistryBody, type UpdateSkillRegistryData, type UpdateSkillRegistryError, type UpdateSkillRegistryErrors, type UpdateSkillRegistryResponse, type UpdateSkillRegistryResponses, type UpdateSkillResponse, type UpdateSkillResponses, type UpdateTaskRequestInner, type UpdateTeamData, type UpdateTeamError, type UpdateTeamErrors, type UpdateTeamGroupBody, type UpdateTeamGroupData, type UpdateTeamGroupError, type UpdateTeamGroupErrors, type UpdateTeamGroupResponse, type UpdateTeamGroupResponses, type UpdateTeamMemberRoleData, type UpdateTeamMemberRoleError, type UpdateTeamMemberRoleErrors, type UpdateTeamMemberRoleResponse, type UpdateTeamMemberRoleResponses, type UpdateTeamRequest, type UpdateTeamResponses, type UpdateToolBoundParamsData, type UpdateToolBoundParamsError, type UpdateToolBoundParamsErrors, type UpdateToolBoundParamsResponse, type UpdateToolBoundParamsResponses, type UpdateToolGroupInstanceData, type UpdateToolGroupInstanceError, type UpdateToolGroupInstanceErrors, type UpdateToolGroupInstanceParamsInner, type UpdateToolGroupInstanceResponse, type UpdateToolGroupInstanceResponses, type UpdateToolInstanceBoundParamsInner, type UpdateTrustedRuntimeBody, type UpdateTrustedRuntimeData, type UpdateTrustedRuntimeError, type UpdateTrustedRuntimeErrors, type UpdateTrustedRuntimeResponse, type UpdateTrustedRuntimeResponses, type UpdateUserCredentialData, type UpdateUserCredentialResponse, type UpdateUserCredentialResponses, type UpdateWikiAssetBody, type UpdateWikiAssetData, type UpdateWikiAssetResponse, type UpdateWikiAssetResponses, type UpdateWikiBody, type UpdateWikiData, type UpdateWikiPageData, type UpdateWikiPageErrors, type UpdateWikiPageRelationshipData, type UpdateWikiPageRelationshipResponse, type UpdateWikiPageRelationshipResponses, type UpdateWikiPageResponse, type UpdateWikiPageResponses, type UpdateWikiPageTypeData, type UpdateWikiPageTypeErrors, type UpdateWikiPageTypeResponse, type UpdateWikiPageTypeResponses, type UpdateWikiRelationshipTypeData, type UpdateWikiRelationshipTypeErrors, type UpdateWikiRelationshipTypeResponse, type UpdateWikiRelationshipTypeResponses, type UpdateWikiResponse, type UpdateWikiResponses, type UploadAttachmentContentData, type UploadAttachmentContentError, type UploadAttachmentContentErrors, type UploadAttachmentContentResponse, type UploadAttachmentContentResponses, type UploadHostedOpenbotReleaseFileData, type UploadHostedOpenbotReleaseFileError, type UploadHostedOpenbotReleaseFileErrors, type UploadHostedOpenbotReleaseFileResponse, type UploadHostedOpenbotReleaseFileResponses, type UploadSelfAvatarData, type UploadSelfAvatarError, type UploadSelfAvatarErrors, type UploadSelfAvatarResponse, type UploadSelfAvatarResponses, type UploadWikiAssetContentData, type UploadWikiAssetContentErrors, type UploadWikiAssetContentResponses, type UpsertPageRelationshipBody, type UpsertWikiPageBody, type UpsertWikiPageRelationshipData, type UpsertWikiPageRelationshipErrors, type UpsertWikiPageRelationshipResponse, type UpsertWikiPageRelationshipResponses, type User, type UserAvatar, type UserCredentialBrokeringResponse, type UserCredentialSerialized, type UserCredentialSerializedPaginatedResponse, type UserInvitation, type UserInvitationPaginatedResponse, type UserOrganization, type UserTeam, UserToolFederationMode, type UserToolFederationSelection, UserType, type ValidatePageTypeDataBody, type ValidateStateRequest, type ValidateStateResponse, type ValidateSynthesisBatchBody, type ValidateSynthesisSessionBatchData, type ValidateSynthesisSessionBatchResponse, type ValidateSynthesisSessionBatchResponses, type ValidateWikiPageTypeDataData, type ValidateWikiPageTypeDataResponse, type ValidateWikiPageTypeDataResponses, type Vec, type VerifiedIdentityLink, VerifiedIdentityLinkSource, type VerifyOrgOidcProviderDomainData, type VerifyOrgOidcProviderDomainError, type VerifyOrgOidcProviderDomainErrors, type VerifyOrgOidcProviderDomainResponse, type VerifyOrgOidcProviderDomainResponses, type WebhookSigningKeyMetadata, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type Wiki, type WikiAsset, type WikiAssetDownloadResponse, type WikiAssetPaginatedResponse, type WikiAssetReferences, WikiAssetStatus, type WikiAssetUploadResponse, type WikiGraph, type WikiGrepMatch, type WikiOntologyInstallation, type WikiOntologyTemplate, type WikiPage, type WikiPagePaginatedResponse, type WikiPageRelationship, type WikiPageRevision, type WikiPageRevisionPaginatedResponse, type WikiPageType, type WikiPageTypeVersion, type WikiPaginatedResponse, type WikiRelationshipEvidence, type WikiRelationshipType, type WikiRelationshipTypeVersion, type WikiSpec, WikiStatus, type WrappedChronoDateTime, type WrappedJsonValue, type WrappedUuidV4 } from './types.gen'; diff --git a/packages/api-client/src/generated/sdk.gen.ts b/packages/api-client/src/generated/sdk.gen.ts index 37c73525..8c6563d4 100644 --- a/packages/api-client/src/generated/sdk.gen.ts +++ b/packages/api-client/src/generated/sdk.gen.ts @@ -1,8 +1,8 @@ // This file is auto-generated by @hey-api/openapi-ts -import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type TDataShape, urlSearchParamsBodySerializer } from './client'; +import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type ServerSentEventsResult, type TDataShape, urlSearchParamsBodySerializer } from './client'; import { client } from './client.gen'; -import type { AcceptInvitationData, AcceptInvitationErrors, AcceptInvitationResponses, AddCommonProviderInstallationOwnershipGrantData, AddCommonProviderInstallationOwnershipGrantResponses, AddCommonProviderInstallationVisibilityGrantData, AddCommonProviderInstallationVisibilityGrantResponses, AddIdentityTeamData, AddIdentityTeamResponses, AddMcpResourceOwnershipGrantData, AddMcpResourceOwnershipGrantResponses, AddMcpResourceVisibilityGrantData, AddMcpResourceVisibilityGrantResponses, AddMcpServerInstanceFunctionData, AddMcpServerInstanceFunctionErrors, AddMcpServerInstanceFunctionResponses, AddMemoryBankOwnershipGrantData, AddMemoryBankOwnershipGrantResponses, AddMemoryBankVisibilityGrantData, AddMemoryBankVisibilityGrantResponses, AddOrganizationMemberData, AddOrganizationMemberErrors, AddOrganizationMemberResponses, AddPersonalMemoryBankOwnershipGrantData, AddPersonalMemoryBankOwnershipGrantResponses, AddPersonalMemoryBankVisibilityGrantData, AddPersonalMemoryBankVisibilityGrantResponses, AddPersonalRegistryOwnershipGrantData, AddPersonalRegistryOwnershipGrantResponses, AddPersonalRegistryVisibilityGrantData, AddPersonalRegistryVisibilityGrantResponses, AddPersonalRscOwnershipGrantData, AddPersonalRscOwnershipGrantResponses, AddPersonalRscVisibilityGrantData, AddPersonalRscVisibilityGrantResponses, AddPersonalSkillOwnershipGrantData, AddPersonalSkillOwnershipGrantResponses, AddPersonalSkillVisibilityGrantData, AddPersonalSkillVisibilityGrantResponses, AddPersonalUcOwnershipGrantData, AddPersonalUcOwnershipGrantResponses, AddPersonalUcVisibilityGrantData, AddPersonalUcVisibilityGrantResponses, AddPersonalWikiOwnershipGrantData, AddPersonalWikiOwnershipGrantResponses, AddPersonalWikiVisibilityGrantData, AddPersonalWikiVisibilityGrantResponses, AddProviderSkillsToSkillRegistryData, AddProviderSkillsToSkillRegistryErrors, AddProviderSkillsToSkillRegistryResponses, AddRscOwnershipGrantData, AddRscOwnershipGrantResponses, AddRscVisibilityGrantData, AddRscVisibilityGrantResponses, AddSessionResourceGrantData, AddSessionResourceGrantErrors, AddSessionResourceGrantResponses, AddSessionUserMemberData, AddSessionUserMemberErrors, AddSessionUserMemberResponses, AddSignalProviderGrantData, AddSignalProviderGrantResponses, AddSkillOwnershipGrantData, AddSkillOwnershipGrantResponses, AddSkillRegistryOwnershipGrantData, AddSkillRegistryOwnershipGrantResponses, AddSkillRegistryVisibilityGrantData, AddSkillRegistryVisibilityGrantResponses, AddSkillVisibilityGrantData, AddSkillVisibilityGrantResponses, AddTeamGroupMemberData, AddTeamGroupMemberErrors, AddTeamGroupMemberResponses, AddTeamMemberData, AddTeamMemberErrors, AddTeamMemberResponses, AddUcOwnershipGrantData, AddUcOwnershipGrantResponses, AddUcVisibilityGrantData, AddUcVisibilityGrantResponses, AddWikiOwnershipGrantData, AddWikiOwnershipGrantResponses, AddWikiVisibilityGrantData, AddWikiVisibilityGrantResponses, ApplyWikiOntologyTemplateData, ApplyWikiOntologyTemplateResponses, AssignPersonalMemoryBankSynthesizerData, AssignPersonalMemoryBankSynthesizerResponses, AuthorizeOauthDeviceCodeData, AuthorizeOauthDeviceCodeErrors, AuthorizeOauthDeviceCodeResponses, AutomationsAddGrantData, AutomationsAddGrantResponses, AutomationsDeleteData, AutomationsDeleteResponses, AutomationsGetData, AutomationsGetErrors, AutomationsGetResponses, AutomationsListData, AutomationsListExecutionsData, AutomationsListExecutionsResponses, AutomationsListGrantsData, AutomationsListGrantsResponses, AutomationsListResponses, AutomationsPutData, AutomationsPutErrors, AutomationsPutResponses, AutomationsRemoveGrantData, AutomationsRemoveGrantResponses, AutomationsRunData, AutomationsRunResponses, AutomationsSetOwnershipData, AutomationsSetOwnershipResponses, AutomationsSetVisibilityData, AutomationsSetVisibilityResponses, AutoProvisionToolGroupInstanceData, AutoProvisionToolGroupInstanceErrors, AutoProvisionToolGroupInstanceResponses, AutumnWebhookHandlerData, AutumnWebhookHandlerErrors, AutumnWebhookHandlerResponses, BillingAiCreditReceiptCommitData, BillingAiCreditReceiptCommitResponses, BillingAiCreditReservationReleaseData, BillingAiCreditReservationReleaseResponses, BillingAiCreditReserveData, BillingAiCreditReserveResponses, BillingAiCreditTopupCreateData, BillingAiCreditTopupCreateErrors, BillingAiCreditTopupCreateResponses, BillingAiGatewayEnsureData, BillingAiGatewayEnsureErrors, BillingAiGatewayEnsureResponses, BillingAutumnBridgePostData, BillingAutumnBridgePostErrors, BillingAutumnBridgePostResponses, BillingContextGetData, BillingContextGetErrors, BillingContextGetResponses, BillingEnrollAccountData, BillingEnrollAccountErrors, BillingEnrollAccountResponses, BillingProductEnrollCurrentHumanData, BillingProductEnrollCurrentHumanErrors, BillingProductEnrollCurrentHumanResponses, BillingRedirectData, BillingRedirectErrors, BillingRemoveAccountSeatData, BillingRemoveAccountSeatErrors, BillingRemoveAccountSeatResponses, BillingWebhookStripeDeprecatedData, BillingWebhookStripeDeprecatedResponses, BindToolGroupToMcpServerData, BindToolGroupToMcpServerErrors, BindToolGroupToMcpServerResponses, BulkAddMcpServerInstanceFunctionsData, BulkAddMcpServerInstanceFunctionsErrors, BulkAddMcpServerInstanceFunctionsResponses, BulkRemoveMcpServerInstanceFunctionsData, BulkRemoveMcpServerInstanceFunctionsErrors, BulkRemoveMcpServerInstanceFunctionsResponses, CancelHumanApprovalActionData, CancelHumanApprovalActionErrors, CancelHumanApprovalActionResponses, ChangePersonalWikiOwnershipData, ChangePersonalWikiOwnershipResponses, ChangeWikiOwnershipData, ChangeWikiOwnershipResponses, ChatkitAddAgentResourceGrantData, ChatkitAddAgentResourceGrantErrors, ChatkitAddAgentResourceGrantResponses, ChatkitAddSessionParticipantData, ChatkitAddSessionParticipantErrors, ChatkitAddSessionParticipantResponses, ChatkitAppendAgentRunStepData, ChatkitAppendAgentRunStepResponses, ChatkitApproveSelfExtensionProposalData, ChatkitApproveSelfExtensionProposalResponses, ChatkitAutoProvisionSlackChannelInstallationData, ChatkitAutoProvisionSlackChannelInstallationErrors, ChatkitAutoProvisionSlackChannelInstallationResponses, ChatkitCacheConvertedMessagesData, ChatkitCacheConvertedMessagesErrors, ChatkitCacheConvertedMessagesResponses, ChatkitCancelSelfExtensionProposalData, ChatkitCancelSelfExtensionProposalResponses, ChatkitClaimAgentResourceBundleOutputsData, ChatkitClaimAgentResourceBundleOutputsResponses, ChatkitClaimAgentRunsData, ChatkitClaimAgentRunsResponses, ChatkitClaimSelfExtensionProposalOutputsData, ChatkitClaimSelfExtensionProposalOutputsResponses, ChatkitCollectAgentJobResultData, ChatkitCollectAgentJobResultResponses, ChatkitCompleteSlackProviderProvisionedSetupData, ChatkitCompleteSlackProviderProvisionedSetupErrors, ChatkitCompleteSlackProviderProvisionedSetupResponses, ChatkitCompleteSlackSelfManagedSetupData, ChatkitCompleteSlackSelfManagedSetupErrors, ChatkitCompleteSlackSelfManagedSetupResponses, ChatkitControlAgentRunData, ChatkitControlAgentRunResponses, ChatkitCreateAgentRunData, ChatkitCreateAgentRunResponses, ChatkitCreateGoalData, ChatkitCreateGoalResponses, ChatkitCreateRoomInvitationData, ChatkitCreateRoomInvitationErrors, ChatkitCreateRoomInvitationResponses, ChatkitCreateSessionData, ChatkitCreateSessionErrors, ChatkitCreateSessionResponses, ChatkitCreateSlackChannelInstallationData, ChatkitCreateSlackChannelInstallationErrors, ChatkitCreateSlackChannelInstallationResponses, ChatkitCreateTaskData, ChatkitCreateTaskResponses, ChatkitDecideCapabilityChangeData, ChatkitDecideCapabilityChangeResponses, ChatkitDecideRoomInvitationData, ChatkitDecideRoomInvitationErrors, ChatkitDecideRoomInvitationResponses, ChatkitDelegateAgentJobData, ChatkitDelegateAgentJobResponses, ChatkitDeleteAgentData, ChatkitDeleteAgentErrors, ChatkitDeleteAgentResponses, ChatkitDeleteAgentTurnQueueItemData, ChatkitDeleteAgentTurnQueueItemErrors, ChatkitDeleteAgentTurnQueueItemResponses, ChatkitDeleteChatProviderData, ChatkitDeleteChatProviderErrors, ChatkitDeleteChatProviderResponses, ChatkitFinishAgentRunEffectData, ChatkitFinishAgentRunEffectResponses, ChatkitGetActiveAgentRunData, ChatkitGetActiveAgentRunResponses, ChatkitGetAgentAvatarData, ChatkitGetAgentAvatarErrors, ChatkitGetAgentAvatarResponses, ChatkitGetAgentData, ChatkitGetAgentErrors, ChatkitGetAgentJobData, ChatkitGetAgentJobResponses, ChatkitGetAgentObservabilityData, ChatkitGetAgentObservabilityErrors, ChatkitGetAgentObservabilityResponses, ChatkitGetAgentResourceBundleProvisioningData, ChatkitGetAgentResourceBundleProvisioningResponses, ChatkitGetAgentResponses, ChatkitGetAgentRunData, ChatkitGetAgentRunEffectData, ChatkitGetAgentRunEffectResponses, ChatkitGetAgentRunResponses, ChatkitGetCompactedHistoryData, ChatkitGetCompactedHistoryErrors, ChatkitGetCompactedHistoryResponses, ChatkitGetGoalData, ChatkitGetGoalResponses, ChatkitGetLatestCompactionData, ChatkitGetLatestCompactionErrors, ChatkitGetLatestCompactionResponses, ChatkitGetSelfExtensionProposalData, ChatkitGetSelfExtensionProposalResponses, ChatkitGetTaskData, ChatkitGetTaskResponses, ChatkitHydrateConvertedMessagesData, ChatkitHydrateConvertedMessagesErrors, ChatkitHydrateConvertedMessagesResponses, ChatkitInvokeSessionProviderToolData, ChatkitInvokeSessionProviderToolErrors, ChatkitInvokeSessionProviderToolResponses, ChatkitJoinSessionData, ChatkitJoinSessionErrors, ChatkitJoinSessionResponses, ChatkitListAgentJobsData, ChatkitListAgentJobsResponses, ChatkitListAgentResourceGrantsData, ChatkitListAgentResourceGrantsErrors, ChatkitListAgentResourceGrantsResponses, ChatkitListAgentsData, ChatkitListAgentsErrors, ChatkitListAgentsResponses, ChatkitListAgentTurnQueueData, ChatkitListAgentTurnQueueErrors, ChatkitListAgentTurnQueueResponses, ChatkitListAvailableChatChannelsData, ChatkitListAvailableChatChannelsErrors, ChatkitListAvailableChatChannelsResponses, ChatkitListAvailableChatProvidersData, ChatkitListAvailableChatProvidersErrors, ChatkitListAvailableChatProvidersResponses, ChatkitListChatProvidersData, ChatkitListChatProvidersErrors, ChatkitListChatProvidersResponses, ChatkitListGoalsData, ChatkitListGoalsResponses, ChatkitListMessageHistoryData, ChatkitListMessageHistoryErrors, ChatkitListMessageHistoryResponses, ChatkitListRoomInvitationsData, ChatkitListRoomInvitationsErrors, ChatkitListRoomInvitationsResponses, ChatkitListSelfExtensionProposalsData, ChatkitListSelfExtensionProposalsResponses, ChatkitListSessionParticipantsData, ChatkitListSessionParticipantsErrors, ChatkitListSessionParticipantsResponses, ChatkitListSessionsData, ChatkitListSessionsErrors, ChatkitListSessionsResponses, ChatkitListTasksData, ChatkitListTasksResponses, ChatkitPrepareAgentRunEffectData, ChatkitPrepareAgentRunEffectResponses, ChatkitProposeSelfExtensionData, ChatkitProposeSelfExtensionResponses, ChatkitProvisionAgentResourceBundleData, ChatkitProvisionAgentResourceBundleResponses, ChatkitRecallAutomaticMemoryData, ChatkitRecallAutomaticMemoryErrors, ChatkitRecallAutomaticMemoryResponses, ChatkitRegisterAgentToolsData, ChatkitRegisterAgentToolsErrors, ChatkitRegisterAgentToolsResponses, ChatkitRegisterChatProviderData, ChatkitRegisterChatProviderErrors, ChatkitRegisterChatProviderResponses, ChatkitRegisterHttpVercelAiSdkAgentData, ChatkitRegisterHttpVercelAiSdkAgentErrors, ChatkitRegisterHttpVercelAiSdkAgentResponses, ChatkitRegisterVercelUiChatProviderData, ChatkitRegisterVercelUiChatProviderErrors, ChatkitRegisterVercelUiChatProviderResponses, ChatkitRejectSelfExtensionProposalData, ChatkitRejectSelfExtensionProposalResponses, ChatkitRemoveAgentResourceGrantData, ChatkitRemoveAgentResourceGrantErrors, ChatkitRemoveAgentResourceGrantResponses, ChatkitRemoveSessionParticipantData, ChatkitRemoveSessionParticipantErrors, ChatkitRemoveSessionParticipantResponses, ChatkitReorderAgentTurnQueueItemData, ChatkitReorderAgentTurnQueueItemErrors, ChatkitReorderAgentTurnQueueItemResponses, ChatkitReportCompactionEventData, ChatkitReportCompactionEventErrors, ChatkitReportCompactionEventResponses, ChatkitReportToolExecutionData, ChatkitReportToolExecutionErrors, ChatkitReportToolExecutionResponses, ChatkitResumeAgentJobData, ChatkitResumeAgentJobResponses, ChatkitRevokeRoomInvitationData, ChatkitRevokeRoomInvitationErrors, ChatkitRevokeRoomInvitationResponses, ChatkitRollbackSelfExtensionProposalData, ChatkitRollbackSelfExtensionProposalResponses, ChatkitSearchData, ChatkitSearchErrors, ChatkitSearchResponses, ChatkitSendSessionMessageData, ChatkitSendSessionMessageErrors, ChatkitSendSessionMessageResponses, ChatkitSetAgentPermissionsData, ChatkitSetAgentPermissionsErrors, ChatkitSetAgentPermissionsResponses, ChatkitSetAgentStatusData, ChatkitSetAgentStatusErrors, ChatkitSetAgentStatusResponses, ChatkitSetChatProviderStatusData, ChatkitSetChatProviderStatusErrors, ChatkitSetChatProviderStatusResponses, ChatkitStartSlackOauthData, ChatkitStartSlackOauthErrors, ChatkitStartSlackOauthResponses, ChatkitSteerAgentJobData, ChatkitSteerAgentJobResponses, ChatkitSteerAgentTurnQueueItemData, ChatkitSteerAgentTurnQueueItemErrors, ChatkitSteerAgentTurnQueueItemResponses, ChatkitStopAgentJobData, ChatkitStopAgentJobResponses, ChatkitTransitionAgentRunData, ChatkitTransitionAgentRunResponses, ChatkitUpdateAgentAvatarData, ChatkitUpdateAgentAvatarErrors, ChatkitUpdateAgentAvatarResponses, ChatkitUpdateAgentData, ChatkitUpdateAgentErrors, ChatkitUpdateAgentObservabilityData, ChatkitUpdateAgentObservabilityErrors, ChatkitUpdateAgentObservabilityResponses, ChatkitUpdateAgentOwnershipData, ChatkitUpdateAgentOwnershipErrors, ChatkitUpdateAgentOwnershipResponses, ChatkitUpdateAgentResponses, ChatkitUpdateAgentToolVisibilityData, ChatkitUpdateAgentToolVisibilityErrors, ChatkitUpdateAgentToolVisibilityResponses, ChatkitUpdateAgentVisibilityData, ChatkitUpdateAgentVisibilityErrors, ChatkitUpdateAgentVisibilityResponses, ChatkitUpdateChatProviderData, ChatkitUpdateChatProviderErrors, ChatkitUpdateChatProviderResponses, ChatkitUpdateGoalData, ChatkitUpdateGoalResponses, ChatkitUpdateTaskData, ChatkitUpdateTaskResponses, ChatkitWorkspaceAgentSessionsData, ChatkitWorkspaceAgentSessionsResponses, ChatkitWorkspaceBootstrapData, ChatkitWorkspaceBootstrapResponses, ChatkitWorkspaceConversationSnapshotData, ChatkitWorkspaceConversationSnapshotResponses, ChatkitWorkspaceCreateSessionData, ChatkitWorkspaceCreateSessionResponses, ChatkitWorkspaceInterruptSessionData, ChatkitWorkspaceInterruptSessionResponses, ChatkitWorkspaceMessagesData, ChatkitWorkspaceMessagesResponses, ChatkitWorkspaceRenameThreadData, ChatkitWorkspaceRenameThreadResponses, ChatkitWorkspaceSendMessageData, ChatkitWorkspaceSendMessageResponses, ChatkitWorkspaceSidebarData, ChatkitWorkspaceSidebarResponses, ChatkitWorkspaceSubmitTurnData, ChatkitWorkspaceSubmitTurnResponses, ChatkitWorkspaceUpdateSessionReadStateData, ChatkitWorkspaceUpdateSessionReadStateResponses, CheckMemoryBankHealthData, CheckMemoryBankHealthResponses, CheckPersonalMemoryBankHealthData, CheckPersonalMemoryBankHealthResponses, ClaimTemporaryAccountData, ClaimTemporaryAccountErrors, ClaimTemporaryAccountResponses, ClearPersonalMemoryBankSynthesizerData, ClearPersonalMemoryBankSynthesizerResponses, CompleteAttachmentUploadData, CompleteAttachmentUploadErrors, CompleteAttachmentUploadResponses, CompleteCredentialSetupItemData, CompleteCredentialSetupItemResponses, CompleteHumanApprovalActionData, CompleteHumanApprovalActionErrors, CompleteHumanApprovalActionResponses, CompleteIdentityLinkData, CompleteIdentityLinkResponses, CompleteIdentityVerificationData, CompleteIdentityVerificationErrors, CompleteIdentityVerificationResponses, CompleteWikiAssetUploadData, CompleteWikiAssetUploadResponses, ConfigureHostedOpenbotInstanceData, ConfigureHostedOpenbotInstanceErrors, ConfigureHostedOpenbotInstanceResponses, ConnectMcpProviderCatalogEntryData, ConnectMcpProviderCatalogEntryErrors, ConnectMcpProviderCatalogEntryResponses, ConnectProxiedMcpServerData, ConnectProxiedMcpServerErrors, ConnectProxiedMcpServerResponses, CreateAttachmentUploadData, CreateAttachmentUploadErrors, CreateAttachmentUploadResponses, CreateAttachmentUploadsData, CreateAttachmentUploadsErrors, CreateAttachmentUploadsResponses, CreateCustomToolProviderData, CreateCustomToolProviderResponses, CreateHostedOpenbotDeploymentData, CreateHostedOpenbotDeploymentErrors, CreateHostedOpenbotDeploymentResponses, CreateHostedOpenbotReleaseData, CreateHostedOpenbotReleaseErrors, CreateHostedOpenbotReleaseResponses, CreateHumanApprovalActionData, CreateHumanApprovalActionErrors, CreateHumanApprovalActionResponses, CreateIdentityData, CreateIdentityErrors, CreateIdentityLinkData, CreateIdentityLinkErrors, CreateIdentityLinkResponses, CreateIdentityResponses, CreateManagedUserCredentialData, CreateManagedUserCredentialResponses, CreateMcpServerInstanceData, CreateMcpServerInstanceErrors, CreateMcpServerInstanceResponses, CreateMemoryBankData, CreateMemoryBankResponses, CreateMessageData, CreateMessageErrors, CreateMessageResponses, CreateOrganizationData, CreateOrganizationErrors, CreateOrganizationResponses, CreateOrgOidcProviderData, CreateOrgOidcProviderErrors, CreateOrgOidcProviderResponses, CreatePersonalMcpServerInstanceData, CreatePersonalMcpServerInstanceErrors, CreatePersonalMcpServerInstanceResponses, CreatePersonalMemoryBankData, CreatePersonalMemoryBankResponses, CreatePersonalSkillData, CreatePersonalSkillRegistryData, CreatePersonalSkillRegistryResponses, CreatePersonalSkillResponses, CreatePersonalToolGroupInstanceData, CreatePersonalToolGroupInstanceErrors, CreatePersonalToolGroupInstanceResponses, CreatePersonalUserCredentialData, CreatePersonalUserCredentialResponses, CreatePersonalWikiData, CreatePersonalWikiPageData, CreatePersonalWikiPageResponses, CreatePersonalWikiResponses, CreateProxyTokenData, CreateProxyTokenErrors, CreateProxyTokenResponses, CreateResourceServerCredentialData, CreateResourceServerCredentialResponses, CreateSessionData, CreateSessionErrors, CreateSessionResponses, CreateSkillData, CreateSkillErrors, CreateSkillRegistryData, CreateSkillRegistryErrors, CreateSkillRegistryResponses, CreateSkillResponses, CreateTeamData, CreateTeamErrors, CreateTeamGroupData, CreateTeamGroupErrors, CreateTeamGroupResponses, CreateTeamResponses, CreateTemporaryAccountData, CreateTemporaryAccountErrors, CreateTemporaryAccountResponses, CreateToolGroupInstanceData, CreateToolGroupInstanceErrors, CreateToolGroupInstanceResponses, CreateTrustedRuntimeData, CreateTrustedRuntimeErrors, CreateTrustedRuntimeResponses, CreateTrustedSkillProviderData, CreateTrustedSkillProviderErrors, CreateTrustedSkillProviderResponses, CreateUserCredentialData, CreateUserCredentialResponses, CreateWikiAssetUploadData, CreateWikiAssetUploadResponses, CreateWikiData, CreateWikiPageData, CreateWikiPageResponses, CreateWikiPageTypeData, CreateWikiPageTypeResponses, CreateWikiPageTypeVersionData, CreateWikiPageTypeVersionErrors, CreateWikiPageTypeVersionResponses, CreateWikiRelationshipTypeData, CreateWikiRelationshipTypeResponses, CreateWikiRelationshipTypeVersionData, CreateWikiRelationshipTypeVersionErrors, CreateWikiRelationshipTypeVersionResponses, CreateWikiResponses, CredentialGenericOauthCallbackData, CredentialGenericOauthCallbackResponses, DeleteAttachmentData, DeleteAttachmentErrors, DeleteAttachmentResponses, DeleteCustomToolProviderData, DeleteCustomToolProviderResponses, DeleteManagedUserCredentialData, DeleteManagedUserCredentialResponses, DeleteMcpServerInstanceData, DeleteMcpServerInstanceErrors, DeleteMcpServerInstanceResponses, DeleteMemoryBankData, DeleteMemoryBankResponses, DeleteMemoryDocumentData, DeleteMemoryDocumentResponses, DeleteMessageData, DeleteMessageErrors, DeleteMessageResponses, DeleteOrganizationData, DeleteOrganizationErrors, DeleteOrganizationResponses, DeleteOrgOidcProviderData, DeleteOrgOidcProviderErrors, DeleteOrgOidcProviderResponses, DeletePersonalMcpServerInstanceData, DeletePersonalMcpServerInstanceResponses, DeletePersonalMemoryBankData, DeletePersonalMemoryBankResponses, DeletePersonalMemoryDocumentData, DeletePersonalMemoryDocumentResponses, DeletePersonalSkillData, DeletePersonalSkillRegistryData, DeletePersonalSkillRegistryResponses, DeletePersonalSkillResponses, DeletePersonalToolGroupInstanceData, DeletePersonalToolGroupInstanceResponses, DeletePersonalWikiData, DeletePersonalWikiPageData, DeletePersonalWikiPageResponses, DeletePersonalWikiResponses, DeleteProxiedMcpServerData, DeleteProxiedMcpServerErrors, DeleteProxiedMcpServerResponses, DeleteResourceServerCredentialData, DeleteResourceServerCredentialResponses, DeleteSelfAvatarData, DeleteSelfAvatarErrors, DeleteSelfAvatarResponses, DeleteSkillData, DeleteSkillErrors, DeleteSkillRegistryData, DeleteSkillRegistryErrors, DeleteSkillRegistryResponses, DeleteSkillResponses, DeleteSynthesisSessionMemoryData, DeleteSynthesisSessionMemoryResponses, DeleteTeamData, DeleteTeamErrors, DeleteTeamGroupData, DeleteTeamGroupErrors, DeleteTeamGroupResponses, DeleteTeamResponses, DeleteToolGroupInstanceData, DeleteToolGroupInstanceErrors, DeleteToolGroupInstanceResponses, DeleteTrustedRuntimeData, DeleteTrustedRuntimeErrors, DeleteTrustedRuntimeResponses, DeleteUserCredentialData, DeleteUserCredentialResponses, DeleteVerifiedIdentityLinkData, DeleteVerifiedIdentityLinkErrors, DeleteVerifiedIdentityLinkResponses, DeleteWikiAssetData, DeleteWikiAssetErrors, DeleteWikiAssetResponses, DeleteWikiData, DeleteWikiPageData, DeleteWikiPageErrors, DeleteWikiPageRelationshipData, DeleteWikiPageRelationshipResponses, DeleteWikiPageResponses, DeleteWikiPageTypeData, DeleteWikiPageTypeErrors, DeleteWikiPageTypeResponses, DeleteWikiPageTypeVersionData, DeleteWikiPageTypeVersionErrors, DeleteWikiPageTypeVersionResponses, DeleteWikiRelationshipTypeData, DeleteWikiRelationshipTypeErrors, DeleteWikiRelationshipTypeResponses, DeleteWikiResponses, DisableCustomToolProviderData, DisableCustomToolProviderResponses, DisableProxiedMcpServerData, DisableProxiedMcpServerErrors, DisableProxiedMcpServerResponses, DisableToolData, DisableToolErrors, DisableToolResponses, DownloadAttachmentContentData, DownloadAttachmentContentErrors, DownloadAttachmentContentResponses, DownloadSkillPackageFileData, DownloadSkillPackageFileErrors, DownloadSkillPackageFileResponses, DownloadWikiAssetContentData, DownloadWikiAssetContentErrors, DownloadWikiAssetContentResponses, DownloadWikiAssetData, DownloadWikiAssetResponses, EnableAndBindProviderToolsData, EnableAndBindProviderToolsErrors, EnableAndBindProviderToolsResponses, EnableCustomToolProviderData, EnableCustomToolProviderResponses, EnableProxiedMcpServerData, EnableProxiedMcpServerErrors, EnableProxiedMcpServerResponses, EnableToolData, EnableToolErrors, EnableToolResponses, EncryptPersonalUserCredentialConfigurationData, EncryptPersonalUserCredentialConfigurationResponses, EncryptResourceServerConfigurationData, EncryptResourceServerConfigurationResponses, EncryptUserCredentialConfigurationData, EncryptUserCredentialConfigurationResponses, ExchangeOauthCodeData, ExchangeOauthCodeErrors, ExchangeOauthCodeResponses, ExpireTemporaryAccountsData, ExpireTemporaryAccountsErrors, ExpireTemporaryAccountsResponses, ExportMemoryBankTemplateData, ExportMemoryBankTemplateResponses, ExportPersonalMemoryBankTemplateData, ExportPersonalMemoryBankTemplateResponses, FinalizeHostedOpenbotReleaseData, FinalizeHostedOpenbotReleaseErrors, FinalizeHostedOpenbotReleaseResponses, GenerateLocalRuntimeTunnelApiKeyData, GenerateLocalRuntimeTunnelApiKeyErrors, GenerateLocalRuntimeTunnelApiKeyResponses, GenerateTemporaryAccountClaimUrlData, GenerateTemporaryAccountClaimUrlErrors, GenerateTemporaryAccountClaimUrlResponses, GetAttachmentDownloadUrlData, GetAttachmentDownloadUrlErrors, GetAttachmentDownloadUrlResponses, GetCommonProviderInstallationData, GetCommonProviderInstallationResponses, GetCredentialSetupItemData, GetCredentialSetupItemResponses, GetCustomToolProviderData, GetCustomToolProviderResponses, GetHostedOpenbotBootstrapBundleData, GetHostedOpenbotBootstrapBundleErrors, GetHostedOpenbotBootstrapBundleResponses, GetHostedOpenbotInstanceData, GetHostedOpenbotInstanceErrors, GetHostedOpenbotInstanceResponses, GetHostedOpenbotReleaseData, GetHostedOpenbotReleaseErrors, GetHostedOpenbotReleaseResponses, GetHumanApprovalActionData, GetHumanApprovalActionErrors, GetHumanApprovalActionResponses, GetIdentityData, GetIdentityErrors, GetIdentityResponses, GetIdentityVerificationData, GetIdentityVerificationErrors, GetIdentityVerificationResponses, GetLocalRuntimeTunnelApiKeyData, GetLocalRuntimeTunnelApiKeyErrors, GetLocalRuntimeTunnelApiKeyResponses, GetLocalRuntimeTunnelConnectorData, GetLocalRuntimeTunnelConnectorErrors, GetLocalRuntimeTunnelConnectorResponses, GetManagedUserCredentialSecretData, GetManagedUserCredentialSecretResponses, GetMcpServerInstanceData, GetMcpServerInstanceErrors, GetMcpServerInstanceResponses, GetMemoryBankConfigData, GetMemoryBankConfigResponses, GetMemoryBankData, GetMemoryBankDocumentData, GetMemoryBankDocumentResponses, GetMemoryBankResponses, GetMessageData, GetMessageDeliveriesData, GetMessageDeliveriesErrors, GetMessageDeliveriesResponses, GetMessageErrors, GetMessageResponses, GetOpenbotPluginsCatalogData, GetOpenbotPluginsCatalogResponses, GetOrganizationData, GetOrganizationErrors, GetOrganizationResponses, GetOrgOidcProviderData, GetOrgOidcProviderErrors, GetOrgOidcProviderResponses, GetPersonalMcpServerInstanceData, GetPersonalMcpServerInstanceResponses, GetPersonalMemoryBankConfigData, GetPersonalMemoryBankConfigResponses, GetPersonalMemoryBankData, GetPersonalMemoryBankDocumentData, GetPersonalMemoryBankDocumentResponses, GetPersonalMemoryBankResponses, GetPersonalSkillData, GetPersonalSkillRegistryData, GetPersonalSkillRegistryResponses, GetPersonalSkillResponses, GetPersonalToolGroupInstanceData, GetPersonalToolGroupInstanceResponses, GetPersonalWikiData, GetPersonalWikiPageData, GetPersonalWikiPageResponses, GetPersonalWikiResponses, GetProviderProvisioningHumanActionData, GetProviderProvisioningHumanActionResponses, GetProxiedMcpServerData, GetProxiedMcpServerErrors, GetProxiedMcpServerResponses, GetProxiedSkillProviderData, GetProxiedSkillProviderErrors, GetProxiedSkillProviderResponses, GetResourceServerCredentialData, GetResourceServerCredentialResponses, GetRuntimeConfigData, GetRuntimeConfigResponses, GetSelfAvatarData, GetSelfAvatarErrors, GetSelfAvatarResponses, GetSelfProfileData, GetSelfProfileErrors, GetSelfProfileResponses, GetSessionEventHistoryData, GetSessionEventHistoryErrors, GetSessionEventHistoryResponses, GetSkillData, GetSkillErrors, GetSkillPackageData, GetSkillPackageErrors, GetSkillPackageResponses, GetSkillRegistryData, GetSkillRegistryErrors, GetSkillRegistryResponses, GetSkillRegistrySkillByTitleData, GetSkillRegistrySkillByTitleErrors, GetSkillRegistrySkillByTitleResponses, GetSkillRegistrySkillData, GetSkillRegistrySkillDescriptionData, GetSkillRegistrySkillDescriptionErrors, GetSkillRegistrySkillDescriptionResponses, GetSkillRegistrySkillErrors, GetSkillRegistrySkillResponses, GetSkillResponses, GetTeamData, GetTeamErrors, GetTeamGroupData, GetTeamGroupErrors, GetTeamGroupResponses, GetTeamResponses, GetToolGroupInstanceData, GetToolGroupInstanceErrors, GetToolGroupInstanceResponses, GetToolsOpenapiSpecData, GetToolsOpenapiSpecErrors, GetToolsOpenapiSpecResponses, GetTrustedRuntimeData, GetTrustedRuntimeErrors, GetTrustedRuntimeResponses, GetUserCredentialData, GetUserCredentialResponses, GetWikiData, GetWikiPageBacklinksData, GetWikiPageBacklinksResponses, GetWikiPageData, GetWikiPageNeighborhoodData, GetWikiPageNeighborhoodResponses, GetWikiPageRelationshipData, GetWikiPageRelationshipResponses, GetWikiPageResponses, GetWikiPageTypeData, GetWikiPageTypeResponses, GetWikiPageTypeVersionData, GetWikiPageTypeVersionResponses, GetWikiRelationshipTypeData, GetWikiRelationshipTypeResponses, GetWikiRelationshipTypeVersionData, GetWikiRelationshipTypeVersionResponses, GetWikiResponses, GrepPersonalWikiPagesData, GrepPersonalWikiPagesResponses, GrepWikiPagesData, GrepWikiPagesResponses, HealthCheckData, HealthCheckErrors, HealthCheckResponses, ImportMemoryBankTemplateData, ImportMemoryBankTemplateResponses, ImportPersonalMemoryBankTemplateData, ImportPersonalMemoryBankTemplateResponses, InitiateIdentityVerificationData, InitiateIdentityVerificationErrors, InitiateIdentityVerificationResponses, InspectWikiAssetReferencesData, InspectWikiAssetReferencesResponses, InviteTeamUsersData, InviteTeamUsersErrors, InviteTeamUsersResponses, InvokeCustomToolData, InvokeCustomToolResponses, InvokeToolData, InvokeToolErrors, InvokeToolResponses, IssueHostedOpenbotGitTokenData, IssueHostedOpenbotGitTokenErrors, IssueHostedOpenbotGitTokenResponses, IssueOpenbotChatkitRealtimeTicketData, IssueOpenbotChatkitRealtimeTicketErrors, IssueOpenbotChatkitRealtimeTicketResponses, IssueProxyRealtimeTicketData, IssueProxyRealtimeTicketResponses, LinkTeamIdentityData, LinkTeamIdentityErrors, LinkTeamIdentityResponses, ListAvailableToolGroupsData, ListAvailableToolGroupsErrors, ListAvailableToolGroupsResponses, ListCommonProviderInstallationOwnershipGrantsData, ListCommonProviderInstallationOwnershipGrantsResponses, ListCommonProviderInstallationsData, ListCommonProviderInstallationsResponses, ListCommonProviderInstallationVisibilityGrantsData, ListCommonProviderInstallationVisibilityGrantsResponses, ListCredentialSetupItemsData, ListCredentialSetupItemsResponses, ListCustomToolProvidersData, ListCustomToolProvidersResponses, ListIdentitiesData, ListIdentitiesErrors, ListIdentitiesResponses, ListIdentityTeamsData, ListIdentityTeamsResponses, ListInboxAgentsData, ListInboxAgentsErrors, ListInboxAgentsResponses, ListInboxesData, ListInboxesErrors, ListInboxesResponses, ListManagedUserCredentialsData, ListManagedUserCredentialsResponses, ListMcpProviderCatalogData, ListMcpProviderCatalogErrors, ListMcpProviderCatalogResponses, ListMcpResourceOwnershipGrantsData, ListMcpResourceOwnershipGrantsResponses, ListMcpResourceVisibilityGrantsData, ListMcpResourceVisibilityGrantsResponses, ListMcpServerInstancesData, ListMcpServerInstancesErrors, ListMcpServerInstancesResponses, ListMemoryBankDocumentsData, ListMemoryBankDocumentsResponses, ListMemoryBankOwnershipGrantsData, ListMemoryBankOwnershipGrantsResponses, ListMemoryBanksData, ListMemoryBankSourceBindingsData, ListMemoryBankSourceBindingsResponses, ListMemoryBanksResponses, ListMemoryBankVisibilityGrantsData, ListMemoryBankVisibilityGrantsResponses, ListMemorySourceBindingsData, ListMemorySourceBindingsResponses, ListMessagesData, ListMessagesErrors, ListMessagesResponses, ListOpenbotDeploymentsData, ListOpenbotDeploymentsErrors, ListOpenbotDeploymentsResponses, ListOrganizationMembersData, ListOrganizationMembersErrors, ListOrganizationMembersResponses, ListOrganizationsData, ListOrganizationsErrors, ListOrganizationsResponses, ListOrganizationTeamGroupsData, ListOrganizationTeamGroupsResponses, ListOrgOidcProvidersData, ListOrgOidcProvidersErrors, ListOrgOidcProvidersResponses, ListPersonalMcpServerInstancesData, ListPersonalMcpServerInstancesErrors, ListPersonalMcpServerInstancesResponses, ListPersonalMemoryBankDocumentsData, ListPersonalMemoryBankDocumentsResponses, ListPersonalMemoryBankOwnershipGrantsData, ListPersonalMemoryBankOwnershipGrantsResponses, ListPersonalMemoryBanksData, ListPersonalMemoryBankSourceBindingsData, ListPersonalMemoryBankSourceBindingsResponses, ListPersonalMemoryBanksResponses, ListPersonalMemoryBankVisibilityGrantsData, ListPersonalMemoryBankVisibilityGrantsResponses, ListPersonalMemorySourceBindingsData, ListPersonalMemorySourceBindingsResponses, ListPersonalRegistryOwnershipGrantsData, ListPersonalRegistryOwnershipGrantsResponses, ListPersonalRegistryVisibilityGrantsData, ListPersonalRegistryVisibilityGrantsResponses, ListPersonalRscOwnershipGrantsData, ListPersonalRscOwnershipGrantsResponses, ListPersonalRscVisibilityGrantsData, ListPersonalRscVisibilityGrantsResponses, ListPersonalSkillOwnershipGrantsData, ListPersonalSkillOwnershipGrantsResponses, ListPersonalSkillRegistriesData, ListPersonalSkillRegistriesResponses, ListPersonalSkillsData, ListPersonalSkillsResponses, ListPersonalSkillVisibilityGrantsData, ListPersonalSkillVisibilityGrantsResponses, ListPersonalToolGroupInstancesData, ListPersonalToolGroupInstancesErrors, ListPersonalToolGroupInstancesResponses, ListPersonalUcOwnershipGrantsData, ListPersonalUcOwnershipGrantsResponses, ListPersonalUcVisibilityGrantsData, ListPersonalUcVisibilityGrantsResponses, ListPersonalWikiOwnershipGrantsData, ListPersonalWikiOwnershipGrantsResponses, ListPersonalWikiPagesData, ListPersonalWikiPagesResponses, ListPersonalWikisData, ListPersonalWikisResponses, ListPersonalWikiVisibilityGrantsData, ListPersonalWikiVisibilityGrantsResponses, ListProviderProvisionerCatalogData, ListProviderProvisionerCatalogResponses, ListProxiedMcpServersData, ListProxiedMcpServersErrors, ListProxiedMcpServersResponses, ListProxiedSkillProvidersData, ListProxiedSkillProvidersResponses, ListProxyTokensData, ListProxyTokensErrors, ListProxyTokensResponses, ListPublicAvailableToolGroupsData, ListPublicAvailableToolGroupsErrors, ListPublicAvailableToolGroupsResponses, ListResourceServerCredentialsData, ListResourceServerCredentialsResponses, ListRscOwnershipGrantsData, ListRscOwnershipGrantsResponses, ListRscVisibilityGrantsData, ListRscVisibilityGrantsResponses, ListSessionInboxInstancesData, ListSessionInboxInstancesErrors, ListSessionInboxInstancesResponses, ListSessionResourceGrantsData, ListSessionResourceGrantsErrors, ListSessionResourceGrantsResponses, ListSessionsData, ListSessionsErrors, ListSessionsResponses, ListSessionUserMembersData, ListSessionUserMembersErrors, ListSessionUserMembersResponses, ListSignalProviderGrantsData, ListSignalProviderGrantsResponses, ListSkillOwnershipGrantsData, ListSkillOwnershipGrantsResponses, ListSkillRegistriesData, ListSkillRegistriesErrors, ListSkillRegistriesResponses, ListSkillRegistryOwnershipGrantsData, ListSkillRegistryOwnershipGrantsResponses, ListSkillRegistrySkillSummariesData, ListSkillRegistrySkillSummariesErrors, ListSkillRegistrySkillSummariesResponses, ListSkillRegistryVisibilityGrantsData, ListSkillRegistryVisibilityGrantsResponses, ListSkillsData, ListSkillsErrors, ListSkillsResponses, ListSkillVisibilityGrantsData, ListSkillVisibilityGrantsResponses, ListTeamGroupMembersData, ListTeamGroupMembersResponses, ListTeamGroupsData, ListTeamGroupsResponses, ListTeamInvitationsData, ListTeamInvitationsResponses, ListTeamMembersData, ListTeamMembersErrors, ListTeamMembersResponses, ListTeamsData, ListTeamsErrors, ListTeamsResponses, ListToolDeploymentsByAliasData, ListToolDeploymentsByAliasErrors, ListToolDeploymentsByAliasResponses, ListToolGroupInstancesData, ListToolGroupInstancesErrors, ListToolGroupInstancesGroupedByToolData, ListToolGroupInstancesGroupedByToolErrors, ListToolGroupInstancesGroupedByToolResponses, ListToolGroupInstancesResponses, ListToolsData, ListToolsErrors, ListToolsResponses, ListTrustedRuntimesData, ListTrustedRuntimesErrors, ListTrustedRuntimesResponses, ListUcOwnershipGrantsData, ListUcOwnershipGrantsResponses, ListUcVisibilityGrantsData, ListUcVisibilityGrantsResponses, ListUserCredentialsData, ListUserCredentialsResponses, ListVerifiedIdentityLinksData, ListVerifiedIdentityLinksErrors, ListVerifiedIdentityLinksResponses, ListVisibleMemoryBanksData, ListVisibleMemoryBanksResponses, ListWikiAssetsData, ListWikiAssetsResponses, ListWikiOntologyInstallationsData, ListWikiOntologyInstallationsResponses, ListWikiOntologyTemplatesData, ListWikiOntologyTemplatesResponses, ListWikiOwnershipGrantsData, ListWikiOwnershipGrantsResponses, ListWikiPageAssetsData, ListWikiPageAssetsResponses, ListWikiPageRelationshipsData, ListWikiPageRelationshipsResponses, ListWikiPageRevisionsData, ListWikiPageRevisionsResponses, ListWikiPagesData, ListWikiPagesResponses, ListWikiPageTypesData, ListWikiPageTypesResponses, ListWikiPageTypeVersionsData, ListWikiPageTypeVersionsResponses, ListWikiRelationshipTypesData, ListWikiRelationshipTypesResponses, ListWikiRelationshipTypeVersionsData, ListWikiRelationshipTypeVersionsResponses, ListWikisData, ListWikisResponses, ListWikiVisibilityGrantsData, ListWikiVisibilityGrantsResponses, McpProtocolDeleteData, McpProtocolDeleteErrors, McpProtocolDeleteResponses, McpProtocolGetData, McpProtocolGetErrors, McpProtocolGetResponses, McpProtocolPostData, McpProtocolPostErrors, McpProtocolPostResponses, McpServerPlaygroundChatData, McpServerPlaygroundChatErrors, McpServerPlaygroundChatResponses, MigrateWikiPageTypeData, MigrateWikiPageTypeErrors, MigrateWikiPageTypeResponses, MoveWikiPageData, MoveWikiPageErrors, MoveWikiPageResponses, ObserveSessionData, ObserveSessionErrors, ObserveSessionResponses, OnboardOrganizationData, OnboardOrganizationErrors, OnboardOrganizationResponses, PersonalMcpProtocolDeleteData, PersonalMcpProtocolDeleteResponses, PersonalMcpProtocolGetData, PersonalMcpProtocolGetResponses, PersonalMcpProtocolPostData, PersonalMcpProtocolPostResponses, PreviewIdentityLinkData, PreviewIdentityLinkResponses, PreviewWikiPageTypeMigrationData, PreviewWikiPageTypeMigrationErrors, PreviewWikiPageTypeMigrationResponses, ProviderProvisioningCallbackData, ProviderProvisioningCallbackResponses, ProviderSetupCatalogData, ProviderSetupCatalogResponses, ProviderSetupResumeData, ProviderSetupResumeResponses, ProviderSetupStartData, ProviderSetupStartResponses, ProvisionIdentityTeamData, ProvisionIdentityTeamResponses, RecallMemoryData, RecallMemoryResponses, RecallPersonalMemoryData, RecallPersonalMemoryResponses, RecallSynthesisSessionMemoryData, RecallSynthesisSessionMemoryResponses, ReconcileOpenbotAgentBundleData, ReconcileOpenbotAgentBundleResponses, RedirectTemporaryAccountClaimPageData, ReflectMemoryData, ReflectMemoryResponses, ReflectPersonalMemoryData, ReflectPersonalMemoryResponses, RefreshCustomToolProviderData, RefreshCustomToolProviderResponses, RefreshProxiedMcpServerData, RefreshProxiedMcpServerErrors, RefreshProxiedMcpServerResponses, RegisterOauthClientData, RegisterOauthClientErrors, RegisterOauthClientResponses, RegisterOpenbotDeploymentData, RegisterOpenbotDeploymentErrors, RegisterOpenbotDeploymentResponses, RegisterTeamOauthClientData, RegisterTeamOauthClientErrors, RegisterTeamOauthClientResponses, RemoveCommonProviderInstallationOwnershipGrantData, RemoveCommonProviderInstallationOwnershipGrantResponses, RemoveCommonProviderInstallationVisibilityGrantData, RemoveCommonProviderInstallationVisibilityGrantResponses, RemoveIdentityIdentifierData, RemoveIdentityIdentifierResponses, RemoveIdentityTeamData, RemoveIdentityTeamResponses, RemoveMcpResourceOwnershipGrantData, RemoveMcpResourceOwnershipGrantResponses, RemoveMcpResourceVisibilityGrantData, RemoveMcpResourceVisibilityGrantResponses, RemoveMcpServerInstanceFunctionData, RemoveMcpServerInstanceFunctionErrors, RemoveMcpServerInstanceFunctionResponses, RemoveMemoryBankOwnershipGrantData, RemoveMemoryBankOwnershipGrantResponses, RemoveMemoryBankVisibilityGrantData, RemoveMemoryBankVisibilityGrantResponses, RemoveOrganizationMemberData, RemoveOrganizationMemberErrors, RemoveOrganizationMemberResponses, RemovePersonalMemoryBankOwnershipGrantData, RemovePersonalMemoryBankOwnershipGrantResponses, RemovePersonalMemoryBankVisibilityGrantData, RemovePersonalMemoryBankVisibilityGrantResponses, RemovePersonalRegistryOwnershipGrantData, RemovePersonalRegistryOwnershipGrantResponses, RemovePersonalRegistryVisibilityGrantData, RemovePersonalRegistryVisibilityGrantResponses, RemovePersonalRscOwnershipGrantData, RemovePersonalRscOwnershipGrantResponses, RemovePersonalRscVisibilityGrantData, RemovePersonalRscVisibilityGrantResponses, RemovePersonalSkillOwnershipGrantData, RemovePersonalSkillOwnershipGrantResponses, RemovePersonalSkillVisibilityGrantData, RemovePersonalSkillVisibilityGrantResponses, RemovePersonalUcOwnershipGrantData, RemovePersonalUcOwnershipGrantResponses, RemovePersonalUcVisibilityGrantData, RemovePersonalUcVisibilityGrantResponses, RemovePersonalWikiOwnershipGrantData, RemovePersonalWikiOwnershipGrantResponses, RemovePersonalWikiVisibilityGrantData, RemovePersonalWikiVisibilityGrantResponses, RemoveRscOwnershipGrantData, RemoveRscOwnershipGrantResponses, RemoveRscVisibilityGrantData, RemoveRscVisibilityGrantResponses, RemoveSessionResourceGrantData, RemoveSessionResourceGrantErrors, RemoveSessionResourceGrantResponses, RemoveSessionUserMemberData, RemoveSessionUserMemberErrors, RemoveSessionUserMemberResponses, RemoveSignalProviderGrantData, RemoveSignalProviderGrantResponses, RemoveSkillOwnershipGrantData, RemoveSkillOwnershipGrantResponses, RemoveSkillRegistryOwnershipGrantData, RemoveSkillRegistryOwnershipGrantResponses, RemoveSkillRegistryVisibilityGrantData, RemoveSkillRegistryVisibilityGrantResponses, RemoveSkillVisibilityGrantData, RemoveSkillVisibilityGrantResponses, RemoveTeamGroupMemberData, RemoveTeamGroupMemberResponses, RemoveTeamMemberData, RemoveTeamMemberErrors, RemoveTeamMemberResponses, RemoveUcOwnershipGrantData, RemoveUcOwnershipGrantResponses, RemoveUcVisibilityGrantData, RemoveUcVisibilityGrantResponses, RemoveWikiOwnershipGrantData, RemoveWikiOwnershipGrantResponses, RemoveWikiVisibilityGrantData, RemoveWikiVisibilityGrantResponses, RenameProxyTokenData, RenameProxyTokenErrors, RenameProxyTokenResponses, ReplaceMemorySourceBindingsData, ReplaceMemorySourceBindingsResponses, ReplacePersonalMemorySourceBindingsData, ReplacePersonalMemorySourceBindingsResponses, ResetMemoryBankConfigData, ResetMemoryBankConfigResponses, ResetPersonalMemoryBankConfigData, ResetPersonalMemoryBankConfigResponses, ResolveIdentityData, ResolveIdentityErrors, ResolveIdentityResponses, ResumeCredentialSetupItemData, ResumeCredentialSetupItemResponses, ResumeProviderAppProvisioningData, ResumeProviderAppProvisioningResponses, ResumeUserCredentialBrokeringData, ResumeUserCredentialBrokeringResponses, RetainMemoryDocumentData, RetainMemoryDocumentResponses, RetainPersonalMemoryDocumentData, RetainPersonalMemoryDocumentResponses, RetainSynthesisSessionMemoryData, RetainSynthesisSessionMemoryResponses, RetryMemorySourceSyncData, RetryMemorySourceSyncResponses, RetryPersonalMemorySourceBindingsData, RetryPersonalMemorySourceBindingsResponses, RetryWikiData, RetryWikiResponses, ReverseProxyAddProfileOwnershipGrantData, ReverseProxyAddProfileOwnershipGrantResponses, ReverseProxyAddProfileVisibilityGrantData, ReverseProxyAddProfileVisibilityGrantResponses, ReverseProxyCreateProfileData, ReverseProxyCreateProfileErrors, ReverseProxyCreateProfileResponses, ReverseProxyDeleteProfileData, ReverseProxyDeleteProfileErrors, ReverseProxyDeleteProfileResponses, ReverseProxyGetProfileData, ReverseProxyGetProfileErrors, ReverseProxyGetProfileResponses, ReverseProxyListProfileOwnershipGrantsData, ReverseProxyListProfileOwnershipGrantsResponses, ReverseProxyListProfilesData, ReverseProxyListProfilesErrors, ReverseProxyListProfilesResponses, ReverseProxyListProfileVisibilityGrantsData, ReverseProxyListProfileVisibilityGrantsResponses, ReverseProxyListProvidersData, ReverseProxyListProvidersResponses, ReverseProxyProxyGetData, ReverseProxyProxyGetResponses, ReverseProxyProxyPostData, ReverseProxyProxyPostResponses, ReverseProxyRemoveProfileOwnershipGrantData, ReverseProxyRemoveProfileOwnershipGrantResponses, ReverseProxyRemoveProfileVisibilityGrantData, ReverseProxyRemoveProfileVisibilityGrantResponses, ReverseProxySetProfileOwnershipData, ReverseProxySetProfileOwnershipResponses, ReverseProxySetProfileVisibilityData, ReverseProxySetProfileVisibilityResponses, ReverseProxyUpdateProfileData, ReverseProxyUpdateProfileErrors, ReverseProxyUpdateProfileResponses, RevokeLocalRuntimeTunnelApiKeyData, RevokeLocalRuntimeTunnelApiKeyErrors, RevokeLocalRuntimeTunnelApiKeyResponses, RevokeProxyTokenData, RevokeProxyTokenErrors, RevokeProxyTokenResponses, RevokeTeamInvitationData, RevokeTeamInvitationResponses, RotateCustomToolProviderSigningKeyData, RotateCustomToolProviderSigningKeyResponses, RouteAuthCallbackData, RouteAuthCallbackErrors, RouteCreateApiKeyData, RouteCreateApiKeyErrors, RouteCreateApiKeyResponses, RouteDeleteApiKeyData, RouteDeleteApiKeyErrors, RouteDeleteApiKeyResponses, RouteGetJwksData, RouteGetJwksErrors, RouteGetJwksResponses, RouteListApiKeysData, RouteListApiKeysErrors, RouteListApiKeysResponses, RouteListDebugAuthProfilesData, RouteListDebugAuthProfilesErrors, RouteListDebugAuthProfilesResponses, RouteLogoutData, RouteRefreshTokenData, RouteRefreshTokenErrors, RouteRefreshTokenResponses, RouteResolveLoginProviderData, RouteResolveLoginProviderErrors, RouteResolveLoginProviderResponses, RouteSelectDebugAuthProfileData, RouteSelectDebugAuthProfileErrors, RouteSelectDebugAuthProfileResponses, RouteStartAuthorizationData, RouteStartAuthorizationErrors, SearchSkillRegistryData, SearchSkillRegistryErrors, SearchSkillRegistryResponses, SetCommonProviderInstallationOwnershipData, SetCommonProviderInstallationOwnershipResponses, SetCommonProviderInstallationVisibilityData, SetCommonProviderInstallationVisibilityResponses, SetMcpResourceOwnershipData, SetMcpResourceOwnershipResponses, SetMcpResourceVisibilityData, SetMcpResourceVisibilityResponses, SetMemoryBankOwnershipModeData, SetMemoryBankOwnershipModeResponses, SetMemoryBankVisibilityData, SetMemoryBankVisibilityResponses, SetPersonalMemoryBankOwnershipModeData, SetPersonalMemoryBankOwnershipModeResponses, SetPersonalMemoryBankVisibilityData, SetPersonalMemoryBankVisibilityResponses, SetPersonalRegistryOwnershipModeData, SetPersonalRegistryOwnershipModeResponses, SetPersonalRegistryVisibilityData, SetPersonalRegistryVisibilityResponses, SetPersonalRscOwnershipData, SetPersonalRscOwnershipResponses, SetPersonalRscVisibilityData, SetPersonalRscVisibilityResponses, SetPersonalSkillOwnershipModeData, SetPersonalSkillOwnershipModeResponses, SetPersonalSkillVisibilityData, SetPersonalSkillVisibilityResponses, SetPersonalUcOwnershipData, SetPersonalUcOwnershipResponses, SetPersonalUcVisibilityData, SetPersonalUcVisibilityResponses, SetPersonalWikiOwnershipModeData, SetPersonalWikiOwnershipModeResponses, SetPersonalWikiVisibilityData, SetPersonalWikiVisibilityResponses, SetRscOwnershipData, SetRscOwnershipResponses, SetRscVisibilityData, SetRscVisibilityResponses, SetSelfOpenbotAvatarData, SetSelfOpenbotAvatarErrors, SetSelfOpenbotAvatarResponses, SetSignalProviderOwnershipData, SetSignalProviderOwnershipResponses, SetSignalProviderVisibilityData, SetSignalProviderVisibilityResponses, SetSkillOwnershipModeData, SetSkillOwnershipModeResponses, SetSkillRegistryOwnershipModeData, SetSkillRegistryOwnershipModeResponses, SetSkillRegistryVisibilityData, SetSkillRegistryVisibilityResponses, SetSkillVisibilityData, SetSkillVisibilityResponses, SetUcOwnershipData, SetUcOwnershipResponses, SetUcVisibilityData, SetUcVisibilityResponses, SetWikiOwnershipModeData, SetWikiOwnershipModeResponses, SetWikiVisibilityData, SetWikiVisibilityResponses, SignalsAddPersonalProviderGrantData, SignalsAddPersonalProviderGrantResponses, SignalsCreatePersonalProviderInstanceData, SignalsCreatePersonalProviderInstanceResponses, SignalsCreateProviderInstanceData, SignalsCreateProviderInstanceResponses, SignalsDeletePersonalProviderInstanceData, SignalsDeletePersonalProviderInstanceResponses, SignalsDeleteProviderInstanceData, SignalsDeleteProviderInstanceResponses, SignalsGetDeliveryData, SignalsGetDeliveryResponses, SignalsGetPersonalDeliveryData, SignalsGetPersonalDeliveryResponses, SignalsGetPersonalProviderInstanceData, SignalsGetPersonalProviderInstanceResponses, SignalsGetProviderInstanceData, SignalsGetProviderInstanceResponses, SignalsListAvailableProvidersData, SignalsListAvailableProvidersResponses, SignalsListDeliveriesData, SignalsListDeliveriesResponses, SignalsListPersonalAvailableProvidersData, SignalsListPersonalAvailableProvidersResponses, SignalsListPersonalDeliveriesData, SignalsListPersonalDeliveriesResponses, SignalsListPersonalProviderGrantsData, SignalsListPersonalProviderGrantsResponses, SignalsListPersonalProviderInstancesData, SignalsListPersonalProviderInstancesResponses, SignalsListProviderInstancesData, SignalsListProviderInstancesResponses, SignalsRemovePersonalProviderGrantData, SignalsRemovePersonalProviderGrantResponses, SignalsRetryDeliveryData, SignalsRetryDeliveryResponses, SignalsRetryPersonalDeliveryData, SignalsRetryPersonalDeliveryResponses, SignalsSetPersonalProviderOwnershipData, SignalsSetPersonalProviderOwnershipResponses, SignalsSetPersonalProviderVisibilityData, SignalsSetPersonalProviderVisibilityResponses, SignalsTriggerFakeData, SignalsTriggerFakeResponses, SignalsUpdatePersonalProviderInstanceData, SignalsUpdatePersonalProviderInstanceResponses, SignalsUpdateProviderInstanceData, SignalsUpdateProviderInstanceResponses, StartCredentialSetupItemData, StartCredentialSetupItemResponses, StartOauthDeviceCodeData, StartOauthDeviceCodeErrors, StartOauthDeviceCodeResponses, StartProviderAppProvisioningData, StartProviderAppProvisioningResponses, StartProxiedMcpServerOauthData, StartProxiedMcpServerOauthErrors, StartProxiedMcpServerOauthResponses, StartUserCredentialBrokeringData, StartUserCredentialBrokeringResponses, StateExportData, StateExportErrors, StateExportResponses, StateGetImportData, StateGetImportResponses, StateImportData, StateImportEventsData, StateImportEventsResponses, StateImportResponses, StatePlanData, StatePlanResponses, StateResolveSourceData, StateResolveSourceErrors, StateResolveSourceResponses, StateSchemaData, StateSchemaJsonData, StateSchemaJsonResponses, StateSchemaResponses, StateValidateData, StateValidateResponses, TildePayPaymentMppData, TildePayPaymentMppResponses, TildePayPaymentX402Data, TildePayPaymentX402Responses, TildePayProvisionData, TildePayProvisionResponses, TildePayWalletCreateData, TildePayWalletCreateResponses, TildePayWalletSummaryData, TildePayWalletSummaryResponses, TildePayWalletWaitUntilBalanceData, TildePayWalletWaitUntilBalanceResponses, TraverseWikiGraphData, TraverseWikiGraphResponses, UnbindToolGroupFromMcpServerData, UnbindToolGroupFromMcpServerErrors, UnbindToolGroupFromMcpServerResponses, UpdateCustomToolProviderData, UpdateCustomToolProviderResponses, UpdateHostedOpenbotComputerImageData, UpdateHostedOpenbotComputerImageErrors, UpdateHostedOpenbotComputerImageResponses, UpdateIdentityData, UpdateIdentityErrors, UpdateIdentityResponses, UpdateManagedUserCredentialData, UpdateManagedUserCredentialResponses, UpdateMcpServerInstanceData, UpdateMcpServerInstanceErrors, UpdateMcpServerInstanceFunctionData, UpdateMcpServerInstanceFunctionErrors, UpdateMcpServerInstanceFunctionResponses, UpdateMcpServerInstanceResponses, UpdateMemoryBankConfigData, UpdateMemoryBankConfigResponses, UpdateMemoryBankData, UpdateMemoryBankResponses, UpdateOrganizationData, UpdateOrganizationErrors, UpdateOrganizationMemberRoleData, UpdateOrganizationMemberRoleErrors, UpdateOrganizationMemberRoleResponses, UpdateOrganizationResponses, UpdateOrgOidcProviderData, UpdateOrgOidcProviderErrors, UpdateOrgOidcProviderResponses, UpdatePersonalMcpServerInstanceData, UpdatePersonalMcpServerInstanceResponses, UpdatePersonalMemoryBankConfigData, UpdatePersonalMemoryBankConfigResponses, UpdatePersonalMemoryBankData, UpdatePersonalMemoryBankResponses, UpdatePersonalSkillData, UpdatePersonalSkillRegistryData, UpdatePersonalSkillRegistryResponses, UpdatePersonalSkillResponses, UpdatePersonalToolGroupInstanceData, UpdatePersonalToolGroupInstanceResponses, UpdatePersonalWikiData, UpdatePersonalWikiPageData, UpdatePersonalWikiPageResponses, UpdatePersonalWikiResponses, UpdateResourceServerCredentialData, UpdateResourceServerCredentialResponses, UpdateSelfProfileData, UpdateSelfProfileErrors, UpdateSelfProfileResponses, UpdateSessionOwnershipData, UpdateSessionOwnershipErrors, UpdateSessionOwnershipResponses, UpdateSessionVisibilityData, UpdateSessionVisibilityErrors, UpdateSessionVisibilityResponses, UpdateSkillData, UpdateSkillErrors, UpdateSkillRegistryData, UpdateSkillRegistryErrors, UpdateSkillRegistryResponses, UpdateSkillResponses, UpdateTeamData, UpdateTeamErrors, UpdateTeamGroupData, UpdateTeamGroupErrors, UpdateTeamGroupResponses, UpdateTeamMemberRoleData, UpdateTeamMemberRoleErrors, UpdateTeamMemberRoleResponses, UpdateTeamResponses, UpdateToolBoundParamsData, UpdateToolBoundParamsErrors, UpdateToolBoundParamsResponses, UpdateToolGroupInstanceData, UpdateToolGroupInstanceErrors, UpdateToolGroupInstanceResponses, UpdateTrustedRuntimeData, UpdateTrustedRuntimeErrors, UpdateTrustedRuntimeResponses, UpdateUserCredentialData, UpdateUserCredentialResponses, UpdateWikiAssetData, UpdateWikiAssetResponses, UpdateWikiData, UpdateWikiPageData, UpdateWikiPageErrors, UpdateWikiPageRelationshipData, UpdateWikiPageRelationshipResponses, UpdateWikiPageResponses, UpdateWikiPageTypeData, UpdateWikiPageTypeErrors, UpdateWikiPageTypeResponses, UpdateWikiRelationshipTypeData, UpdateWikiRelationshipTypeErrors, UpdateWikiRelationshipTypeResponses, UpdateWikiResponses, UploadAttachmentContentData, UploadAttachmentContentErrors, UploadAttachmentContentResponses, UploadHostedOpenbotReleaseFileData, UploadHostedOpenbotReleaseFileErrors, UploadHostedOpenbotReleaseFileResponses, UploadSelfAvatarData, UploadSelfAvatarErrors, UploadSelfAvatarResponses, UploadWikiAssetContentData, UploadWikiAssetContentErrors, UploadWikiAssetContentResponses, UpsertWikiPageRelationshipData, UpsertWikiPageRelationshipErrors, UpsertWikiPageRelationshipResponses, ValidateSynthesisSessionBatchData, ValidateSynthesisSessionBatchResponses, ValidateWikiPageTypeDataData, ValidateWikiPageTypeDataResponses, VerifyOrgOidcProviderDomainData, VerifyOrgOidcProviderDomainErrors, VerifyOrgOidcProviderDomainResponses, WalletCreateData, WalletCreateErrors, WalletCreateResponses, WalletCustomerCreateData, WalletCustomerCreateResponses, WalletCustomerGetData, WalletCustomerGetResponses, WalletCustomerKycGetData, WalletCustomerKycGetResponses, WalletCustomerListData, WalletCustomerListResponses, WalletGetBalancesData, WalletGetBalancesResponses, WalletGetCryptoDepositInformationData, WalletGetCryptoDepositInformationResponses, WalletGetData, WalletGetFiatDepositInformationData, WalletGetFiatDepositInformationResponses, WalletGetResponses, WalletListData, WalletListResponses, WalletMakeMppPaymentData, WalletMakeMppPaymentResponses, WalletMakeX402PaymentData, WalletMakeX402PaymentResponses, WalletTransactionHistoryListData, WalletTransactionHistoryListResponses, WalletTransactionHistoryRefreshData, WalletTransactionHistoryRefreshResponses, WalletVirtualAccountCreateData, WalletVirtualAccountCreateErrors, WalletVirtualAccountCreateResponses, WalletWaitUntilBalanceData, WalletWaitUntilBalanceResponses, WhoamiData, WhoamiErrors, WhoamiResponses } from './types.gen'; +import type { AcceptInvitationData, AcceptInvitationErrors, AcceptInvitationResponses, AddCommonProviderInstallationOwnershipGrantData, AddCommonProviderInstallationOwnershipGrantResponses, AddCommonProviderInstallationVisibilityGrantData, AddCommonProviderInstallationVisibilityGrantResponses, AddMcpResourceOwnershipGrantData, AddMcpResourceOwnershipGrantResponses, AddMcpResourceVisibilityGrantData, AddMcpResourceVisibilityGrantResponses, AddMcpServerInstanceFunctionData, AddMcpServerInstanceFunctionErrors, AddMcpServerInstanceFunctionResponses, AddMemoryBankOwnershipGrantData, AddMemoryBankOwnershipGrantResponses, AddMemoryBankVisibilityGrantData, AddMemoryBankVisibilityGrantResponses, AddOrganizationMemberData, AddOrganizationMemberErrors, AddOrganizationMemberResponses, AddPersonalMemoryBankOwnershipGrantData, AddPersonalMemoryBankOwnershipGrantResponses, AddPersonalMemoryBankVisibilityGrantData, AddPersonalMemoryBankVisibilityGrantResponses, AddPersonalRegistryOwnershipGrantData, AddPersonalRegistryOwnershipGrantResponses, AddPersonalRegistryVisibilityGrantData, AddPersonalRegistryVisibilityGrantResponses, AddPersonalRscOwnershipGrantData, AddPersonalRscOwnershipGrantResponses, AddPersonalRscVisibilityGrantData, AddPersonalRscVisibilityGrantResponses, AddPersonalSkillOwnershipGrantData, AddPersonalSkillOwnershipGrantResponses, AddPersonalSkillVisibilityGrantData, AddPersonalSkillVisibilityGrantResponses, AddPersonalUcOwnershipGrantData, AddPersonalUcOwnershipGrantResponses, AddPersonalUcVisibilityGrantData, AddPersonalUcVisibilityGrantResponses, AddPersonalWikiOwnershipGrantData, AddPersonalWikiOwnershipGrantResponses, AddPersonalWikiVisibilityGrantData, AddPersonalWikiVisibilityGrantResponses, AddProviderSkillsToSkillRegistryData, AddProviderSkillsToSkillRegistryErrors, AddProviderSkillsToSkillRegistryResponses, AddRscOwnershipGrantData, AddRscOwnershipGrantResponses, AddRscVisibilityGrantData, AddRscVisibilityGrantResponses, AddSessionResourceGrantData, AddSessionResourceGrantErrors, AddSessionResourceGrantResponses, AddSessionUserMemberData, AddSessionUserMemberErrors, AddSessionUserMemberResponses, AddSignalProviderGrantData, AddSignalProviderGrantResponses, AddSkillOwnershipGrantData, AddSkillOwnershipGrantResponses, AddSkillRegistryOwnershipGrantData, AddSkillRegistryOwnershipGrantResponses, AddSkillRegistryVisibilityGrantData, AddSkillRegistryVisibilityGrantResponses, AddSkillVisibilityGrantData, AddSkillVisibilityGrantResponses, AddTeamGroupMemberData, AddTeamGroupMemberErrors, AddTeamGroupMemberResponses, AddTeamMemberData, AddTeamMemberErrors, AddTeamMemberResponses, AddUcOwnershipGrantData, AddUcOwnershipGrantResponses, AddUcVisibilityGrantData, AddUcVisibilityGrantResponses, AddWikiOwnershipGrantData, AddWikiOwnershipGrantResponses, AddWikiVisibilityGrantData, AddWikiVisibilityGrantResponses, ApplyWikiOntologyTemplateData, ApplyWikiOntologyTemplateResponses, AssignPersonalMemoryBankSynthesizerData, AssignPersonalMemoryBankSynthesizerResponses, AuthorizeOauthDeviceCodeData, AuthorizeOauthDeviceCodeErrors, AuthorizeOauthDeviceCodeResponses, AutomationsAddGrantData, AutomationsAddGrantResponses, AutomationsDeleteData, AutomationsDeleteResponses, AutomationsGetData, AutomationsGetErrors, AutomationsGetResponses, AutomationsListData, AutomationsListExecutionsData, AutomationsListExecutionsResponses, AutomationsListGrantsData, AutomationsListGrantsResponses, AutomationsListResponses, AutomationsPutData, AutomationsPutErrors, AutomationsPutResponses, AutomationsRemoveGrantData, AutomationsRemoveGrantResponses, AutomationsRunData, AutomationsRunResponses, AutomationsSetOwnershipData, AutomationsSetOwnershipResponses, AutomationsSetVisibilityData, AutomationsSetVisibilityResponses, AutoProvisionToolGroupInstanceData, AutoProvisionToolGroupInstanceErrors, AutoProvisionToolGroupInstanceResponses, AutumnWebhookHandlerData, AutumnWebhookHandlerErrors, AutumnWebhookHandlerResponses, BillingAiCreditReceiptCommitData, BillingAiCreditReceiptCommitResponses, BillingAiCreditReservationReleaseData, BillingAiCreditReservationReleaseResponses, BillingAiCreditReserveData, BillingAiCreditReserveResponses, BillingAiCreditTopupCreateData, BillingAiCreditTopupCreateErrors, BillingAiCreditTopupCreateResponses, BillingAiGatewayEnsureData, BillingAiGatewayEnsureErrors, BillingAiGatewayEnsureResponses, BillingAutumnBridgePostData, BillingAutumnBridgePostErrors, BillingAutumnBridgePostResponses, BillingContextGetData, BillingContextGetErrors, BillingContextGetResponses, BillingProductEnrollCurrentHumanData, BillingProductEnrollCurrentHumanErrors, BillingProductEnrollCurrentHumanResponses, BillingRedirectData, BillingRedirectErrors, BillingWebhookStripeDeprecatedData, BillingWebhookStripeDeprecatedResponses, BindToolGroupToMcpServerData, BindToolGroupToMcpServerErrors, BindToolGroupToMcpServerResponses, BulkAddMcpServerInstanceFunctionsData, BulkAddMcpServerInstanceFunctionsErrors, BulkAddMcpServerInstanceFunctionsResponses, BulkRemoveMcpServerInstanceFunctionsData, BulkRemoveMcpServerInstanceFunctionsErrors, BulkRemoveMcpServerInstanceFunctionsResponses, CancelHumanApprovalActionData, CancelHumanApprovalActionErrors, CancelHumanApprovalActionResponses, ChangePersonalWikiOwnershipData, ChangePersonalWikiOwnershipResponses, ChangeWikiOwnershipData, ChangeWikiOwnershipResponses, ChatkitAddAgentResourceGrantData, ChatkitAddAgentResourceGrantErrors, ChatkitAddAgentResourceGrantResponses, ChatkitAddSessionParticipantData, ChatkitAddSessionParticipantErrors, ChatkitAddSessionParticipantResponses, ChatkitAppendAgentRunStepData, ChatkitAppendAgentRunStepResponses, ChatkitApproveSelfExtensionProposalData, ChatkitApproveSelfExtensionProposalResponses, ChatkitAutoProvisionSlackChannelInstallationData, ChatkitAutoProvisionSlackChannelInstallationErrors, ChatkitAutoProvisionSlackChannelInstallationResponses, ChatkitCacheConvertedMessagesData, ChatkitCacheConvertedMessagesErrors, ChatkitCacheConvertedMessagesResponses, ChatkitCancelSelfExtensionProposalData, ChatkitCancelSelfExtensionProposalResponses, ChatkitClaimAgentResourceBundleOutputsData, ChatkitClaimAgentResourceBundleOutputsResponses, ChatkitClaimAgentRunsData, ChatkitClaimAgentRunsResponses, ChatkitClaimSelfExtensionProposalOutputsData, ChatkitClaimSelfExtensionProposalOutputsResponses, ChatkitCollectAgentJobResultData, ChatkitCollectAgentJobResultResponses, ChatkitCompleteSlackProviderProvisionedSetupData, ChatkitCompleteSlackProviderProvisionedSetupErrors, ChatkitCompleteSlackProviderProvisionedSetupResponses, ChatkitCompleteSlackSelfManagedSetupData, ChatkitCompleteSlackSelfManagedSetupErrors, ChatkitCompleteSlackSelfManagedSetupResponses, ChatkitControlAgentRunData, ChatkitControlAgentRunResponses, ChatkitCreateAgentRunData, ChatkitCreateAgentRunResponses, ChatkitCreateCustomProviderData, ChatkitCreateCustomProviderErrors, ChatkitCreateCustomProviderResponses, ChatkitCreateGoalData, ChatkitCreateGoalResponses, ChatkitCreateRoomInvitationData, ChatkitCreateRoomInvitationErrors, ChatkitCreateRoomInvitationResponses, ChatkitCreateSessionData, ChatkitCreateSessionErrors, ChatkitCreateSessionResponses, ChatkitCreateSlackChannelInstallationData, ChatkitCreateSlackChannelInstallationErrors, ChatkitCreateSlackChannelInstallationResponses, ChatkitCreateTaskData, ChatkitCreateTaskResponses, ChatkitCustomProviderRuntimeData, ChatkitCustomProviderRuntimeErrors, ChatkitCustomProviderRuntimeResponses, ChatkitDecideCapabilityChangeData, ChatkitDecideCapabilityChangeResponses, ChatkitDecideRoomInvitationData, ChatkitDecideRoomInvitationErrors, ChatkitDecideRoomInvitationResponses, ChatkitDelegateAgentJobData, ChatkitDelegateAgentJobResponses, ChatkitDeleteAgentData, ChatkitDeleteAgentErrors, ChatkitDeleteAgentResponses, ChatkitDeleteAgentTurnQueueItemData, ChatkitDeleteAgentTurnQueueItemErrors, ChatkitDeleteAgentTurnQueueItemResponses, ChatkitDeleteChatProviderData, ChatkitDeleteChatProviderErrors, ChatkitDeleteChatProviderResponses, ChatkitDeleteCustomProviderData, ChatkitDeleteCustomProviderErrors, ChatkitDeleteCustomProviderResponses, ChatkitDisableCustomProviderData, ChatkitDisableCustomProviderErrors, ChatkitDisableCustomProviderResponses, ChatkitEnableCustomProviderData, ChatkitEnableCustomProviderErrors, ChatkitEnableCustomProviderResponses, ChatkitFinishAgentRunEffectData, ChatkitFinishAgentRunEffectResponses, ChatkitGetActiveAgentRunData, ChatkitGetActiveAgentRunResponses, ChatkitGetAgentAvatarData, ChatkitGetAgentAvatarErrors, ChatkitGetAgentAvatarResponses, ChatkitGetAgentData, ChatkitGetAgentErrors, ChatkitGetAgentJobData, ChatkitGetAgentJobResponses, ChatkitGetAgentObservabilityData, ChatkitGetAgentObservabilityErrors, ChatkitGetAgentObservabilityResponses, ChatkitGetAgentResourceBundleProvisioningData, ChatkitGetAgentResourceBundleProvisioningResponses, ChatkitGetAgentResponses, ChatkitGetAgentRunData, ChatkitGetAgentRunEffectData, ChatkitGetAgentRunEffectResponses, ChatkitGetAgentRunResponses, ChatkitGetCompactedHistoryData, ChatkitGetCompactedHistoryErrors, ChatkitGetCompactedHistoryResponses, ChatkitGetCustomConnectionData, ChatkitGetCustomConnectionErrors, ChatkitGetCustomConnectionResponses, ChatkitGetCustomProviderData, ChatkitGetCustomProviderErrors, ChatkitGetCustomProviderResponses, ChatkitGetGoalData, ChatkitGetGoalResponses, ChatkitGetLatestCompactionData, ChatkitGetLatestCompactionErrors, ChatkitGetLatestCompactionResponses, ChatkitGetSelfExtensionProposalData, ChatkitGetSelfExtensionProposalResponses, ChatkitGetTaskData, ChatkitGetTaskResponses, ChatkitHydrateConvertedMessagesData, ChatkitHydrateConvertedMessagesErrors, ChatkitHydrateConvertedMessagesResponses, ChatkitIngestCustomProviderMessageData, ChatkitIngestCustomProviderMessageErrors, ChatkitIngestCustomProviderMessageResponses, ChatkitInvokeSessionProviderToolData, ChatkitInvokeSessionProviderToolErrors, ChatkitInvokeSessionProviderToolResponses, ChatkitJoinSessionData, ChatkitJoinSessionErrors, ChatkitJoinSessionResponses, ChatkitListAgentJobsData, ChatkitListAgentJobsResponses, ChatkitListAgentResourceGrantsData, ChatkitListAgentResourceGrantsErrors, ChatkitListAgentResourceGrantsResponses, ChatkitListAgentsData, ChatkitListAgentsErrors, ChatkitListAgentsResponses, ChatkitListAgentTurnQueueData, ChatkitListAgentTurnQueueErrors, ChatkitListAgentTurnQueueResponses, ChatkitListAvailableChatChannelsData, ChatkitListAvailableChatChannelsErrors, ChatkitListAvailableChatChannelsResponses, ChatkitListAvailableChatProvidersData, ChatkitListAvailableChatProvidersErrors, ChatkitListAvailableChatProvidersResponses, ChatkitListChatProvidersData, ChatkitListChatProvidersErrors, ChatkitListChatProvidersResponses, ChatkitListCustomConnectionsData, ChatkitListCustomConnectionsErrors, ChatkitListCustomConnectionsResponses, ChatkitListCustomConnectionWorkData, ChatkitListCustomConnectionWorkErrors, ChatkitListCustomConnectionWorkResponses, ChatkitListCustomProviderData, ChatkitListCustomProviderErrors, ChatkitListCustomProviderResponses, ChatkitListGoalsData, ChatkitListGoalsResponses, ChatkitListMessageHistoryData, ChatkitListMessageHistoryErrors, ChatkitListMessageHistoryResponses, ChatkitListRoomInvitationsData, ChatkitListRoomInvitationsErrors, ChatkitListRoomInvitationsResponses, ChatkitListSelfExtensionProposalsData, ChatkitListSelfExtensionProposalsResponses, ChatkitListSessionParticipantsData, ChatkitListSessionParticipantsErrors, ChatkitListSessionParticipantsResponses, ChatkitListSessionProviderToolsData, ChatkitListSessionProviderToolsErrors, ChatkitListSessionProviderToolsResponses, ChatkitListSessionsData, ChatkitListSessionsErrors, ChatkitListSessionsResponses, ChatkitListTasksData, ChatkitListTasksResponses, ChatkitPrepareAgentRunEffectData, ChatkitPrepareAgentRunEffectResponses, ChatkitProposeSelfExtensionData, ChatkitProposeSelfExtensionResponses, ChatkitProvisionAgentResourceBundleData, ChatkitProvisionAgentResourceBundleResponses, ChatkitRecallAutomaticMemoryData, ChatkitRecallAutomaticMemoryErrors, ChatkitRecallAutomaticMemoryResponses, ChatkitRefreshCustomProviderData, ChatkitRefreshCustomProviderErrors, ChatkitRefreshCustomProviderResponses, ChatkitRegisterAgentToolsData, ChatkitRegisterAgentToolsErrors, ChatkitRegisterAgentToolsResponses, ChatkitRegisterChatProviderData, ChatkitRegisterChatProviderErrors, ChatkitRegisterChatProviderResponses, ChatkitRegisterHttpVercelAiSdkAgentData, ChatkitRegisterHttpVercelAiSdkAgentErrors, ChatkitRegisterHttpVercelAiSdkAgentResponses, ChatkitRegisterVercelUiChatProviderData, ChatkitRegisterVercelUiChatProviderErrors, ChatkitRegisterVercelUiChatProviderResponses, ChatkitRejectSelfExtensionProposalData, ChatkitRejectSelfExtensionProposalResponses, ChatkitRemoveAgentResourceGrantData, ChatkitRemoveAgentResourceGrantErrors, ChatkitRemoveAgentResourceGrantResponses, ChatkitRemoveSessionParticipantData, ChatkitRemoveSessionParticipantErrors, ChatkitRemoveSessionParticipantResponses, ChatkitReorderAgentTurnQueueItemData, ChatkitReorderAgentTurnQueueItemErrors, ChatkitReorderAgentTurnQueueItemResponses, ChatkitReportCompactionEventData, ChatkitReportCompactionEventErrors, ChatkitReportCompactionEventResponses, ChatkitReportToolExecutionData, ChatkitReportToolExecutionErrors, ChatkitReportToolExecutionResponses, ChatkitResumeAgentJobData, ChatkitResumeAgentJobResponses, ChatkitRetryCustomConnectionWorkData, ChatkitRetryCustomConnectionWorkErrors, ChatkitRetryCustomConnectionWorkResponses, ChatkitRevokeRoomInvitationData, ChatkitRevokeRoomInvitationErrors, ChatkitRevokeRoomInvitationResponses, ChatkitRollbackSelfExtensionProposalData, ChatkitRollbackSelfExtensionProposalResponses, ChatkitRotateCustomConnectionCredentialsData, ChatkitRotateCustomConnectionCredentialsErrors, ChatkitRotateCustomConnectionCredentialsResponses, ChatkitRotateCustomProviderData, ChatkitRotateCustomProviderErrors, ChatkitRotateCustomProviderResponses, ChatkitSearchData, ChatkitSearchErrors, ChatkitSearchResponses, ChatkitSendSessionMessageData, ChatkitSendSessionMessageErrors, ChatkitSendSessionMessageResponses, ChatkitSetAgentPermissionsData, ChatkitSetAgentPermissionsErrors, ChatkitSetAgentPermissionsResponses, ChatkitSetAgentStatusData, ChatkitSetAgentStatusErrors, ChatkitSetAgentStatusResponses, ChatkitSetChatProviderStatusData, ChatkitSetChatProviderStatusErrors, ChatkitSetChatProviderStatusResponses, ChatkitStartSlackOauthData, ChatkitStartSlackOauthErrors, ChatkitStartSlackOauthResponses, ChatkitSteerAgentJobData, ChatkitSteerAgentJobResponses, ChatkitSteerAgentTurnQueueItemData, ChatkitSteerAgentTurnQueueItemErrors, ChatkitSteerAgentTurnQueueItemResponses, ChatkitStopAgentJobData, ChatkitStopAgentJobResponses, ChatkitStreamSessionEventsData, ChatkitStreamSessionEventsErrors, ChatkitStreamSessionEventsResponses, ChatkitTransitionAgentRunData, ChatkitTransitionAgentRunResponses, ChatkitUpdateAgentAvatarData, ChatkitUpdateAgentAvatarErrors, ChatkitUpdateAgentAvatarResponses, ChatkitUpdateAgentData, ChatkitUpdateAgentErrors, ChatkitUpdateAgentObservabilityData, ChatkitUpdateAgentObservabilityErrors, ChatkitUpdateAgentObservabilityResponses, ChatkitUpdateAgentOwnershipData, ChatkitUpdateAgentOwnershipErrors, ChatkitUpdateAgentOwnershipResponses, ChatkitUpdateAgentResponses, ChatkitUpdateAgentToolVisibilityData, ChatkitUpdateAgentToolVisibilityErrors, ChatkitUpdateAgentToolVisibilityResponses, ChatkitUpdateAgentVisibilityData, ChatkitUpdateAgentVisibilityErrors, ChatkitUpdateAgentVisibilityResponses, ChatkitUpdateChatProviderData, ChatkitUpdateChatProviderErrors, ChatkitUpdateChatProviderResponses, ChatkitUpdateCustomProviderData, ChatkitUpdateCustomProviderErrors, ChatkitUpdateCustomProviderResponses, ChatkitUpdateGoalData, ChatkitUpdateGoalResponses, ChatkitUpdateTaskData, ChatkitUpdateTaskResponses, ChatkitWorkspaceAgentSessionsData, ChatkitWorkspaceAgentSessionsResponses, ChatkitWorkspaceBootstrapData, ChatkitWorkspaceBootstrapResponses, ChatkitWorkspaceConversationSnapshotData, ChatkitWorkspaceConversationSnapshotResponses, ChatkitWorkspaceCreateSessionData, ChatkitWorkspaceCreateSessionResponses, ChatkitWorkspaceInterruptSessionData, ChatkitWorkspaceInterruptSessionResponses, ChatkitWorkspaceMessagesData, ChatkitWorkspaceMessagesResponses, ChatkitWorkspaceRenameThreadData, ChatkitWorkspaceRenameThreadResponses, ChatkitWorkspaceSendMessageData, ChatkitWorkspaceSendMessageResponses, ChatkitWorkspaceSidebarData, ChatkitWorkspaceSidebarResponses, ChatkitWorkspaceSubmitTurnData, ChatkitWorkspaceSubmitTurnResponses, ChatkitWorkspaceUpdateSessionReadStateData, ChatkitWorkspaceUpdateSessionReadStateResponses, CheckMemoryBankHealthData, CheckMemoryBankHealthResponses, CheckPersonalMemoryBankHealthData, CheckPersonalMemoryBankHealthResponses, ClaimTemporaryAccountData, ClaimTemporaryAccountErrors, ClaimTemporaryAccountResponses, ClearPersonalMemoryBankSynthesizerData, ClearPersonalMemoryBankSynthesizerResponses, CompleteAttachmentUploadData, CompleteAttachmentUploadErrors, CompleteAttachmentUploadResponses, CompleteCredentialSetupItemData, CompleteCredentialSetupItemResponses, CompleteHumanApprovalActionData, CompleteHumanApprovalActionErrors, CompleteHumanApprovalActionResponses, CompleteIdentityVerificationData, CompleteIdentityVerificationErrors, CompleteIdentityVerificationResponses, CompleteWikiAssetUploadData, CompleteWikiAssetUploadResponses, ConfigureHostedOpenbotInstanceData, ConfigureHostedOpenbotInstanceErrors, ConfigureHostedOpenbotInstanceResponses, ConnectMcpProviderCatalogEntryData, ConnectMcpProviderCatalogEntryErrors, ConnectMcpProviderCatalogEntryResponses, ConnectProxiedMcpServerData, ConnectProxiedMcpServerErrors, ConnectProxiedMcpServerResponses, CreateAttachmentUploadData, CreateAttachmentUploadErrors, CreateAttachmentUploadResponses, CreateAttachmentUploadsData, CreateAttachmentUploadsErrors, CreateAttachmentUploadsResponses, CreateCustomToolProviderData, CreateCustomToolProviderResponses, CreateHostedOpenbotDeploymentData, CreateHostedOpenbotDeploymentErrors, CreateHostedOpenbotDeploymentResponses, CreateHostedOpenbotReleaseData, CreateHostedOpenbotReleaseErrors, CreateHostedOpenbotReleaseResponses, CreateHumanApprovalActionData, CreateHumanApprovalActionErrors, CreateHumanApprovalActionResponses, CreateManagedUserCredentialData, CreateManagedUserCredentialResponses, CreateMcpServerInstanceData, CreateMcpServerInstanceErrors, CreateMcpServerInstanceResponses, CreateMemoryBankData, CreateMemoryBankResponses, CreateMessageData, CreateMessageErrors, CreateMessageResponses, CreateOrganizationData, CreateOrganizationErrors, CreateOrganizationResponses, CreateOrgOidcProviderData, CreateOrgOidcProviderErrors, CreateOrgOidcProviderResponses, CreatePersonalMcpServerInstanceData, CreatePersonalMcpServerInstanceErrors, CreatePersonalMcpServerInstanceResponses, CreatePersonalMemoryBankData, CreatePersonalMemoryBankResponses, CreatePersonalSkillData, CreatePersonalSkillRegistryData, CreatePersonalSkillRegistryResponses, CreatePersonalSkillResponses, CreatePersonalToolGroupInstanceData, CreatePersonalToolGroupInstanceErrors, CreatePersonalToolGroupInstanceResponses, CreatePersonalUserCredentialData, CreatePersonalUserCredentialResponses, CreatePersonalWikiData, CreatePersonalWikiPageData, CreatePersonalWikiPageResponses, CreatePersonalWikiResponses, CreateResourceServerCredentialData, CreateResourceServerCredentialResponses, CreateSessionData, CreateSessionErrors, CreateSessionResponses, CreateSkillData, CreateSkillErrors, CreateSkillRegistryData, CreateSkillRegistryErrors, CreateSkillRegistryResponses, CreateSkillResponses, CreateTeamData, CreateTeamErrors, CreateTeamGroupData, CreateTeamGroupErrors, CreateTeamGroupResponses, CreateTeamResponses, CreateTemporaryAccountData, CreateTemporaryAccountErrors, CreateTemporaryAccountResponses, CreateToolGroupInstanceData, CreateToolGroupInstanceErrors, CreateToolGroupInstanceResponses, CreateTrustedRuntimeData, CreateTrustedRuntimeErrors, CreateTrustedRuntimeResponses, CreateTrustedSkillProviderData, CreateTrustedSkillProviderErrors, CreateTrustedSkillProviderResponses, CreateUserCredentialData, CreateUserCredentialResponses, CreateWikiAssetUploadData, CreateWikiAssetUploadResponses, CreateWikiData, CreateWikiPageData, CreateWikiPageResponses, CreateWikiPageTypeData, CreateWikiPageTypeResponses, CreateWikiPageTypeVersionData, CreateWikiPageTypeVersionErrors, CreateWikiPageTypeVersionResponses, CreateWikiRelationshipTypeData, CreateWikiRelationshipTypeResponses, CreateWikiRelationshipTypeVersionData, CreateWikiRelationshipTypeVersionErrors, CreateWikiRelationshipTypeVersionResponses, CreateWikiResponses, CredentialGenericOauthCallbackData, CredentialGenericOauthCallbackResponses, DeleteAttachmentData, DeleteAttachmentErrors, DeleteAttachmentResponses, DeleteCustomToolProviderData, DeleteCustomToolProviderResponses, DeleteManagedUserCredentialData, DeleteManagedUserCredentialResponses, DeleteMcpServerInstanceData, DeleteMcpServerInstanceErrors, DeleteMcpServerInstanceResponses, DeleteMemoryBankData, DeleteMemoryBankResponses, DeleteMemoryDocumentData, DeleteMemoryDocumentResponses, DeleteMessageData, DeleteMessageErrors, DeleteMessageResponses, DeleteOrganizationData, DeleteOrganizationErrors, DeleteOrganizationResponses, DeleteOrgOidcProviderData, DeleteOrgOidcProviderErrors, DeleteOrgOidcProviderResponses, DeletePersonalMcpServerInstanceData, DeletePersonalMcpServerInstanceResponses, DeletePersonalMemoryBankData, DeletePersonalMemoryBankResponses, DeletePersonalMemoryDocumentData, DeletePersonalMemoryDocumentResponses, DeletePersonalSkillData, DeletePersonalSkillRegistryData, DeletePersonalSkillRegistryResponses, DeletePersonalSkillResponses, DeletePersonalToolGroupInstanceData, DeletePersonalToolGroupInstanceResponses, DeletePersonalWikiData, DeletePersonalWikiPageData, DeletePersonalWikiPageResponses, DeletePersonalWikiResponses, DeleteProxiedMcpServerData, DeleteProxiedMcpServerErrors, DeleteProxiedMcpServerResponses, DeleteResourceServerCredentialData, DeleteResourceServerCredentialResponses, DeleteSelfAvatarData, DeleteSelfAvatarErrors, DeleteSelfAvatarResponses, DeleteSkillData, DeleteSkillErrors, DeleteSkillRegistryData, DeleteSkillRegistryErrors, DeleteSkillRegistryResponses, DeleteSkillResponses, DeleteSynthesisSessionMemoryData, DeleteSynthesisSessionMemoryResponses, DeleteTeamData, DeleteTeamErrors, DeleteTeamGroupData, DeleteTeamGroupErrors, DeleteTeamGroupResponses, DeleteTeamResponses, DeleteToolGroupInstanceData, DeleteToolGroupInstanceErrors, DeleteToolGroupInstanceResponses, DeleteTrustedRuntimeData, DeleteTrustedRuntimeErrors, DeleteTrustedRuntimeResponses, DeleteUserCredentialData, DeleteUserCredentialResponses, DeleteVerifiedIdentityLinkData, DeleteVerifiedIdentityLinkErrors, DeleteVerifiedIdentityLinkResponses, DeleteWikiAssetData, DeleteWikiAssetErrors, DeleteWikiAssetResponses, DeleteWikiData, DeleteWikiPageData, DeleteWikiPageErrors, DeleteWikiPageRelationshipData, DeleteWikiPageRelationshipResponses, DeleteWikiPageResponses, DeleteWikiPageTypeData, DeleteWikiPageTypeErrors, DeleteWikiPageTypeResponses, DeleteWikiPageTypeVersionData, DeleteWikiPageTypeVersionErrors, DeleteWikiPageTypeVersionResponses, DeleteWikiRelationshipTypeData, DeleteWikiRelationshipTypeErrors, DeleteWikiRelationshipTypeResponses, DeleteWikiResponses, DisableCustomToolProviderData, DisableCustomToolProviderResponses, DisableProxiedMcpServerData, DisableProxiedMcpServerErrors, DisableProxiedMcpServerResponses, DisableToolData, DisableToolErrors, DisableToolResponses, DownloadAttachmentContentData, DownloadAttachmentContentErrors, DownloadAttachmentContentResponses, DownloadSkillPackageFileData, DownloadSkillPackageFileErrors, DownloadSkillPackageFileResponses, DownloadWikiAssetContentData, DownloadWikiAssetContentErrors, DownloadWikiAssetContentResponses, DownloadWikiAssetData, DownloadWikiAssetResponses, EnableAndBindProviderToolsData, EnableAndBindProviderToolsErrors, EnableAndBindProviderToolsResponses, EnableCustomToolProviderData, EnableCustomToolProviderResponses, EnableProxiedMcpServerData, EnableProxiedMcpServerErrors, EnableProxiedMcpServerResponses, EnableToolData, EnableToolErrors, EnableToolResponses, EncryptPersonalUserCredentialConfigurationData, EncryptPersonalUserCredentialConfigurationResponses, EncryptResourceServerConfigurationData, EncryptResourceServerConfigurationResponses, EncryptUserCredentialConfigurationData, EncryptUserCredentialConfigurationResponses, ExchangeOauthCodeData, ExchangeOauthCodeErrors, ExchangeOauthCodeResponses, ExpireTemporaryAccountsData, ExpireTemporaryAccountsErrors, ExpireTemporaryAccountsResponses, ExportMemoryBankTemplateData, ExportMemoryBankTemplateResponses, ExportPersonalMemoryBankTemplateData, ExportPersonalMemoryBankTemplateResponses, FinalizeHostedOpenbotReleaseData, FinalizeHostedOpenbotReleaseErrors, FinalizeHostedOpenbotReleaseResponses, GenerateLocalRuntimeTunnelApiKeyData, GenerateLocalRuntimeTunnelApiKeyErrors, GenerateLocalRuntimeTunnelApiKeyResponses, GenerateTemporaryAccountClaimUrlData, GenerateTemporaryAccountClaimUrlErrors, GenerateTemporaryAccountClaimUrlResponses, GetAttachmentDownloadUrlData, GetAttachmentDownloadUrlErrors, GetAttachmentDownloadUrlResponses, GetCommonProviderInstallationData, GetCommonProviderInstallationResponses, GetCredentialSetupItemData, GetCredentialSetupItemResponses, GetCustomToolProviderData, GetCustomToolProviderResponses, GetHostedOpenbotBootstrapBundleData, GetHostedOpenbotBootstrapBundleErrors, GetHostedOpenbotBootstrapBundleResponses, GetHostedOpenbotInstanceData, GetHostedOpenbotInstanceErrors, GetHostedOpenbotInstanceResponses, GetHostedOpenbotReleaseData, GetHostedOpenbotReleaseErrors, GetHostedOpenbotReleaseResponses, GetHumanApprovalActionData, GetHumanApprovalActionErrors, GetHumanApprovalActionResponses, GetIdentityVerificationData, GetIdentityVerificationErrors, GetIdentityVerificationResponses, GetLocalRuntimeTunnelApiKeyData, GetLocalRuntimeTunnelApiKeyErrors, GetLocalRuntimeTunnelApiKeyResponses, GetLocalRuntimeTunnelConnectorData, GetLocalRuntimeTunnelConnectorErrors, GetLocalRuntimeTunnelConnectorResponses, GetManagedUserCredentialSecretData, GetManagedUserCredentialSecretResponses, GetMcpServerInstanceData, GetMcpServerInstanceErrors, GetMcpServerInstanceResponses, GetMemoryBankConfigData, GetMemoryBankConfigResponses, GetMemoryBankData, GetMemoryBankDocumentData, GetMemoryBankDocumentResponses, GetMemoryBankResponses, GetMessageData, GetMessageDeliveriesData, GetMessageDeliveriesErrors, GetMessageDeliveriesResponses, GetMessageErrors, GetMessageResponses, GetOpenbotPluginsCatalogData, GetOpenbotPluginsCatalogResponses, GetOrganizationData, GetOrganizationErrors, GetOrganizationResponses, GetOrgOidcProviderData, GetOrgOidcProviderErrors, GetOrgOidcProviderResponses, GetPersonalMcpServerInstanceData, GetPersonalMcpServerInstanceResponses, GetPersonalMemoryBankConfigData, GetPersonalMemoryBankConfigResponses, GetPersonalMemoryBankData, GetPersonalMemoryBankDocumentData, GetPersonalMemoryBankDocumentResponses, GetPersonalMemoryBankResponses, GetPersonalSkillData, GetPersonalSkillRegistryData, GetPersonalSkillRegistryResponses, GetPersonalSkillResponses, GetPersonalToolGroupInstanceData, GetPersonalToolGroupInstanceResponses, GetPersonalWikiData, GetPersonalWikiPageData, GetPersonalWikiPageResponses, GetPersonalWikiResponses, GetProviderProvisioningHumanActionData, GetProviderProvisioningHumanActionResponses, GetProxiedMcpServerData, GetProxiedMcpServerErrors, GetProxiedMcpServerResponses, GetProxiedSkillProviderData, GetProxiedSkillProviderErrors, GetProxiedSkillProviderResponses, GetResourceServerCredentialData, GetResourceServerCredentialResponses, GetRuntimeConfigData, GetRuntimeConfigResponses, GetSelfAvatarData, GetSelfAvatarErrors, GetSelfAvatarResponses, GetSelfProfileData, GetSelfProfileErrors, GetSelfProfileResponses, GetSessionEventHistoryData, GetSessionEventHistoryErrors, GetSessionEventHistoryResponses, GetSkillData, GetSkillErrors, GetSkillPackageData, GetSkillPackageErrors, GetSkillPackageResponses, GetSkillRegistryData, GetSkillRegistryErrors, GetSkillRegistryResponses, GetSkillRegistrySkillByTitleData, GetSkillRegistrySkillByTitleErrors, GetSkillRegistrySkillByTitleResponses, GetSkillRegistrySkillData, GetSkillRegistrySkillDescriptionData, GetSkillRegistrySkillDescriptionErrors, GetSkillRegistrySkillDescriptionResponses, GetSkillRegistrySkillErrors, GetSkillRegistrySkillResponses, GetSkillResponses, GetTeamData, GetTeamErrors, GetTeamGroupData, GetTeamGroupErrors, GetTeamGroupResponses, GetTeamResponses, GetToolGroupInstanceData, GetToolGroupInstanceErrors, GetToolGroupInstanceResponses, GetToolsOpenapiSpecData, GetToolsOpenapiSpecErrors, GetToolsOpenapiSpecResponses, GetTrustedRuntimeData, GetTrustedRuntimeErrors, GetTrustedRuntimeResponses, GetUserCredentialData, GetUserCredentialResponses, GetWikiData, GetWikiPageBacklinksData, GetWikiPageBacklinksResponses, GetWikiPageData, GetWikiPageNeighborhoodData, GetWikiPageNeighborhoodResponses, GetWikiPageRelationshipData, GetWikiPageRelationshipResponses, GetWikiPageResponses, GetWikiPageTypeData, GetWikiPageTypeResponses, GetWikiPageTypeVersionData, GetWikiPageTypeVersionResponses, GetWikiRelationshipTypeData, GetWikiRelationshipTypeResponses, GetWikiRelationshipTypeVersionData, GetWikiRelationshipTypeVersionResponses, GetWikiResponses, GrepPersonalWikiPagesData, GrepPersonalWikiPagesResponses, GrepWikiPagesData, GrepWikiPagesResponses, HealthCheckData, HealthCheckErrors, HealthCheckResponses, ImportMemoryBankTemplateData, ImportMemoryBankTemplateResponses, ImportPersonalMemoryBankTemplateData, ImportPersonalMemoryBankTemplateResponses, InitiateIdentityVerificationData, InitiateIdentityVerificationErrors, InitiateIdentityVerificationResponses, InspectWikiAssetReferencesData, InspectWikiAssetReferencesResponses, InviteTeamUsersData, InviteTeamUsersErrors, InviteTeamUsersResponses, InvokeCustomToolData, InvokeCustomToolResponses, InvokeToolData, InvokeToolErrors, InvokeToolResponses, IssueHostedOpenbotGitTokenData, IssueHostedOpenbotGitTokenErrors, IssueHostedOpenbotGitTokenResponses, IssueOpenbotChatkitRealtimeTicketData, IssueOpenbotChatkitRealtimeTicketErrors, IssueOpenbotChatkitRealtimeTicketResponses, LinkTeamIdentityData, LinkTeamIdentityErrors, LinkTeamIdentityResponses, ListAvailableToolGroupsData, ListAvailableToolGroupsErrors, ListAvailableToolGroupsResponses, ListCommonProviderInstallationOwnershipGrantsData, ListCommonProviderInstallationOwnershipGrantsResponses, ListCommonProviderInstallationsData, ListCommonProviderInstallationsResponses, ListCommonProviderInstallationVisibilityGrantsData, ListCommonProviderInstallationVisibilityGrantsResponses, ListCredentialSetupItemsData, ListCredentialSetupItemsResponses, ListCustomToolProvidersData, ListCustomToolProvidersResponses, ListInboxAgentsData, ListInboxAgentsErrors, ListInboxAgentsResponses, ListInboxesData, ListInboxesErrors, ListInboxesResponses, ListManagedUserCredentialsData, ListManagedUserCredentialsResponses, ListMcpProviderCatalogData, ListMcpProviderCatalogErrors, ListMcpProviderCatalogResponses, ListMcpResourceOwnershipGrantsData, ListMcpResourceOwnershipGrantsResponses, ListMcpResourceVisibilityGrantsData, ListMcpResourceVisibilityGrantsResponses, ListMcpServerInstancesData, ListMcpServerInstancesErrors, ListMcpServerInstancesResponses, ListMemoryBankDocumentsData, ListMemoryBankDocumentsResponses, ListMemoryBankOwnershipGrantsData, ListMemoryBankOwnershipGrantsResponses, ListMemoryBanksData, ListMemoryBankSourceBindingsData, ListMemoryBankSourceBindingsResponses, ListMemoryBanksResponses, ListMemoryBankVisibilityGrantsData, ListMemoryBankVisibilityGrantsResponses, ListMemorySourceBindingsData, ListMemorySourceBindingsResponses, ListMessagesData, ListMessagesErrors, ListMessagesResponses, ListOpenbotDeploymentsData, ListOpenbotDeploymentsErrors, ListOpenbotDeploymentsResponses, ListOrganizationMembersData, ListOrganizationMembersErrors, ListOrganizationMembersResponses, ListOrganizationsData, ListOrganizationsErrors, ListOrganizationsResponses, ListOrganizationTeamGroupsData, ListOrganizationTeamGroupsResponses, ListOrgOidcProvidersData, ListOrgOidcProvidersErrors, ListOrgOidcProvidersResponses, ListPersonalMcpServerInstancesData, ListPersonalMcpServerInstancesErrors, ListPersonalMcpServerInstancesResponses, ListPersonalMemoryBankDocumentsData, ListPersonalMemoryBankDocumentsResponses, ListPersonalMemoryBankOwnershipGrantsData, ListPersonalMemoryBankOwnershipGrantsResponses, ListPersonalMemoryBanksData, ListPersonalMemoryBankSourceBindingsData, ListPersonalMemoryBankSourceBindingsResponses, ListPersonalMemoryBanksResponses, ListPersonalMemoryBankVisibilityGrantsData, ListPersonalMemoryBankVisibilityGrantsResponses, ListPersonalMemorySourceBindingsData, ListPersonalMemorySourceBindingsResponses, ListPersonalRegistryOwnershipGrantsData, ListPersonalRegistryOwnershipGrantsResponses, ListPersonalRegistryVisibilityGrantsData, ListPersonalRegistryVisibilityGrantsResponses, ListPersonalRscOwnershipGrantsData, ListPersonalRscOwnershipGrantsResponses, ListPersonalRscVisibilityGrantsData, ListPersonalRscVisibilityGrantsResponses, ListPersonalSkillOwnershipGrantsData, ListPersonalSkillOwnershipGrantsResponses, ListPersonalSkillRegistriesData, ListPersonalSkillRegistriesResponses, ListPersonalSkillsData, ListPersonalSkillsResponses, ListPersonalSkillVisibilityGrantsData, ListPersonalSkillVisibilityGrantsResponses, ListPersonalToolGroupInstancesData, ListPersonalToolGroupInstancesErrors, ListPersonalToolGroupInstancesResponses, ListPersonalUcOwnershipGrantsData, ListPersonalUcOwnershipGrantsResponses, ListPersonalUcVisibilityGrantsData, ListPersonalUcVisibilityGrantsResponses, ListPersonalWikiOwnershipGrantsData, ListPersonalWikiOwnershipGrantsResponses, ListPersonalWikiPagesData, ListPersonalWikiPagesResponses, ListPersonalWikisData, ListPersonalWikisResponses, ListPersonalWikiVisibilityGrantsData, ListPersonalWikiVisibilityGrantsResponses, ListProviderProvisionerCatalogData, ListProviderProvisionerCatalogResponses, ListProxiedMcpServersData, ListProxiedMcpServersErrors, ListProxiedMcpServersResponses, ListProxiedSkillProvidersData, ListProxiedSkillProvidersResponses, ListPublicAvailableToolGroupsData, ListPublicAvailableToolGroupsErrors, ListPublicAvailableToolGroupsResponses, ListResourceServerCredentialsData, ListResourceServerCredentialsResponses, ListRscOwnershipGrantsData, ListRscOwnershipGrantsResponses, ListRscVisibilityGrantsData, ListRscVisibilityGrantsResponses, ListSessionInboxInstancesData, ListSessionInboxInstancesErrors, ListSessionInboxInstancesResponses, ListSessionResourceGrantsData, ListSessionResourceGrantsErrors, ListSessionResourceGrantsResponses, ListSessionsData, ListSessionsErrors, ListSessionsResponses, ListSessionUserMembersData, ListSessionUserMembersErrors, ListSessionUserMembersResponses, ListSignalProviderGrantsData, ListSignalProviderGrantsResponses, ListSkillOwnershipGrantsData, ListSkillOwnershipGrantsResponses, ListSkillRegistriesData, ListSkillRegistriesErrors, ListSkillRegistriesResponses, ListSkillRegistryOwnershipGrantsData, ListSkillRegistryOwnershipGrantsResponses, ListSkillRegistrySkillSummariesData, ListSkillRegistrySkillSummariesErrors, ListSkillRegistrySkillSummariesResponses, ListSkillRegistryVisibilityGrantsData, ListSkillRegistryVisibilityGrantsResponses, ListSkillsData, ListSkillsErrors, ListSkillsResponses, ListSkillVisibilityGrantsData, ListSkillVisibilityGrantsResponses, ListTeamGroupMembersData, ListTeamGroupMembersResponses, ListTeamGroupsData, ListTeamGroupsResponses, ListTeamInvitationsData, ListTeamInvitationsResponses, ListTeamMembersData, ListTeamMembersErrors, ListTeamMembersResponses, ListTeamsData, ListTeamsErrors, ListTeamsResponses, ListToolDeploymentsByAliasData, ListToolDeploymentsByAliasErrors, ListToolDeploymentsByAliasResponses, ListToolGroupInstancesData, ListToolGroupInstancesErrors, ListToolGroupInstancesGroupedByToolData, ListToolGroupInstancesGroupedByToolErrors, ListToolGroupInstancesGroupedByToolResponses, ListToolGroupInstancesResponses, ListToolsData, ListToolsErrors, ListToolsResponses, ListTrustedRuntimesData, ListTrustedRuntimesErrors, ListTrustedRuntimesResponses, ListUcOwnershipGrantsData, ListUcOwnershipGrantsResponses, ListUcVisibilityGrantsData, ListUcVisibilityGrantsResponses, ListUserCredentialsData, ListUserCredentialsResponses, ListVerifiedIdentityLinksData, ListVerifiedIdentityLinksErrors, ListVerifiedIdentityLinksResponses, ListVisibleMemoryBanksData, ListVisibleMemoryBanksResponses, ListWikiAssetsData, ListWikiAssetsResponses, ListWikiOntologyInstallationsData, ListWikiOntologyInstallationsResponses, ListWikiOntologyTemplatesData, ListWikiOntologyTemplatesResponses, ListWikiOwnershipGrantsData, ListWikiOwnershipGrantsResponses, ListWikiPageAssetsData, ListWikiPageAssetsResponses, ListWikiPageRelationshipsData, ListWikiPageRelationshipsResponses, ListWikiPageRevisionsData, ListWikiPageRevisionsResponses, ListWikiPagesData, ListWikiPagesResponses, ListWikiPageTypesData, ListWikiPageTypesResponses, ListWikiPageTypeVersionsData, ListWikiPageTypeVersionsResponses, ListWikiRelationshipTypesData, ListWikiRelationshipTypesResponses, ListWikiRelationshipTypeVersionsData, ListWikiRelationshipTypeVersionsResponses, ListWikisData, ListWikisResponses, ListWikiVisibilityGrantsData, ListWikiVisibilityGrantsResponses, McpProtocolDeleteData, McpProtocolDeleteErrors, McpProtocolDeleteResponses, McpProtocolGetData, McpProtocolGetErrors, McpProtocolGetResponses, McpProtocolPostData, McpProtocolPostErrors, McpProtocolPostResponses, McpServerPlaygroundChatData, McpServerPlaygroundChatErrors, McpServerPlaygroundChatResponses, MigrateWikiPageTypeData, MigrateWikiPageTypeErrors, MigrateWikiPageTypeResponses, MoveWikiPageData, MoveWikiPageErrors, MoveWikiPageResponses, ObserveSessionData, ObserveSessionErrors, ObserveSessionResponses, PersonalMcpProtocolDeleteData, PersonalMcpProtocolDeleteResponses, PersonalMcpProtocolGetData, PersonalMcpProtocolGetResponses, PersonalMcpProtocolPostData, PersonalMcpProtocolPostResponses, PreviewWikiPageTypeMigrationData, PreviewWikiPageTypeMigrationErrors, PreviewWikiPageTypeMigrationResponses, ProviderProvisioningCallbackData, ProviderProvisioningCallbackResponses, ProviderSetupCatalogData, ProviderSetupCatalogResponses, ProviderSetupResumeData, ProviderSetupResumeResponses, ProviderSetupStartData, ProviderSetupStartResponses, RecallMemoryData, RecallMemoryResponses, RecallPersonalMemoryData, RecallPersonalMemoryResponses, RecallSynthesisSessionMemoryData, RecallSynthesisSessionMemoryResponses, ReconcileOpenbotAgentBundleData, ReconcileOpenbotAgentBundleResponses, RedirectTemporaryAccountClaimPageData, ReflectMemoryData, ReflectMemoryResponses, ReflectPersonalMemoryData, ReflectPersonalMemoryResponses, RefreshCustomToolProviderData, RefreshCustomToolProviderResponses, RefreshProxiedMcpServerData, RefreshProxiedMcpServerErrors, RefreshProxiedMcpServerResponses, RegisterOauthClientData, RegisterOauthClientErrors, RegisterOauthClientResponses, RegisterOpenbotDeploymentData, RegisterOpenbotDeploymentErrors, RegisterOpenbotDeploymentResponses, RegisterTeamOauthClientData, RegisterTeamOauthClientErrors, RegisterTeamOauthClientResponses, RemoveCommonProviderInstallationOwnershipGrantData, RemoveCommonProviderInstallationOwnershipGrantResponses, RemoveCommonProviderInstallationVisibilityGrantData, RemoveCommonProviderInstallationVisibilityGrantResponses, RemoveMcpResourceOwnershipGrantData, RemoveMcpResourceOwnershipGrantResponses, RemoveMcpResourceVisibilityGrantData, RemoveMcpResourceVisibilityGrantResponses, RemoveMcpServerInstanceFunctionData, RemoveMcpServerInstanceFunctionErrors, RemoveMcpServerInstanceFunctionResponses, RemoveMemoryBankOwnershipGrantData, RemoveMemoryBankOwnershipGrantResponses, RemoveMemoryBankVisibilityGrantData, RemoveMemoryBankVisibilityGrantResponses, RemoveOrganizationMemberData, RemoveOrganizationMemberErrors, RemoveOrganizationMemberResponses, RemovePersonalMemoryBankOwnershipGrantData, RemovePersonalMemoryBankOwnershipGrantResponses, RemovePersonalMemoryBankVisibilityGrantData, RemovePersonalMemoryBankVisibilityGrantResponses, RemovePersonalRegistryOwnershipGrantData, RemovePersonalRegistryOwnershipGrantResponses, RemovePersonalRegistryVisibilityGrantData, RemovePersonalRegistryVisibilityGrantResponses, RemovePersonalRscOwnershipGrantData, RemovePersonalRscOwnershipGrantResponses, RemovePersonalRscVisibilityGrantData, RemovePersonalRscVisibilityGrantResponses, RemovePersonalSkillOwnershipGrantData, RemovePersonalSkillOwnershipGrantResponses, RemovePersonalSkillVisibilityGrantData, RemovePersonalSkillVisibilityGrantResponses, RemovePersonalUcOwnershipGrantData, RemovePersonalUcOwnershipGrantResponses, RemovePersonalUcVisibilityGrantData, RemovePersonalUcVisibilityGrantResponses, RemovePersonalWikiOwnershipGrantData, RemovePersonalWikiOwnershipGrantResponses, RemovePersonalWikiVisibilityGrantData, RemovePersonalWikiVisibilityGrantResponses, RemoveRscOwnershipGrantData, RemoveRscOwnershipGrantResponses, RemoveRscVisibilityGrantData, RemoveRscVisibilityGrantResponses, RemoveSessionResourceGrantData, RemoveSessionResourceGrantErrors, RemoveSessionResourceGrantResponses, RemoveSessionUserMemberData, RemoveSessionUserMemberErrors, RemoveSessionUserMemberResponses, RemoveSignalProviderGrantData, RemoveSignalProviderGrantResponses, RemoveSkillOwnershipGrantData, RemoveSkillOwnershipGrantResponses, RemoveSkillRegistryOwnershipGrantData, RemoveSkillRegistryOwnershipGrantResponses, RemoveSkillRegistryVisibilityGrantData, RemoveSkillRegistryVisibilityGrantResponses, RemoveSkillVisibilityGrantData, RemoveSkillVisibilityGrantResponses, RemoveTeamGroupMemberData, RemoveTeamGroupMemberResponses, RemoveTeamMemberData, RemoveTeamMemberErrors, RemoveTeamMemberResponses, RemoveUcOwnershipGrantData, RemoveUcOwnershipGrantResponses, RemoveUcVisibilityGrantData, RemoveUcVisibilityGrantResponses, RemoveWikiOwnershipGrantData, RemoveWikiOwnershipGrantResponses, RemoveWikiVisibilityGrantData, RemoveWikiVisibilityGrantResponses, ReplaceMemorySourceBindingsData, ReplaceMemorySourceBindingsResponses, ReplacePersonalMemorySourceBindingsData, ReplacePersonalMemorySourceBindingsResponses, ResetMemoryBankConfigData, ResetMemoryBankConfigResponses, ResetPersonalMemoryBankConfigData, ResetPersonalMemoryBankConfigResponses, ResumeCredentialSetupItemData, ResumeCredentialSetupItemResponses, ResumeProviderAppProvisioningData, ResumeProviderAppProvisioningResponses, ResumeUserCredentialBrokeringData, ResumeUserCredentialBrokeringResponses, RetainMemoryDocumentData, RetainMemoryDocumentResponses, RetainPersonalMemoryDocumentData, RetainPersonalMemoryDocumentResponses, RetainSynthesisSessionMemoryData, RetainSynthesisSessionMemoryResponses, RetryMemorySourceSyncData, RetryMemorySourceSyncResponses, RetryPersonalMemorySourceBindingsData, RetryPersonalMemorySourceBindingsResponses, RetryWikiData, RetryWikiResponses, ReverseProxyAddProfileOwnershipGrantData, ReverseProxyAddProfileOwnershipGrantResponses, ReverseProxyAddProfileVisibilityGrantData, ReverseProxyAddProfileVisibilityGrantResponses, ReverseProxyCreateProfileData, ReverseProxyCreateProfileErrors, ReverseProxyCreateProfileResponses, ReverseProxyDeleteProfileData, ReverseProxyDeleteProfileErrors, ReverseProxyDeleteProfileResponses, ReverseProxyGetProfileData, ReverseProxyGetProfileErrors, ReverseProxyGetProfileResponses, ReverseProxyListProfileOwnershipGrantsData, ReverseProxyListProfileOwnershipGrantsResponses, ReverseProxyListProfilesData, ReverseProxyListProfilesErrors, ReverseProxyListProfilesResponses, ReverseProxyListProfileVisibilityGrantsData, ReverseProxyListProfileVisibilityGrantsResponses, ReverseProxyListProvidersData, ReverseProxyListProvidersResponses, ReverseProxyProxyGetData, ReverseProxyProxyGetResponses, ReverseProxyProxyPostData, ReverseProxyProxyPostResponses, ReverseProxyRemoveProfileOwnershipGrantData, ReverseProxyRemoveProfileOwnershipGrantResponses, ReverseProxyRemoveProfileVisibilityGrantData, ReverseProxyRemoveProfileVisibilityGrantResponses, ReverseProxySetProfileOwnershipData, ReverseProxySetProfileOwnershipResponses, ReverseProxySetProfileVisibilityData, ReverseProxySetProfileVisibilityResponses, ReverseProxyUpdateProfileData, ReverseProxyUpdateProfileErrors, ReverseProxyUpdateProfileResponses, RevokeLocalRuntimeTunnelApiKeyData, RevokeLocalRuntimeTunnelApiKeyErrors, RevokeLocalRuntimeTunnelApiKeyResponses, RevokeTeamInvitationData, RevokeTeamInvitationResponses, RotateCustomToolProviderSigningKeyData, RotateCustomToolProviderSigningKeyResponses, RouteAuthCallbackData, RouteAuthCallbackErrors, RouteCreateApiKeyData, RouteCreateApiKeyErrors, RouteCreateApiKeyResponses, RouteDeleteApiKeyData, RouteDeleteApiKeyErrors, RouteDeleteApiKeyResponses, RouteGetJwksData, RouteGetJwksErrors, RouteGetJwksResponses, RouteListApiKeysData, RouteListApiKeysErrors, RouteListApiKeysResponses, RouteListDebugAuthProfilesData, RouteListDebugAuthProfilesErrors, RouteListDebugAuthProfilesResponses, RouteLogoutData, RouteRefreshTokenData, RouteRefreshTokenErrors, RouteRefreshTokenResponses, RouteResolveLoginProviderData, RouteResolveLoginProviderErrors, RouteResolveLoginProviderResponses, RouteSelectDebugAuthProfileData, RouteSelectDebugAuthProfileErrors, RouteSelectDebugAuthProfileResponses, RouteStartAuthorizationData, RouteStartAuthorizationErrors, SearchSkillRegistryData, SearchSkillRegistryErrors, SearchSkillRegistryResponses, SetCommonProviderInstallationOwnershipData, SetCommonProviderInstallationOwnershipResponses, SetCommonProviderInstallationVisibilityData, SetCommonProviderInstallationVisibilityResponses, SetMcpResourceOwnershipData, SetMcpResourceOwnershipResponses, SetMcpResourceVisibilityData, SetMcpResourceVisibilityResponses, SetMemoryBankOwnershipModeData, SetMemoryBankOwnershipModeResponses, SetMemoryBankVisibilityData, SetMemoryBankVisibilityResponses, SetPersonalMemoryBankOwnershipModeData, SetPersonalMemoryBankOwnershipModeResponses, SetPersonalMemoryBankVisibilityData, SetPersonalMemoryBankVisibilityResponses, SetPersonalRegistryOwnershipModeData, SetPersonalRegistryOwnershipModeResponses, SetPersonalRegistryVisibilityData, SetPersonalRegistryVisibilityResponses, SetPersonalRscOwnershipData, SetPersonalRscOwnershipResponses, SetPersonalRscVisibilityData, SetPersonalRscVisibilityResponses, SetPersonalSkillOwnershipModeData, SetPersonalSkillOwnershipModeResponses, SetPersonalSkillVisibilityData, SetPersonalSkillVisibilityResponses, SetPersonalUcOwnershipData, SetPersonalUcOwnershipResponses, SetPersonalUcVisibilityData, SetPersonalUcVisibilityResponses, SetPersonalWikiOwnershipModeData, SetPersonalWikiOwnershipModeResponses, SetPersonalWikiVisibilityData, SetPersonalWikiVisibilityResponses, SetRscOwnershipData, SetRscOwnershipResponses, SetRscVisibilityData, SetRscVisibilityResponses, SetSelfOpenbotAvatarData, SetSelfOpenbotAvatarErrors, SetSelfOpenbotAvatarResponses, SetSignalProviderOwnershipData, SetSignalProviderOwnershipResponses, SetSignalProviderVisibilityData, SetSignalProviderVisibilityResponses, SetSkillOwnershipModeData, SetSkillOwnershipModeResponses, SetSkillRegistryOwnershipModeData, SetSkillRegistryOwnershipModeResponses, SetSkillRegistryVisibilityData, SetSkillRegistryVisibilityResponses, SetSkillVisibilityData, SetSkillVisibilityResponses, SetUcOwnershipData, SetUcOwnershipResponses, SetUcVisibilityData, SetUcVisibilityResponses, SetWikiOwnershipModeData, SetWikiOwnershipModeResponses, SetWikiVisibilityData, SetWikiVisibilityResponses, SignalsAddPersonalProviderGrantData, SignalsAddPersonalProviderGrantResponses, SignalsCreatePersonalProviderInstanceData, SignalsCreatePersonalProviderInstanceResponses, SignalsCreateProviderInstanceData, SignalsCreateProviderInstanceResponses, SignalsDeletePersonalProviderInstanceData, SignalsDeletePersonalProviderInstanceResponses, SignalsDeleteProviderInstanceData, SignalsDeleteProviderInstanceResponses, SignalsGetDeliveryData, SignalsGetDeliveryResponses, SignalsGetPersonalDeliveryData, SignalsGetPersonalDeliveryResponses, SignalsGetPersonalProviderInstanceData, SignalsGetPersonalProviderInstanceResponses, SignalsGetProviderInstanceData, SignalsGetProviderInstanceResponses, SignalsListAvailableProvidersData, SignalsListAvailableProvidersResponses, SignalsListDeliveriesData, SignalsListDeliveriesResponses, SignalsListPersonalAvailableProvidersData, SignalsListPersonalAvailableProvidersResponses, SignalsListPersonalDeliveriesData, SignalsListPersonalDeliveriesResponses, SignalsListPersonalProviderGrantsData, SignalsListPersonalProviderGrantsResponses, SignalsListPersonalProviderInstancesData, SignalsListPersonalProviderInstancesResponses, SignalsListProviderInstancesData, SignalsListProviderInstancesResponses, SignalsRemovePersonalProviderGrantData, SignalsRemovePersonalProviderGrantResponses, SignalsRetryDeliveryData, SignalsRetryDeliveryResponses, SignalsRetryPersonalDeliveryData, SignalsRetryPersonalDeliveryResponses, SignalsSetPersonalProviderOwnershipData, SignalsSetPersonalProviderOwnershipResponses, SignalsSetPersonalProviderVisibilityData, SignalsSetPersonalProviderVisibilityResponses, SignalsTriggerFakeData, SignalsTriggerFakeResponses, SignalsUpdatePersonalProviderInstanceData, SignalsUpdatePersonalProviderInstanceResponses, SignalsUpdateProviderInstanceData, SignalsUpdateProviderInstanceResponses, StartCredentialSetupItemData, StartCredentialSetupItemResponses, StartOauthDeviceCodeData, StartOauthDeviceCodeErrors, StartOauthDeviceCodeResponses, StartProviderAppProvisioningData, StartProviderAppProvisioningResponses, StartProxiedMcpServerOauthData, StartProxiedMcpServerOauthErrors, StartProxiedMcpServerOauthResponses, StartUserCredentialBrokeringData, StartUserCredentialBrokeringResponses, StateExportData, StateExportErrors, StateExportResponses, StateGetImportData, StateGetImportResponses, StateImportData, StateImportEventsData, StateImportEventsResponses, StateImportResponses, StatePlanData, StatePlanResponses, StateResolveSourceData, StateResolveSourceErrors, StateResolveSourceResponses, StateSchemaData, StateSchemaJsonData, StateSchemaJsonResponses, StateSchemaResponses, StateValidateData, StateValidateResponses, TraverseWikiGraphData, TraverseWikiGraphResponses, UnbindToolGroupFromMcpServerData, UnbindToolGroupFromMcpServerErrors, UnbindToolGroupFromMcpServerResponses, UpdateCustomToolProviderData, UpdateCustomToolProviderResponses, UpdateHostedOpenbotComputerImageData, UpdateHostedOpenbotComputerImageErrors, UpdateHostedOpenbotComputerImageResponses, UpdateManagedUserCredentialData, UpdateManagedUserCredentialResponses, UpdateMcpServerInstanceData, UpdateMcpServerInstanceErrors, UpdateMcpServerInstanceFunctionData, UpdateMcpServerInstanceFunctionErrors, UpdateMcpServerInstanceFunctionResponses, UpdateMcpServerInstanceResponses, UpdateMemoryBankConfigData, UpdateMemoryBankConfigResponses, UpdateMemoryBankData, UpdateMemoryBankResponses, UpdateOrganizationData, UpdateOrganizationErrors, UpdateOrganizationMemberRoleData, UpdateOrganizationMemberRoleErrors, UpdateOrganizationMemberRoleResponses, UpdateOrganizationResponses, UpdateOrgOidcProviderData, UpdateOrgOidcProviderErrors, UpdateOrgOidcProviderResponses, UpdatePersonalMcpServerInstanceData, UpdatePersonalMcpServerInstanceResponses, UpdatePersonalMemoryBankConfigData, UpdatePersonalMemoryBankConfigResponses, UpdatePersonalMemoryBankData, UpdatePersonalMemoryBankResponses, UpdatePersonalSkillData, UpdatePersonalSkillRegistryData, UpdatePersonalSkillRegistryResponses, UpdatePersonalSkillResponses, UpdatePersonalToolGroupInstanceData, UpdatePersonalToolGroupInstanceResponses, UpdatePersonalWikiData, UpdatePersonalWikiPageData, UpdatePersonalWikiPageResponses, UpdatePersonalWikiResponses, UpdateResourceServerCredentialData, UpdateResourceServerCredentialResponses, UpdateSelfProfileData, UpdateSelfProfileErrors, UpdateSelfProfileResponses, UpdateSessionOwnershipData, UpdateSessionOwnershipErrors, UpdateSessionOwnershipResponses, UpdateSessionVisibilityData, UpdateSessionVisibilityErrors, UpdateSessionVisibilityResponses, UpdateSkillData, UpdateSkillErrors, UpdateSkillRegistryData, UpdateSkillRegistryErrors, UpdateSkillRegistryResponses, UpdateSkillResponses, UpdateTeamData, UpdateTeamErrors, UpdateTeamGroupData, UpdateTeamGroupErrors, UpdateTeamGroupResponses, UpdateTeamMemberRoleData, UpdateTeamMemberRoleErrors, UpdateTeamMemberRoleResponses, UpdateTeamResponses, UpdateToolBoundParamsData, UpdateToolBoundParamsErrors, UpdateToolBoundParamsResponses, UpdateToolGroupInstanceData, UpdateToolGroupInstanceErrors, UpdateToolGroupInstanceResponses, UpdateTrustedRuntimeData, UpdateTrustedRuntimeErrors, UpdateTrustedRuntimeResponses, UpdateUserCredentialData, UpdateUserCredentialResponses, UpdateWikiAssetData, UpdateWikiAssetResponses, UpdateWikiData, UpdateWikiPageData, UpdateWikiPageErrors, UpdateWikiPageRelationshipData, UpdateWikiPageRelationshipResponses, UpdateWikiPageResponses, UpdateWikiPageTypeData, UpdateWikiPageTypeErrors, UpdateWikiPageTypeResponses, UpdateWikiRelationshipTypeData, UpdateWikiRelationshipTypeErrors, UpdateWikiRelationshipTypeResponses, UpdateWikiResponses, UploadAttachmentContentData, UploadAttachmentContentErrors, UploadAttachmentContentResponses, UploadHostedOpenbotReleaseFileData, UploadHostedOpenbotReleaseFileErrors, UploadHostedOpenbotReleaseFileResponses, UploadSelfAvatarData, UploadSelfAvatarErrors, UploadSelfAvatarResponses, UploadWikiAssetContentData, UploadWikiAssetContentErrors, UploadWikiAssetContentResponses, UpsertWikiPageRelationshipData, UpsertWikiPageRelationshipErrors, UpsertWikiPageRelationshipResponses, ValidateSynthesisSessionBatchData, ValidateSynthesisSessionBatchResponses, ValidateWikiPageTypeDataData, ValidateWikiPageTypeDataResponses, VerifyOrgOidcProviderDomainData, VerifyOrgOidcProviderDomainErrors, VerifyOrgOidcProviderDomainResponses, WhoamiData, WhoamiErrors, WhoamiResponses } from './types.gen'; export type Options = Options2 & { /** @@ -33,16 +33,6 @@ export const chatkitCompleteSlackProviderProvisionedSetup = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/billing/accounts/{account_id}/enroll', ...options }); - -/** - * Revoke an account seat without deleting its runtime identity or organization membership. - */ -export const billingRemoveAccountSeat = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/api/v1/billing/accounts/{account_id}/seat', ...options }); - /** * Ensure organization AI Gateway * @@ -130,7 +120,7 @@ export const billingContextGet = (options? /** * Enroll current human in a product * - * An organization administrator explicitly enrolls their login account in Core. Runtime identities never allocate seats. + * Creates one deduplicated human Core or Pay seat, synchronizes the exact organization quantity with Autumn, and never bills agent identities. */ export const billingProductEnrollCurrentHuman = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/billing/products/{product_id}/enroll', ...options }); @@ -309,231 +299,6 @@ export const routeRefreshToken = (options? */ export const whoami = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/api/v1/identity/auth/whoami', ...options }); -/** - * List identities - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const listIdentities = (options?: Options): RequestResult => (options?.client ?? client).get({ - security: [ - { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, - { scheme: 'bearer', type: 'http' }, - { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - } - ], - url: '/api/v1/identity/identities', - ...options -}); - -/** - * Create identity - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const createIdentity = (options: Options): RequestResult => (options.client ?? client).post({ - security: [ - { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, - { scheme: 'bearer', type: 'http' }, - { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - } - ], - url: '/api/v1/identity/identities', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Resolve identity - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const resolveIdentity = (options: Options): RequestResult => (options.client ?? client).post({ - security: [ - { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, - { scheme: 'bearer', type: 'http' }, - { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - } - ], - url: '/api/v1/identity/identities/resolve', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Get identity - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const getIdentity = (options: Options): RequestResult => (options.client ?? client).get({ - security: [ - { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, - { scheme: 'bearer', type: 'http' }, - { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - } - ], - url: '/api/v1/identity/identities/{identity_id}', - ...options -}); - -/** - * Update identity - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const updateIdentity = (options: Options): RequestResult => (options.client ?? client).patch({ - security: [ - { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, - { scheme: 'bearer', type: 'http' }, - { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - } - ], - url: '/api/v1/identity/identities/{identity_id}', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Remove identity identifier - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const removeIdentityIdentifier = (options: Options): RequestResult => (options.client ?? client).delete({ - security: [ - { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, - { scheme: 'bearer', type: 'http' }, - { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - } - ], - url: '/api/v1/identity/identities/{identity_id}/identifiers', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Create identity link - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const createIdentityLink = (options: Options): RequestResult => (options.client ?? client).post({ - security: [{ name: 'X-Tilde-Proxy-Token', type: 'apiKey' }], - url: '/api/v1/identity/identities/{identity_id}/link-requests', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Provision identity team - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const provisionIdentityTeam = (options: Options): RequestResult => (options.client ?? client).post({ - security: [ - { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, - { scheme: 'bearer', type: 'http' }, - { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - } - ], - url: '/api/v1/identity/identities/{identity_id}/team', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * List identity teams - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const listIdentityTeams = (options: Options): RequestResult => (options.client ?? client).get({ - security: [ - { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, - { scheme: 'bearer', type: 'http' }, - { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - } - ], - url: '/api/v1/identity/identities/{identity_id}/teams', - ...options -}); - -/** - * Remove identity team - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const removeIdentityTeam = (options: Options): RequestResult => (options.client ?? client).delete({ - security: [ - { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, - { scheme: 'bearer', type: 'http' }, - { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - } - ], - url: '/api/v1/identity/identities/{identity_id}/teams/{team_id}', - ...options -}); - -/** - * Add identity team - * - * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ -export const addIdentityTeam = (options: Options): RequestResult => (options.client ?? client).put({ - security: [ - { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, - { scheme: 'bearer', type: 'http' }, - { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - } - ], - url: '/api/v1/identity/identities/{identity_id}/teams/{team_id}', - ...options -}); - /** * Accept invitation * @@ -548,44 +313,6 @@ export const acceptInvitation = (options: } }); -/** - * Complete identity link - * - * Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ -export const completeIdentityLink = (options: Options): RequestResult => (options.client ?? client).post({ - security: [{ scheme: 'bearer', type: 'http' }, { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - }], - url: '/api/v1/identity/link-requests/complete', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Preview identity link - * - * Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ -export const previewIdentityLink = (options: Options): RequestResult => (options.client ?? client).post({ - security: [{ scheme: 'bearer', type: 'http' }, { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - }], - url: '/api/v1/identity/link-requests/preview', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - /** * Get local runtime tunnel connector * @@ -651,23 +378,6 @@ export const exchangeOauthCode = (options: } }); -/** - * Create the account's first native organization and team - */ -export const onboardOrganization = (options: Options): RequestResult => (options.client ?? client).post({ - security: [{ scheme: 'bearer', type: 'http' }, { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - }], - url: '/api/v1/identity/onboarding/organization', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - /** * List organizations * @@ -933,74 +643,6 @@ export const setSelfOpenbotAvatar = (optio } }); -/** - * List proxy tokens - * - * Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ -export const listProxyTokens = (options?: Options): RequestResult => (options?.client ?? client).get({ - security: [{ scheme: 'bearer', type: 'http' }, { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - }], - url: '/api/v1/identity/proxy-tokens', - ...options -}); - -/** - * Create proxy token - * - * Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ -export const createProxyToken = (options: Options): RequestResult => (options.client ?? client).post({ - security: [{ scheme: 'bearer', type: 'http' }, { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - }], - url: '/api/v1/identity/proxy-tokens', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Revoke proxy token - * - * Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ -export const revokeProxyToken = (options: Options): RequestResult => (options.client ?? client).delete({ - security: [{ scheme: 'bearer', type: 'http' }, { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - }], - url: '/api/v1/identity/proxy-tokens/{token_id}', - ...options -}); - -/** - * Rename proxy token - * - * Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ -export const renameProxyToken = (options: Options): RequestResult => (options.client ?? client).patch({ - security: [{ scheme: 'bearer', type: 'http' }, { - in: 'cookie', - name: 'tilde_access_token', - type: 'apiKey' - }], - url: '/api/v1/identity/proxy-tokens/{token_id}', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - /** * List organization team groups * @@ -2248,6 +1890,149 @@ export const chatkitListAvailableChatChannels = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}', ...options }); + +/** + * Ingest custom provider message + * + * Accepts a normalized external event using only the owning connection runtime token. + */ +export const chatkitIngestCustomProviderMessage = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/messages', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Custom provider runtime operation + * + * Manage only conversations and attachments bound to the authenticated connection. + */ +export const chatkitCustomProviderRuntime = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/runtime', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Rotate custom connection credentials + * + * Immediately revokes the old token and returns its replacement once. + */ +export const chatkitRotateCustomConnectionCredentials = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/runtime-token/rotate', ...options }); + +/** + * Inspect durable normalized-event and cleanup work without exposing payloads. + */ +export const chatkitListCustomConnectionWork = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/work', ...options }); + +/** + * Retry a dead-letter item with its original deduplication identity. + */ +export const chatkitRetryCustomConnectionWork = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/work/retry', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * List custom ChatKit provider + * + * Manage a reusable tenant-scoped ChatKit implementation. + */ +export const chatkitListCustomProvider = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/chatkit/custom-providers', ...options }); + +/** + * Create custom ChatKit provider + * + * Manage a reusable tenant-scoped ChatKit implementation. + */ +export const chatkitCreateCustomProvider = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/chatkit/custom-providers', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Delete custom ChatKit provider + * + * Manage a reusable tenant-scoped ChatKit implementation. + */ +export const chatkitDeleteCustomProvider = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}', ...options }); + +/** + * Get custom ChatKit provider + * + * Manage a reusable tenant-scoped ChatKit implementation. + */ +export const chatkitGetCustomProvider = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}', ...options }); + +/** + * Update custom ChatKit provider + * + * Manage a reusable tenant-scoped ChatKit implementation. + */ +export const chatkitUpdateCustomProvider = (options: Options): RequestResult => (options.client ?? client).put({ + url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * List custom ChatKit connections + * + * Lists public connection configuration within a single team and definition. + */ +export const chatkitListCustomConnections = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/connections', ...options }); + +/** + * Disable custom ChatKit provider + * + * Manage a reusable tenant-scoped ChatKit implementation. + */ +export const chatkitDisableCustomProvider = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/disable', ...options }); + +/** + * Enable custom ChatKit provider + * + * Manage a reusable tenant-scoped ChatKit implementation. + */ +export const chatkitEnableCustomProvider = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/enable', ...options }); + +/** + * Refresh custom ChatKit provider + * + * Manage a reusable tenant-scoped ChatKit implementation. + */ +export const chatkitRefreshCustomProvider = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/refresh', ...options }); + +/** + * Rotate custom ChatKit provider + * + * Manage a reusable tenant-scoped ChatKit implementation. + */ +export const chatkitRotateCustomProvider = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/signing-key/rotate', ...options }); + /** * Link a member's attested address * @@ -2749,6 +2534,13 @@ export const chatkitGetLatestCompaction = ...options }); +/** + * Stream ChatKit session events + * + * Resumable SSE with canonical audience filtering and periodic authorization revalidation. Use after_revision or Last-Event-ID to reconnect. + */ +export const chatkitStreamSessionEvents = (options: Options): Promise> => (options.client ?? client).sse.get({ url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/events/stream', ...options }); + /** * List ChatKit room invitations * @@ -2875,6 +2667,13 @@ export const chatkitRemoveSessionParticipant = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/provider-tools', ...options }); + /** * Send a session-bound provider message * @@ -3633,21 +3432,6 @@ export const finalizeHostedOpenbotRelease = (options: Options): RequestResult => (options.client ?? client).post({ - security: [{ name: 'X-Tilde-Proxy-Token', type: 'apiKey' }], - url: '/api/v1/team/{team_id}/identity/realtime-ticket', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - /** * List typed managed user credentials * @@ -5487,83 +5271,6 @@ export const stateValidate = (options: Opt } }); -/** - * Provision Tilde Pay - * - * Idempotently enroll billing, create a customer when details are supplied, create a wallet after KYC, configure the wallet MCP server and tools, and optionally configure browser tools when enabled. - */ -export const tildePayProvision = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/tilde-pay/onboarding', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Make MPP payment - * - * Make an MPP payment from a Tilde Pay wallet. - */ -export const tildePayPaymentMpp = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/tilde-pay/payments/mpp', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Make x402 payment - * - * Make an x402 payment from a Tilde Pay wallet. - */ -export const tildePayPaymentX402 = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/tilde-pay/payments/x402', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Get Tilde Pay wallet summary - * - * Return wallet, balances, fiat deposit information, and crypto deposit information for Tilde Pay. - */ -export const tildePayWalletSummary = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/tilde-pay/wallet', ...options }); - -/** - * Create Tilde Pay wallet - * - * Create a Tilde Pay wallet after KYC and return product-shaped wallet details. - */ -export const tildePayWalletCreate = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/tilde-pay/wallet', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Wait for Tilde Pay balance - * - * Poll wallet balances until the requested asset reaches the requested minimum. - */ -export const tildePayWalletWaitUntilBalance = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/tilde-pay/wallet/wait-until-balance', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - /** * List trusted runtimes * @@ -5613,160 +5320,6 @@ export const updateTrustedRuntime = (optio } }); -/** - * List wallets - * - * List wallets for the current org/team. - */ -export const walletList = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet', ...options }); - -/** - * Create wallet - * - * Create a Tilde wallet by provisioning a Privy EVM wallet, Compose virtual IBAN, and Compose crypto deposit wallet. - */ -export const walletCreate = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/wallet', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * List wallet customers - * - * List wallet customers for the current org/team. - */ -export const walletCustomerList = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/customer', ...options }); - -/** - * Create wallet customer - * - * Create a Compose customer and return a KYC verification link for wallet onboarding. - */ -export const walletCustomerCreate = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/wallet/customer', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Get wallet customer - * - * Get a wallet customer by local id. - */ -export const walletCustomerGet = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/customer/{customer_id}', ...options }); - -/** - * Get wallet customer KYC details - * - * Return the stored Compose KYC verification status and KYC flow URL for a wallet customer. - */ -export const walletCustomerKycGet = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/customer/{customer_id}/kyc', ...options }); - -/** - * Get wallet - * - * Get a wallet by id. - */ -export const walletGet = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}', ...options }); - -/** - * Get wallet balances - * - * Refresh and return Compose balances for this wallet. - */ -export const walletGetBalances = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}/balances', ...options }); - -/** - * Get wallet crypto deposit information - * - * Return crypto deposit information for this wallet. - */ -export const walletGetCryptoDepositInformation = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/crypto', ...options }); - -/** - * Get wallet fiat deposit information - * - * Refresh and return Compose fiat deposit information for this wallet. - */ -export const walletGetFiatDepositInformation = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/fiat', ...options }); - -/** - * Make MPP payment - * - * Make an MPP payment from the wallet using the configured payment adapter. - */ -export const walletMakeMppPayment = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/payments/mpp', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Make x402 payment - * - * Make an x402 payment from the wallet using the configured payment adapter. - */ -export const walletMakeX402Payment = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/payments/x402', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * List wallet transaction history - * - * Return cached transaction history for this wallet without scanning the chain. - */ -export const walletTransactionHistoryList = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history', ...options }); - -/** - * Refresh wallet transaction history - * - * Scan configured chains for wallet-linked USDC transfers and upsert cached transaction history. - */ -export const walletTransactionHistoryRefresh = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history/refresh', ...options }); - -/** - * Create wallet virtual account - * - * Create a currency-denominated Compose virtual account for an existing wallet. - */ -export const walletVirtualAccountCreate = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/virtual-account', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - -/** - * Wait until wallet balance - * - * Poll the local wallet balance cache until an asset reaches the requested minimum. - */ -export const walletWaitUntilBalance = (options: Options): RequestResult => (options.client ?? client).post({ - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/wait-until-balance', - ...options, - headers: { - 'Content-Type': 'application/json', - ...options.headers - } -}); - /** * List wiki ontology templates * diff --git a/packages/api-client/src/generated/types.gen.ts b/packages/api-client/src/generated/types.gen.ts index 002c1b8b..76c7ff60 100644 --- a/packages/api-client/src/generated/types.gen.ts +++ b/packages/api-client/src/generated/types.gen.ts @@ -9,26 +9,6 @@ export type AcceptInvitationRequest = { password: string; }; -/** - * Canonical tenant destination after accepting an invitation with a login account. - */ -export type AcceptInvitationResponse = { - identity_id: string; - invitation: UserInvitation; - org_id: string; - team_id: string; -}; - -/** - * Explicit login-account membership, independent of runtime identity availability. - */ -export type AccountOrganizationMembership = { - account_id: string; - name: string; - organization_id: string; - role: string; -}; - /** * Request body for adding a participant to a ChatKit session. */ @@ -441,6 +421,13 @@ export type AssignMemoryBankSynthesizerBody = { synthesizer_team_id: string; }; +/** + * An optional toolkit backend materialized as an ordinary custom Tools provider. + */ +export type AssociatedToolkit = { + discovery_url: string; +}; + /** * ChatKit-owned attachment metadata. */ @@ -519,10 +506,12 @@ export type BillingContext = { }; /** - * The Core subscription whose access is evaluated per organization. + * A separately billed Tilde product whose access is evaluated per organization. */ export enum BillingProductId { - TILDE_CORE = 'tilde_core' + TILDE_CORE = 'tilde_core', + TILDE_PAY = 'tilde_pay', + ASH = 'ash' } export type BrokerAction = { @@ -649,6 +638,24 @@ export type ChangeResourceOwnershipRequest = { ownership: ResourceOwnership; }; +/** + * Private send intent; never include this value in canonical public events. + */ +export type ChannelDeliveryOptions = { + attachment_ids?: Array; + bcc?: Array | null; + cc?: Array | null; + html?: string | null; + /** + * Opaque extension interpreted exclusively by the owning adapter. + */ + provider_options?: unknown; + reply_all?: boolean | null; + subject?: string | null; + to?: Array | null; + visible_recipients?: Array; +}; + /** * Approval information in an HTTP agent tool invocation. */ @@ -936,6 +943,41 @@ export type ChatKitExecutionContext = (ChatKitAgentRunExecutionContext & { kind: 'agent_job'; }); +/** + * A party that can appear in a ChatKit session. + */ +export type ChatKitIdentity = { + /** + * Set when this address belongs to one of our agents. + */ + agent_inbox_id?: string | null; + created_at: WrappedChronoDateTime; + display_name: string; + /** + * The address within that scheme. `None` only for [`ChatKitIdentityKind::TildeUser`]. + */ + external_id?: string | null; + id: string; + kind: ChatKitIdentityKind; + metadata?: { + [key: string]: unknown; + } | null; + org_id: string; + /** + * Namespace that owns the address. Two GitHub organizations can both have + * a `dan`, so the scheme alone is never unique. + */ + provider_id?: string | null; + team_id: string; + /** + * Set only by a verified linking flow, or by us when registering an + * address for one of our own principals. `None` means no authority. + */ + tilde_user_id?: string | null; + updated_at: WrappedChronoDateTime; + verified_at?: null | WrappedChronoDateTime; +}; + /** * Address scheme for a [`ChatKitIdentity`]. */ @@ -1035,6 +1077,23 @@ export enum ChatKitParticipantType { AGENT = 'agent' } +/** + * Discovery document served by the customer's SDK endpoint. + */ +export type ChatKitProviderManifest = { + auth_methods?: Array; + capabilities: CustomProviderCapabilities; + configuration_schema: unknown; + description: string; + display_name: string; + fields?: Array; + invoke_url: string; + protocol_version: number; + session_tools?: Array; + subscriptions?: Array; + version: string; +}; + export type ChatKitRealtimeSocketTicket = { expires_at: WrappedChronoDateTime; /** @@ -1424,16 +1483,10 @@ export type ClaimTemporaryAccountResponse = { }; export type CloudWhoamiResponse = { - account_organizations?: Array; groups: Array; identity: Identity; local_runtime_tunnel_domain: string; local_runtime_tunnel_origin: string; - /** - * True after explicit first-organization creation, even if that org was removed. - * A membership-less completed account needs invitation/link recovery, not replay. - */ - organization_onboarding_completed?: boolean | null; organizations: Array; teams: Array; }; @@ -1860,17 +1913,6 @@ export type CreateHumanApprovalActionResponse = { token: string; }; -export type CreateIdentityLinkRequest = { - delivery?: null | IdentityLinkDelivery; - return_url?: string | null; -}; - -export type CreateIdentityRequest = { - display_name?: string | null; - identifiers?: Array; - kind: UserType; -}; - export type CreateManagedUserCredentialBody = { /** * Allow Browser form filling to enumerate this credential. @@ -1962,12 +2004,6 @@ export type CreatePageTypeVersionBody = { schema: unknown; }; -export type CreatePayWalletRequest = { - name: string; - owner_id?: string | null; - wallet_customer_id: string; -}; - export type CreatePersonalToolGroupInstanceBody = { authorization?: ResourceAuthorizationModes; credential_source_type_id: string; @@ -1983,13 +2019,6 @@ export type CreatePersonalToolGroupInstanceBody = { user_credential_id?: null | WrappedUuidV4; }; -export type CreateProxyTokenRequest = { - allowed_return_urls?: Array; - capabilities?: Array; - expires_at?: null | WrappedChronoDateTime; - name: string; -}; - export type CreateRelationshipTypeBody = { description?: string; directionality: RelationshipDirectionality; @@ -2321,22 +2350,6 @@ export type CreateUserCredentialParamsInner = { user_credential_configuration: WrappedJsonValue; }; -export type CreateWalletBody = { - name: string; - owner_id?: string | null; - wallet_customer_id: string; -}; - -export type CreateWalletCustomerBody = { - account_type?: string; - name: string; - owner_id?: string | null; -}; - -export type CreateWalletVirtualAccountBody = { - currency: string; -}; - export type CreateWikiAssetBody = { alt_text?: string | null; checksum?: string | null; @@ -2359,17 +2372,6 @@ export type CreateWikiInner = { name: string; }; -export type CreatedIdentityLink = { - expires_at: WrappedChronoDateTime; - id: string; - url: string; -}; - -export type CreatedProxyToken = { - secret: string; - token: OrgProxyToken; -}; - /** * Typed relationship established after a state-import credential is configured. */ @@ -2485,186 +2487,512 @@ export enum CurrentSeatStatus { NOT_BILLABLE = 'not_billable' } -export type CustomSkillSpec = { - content: string; - description: string; - key: string; - name: string; -}; - -export type CustomToolProviderDetails = { - provider: CustomToolProviderSerialized; - signing_key_metadata?: null | WebhookSigningKeyMetadata; - tool_count: number; - tool_group_instance: ToolGroupInstanceSerializedWithEverything; -}; - -export type CustomToolProviderListItem = { - provider: CustomToolProviderSerialized; - signing_key_metadata?: null | WebhookSigningKeyMetadata; - tool_count: number; - tool_group_instance: ToolGroupInstanceSerialized; -}; - -export type CustomToolProviderListItemPaginatedResponse = { - items: Array; - next_page_token?: string; -}; - -export type CustomToolProviderSerialized = { +/** + * Stable registration, separate from any configured connection. + */ +export type CustomChatKitProvider = { created_at: WrappedChronoDateTime; - description: string; discovery_url: string; display_name: string; + enabled: boolean; id: string; - invoke_url: string; - last_deployment_id?: string | null; last_discovery_at?: null | WrappedChronoDateTime; last_discovery_error?: string | null; - last_successful_discovery_at?: null | WrappedChronoDateTime; - last_toolset_hash?: string | null; + local_running_endpoint: boolean; + manifest?: null | ChatKitProviderManifest; org_id: string; - status: string; + revision: number; team_id: string; - tool_group_instance_id: string; - tool_group_source_type_id: string; updated_at: WrappedChronoDateTime; }; /** - * Data UI part - represents custom data parts + * Returned once after rotation, with remote notification outcome for host recovery. */ -export type DataUiPart = { - data: WrappedJsonValue; - data_type: string; - provider_metadata?: null | WrappedJsonValue; -}; - -export type DebugAuthProfilesResponse = { - profiles: Array; +export type CustomConnectionCredentials = { + backend_notified: boolean; + runtime_token: string; }; /** - * Exact client binding posted when a human presses Yes or No. + * Public connection configuration; runtime credentials and setup state are excluded. */ -export type DecideCapabilityChangeRequest = { - approval_id: string; - decision: CapabilityChangeDecision; - proposal_generation: number; - proposal_hash: string; +export type CustomConnectionInfo = { + configuration: unknown; + default_agent_inbox_id?: string | null; + definition_id: string; + display_name: string; + enabled: boolean; + id: string; + org_id: string; + setup_id: string; + status: string; + team_id: string; + tool_group_instance_id?: string | null; + toolkit_discovery_url?: string | null; }; -/** - * Request body for accepting or declining a room invitation. - */ -export type DecideChatKitRoomInvitationRequestInner = { - decision: ChatKitRoomInvitationDecision; +export type CustomConnectionInfoPaginatedResponse = { + items: Array; + next_page_token?: string; }; /** - * Fields accepted when delegating a child job. + * Operational diagnostics omit normalized message bodies and credentials. */ -export type DelegateAgentJobRequestInner = { - budget?: null | AgentJobBudget; - child_agent_id: string; - idempotency_key: string; - metadata?: { - [key: string]: unknown; - }; - model_id?: string | null; - objective: string; +export type CustomConnectionWork = { + attempts: number; + created_at: WrappedChronoDateTime; + kind: string; + last_error?: string | null; + next_attempt_at: WrappedChronoDateTime; + status: string; + work_id: string; +}; + +export type CustomConnectionWorkPaginatedResponse = { + items: Array; + next_page_token?: string; }; /** - * A runtime actor authenticated by an organization application credential. - * Credential authority remains separate from the actor's own groups. + * One external address; callers cannot grant themselves principal authority. */ -export type DelegatedIdentity = { - email?: string | null; - groups: Array; - kind: UserType; - org_id: string; - proxy_token_id: string; - sub: string; - team_id?: string | null; +export type CustomExternalIdentity = { + display_name: string; + external_id: string; + kind: ChatKitIdentityKind; }; -export type DeleteChatKitAgentTurnQueueItemResponse = { - deleted: boolean; +/** + * Normalized event accepted using a single connection's runtime credential. + */ +export type CustomInboundMessage = { + attachment_ids?: Array; + conversation_key: string; + event_id: string; + external_message_id: string; + provider_metadata?: unknown; + provider_thread?: unknown; + sender: CustomExternalIdentity; + text: string; }; /** - * Response for deleting an inbox. + * A durable ingestion acknowledgment, including replay of an existing event. */ -export type DeleteInboxResponse = { - success: boolean; +export type CustomIngressReceipt = { + event_id: string; + message_id: string; + status: string; }; -export type DeleteMemoryDocumentBody = { - document_id: string; +/** + * Provider-owned authorization method; secret fields are never list outputs. + */ +export type CustomProviderAuthMethod = { + description: string; + display_name: string; + fields: Array; + id: string; }; /** - * Response for deleting a message + * Content conversion and runtime features declared by a backend. */ -export type DeleteMessageResponse = { - success: boolean; +export type CustomProviderCapabilities = { + attachments?: boolean; + delivery?: boolean; + html?: boolean; + identity?: boolean; + inbound?: boolean; + markdown?: boolean; + max_length?: number | null; + streaming?: boolean; + toolkit?: boolean; }; -export type DeleteRoutineResponse = { - deleted: boolean; +/** + * Named schema-backed field rendered by the existing generic setup flow. + */ +export type CustomProviderField = { + field_type: string; + label: string; + name: string; + placeholder?: string; + required?: boolean; }; -export type DeleteSignalResponse = { - success: boolean; +/** + * Exact signed remote invocation. Secret-bearing payloads intentionally omit Debug. + */ +export type CustomProviderInvocation = { + configuration: unknown; + context?: null | CustomSessionContext; + input: unknown; + manifest_version: string; + operation: CustomProviderOperation; + protocol_version: number; + request_id: string; + scope: CustomProviderScope; + secrets: unknown; }; /** - * Delete request available only to a bank's assigned background synthesizer. - * - * The batch identity and complete evidence set bind the mutation to one active - * processing lease. They are deliberately absent from owner-initiated deletes. + * A paginated team catalog; continuation uses the existing timestamp cursor. */ -export type DeleteSynthesisMemoryDocumentBody = { - binding: MemorySynthesisMutationBinding; - document_id: string; +export type CustomProviderList = { + items: Array; + next_page_token?: string | null; }; /** - * Response of `DELETE /user/{user_id}/identities/links/{id}`. + * Tilde-owned protocol operations are typed independently of provider business inputs. */ -export type DeleteVerifiedIdentityLinkResponse = { - success: boolean; -}; +export enum CustomProviderOperation { + SETUP_START = 'setup_start', + SETUP_RESUME = 'setup_resume', + DISCONNECT = 'disconnect', + RUNTIME_CREDENTIALS_UPDATED = 'runtime_credentials_updated', + TOOLKIT_CONFIGURED = 'toolkit_configured', + REGISTER_IDENTITY = 'register_identity', + NORMALIZE_MENTIONS = 'normalize_mentions', + LIST_SESSION_TOOLS = 'list_session_tools', + INVOKE_SESSION_TOOL = 'invoke_session_tool', + RECONCILE_SESSION_TOOL = 'reconcile_session_tool', + PREPARE_SEND = 'prepare_send', + DELIVER = 'deliver', + RECONCILE_DELIVERY = 'reconcile_delivery' +} -export type DeploymentEnvironmentFile = { - content_type: string; - contents: string; - filename: string; +/** + * Signing material is returned only by explicit create/rotate operations. + */ +export type CustomProviderRegistration = { + provider: CustomChatKitProvider; + signing_key: string; }; -export type DirectTokenPayment = { - amount: string; - asset?: string; - chain?: string; - destination_address: string; - destination_asset?: string | null; - destination_chain?: string | null; - slippage_bps?: number | null; +/** + * Input for creating or editing a reusable backend registration. + */ +export type CustomProviderRegistrationInput = { + discovery_url: string; + display_name: string; + local_running_endpoint?: boolean; }; /** - * Selects one package file for a lazy download URL. + * Tenant-scoped coordinates recovered from persisted records. */ -export type DownloadSkillPackageFileRequest = { - path: string; +export type CustomProviderScope = { + connection_id: string; + definition_id: string; + org_id: string; + team_id: string; }; /** - * Per-server result for an enable-and-bind operation. + * Remote mutations must distinguish absence from an unresolved prior attempt. */ -export type EnableAndBindMcpServerResult = { - already_bound_tool_source_type_ids: Array; +export type CustomReconciliation = { + result: unknown; + status: 'applied'; +} | { + status: 'absent'; +} | { + reason: string; + status: 'uncertain'; +}; + +/** + * Narrow operations a provider may perform inside its own bound conversations. + */ +export type CustomRuntimeCommand = { + operation: 'register_agent_identity'; +} | { + operation: 'normalize_mentions'; + tags: Array; +} | { + conversation_key: string; + operation: 'ensure_conversation'; + provider_thread?: unknown; + title?: string | null; +} | { + filename?: string | null; + media_type: string; + operation: 'create_attachment_upload'; + session_id: string; + size_bytes?: number | null; +} | { + attachment_id: string; + operation: 'complete_attachment_upload'; + session_id: string; + sha256?: string | null; + size_bytes?: number | null; +} | { + attachment_id: string; + operation: 'attachment_download'; + session_id: string; +} | { + identity: CustomExternalIdentity; + operation: 'upsert_participant'; + session_id: string; +} | { + external_id: string; + operation: 'leave_participant'; + session_id: string; +} | { + next_page_token?: string | null; + operation: 'history'; + page_size?: number | null; + session_id: string; +}; + +/** + * Runtime responses deliberately expose no general team resource operations. + */ +export type CustomRuntimeResponse = { + identity: ChatKitIdentity; + type: 'identity'; +} | { + identities: Array; + type: 'mentions'; +} | { + session_id: string; + type: 'conversation'; +} | { + type: 'upload'; + upload: CreateAttachmentUploadResponse; +} | { + attachment: Attachment; + type: 'attachment'; +} | { + download: GetAttachmentDownloadUrlResponse; + type: 'download'; +} | { + participant: ChatKitParticipant; + type: 'participant'; +} | { + type: 'left'; +} | { + messages: Array; + next_page_token?: string | null; + type: 'history'; +}; + +/** + * Coordinates verified against the active turn before invoking a session tool. + */ +export type CustomSessionContext = { + agent_inbox_instance_id: string; + conversation_key: string; + execution_id: string; + external_message_id: string; + participants?: Array; + provider_message: unknown; + /** + * Only the provider adapter interprets this external reply handle. + */ + provider_thread: unknown; + session_id: string; + target_inbox_instance_id: string; + trigger_message_id: string; +}; + +/** + * Active delivery roster, excluding Tilde authorization principals and other connections' addresses. + */ +export type CustomSessionParticipant = { + display_name: string; + external_id?: string | null; + instance_id: string; + is_agent: boolean; +}; + +/** + * Tool schemas describe business inputs only. Context travels separately. + */ +export type CustomSessionTool = { + description: string; + input_schema: unknown; + name: string; + output_schema: unknown; + read_only?: boolean; +}; + +/** + * Server-bound tool catalog for the authenticated agent's current turn. + */ +export type CustomSessionToolCatalog = { + context?: null | CustomSessionContext; + tools: Array; +}; + +export type CustomSkillSpec = { + content: string; + description: string; + key: string; + name: string; +}; + +export type CustomToolProviderDetails = { + provider: CustomToolProviderSerialized; + signing_key_metadata?: null | WebhookSigningKeyMetadata; + tool_count: number; + tool_group_instance: ToolGroupInstanceSerializedWithEverything; +}; + +export type CustomToolProviderListItem = { + provider: CustomToolProviderSerialized; + signing_key_metadata?: null | WebhookSigningKeyMetadata; + tool_count: number; + tool_group_instance: ToolGroupInstanceSerialized; +}; + +export type CustomToolProviderListItemPaginatedResponse = { + items: Array; + next_page_token?: string; +}; + +export type CustomToolProviderSerialized = { + created_at: WrappedChronoDateTime; + description: string; + discovery_url: string; + display_name: string; + id: string; + invoke_url: string; + last_deployment_id?: string | null; + last_discovery_at?: null | WrappedChronoDateTime; + last_discovery_error?: string | null; + last_successful_discovery_at?: null | WrappedChronoDateTime; + last_toolset_hash?: string | null; + org_id: string; + status: string; + team_id: string; + tool_group_instance_id: string; + tool_group_source_type_id: string; + updated_at: WrappedChronoDateTime; +}; + +export type CustomVisibleMessage = { + created_at: WrappedChronoDateTime; + id: string; + role: MessageRole; + sender_display_name: string; + text: string; +}; + +/** + * Data UI part - represents custom data parts + */ +export type DataUiPart = { + data: WrappedJsonValue; + data_type: string; + provider_metadata?: null | WrappedJsonValue; +}; + +export type DebugAuthProfilesResponse = { + profiles: Array; +}; + +/** + * Exact client binding posted when a human presses Yes or No. + */ +export type DecideCapabilityChangeRequest = { + approval_id: string; + decision: CapabilityChangeDecision; + proposal_generation: number; + proposal_hash: string; +}; + +/** + * Request body for accepting or declining a room invitation. + */ +export type DecideChatKitRoomInvitationRequestInner = { + decision: ChatKitRoomInvitationDecision; +}; + +/** + * Fields accepted when delegating a child job. + */ +export type DelegateAgentJobRequestInner = { + budget?: null | AgentJobBudget; + child_agent_id: string; + idempotency_key: string; + metadata?: { + [key: string]: unknown; + }; + model_id?: string | null; + objective: string; +}; + +export type DeleteChatKitAgentTurnQueueItemResponse = { + deleted: boolean; +}; + +/** + * Response for deleting an inbox. + */ +export type DeleteInboxResponse = { + success: boolean; +}; + +export type DeleteMemoryDocumentBody = { + document_id: string; +}; + +/** + * Response for deleting a message + */ +export type DeleteMessageResponse = { + success: boolean; +}; + +export type DeleteRoutineResponse = { + deleted: boolean; +}; + +export type DeleteSignalResponse = { + success: boolean; +}; + +/** + * Delete request available only to a bank's assigned background synthesizer. + * + * The batch identity and complete evidence set bind the mutation to one active + * processing lease. They are deliberately absent from owner-initiated deletes. + */ +export type DeleteSynthesisMemoryDocumentBody = { + binding: MemorySynthesisMutationBinding; + document_id: string; +}; + +/** + * Response of `DELETE /user/{user_id}/identities/links/{id}`. + */ +export type DeleteVerifiedIdentityLinkResponse = { + success: boolean; +}; + +export type DeploymentEnvironmentFile = { + content_type: string; + contents: string; + filename: string; +}; + +/** + * Selects one package file for a lazy download URL. + */ +export type DownloadSkillPackageFileRequest = { + path: string; +}; + +/** + * Per-server result for an enable-and-bind operation. + */ +export type EnableAndBindMcpServerResult = { + already_bound_tool_source_type_ids: Array; bound_tool_source_type_ids: Array; error?: string | null; mcp_server_instance_id: string; @@ -2822,29 +3150,6 @@ export type GetAttachmentDownloadUrlResponse = { expires_at: WrappedChronoDateTime; }; -export type GetBalancesResponse = { - balances: WrappedJsonValue; - wallet_id: string; -}; - -export type GetCryptoDepositInformationResponse = { - crypto: WrappedJsonValue; - wallet_id: string; -}; - -export type GetFiatDepositInformationResponse = { - currency: string; - fiat: WrappedJsonValue; - wallet_id: string; -}; - -export type GetWalletCustomerKycResponse = { - compose_customer_id: string; - kyc_flow_link?: string | null; - kyc_verified: boolean; - wallet_customer_id: string; -}; - /** * Durable desired outcome owned by one explicit agent in one conversation. */ @@ -3201,14 +3506,6 @@ export enum HostedOpenBotTarget { * Represents a real user that authenticated via STS/OAuth token. */ export type Human = { - /** - * Administrative account roles, separate from the runtime actor's resource groups. - */ - account_groups?: Array; - /** - * Login account that authenticated this runtime actor. Human-owned API keys have no account session. - */ - account_id?: string | null; /** * Email address of the user (if available from token) */ @@ -3363,9 +3660,7 @@ export type HydrateConvertedMessagesResponse = { * This is the result of authentication and is used throughout the system * for authorization decisions. */ -export type Identity = (DelegatedIdentity & { - type: 'delegated'; -}) | (Agent & { +export type Identity = (Agent & { type: 'agent'; }) | (Human & { type: 'human'; @@ -3373,29 +3668,6 @@ export type Identity = (DelegatedIdentity & { type: 'unauthenticated'; }; -export type IdentityClaimRequest = { - claim: string; -}; - -export type IdentityIdentifier = { - namespace: string; - value: string; -}; - -export type IdentityLinkDelivery = { - address: string; - type: string; -}; - -export type IdentityLinkPreview = { - account_email?: string | null; - application_name: string; - display_name?: string | null; - expires_at: WrappedChronoDateTime; - identity_id: string; - org_id: string; -}; - /** * Tenant a linked address routes to when it arrives on a shared channel. */ @@ -3408,27 +3680,6 @@ export type IdentityLinkRoute = { team_id: string; }; -export type IdentityTeam = { - identity_id: string; - org_id: string; - team_id: string; -}; - -/** - * Runtime membership only; this record never grants a login-account role. - */ -export type IdentityTeamMembership = { - identity_id: string; - org_id: string; - role: string; - team_id: string; -}; - -export type IdentityTeamMembershipPaginatedResponse = { - items: Array; - next_page_token?: string; -}; - /** * One pending or completed challenge. The code hash is never on the wire. */ @@ -3782,12 +4033,6 @@ export type LinkTeamIdentityRequestInner = { user_id: string; }; -export type LinkedIdentity = { - identity_id: string; - org_id: string; - return_url?: string | null; -}; - export type ListApiKeysResponse = { items: Array; next_page_token?: string | null; @@ -3852,88 +4097,6 @@ export type LoginProviderResolution = { type: 'custom_oidc'; }; -export type MakeMppPaymentRequest = { - body?: unknown; - headers?: { - [key: string]: string; - }; - max_amount?: string | null; - max_amount_atomic?: string | null; - method?: string | null; - payment?: null | DirectTokenPayment; - preferred_assets?: Array; - /** - * Payment-channel contract addresses the caller explicitly permits. - * Stateful methods that sign a server-selected channel, such as the - * Stellar `channel` intent, require this pin on their first use. A - * validated `session_snapshot` pins subsequent requests. - */ - preferred_channels?: Array; - preferred_networks?: Array; - preferred_recipients?: Array; - /** - * Session lifecycle action (`open`, `voucher`, `commit`, `topUp`, or - * `close`). Omit to open when no snapshot is supplied and voucher - * otherwise. - */ - session_action?: string | null; - /** - * Incremental session amount in atomic units. Required for voucher and - * commit actions unless the challenge pins an increment. - */ - session_amount_atomic?: string | null; - /** - * Delivery identifier required by a metered `commit` action. - */ - session_delivery_id?: string | null; - session_snapshot?: null | PaymentSessionSnapshot; - /** - * Preferred method-specific settlement mode. Methods that negotiate - * client versus server broadcast currently accept `push` or `pull`. - */ - settlement_mode?: string | null; - /** - * Payment transport. Defaults to `http`; use `mcp` for MCP's nested - * payment metadata or `jsonrpc` for the generic root `_meta` binding. - * Tempo session challenges also support `sse` and `websocket` (`ws`) for - * metered streaming with in-band voucher and receipt handling. - */ - transport?: string | null; - url: string; - wallet_id: string; -}; - -export type MakeX402PaymentRequest = { - body?: unknown; - headers?: { - [key: string]: string; - }; - max_amount?: string | null; - max_amount_atomic?: string | null; - method?: string | null; - payment?: null | DirectTokenPayment; - preferred_assets?: Array; - preferred_networks?: Array; - preferred_recipients?: Array; - /** - * Stateful scheme action (`open`, `voucher`, or `refund`). Omit to open - * when no snapshot is supplied and voucher otherwise. - */ - session_action?: string | null; - /** - * Incremental amount for voucher/close actions, in atomic units. - */ - session_amount_atomic?: string | null; - session_snapshot?: null | PaymentSessionSnapshot; - /** - * Payment transport. Defaults to `http`; use `mcp` when `body` is the - * JSON-RPC MCP tool-call request that should be retried with x402 metadata. - */ - transport?: string | null; - url: string; - wallet_id: string; -}; - export type ManagedSkillSelection = { provider_id: string; skill_ids: Array; @@ -4484,17 +4647,6 @@ export type MoveWikiPageBody = { path: string; }; -export type OnboardOrganizationRequest = { - name: string; - team_name: string; -}; - -export type OnboardOrganizationResponse = { - identity_id: string; - org_id: string; - team_id: string; -}; - /** * A page type bundled by an ontology template. */ @@ -4586,25 +4738,6 @@ export enum OrgOidcProviderStatus { DISABLED = 'disabled' } -export type OrgProxyToken = { - allowed_return_urls: Array; - capabilities: Array; - created_at: WrappedChronoDateTime; - created_by_account_id: string; - expires_at?: null | WrappedChronoDateTime; - id: string; - last_used_at?: null | WrappedChronoDateTime; - name: string; - org_id: string; - revoked_at?: null | WrappedChronoDateTime; - token_prefix: string; -}; - -export type OrgProxyTokenPaginatedResponse = { - items: Array; - next_page_token?: string; -}; - export type Organization = { /** * Browser app origin (for example `https://heyash.ai/app`) that owns links Tilde generates @@ -4633,10 +4766,6 @@ export type OrganizationAiCreditContext = { }; export type OrganizationMemberWithUser = { - /** - * Enabled Tilde login account linked to this runtime identity, when present. - */ - account_id?: string | null; membership: UserOrganization; user: User; }; @@ -4684,72 +4813,6 @@ export enum PartState { DONE = 'done' } -export enum PayOnboardingStep { - ENTER_DETAILS = 'enter_details', - COMPLETE_KYC = 'complete_kyc', - READY = 'ready' -} - -export type PayPaymentRequest = { - body?: unknown; - headers?: { - [key: string]: string; - }; - max_amount?: string | null; - max_amount_atomic?: string | null; - method?: string | null; - payment?: null | DirectTokenPayment; - preferred_assets?: Array; - preferred_channels?: Array; - preferred_networks?: Array; - preferred_recipients?: Array; - session_action?: string | null; - session_amount_atomic?: string | null; - session_delivery_id?: string | null; - session_snapshot?: null | PaymentSessionSnapshot; - settlement_mode?: string | null; - transport?: string | null; - url: string; - wallet_id: string; -}; - -export type PayWalletSummaryError = { - field: string; - message: string; -}; - -export type PayWalletSummaryResponse = { - balances?: null | GetBalancesResponse; - crypto_deposit?: null | GetCryptoDepositInformationResponse; - fiat_deposit?: null | GetFiatDepositInformationResponse; - summary_errors?: Array; - wallet?: null | Wallet; -}; - -export type PaymentResponse = { - protocol: string; - response: WrappedJsonValue; - wallet_id: string; -}; - -/** - * Opaque-enough client state needed to safely resume a stateful payment - * scheme after a process restart. Every field is authenticated again against - * the next server challenge before it is used. - */ -export type PaymentSessionSnapshot = { - authorized_signer: string; - channel_id: string; - cumulative_amount: string; - deposit_amount: string; - expires_at: number; - metadata?: unknown; - method: string; - network: string; - nonce: number; - protocol: string; -}; - export type PersonalMcpServerInstanceSerialized = { agent_id?: string | null; authorization?: ResourceAuthorizationModes; @@ -5190,30 +5253,6 @@ export type ProvisionAgentRequest = { skill_registry?: null | SkillRegistrySpec; }; -export type ProvisionIdentityTeamRequest = { - name: string; -}; - -export type ProvisionPayBrowserResponse = { - browser_definition_id: string; - enabled_tool_ids: Array; -}; - -export type ProvisionTildePayRequest = { - account_type?: string | null; - name?: string | null; - owner_id?: string | null; -}; - -export type ProvisionTildePayResponse = { - browser?: null | ProvisionPayBrowserResponse; - customer?: null | WalletCustomer; - kyc?: null | GetWalletCustomerKycResponse; - mcp?: null | SetupPayMcpResponse; - next_step: PayOnboardingStep; - wallet?: null | Wallet; -}; - /** * App credentials and metadata created by a provider provisioner. */ @@ -5449,13 +5488,6 @@ export type RefreshTokenRequest = { refresh_token?: string | null; }; -export type RefreshWalletTransactionHistoryResponse = { - inserted_or_updated: number; - linked_transactions: number; - scanned_chains: Array; - wallet_id: string; -}; - export type RegisterAgentTool = { display_name: string; identity_snapshot?: null | WrappedJsonValue; @@ -5636,10 +5668,6 @@ export type RenameChatKitWorkspaceThreadRequestInner = { title: string; }; -export type RenameProxyTokenRequest = { - name: string; -}; - export type ReorderChatKitAgentTurnQueueItemRequestInner = { queue_position: number; }; @@ -5908,6 +5936,10 @@ export type RetainMemoryBody = { document: MemoryDocument; }; +export type RetryConnectionWork = { + work_id: string; +}; + export type RetryMemorySourceBody = { source_id: string; source_kind: MemorySourceKind; @@ -6076,27 +6108,13 @@ export type RuntimeConfig = { debug_auth_profiles_enabled: boolean; org_context_in_header: boolean; posthog_api_host: string; - posthog_product: string; + posthog_product: BillingProductId; posthog_project_id: string; posthog_project_key: string; sentry_dsn: string; sentry_react_dsn?: string | null; }; -export type RuntimeIdentity = { - disabled: boolean; - display_name?: string | null; - id: string; - identifiers: Array; - kind: UserType; - org_id: string; -}; - -export type RuntimeIdentityPaginatedResponse = { - items: Array; - next_page_token?: string; -}; - export type SelectDebugAuthProfileRequest = { profile: string; }; @@ -6242,10 +6260,12 @@ export type SendSessionMessageBody = SendSessionMessageInput & { * Model-visible parameters for the session-bound communication tool. */ export type SendSessionMessageInput = { + attachment_ids?: Array; bcc?: Array | null; cc?: Array | null; content: string; html?: string | null; + provider_options?: null | WrappedJsonValue; reply_all?: boolean | null; subject?: string | null; to?: Array | null; @@ -6366,13 +6386,6 @@ export type SetResourceAccessModeRequest = { mode: ResourceAccessMode; }; -export type SetupPayMcpResponse = { - enabled_tool_ids: Array; - mcp_path: string; - mcp_server_id: string; - tool_group_instance_id: string; -}; - export type SignalAction = { agent_inbox_id: string; agent_inbox_instance_id?: string | null; @@ -7563,12 +7576,6 @@ export type UpdateHttpVercelAiSdkAgentRequestInner = { timeout_ms?: number | null; }; -export type UpdateIdentityRequest = { - disabled?: boolean | null; - display_name?: string | null; - identifiers?: Array; -}; - export type UpdateManagedUserCredentialBody = { /** * Allow Browser form filling to enumerate this credential. @@ -8039,133 +8046,6 @@ export enum VerifiedIdentityLinkSource { ADMIN = 'admin' } -export type WaitForPayBalanceRequest = { - asset: string; - minimum_amount: number; - poll_interval_secs?: number | null; - timeout_secs?: number | null; - wallet_id: string; -}; - -export type WaitUntilBalanceRequest = { - asset: string; - minimum_amount: number; - poll_interval_secs?: number; - timeout_secs?: number; - wallet_id: string; -}; - -export type WaitUntilBalanceResponse = { - observed_amount: number; - satisfied: boolean; - wallet_id: string; -}; - -export type Wallet = { - cached_compose_balances?: null | WrappedJsonValue; - compose_customer_id: string; - compose_deposit_chain: string; - compose_deposit_currency: string; - compose_deposit_wallet_id?: string | null; - created_at: WrappedChronoDateTime; - id: string; - last_compose_sync_at?: null | WrappedChronoDateTime; - name: string; - org_id: string; - owner_id?: string | null; - privy_evm_address: string; - privy_wallet_id: string; - status: string; - team_id: string; - updated_at: WrappedChronoDateTime; - wallet_customer_id: string; -}; - -export type WalletCustomer = { - account_type: string; - compose_customer_id: string; - compose_customer_payload: WrappedJsonValue; - compose_kyc_payload?: null | WrappedJsonValue; - created_at: WrappedChronoDateTime; - id: string; - kyc_flow_link?: string | null; - kyc_verified: boolean; - name: string; - org_id: string; - owner_id?: string | null; - team_id: string; - updated_at: WrappedChronoDateTime; -}; - -export type WalletCustomerPaginatedResponse = { - items: Array; - next_page_token?: string; -}; - -export type WalletMerchant = { - created_at: WrappedChronoDateTime; - favicon_url?: string | null; - icon_fetched_at?: null | WrappedChronoDateTime; - icon_media_type?: string | null; - icon_sha256?: string | null; - id: string; - merchant_url: string; - name?: string | null; - org_id: string; - origin: string; - raw_metadata: WrappedJsonValue; - team_id: string; - updated_at: WrappedChronoDateTime; -}; - -export type WalletPaginatedResponse = { - items: Array; - next_page_token?: string; -}; - -export type WalletTransactionHistoryItem = { - amount?: string | null; - amount_decimals?: number | null; - amount_raw?: string | null; - asset?: string | null; - chain?: string | null; - counterparty_address?: string | null; - created_at: WrappedChronoDateTime; - direction: string; - id: string; - item_type: string; - merchant?: null | WalletMerchant; - merchant_id?: string | null; - occurred_at: WrappedChronoDateTime; - org_id: string; - raw_payload: WrappedJsonValue; - scanned_at?: null | WrappedChronoDateTime; - status: string; - team_id: string; - updated_at: WrappedChronoDateTime; - wallet_id: string; -}; - -export type WalletTransactionHistoryItemPaginatedResponse = { - items: Array; - next_page_token?: string; -}; - -export type WalletVirtualAccount = { - cached_compose_deposit_info?: null | WrappedJsonValue; - compose_customer_id: string; - compose_virtual_account_id: string; - created_at: WrappedChronoDateTime; - currency: string; - id: string; - org_id: string; - status?: string | null; - team_id: string; - updated_at: WrappedChronoDateTime; - wallet_customer_id: string; - wallet_id: string; -}; - /** * Safe public metadata for a webhook signing key. Secret material is omitted. */ @@ -8481,49 +8361,6 @@ export type ChatkitCompleteSlackProviderProvisionedSetupResponses = { export type ChatkitCompleteSlackProviderProvisionedSetupResponse = ChatkitCompleteSlackProviderProvisionedSetupResponses[keyof ChatkitCompleteSlackProviderProvisionedSetupResponses]; -export type BillingEnrollAccountData = { - body?: never; - path: { - account_id: string; - }; - query?: never; - url: '/api/v1/billing/accounts/{account_id}/enroll'; -}; - -export type BillingEnrollAccountErrors = { - 402: Error; - 403: Error; -}; - -export type BillingEnrollAccountError = BillingEnrollAccountErrors[keyof BillingEnrollAccountErrors]; - -export type BillingEnrollAccountResponses = { - 200: BillingContext; -}; - -export type BillingEnrollAccountResponse = BillingEnrollAccountResponses[keyof BillingEnrollAccountResponses]; - -export type BillingRemoveAccountSeatData = { - body?: never; - path: { - account_id: string; - }; - query?: never; - url: '/api/v1/billing/accounts/{account_id}/seat'; -}; - -export type BillingRemoveAccountSeatErrors = { - 403: Error; -}; - -export type BillingRemoveAccountSeatError = BillingRemoveAccountSeatErrors[keyof BillingRemoveAccountSeatErrors]; - -export type BillingRemoveAccountSeatResponses = { - 204: void; -}; - -export type BillingRemoveAccountSeatResponse = BillingRemoveAccountSeatResponses[keyof BillingRemoveAccountSeatResponses]; - export type BillingAiGatewayEnsureData = { body?: never; path?: never; @@ -8714,7 +8551,7 @@ export type BillingProductEnrollCurrentHumanData = { body?: never; path: { /** - * tilde_core + * tilde_core or tilde_pay */ product_id: string; }; @@ -9320,383 +9157,36 @@ export type WhoamiResponses = { export type WhoamiResponse = WhoamiResponses[keyof WhoamiResponses]; -export type ListIdentitiesData = { - body?: never; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; +export type AcceptInvitationData = { + body: AcceptInvitationRequest; path?: never; - query?: { - /** - * Page size; defaults to 50 and is clamped to 1..100 - */ - page_size?: number; - /** - * Opaque cursor returned by the previous page - */ - next_page_token?: string; - }; - url: '/api/v1/identity/identities'; + query?: never; + url: '/api/v1/identity/invitations/accept'; }; -export type ListIdentitiesErrors = { - 401: Error; +export type AcceptInvitationErrors = { 403: Error; }; -export type ListIdentitiesError = ListIdentitiesErrors[keyof ListIdentitiesErrors]; +export type AcceptInvitationError = AcceptInvitationErrors[keyof AcceptInvitationErrors]; -export type ListIdentitiesResponses = { - 200: RuntimeIdentityPaginatedResponse; +export type AcceptInvitationResponses = { + 200: UserInvitation; }; -export type ListIdentitiesResponse = ListIdentitiesResponses[keyof ListIdentitiesResponses]; +export type AcceptInvitationResponse = AcceptInvitationResponses[keyof AcceptInvitationResponses]; -export type CreateIdentityData = { - body: CreateIdentityRequest; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; +export type GetLocalRuntimeTunnelConnectorData = { + body?: never; path?: never; query?: never; - url: '/api/v1/identity/identities'; + url: '/api/v1/identity/local-runtime/tunnel-connector'; }; -export type CreateIdentityErrors = { - 401: Error; - 403: Error; -}; - -export type CreateIdentityError = CreateIdentityErrors[keyof CreateIdentityErrors]; - -export type CreateIdentityResponses = { - 200: RuntimeIdentity; -}; - -export type CreateIdentityResponse = CreateIdentityResponses[keyof CreateIdentityResponses]; - -export type ResolveIdentityData = { - body: IdentityIdentifier; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; - path?: never; - query?: never; - url: '/api/v1/identity/identities/resolve'; -}; - -export type ResolveIdentityErrors = { - 401: Error; - 403: Error; -}; - -export type ResolveIdentityError = ResolveIdentityErrors[keyof ResolveIdentityErrors]; - -export type ResolveIdentityResponses = { - 200: RuntimeIdentity; -}; - -export type ResolveIdentityResponse = ResolveIdentityResponses[keyof ResolveIdentityResponses]; - -export type GetIdentityData = { - body?: never; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; - path: { - /** - * Identity id - */ - identity_id: string; - }; - query?: never; - url: '/api/v1/identity/identities/{identity_id}'; -}; - -export type GetIdentityErrors = { - 401: Error; - 403: Error; -}; - -export type GetIdentityError = GetIdentityErrors[keyof GetIdentityErrors]; - -export type GetIdentityResponses = { - 200: RuntimeIdentity; -}; - -export type GetIdentityResponse = GetIdentityResponses[keyof GetIdentityResponses]; - -export type UpdateIdentityData = { - body: UpdateIdentityRequest; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; - path: { - /** - * Identity id - */ - identity_id: string; - }; - query?: never; - url: '/api/v1/identity/identities/{identity_id}'; -}; - -export type UpdateIdentityErrors = { - 401: Error; - 403: Error; -}; - -export type UpdateIdentityError = UpdateIdentityErrors[keyof UpdateIdentityErrors]; - -export type UpdateIdentityResponses = { - 200: RuntimeIdentity; -}; - -export type UpdateIdentityResponse = UpdateIdentityResponses[keyof UpdateIdentityResponses]; - -export type RemoveIdentityIdentifierData = { - body: IdentityIdentifier; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; - path: { - /** - * Identity id - */ - identity_id: string; - }; - query?: never; - url: '/api/v1/identity/identities/{identity_id}/identifiers'; -}; - -export type RemoveIdentityIdentifierResponses = { - 200: RuntimeIdentity; -}; - -export type RemoveIdentityIdentifierResponse = RemoveIdentityIdentifierResponses[keyof RemoveIdentityIdentifierResponses]; - -export type CreateIdentityLinkData = { - body: CreateIdentityLinkRequest; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; - path: { - /** - * Identity id - */ - identity_id: string; - }; - query?: never; - url: '/api/v1/identity/identities/{identity_id}/link-requests'; -}; - -export type CreateIdentityLinkErrors = { - 401: Error; - 403: Error; -}; - -export type CreateIdentityLinkError = CreateIdentityLinkErrors[keyof CreateIdentityLinkErrors]; - -export type CreateIdentityLinkResponses = { - 200: CreatedIdentityLink; -}; - -export type CreateIdentityLinkResponse = CreateIdentityLinkResponses[keyof CreateIdentityLinkResponses]; - -export type ProvisionIdentityTeamData = { - body: ProvisionIdentityTeamRequest; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; - path: { - /** - * Identity id - */ - identity_id: string; - }; - query?: never; - url: '/api/v1/identity/identities/{identity_id}/team'; -}; - -export type ProvisionIdentityTeamResponses = { - 200: IdentityTeam; -}; - -export type ProvisionIdentityTeamResponse = ProvisionIdentityTeamResponses[keyof ProvisionIdentityTeamResponses]; - -export type ListIdentityTeamsData = { - body?: never; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; - path: { - /** - * Identity id - */ - identity_id: string; - }; - query?: { - /** - * Page size; defaults to 50 and is clamped to 1..100 - */ - page_size?: number; - /** - * Opaque cursor returned by the previous page - */ - next_page_token?: string; - }; - url: '/api/v1/identity/identities/{identity_id}/teams'; -}; - -export type ListIdentityTeamsResponses = { - 200: IdentityTeamMembershipPaginatedResponse; -}; - -export type ListIdentityTeamsResponse = ListIdentityTeamsResponses[keyof ListIdentityTeamsResponses]; - -export type RemoveIdentityTeamData = { - body?: never; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; - path: { - /** - * Identity id - */ - identity_id: string; - /** - * Team id - */ - team_id: string; - }; - query?: never; - url: '/api/v1/identity/identities/{identity_id}/teams/{team_id}'; -}; - -export type RemoveIdentityTeamResponses = { - 200: unknown; -}; - -export type AddIdentityTeamData = { - body?: never; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; - path: { - /** - * Identity id - */ - identity_id: string; - /** - * Team id - */ - team_id: string; - }; - query?: never; - url: '/api/v1/identity/identities/{identity_id}/teams/{team_id}'; -}; - -export type AddIdentityTeamResponses = { - 200: IdentityTeamMembership; -}; - -export type AddIdentityTeamResponse = AddIdentityTeamResponses[keyof AddIdentityTeamResponses]; - -export type AcceptInvitationData = { - body: AcceptInvitationRequest; - path?: never; - query?: never; - url: '/api/v1/identity/invitations/accept'; -}; - -export type AcceptInvitationErrors = { - 403: Error; -}; - -export type AcceptInvitationError = AcceptInvitationErrors[keyof AcceptInvitationErrors]; - -export type AcceptInvitationResponses = { - 200: AcceptInvitationResponse; -}; - -export type AcceptInvitationResponse2 = AcceptInvitationResponses[keyof AcceptInvitationResponses]; - -export type CompleteIdentityLinkData = { - body: IdentityClaimRequest; - headers: { - /** - * Hosted Tilde confirmation origin - */ - Origin: string; - }; - path?: never; - query?: never; - url: '/api/v1/identity/link-requests/complete'; -}; - -export type CompleteIdentityLinkResponses = { - 200: LinkedIdentity; -}; - -export type CompleteIdentityLinkResponse = CompleteIdentityLinkResponses[keyof CompleteIdentityLinkResponses]; - -export type PreviewIdentityLinkData = { - body: IdentityClaimRequest; - path?: never; - query?: never; - url: '/api/v1/identity/link-requests/preview'; -}; - -export type PreviewIdentityLinkResponses = { - 200: IdentityLinkPreview; -}; - -export type PreviewIdentityLinkResponse = PreviewIdentityLinkResponses[keyof PreviewIdentityLinkResponses]; - -export type GetLocalRuntimeTunnelConnectorData = { - body?: never; - path?: never; - query?: never; - url: '/api/v1/identity/local-runtime/tunnel-connector'; -}; - -export type GetLocalRuntimeTunnelConnectorErrors = { - /** - * Unauthorized - */ +export type GetLocalRuntimeTunnelConnectorErrors = { + /** + * Unauthorized + */ 401: Error; /** * Local runtime tunnels unavailable @@ -9829,26 +9319,6 @@ export type ExchangeOauthCodeResponses = { export type ExchangeOauthCodeResponse = ExchangeOauthCodeResponses[keyof ExchangeOauthCodeResponses]; -export type OnboardOrganizationData = { - body: OnboardOrganizationRequest; - path?: never; - query?: never; - url: '/api/v1/identity/onboarding/organization'; -}; - -export type OnboardOrganizationErrors = { - 401: Error; - 409: Error; -}; - -export type OnboardOrganizationError = OnboardOrganizationErrors[keyof OnboardOrganizationErrors]; - -export type OnboardOrganizationResponses = { - 200: OnboardOrganizationResponse; -}; - -export type OnboardOrganizationResponse2 = OnboardOrganizationResponses[keyof OnboardOrganizationResponses]; - export type ListOrganizationsData = { body?: never; path?: never; @@ -10638,155 +10108,36 @@ export type SetSelfOpenbotAvatarResponses = { export type SetSelfOpenbotAvatarResponse = SetSelfOpenbotAvatarResponses[keyof SetSelfOpenbotAvatarResponses]; -export type ListProxyTokensData = { +export type ListOrganizationTeamGroupsData = { body?: never; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; path?: never; query?: { - /** - * Page size; defaults to 50 and is clamped to 1..100 - */ page_size?: number; - /** - * Opaque cursor returned by the previous page - */ next_page_token?: string; - }; - url: '/api/v1/identity/proxy-tokens'; -}; - -export type ListProxyTokensErrors = { - 401: Error; - 403: Error; -}; - -export type ListProxyTokensError = ListProxyTokensErrors[keyof ListProxyTokensErrors]; - -export type ListProxyTokensResponses = { - 200: OrgProxyTokenPaginatedResponse; -}; - -export type ListProxyTokensResponse = ListProxyTokensResponses[keyof ListProxyTokensResponses]; - -export type CreateProxyTokenData = { - body: CreateProxyTokenRequest; - headers?: { /** - * Organization routing when not selected by host + * Filter to `human` or `agent` users. */ - 'X-Tilde-Org-Id'?: string | null; + user_type?: string; }; - path?: never; - query?: never; - url: '/api/v1/identity/proxy-tokens'; -}; - -export type CreateProxyTokenErrors = { - 401: Error; - 403: Error; + url: '/api/v1/identity/team-groups'; }; -export type CreateProxyTokenError = CreateProxyTokenErrors[keyof CreateProxyTokenErrors]; - -export type CreateProxyTokenResponses = { - 200: CreatedProxyToken; +export type ListOrganizationTeamGroupsResponses = { + /** + * User-managed groups across organization teams + */ + 200: TeamGroupSummaryPaginatedResponse; }; -export type CreateProxyTokenResponse = CreateProxyTokenResponses[keyof CreateProxyTokenResponses]; +export type ListOrganizationTeamGroupsResponse = ListOrganizationTeamGroupsResponses[keyof ListOrganizationTeamGroupsResponses]; -export type RevokeProxyTokenData = { +export type RouteListApiKeysData = { body?: never; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; path: { /** - * Token id + * Team ID */ - token_id: string; - }; - query?: never; - url: '/api/v1/identity/proxy-tokens/{token_id}'; -}; - -export type RevokeProxyTokenErrors = { - 401: Error; - 403: Error; -}; - -export type RevokeProxyTokenError = RevokeProxyTokenErrors[keyof RevokeProxyTokenErrors]; - -export type RevokeProxyTokenResponses = { - 200: unknown; -}; - -export type RenameProxyTokenData = { - body: RenameProxyTokenRequest; - headers?: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - }; - path: { - /** - * Token id - */ - token_id: string; - }; - query?: never; - url: '/api/v1/identity/proxy-tokens/{token_id}'; -}; - -export type RenameProxyTokenErrors = { - 401: Error; - 403: Error; -}; - -export type RenameProxyTokenError = RenameProxyTokenErrors[keyof RenameProxyTokenErrors]; - -export type RenameProxyTokenResponses = { - 200: unknown; -}; - -export type ListOrganizationTeamGroupsData = { - body?: never; - path?: never; - query?: { - page_size?: number; - next_page_token?: string; - /** - * Filter to `human` or `agent` users. - */ - user_type?: string; - }; - url: '/api/v1/identity/team-groups'; -}; - -export type ListOrganizationTeamGroupsResponses = { - /** - * User-managed groups across organization teams - */ - 200: TeamGroupSummaryPaginatedResponse; -}; - -export type ListOrganizationTeamGroupsResponse = ListOrganizationTeamGroupsResponses[keyof ListOrganizationTeamGroupsResponses]; - -export type RouteListApiKeysData = { - body?: never; - path: { - /** - * Team ID - */ - team_id: string; + team_id: string; }; query?: { page_size?: number | null; @@ -11829,6 +11180,9 @@ export type GetHostedOpenbotBootstrapBundleResponse = GetHostedOpenbotBootstrapB export type AutomationsListData = { body?: never; path: { + /** + * Team ID + */ team_id: string; }; query?: { @@ -11848,6 +11202,9 @@ export type AutomationsListResponse = AutomationsListResponses[keyof Automations export type AutomationsDeleteData = { body?: never; path: { + /** + * Team ID + */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11864,6 +11221,9 @@ export type AutomationsDeleteResponse = AutomationsDeleteResponses[keyof Automat export type AutomationsGetData = { body?: never; path: { + /** + * Team ID + */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11886,6 +11246,9 @@ export type AutomationsGetResponse = AutomationsGetResponses[keyof AutomationsGe export type AutomationsPutData = { body: PutRoutineBody; path: { + /** + * Team ID + */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11908,6 +11271,9 @@ export type AutomationsPutResponse = AutomationsPutResponses[keyof AutomationsPu export type AutomationsListExecutionsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11928,6 +11294,9 @@ export type AutomationsListExecutionsResponse = AutomationsListExecutionsRespons export type AutomationsSetOwnershipData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11944,6 +11313,9 @@ export type AutomationsSetOwnershipResponse = AutomationsSetOwnershipResponses[k export type AutomationsRunData = { body: RunRoutineBody; path: { + /** + * Team ID + */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11960,6 +11332,9 @@ export type AutomationsRunResponse = AutomationsRunResponses[keyof AutomationsRu export type AutomationsSetVisibilityData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11976,6 +11351,9 @@ export type AutomationsSetVisibilityResponse = AutomationsSetVisibilityResponses export type AutomationsListGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; routine_id: WrappedUuidV4; plane: ResourceGrantPlane; @@ -11993,6 +11371,9 @@ export type AutomationsListGrantsResponse = AutomationsListGrantsResponses[keyof export type AutomationsAddGrantData = { body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; routine_id: WrappedUuidV4; plane: ResourceGrantPlane; @@ -12010,6 +11391,9 @@ export type AutomationsAddGrantResponse = AutomationsAddGrantResponses[keyof Aut export type AutomationsRemoveGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; routine_id: WrappedUuidV4; plane: ResourceGrantPlane; @@ -12376,6 +11760,9 @@ export type ChatkitUpdateAgentResponse = ChatkitUpdateAgentResponses[keyof Chatk export type ChatkitGetAgentAvatarData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -12398,6 +11785,9 @@ export type ChatkitGetAgentAvatarResponse = ChatkitGetAgentAvatarResponses[keyof export type ChatkitUpdateAgentAvatarData = { body: Array; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -12421,6 +11811,9 @@ export type ChatkitUpdateAgentAvatarResponse = ChatkitUpdateAgentAvatarResponses export type ChatkitGetAgentObservabilityData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -12443,6 +11836,9 @@ export type ChatkitGetAgentObservabilityResponse = ChatkitGetAgentObservabilityR export type ChatkitUpdateAgentObservabilityData = { body: UpdateAgentObservabilityPolicyRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -12466,6 +11862,9 @@ export type ChatkitUpdateAgentObservabilityResponse = ChatkitUpdateAgentObservab export type ChatkitUpdateAgentOwnershipData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -12523,6 +11922,9 @@ export type ChatkitSetAgentPermissionsResponse = ChatkitSetAgentPermissionsRespo export type ChatkitGetAgentResourceBundleProvisioningData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -12539,6 +11941,9 @@ export type ChatkitGetAgentResourceBundleProvisioningResponse = ChatkitGetAgentR export type ChatkitProvisionAgentResourceBundleData = { body: ProvisionAgentRequest; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -12555,6 +11960,9 @@ export type ChatkitProvisionAgentResourceBundleResponse = ChatkitProvisionAgentR export type ChatkitClaimAgentResourceBundleOutputsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -12608,6 +12016,9 @@ export type ChatkitRecallAutomaticMemoryResponse = ChatkitRecallAutomaticMemoryR export type ChatkitListGoalsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12629,6 +12040,9 @@ export type ChatkitListGoalsResponse = ChatkitListGoalsResponses[keyof ChatkitLi export type ChatkitCreateGoalData = { body: CreateGoalRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12646,6 +12060,9 @@ export type ChatkitCreateGoalResponse = ChatkitCreateGoalResponses[keyof Chatkit export type ChatkitGetGoalData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12664,6 +12081,9 @@ export type ChatkitGetGoalResponse = ChatkitGetGoalResponses[keyof ChatkitGetGoa export type ChatkitUpdateGoalData = { body: UpdateGoalRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12682,6 +12102,9 @@ export type ChatkitUpdateGoalResponse = ChatkitUpdateGoalResponses[keyof Chatkit export type ChatkitListAgentJobsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12703,6 +12126,9 @@ export type ChatkitListAgentJobsResponse = ChatkitListAgentJobsResponses[keyof C export type ChatkitDelegateAgentJobData = { body: DelegateAgentJobRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12720,6 +12146,9 @@ export type ChatkitDelegateAgentJobResponse = ChatkitDelegateAgentJobResponses[k export type ChatkitGetAgentJobData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12738,6 +12167,9 @@ export type ChatkitGetAgentJobResponse = ChatkitGetAgentJobResponses[keyof Chatk export type ChatkitCollectAgentJobResultData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12756,6 +12188,9 @@ export type ChatkitCollectAgentJobResultResponse = ChatkitCollectAgentJobResultR export type ChatkitResumeAgentJobData = { body: ResumeAgentJobRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12774,6 +12209,9 @@ export type ChatkitResumeAgentJobResponse = ChatkitResumeAgentJobResponses[keyof export type ChatkitSteerAgentJobData = { body: SteerAgentJobRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12792,6 +12230,9 @@ export type ChatkitSteerAgentJobResponse = ChatkitSteerAgentJobResponses[keyof C export type ChatkitStopAgentJobData = { body: StopAgentJobRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12810,6 +12251,9 @@ export type ChatkitStopAgentJobResponse = ChatkitStopAgentJobResponses[keyof Cha export type ChatkitCreateAgentRunData = { body: CreateAgentRunInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12827,6 +12271,9 @@ export type ChatkitCreateAgentRunResponse = ChatkitCreateAgentRunResponses[keyof export type ChatkitGetActiveAgentRunData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12844,6 +12291,9 @@ export type ChatkitGetActiveAgentRunResponse = ChatkitGetActiveAgentRunResponses export type ChatkitClaimAgentRunsData = { body: ClaimAgentRunsInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12861,6 +12311,9 @@ export type ChatkitClaimAgentRunsResponse = ChatkitClaimAgentRunsResponses[keyof export type ChatkitGetAgentRunData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12879,6 +12332,9 @@ export type ChatkitGetAgentRunResponse = ChatkitGetAgentRunResponses[keyof Chatk export type ChatkitControlAgentRunData = { body: ControlAgentRunInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12897,6 +12353,9 @@ export type ChatkitControlAgentRunResponse = ChatkitControlAgentRunResponses[key export type ChatkitFinishAgentRunEffectData = { body: RecordAgentRunEffectInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12915,6 +12374,9 @@ export type ChatkitFinishAgentRunEffectResponse = ChatkitFinishAgentRunEffectRes export type ChatkitGetAgentRunEffectData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12936,6 +12398,9 @@ export type ChatkitGetAgentRunEffectResponse = ChatkitGetAgentRunEffectResponses export type ChatkitPrepareAgentRunEffectData = { body: RecordAgentRunEffectInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12954,6 +12419,9 @@ export type ChatkitPrepareAgentRunEffectResponse = ChatkitPrepareAgentRunEffectR export type ChatkitAppendAgentRunStepData = { body: AppendAgentRunStepInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12972,6 +12440,9 @@ export type ChatkitAppendAgentRunStepResponse = ChatkitAppendAgentRunStepRespons export type ChatkitTransitionAgentRunData = { body: TransitionAgentRunInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12990,6 +12461,9 @@ export type ChatkitTransitionAgentRunResponse = ChatkitTransitionAgentRunRespons export type ChatkitListTasksData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -13012,6 +12486,9 @@ export type ChatkitListTasksResponse = ChatkitListTasksResponses[keyof ChatkitLi export type ChatkitCreateTaskData = { body: CreateTaskRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -13029,6 +12506,9 @@ export type ChatkitCreateTaskResponse = ChatkitCreateTaskResponses[keyof Chatkit export type ChatkitGetTaskData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -13047,6 +12527,9 @@ export type ChatkitGetTaskResponse = ChatkitGetTaskResponses[keyof ChatkitGetTas export type ChatkitUpdateTaskData = { body: UpdateTaskRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -13098,6 +12581,9 @@ export type ChatkitSetAgentStatusResponse = ChatkitSetAgentStatusResponses[keyof export type ChatkitReportToolExecutionData = { body: ReportToolExecutionRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -13121,6 +12607,9 @@ export type ChatkitReportToolExecutionResponse = ChatkitReportToolExecutionRespo export type ChatkitRegisterAgentToolsData = { body: RegisterAgentToolsRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -13144,6 +12633,9 @@ export type ChatkitRegisterAgentToolsResponse = ChatkitRegisterAgentToolsRespons export type ChatkitUpdateAgentToolVisibilityData = { body: UpdateAgentToolVisibilityRequestInner; path: { + /** + * Team ID + */ team_id: string; agent_id: string; tool_id: string; @@ -13168,6 +12660,9 @@ export type ChatkitUpdateAgentToolVisibilityResponse = ChatkitUpdateAgentToolVis export type ChatkitUpdateAgentVisibilityData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; agent_id: string; }; @@ -13191,6 +12686,9 @@ export type ChatkitUpdateAgentVisibilityResponse = ChatkitUpdateAgentVisibilityR export type ChatkitListAgentResourceGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; plane: string; @@ -13214,6 +12712,9 @@ export type ChatkitListAgentResourceGrantsResponse = ChatkitListAgentResourceGra export type ChatkitAddAgentResourceGrantData = { body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; agent_id: string; plane: string; @@ -13238,6 +12739,9 @@ export type ChatkitAddAgentResourceGrantResponse = ChatkitAddAgentResourceGrantR export type ChatkitRemoveAgentResourceGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; agent_id: string; plane: string; @@ -13681,903 +13185,780 @@ export type ChatkitListAvailableChatChannelsResponses = { export type ChatkitListAvailableChatChannelsResponse = ChatkitListAvailableChatChannelsResponses[keyof ChatkitListAvailableChatChannelsResponses]; -export type LinkTeamIdentityData = { - body: LinkTeamIdentityRequestInner; +export type ChatkitGetCustomConnectionData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; + connection_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/identities/link'; + url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}'; }; -export type LinkTeamIdentityErrors = { +export type ChatkitGetCustomConnectionErrors = { 400: Error; - 403: Error; - 404: Error; }; -export type LinkTeamIdentityError = LinkTeamIdentityErrors[keyof LinkTeamIdentityErrors]; +export type ChatkitGetCustomConnectionError = ChatkitGetCustomConnectionErrors[keyof ChatkitGetCustomConnectionErrors]; -export type LinkTeamIdentityResponses = { - 200: VerifiedIdentityLink; +export type ChatkitGetCustomConnectionResponses = { + 200: CustomConnectionInfo; }; -export type LinkTeamIdentityResponse = LinkTeamIdentityResponses[keyof LinkTeamIdentityResponses]; +export type ChatkitGetCustomConnectionResponse = ChatkitGetCustomConnectionResponses[keyof ChatkitGetCustomConnectionResponses]; -export type ListInboxesData = { - body?: never; +export type ChatkitIngestCustomProviderMessageData = { + body: CustomInboundMessage; path: { /** * Team ID */ team_id: string; + connection_id: string; }; - query: { - page_size: number; - next_page_token?: string; - inbox_type?: null | InboxType; - }; - url: '/api/v1/team/{team_id}/chatkit/inbox'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/messages'; }; -export type ListInboxesErrors = { - /** - * Bad Request - */ +export type ChatkitIngestCustomProviderMessageErrors = { 400: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type ListInboxesError = ListInboxesErrors[keyof ListInboxesErrors]; +export type ChatkitIngestCustomProviderMessageError = ChatkitIngestCustomProviderMessageErrors[keyof ChatkitIngestCustomProviderMessageErrors]; -export type ListInboxesResponses = { - /** - * List inboxes - */ - 200: InboxPaginatedResponse; +export type ChatkitIngestCustomProviderMessageResponses = { + 200: CustomIngressReceipt; }; -export type ListInboxesResponse = ListInboxesResponses[keyof ListInboxesResponses]; +export type ChatkitIngestCustomProviderMessageResponse = ChatkitIngestCustomProviderMessageResponses[keyof ChatkitIngestCustomProviderMessageResponses]; -export type ChatkitCacheConvertedMessagesData = { - body: CacheConvertedMessagesRequest; +export type ChatkitCustomProviderRuntimeData = { + body: CustomRuntimeCommand; path: { /** * Team ID */ team_id: string; + connection_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/messages/converted-cache'; + url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/runtime'; }; -export type ChatkitCacheConvertedMessagesErrors = { +export type ChatkitCustomProviderRuntimeErrors = { 400: Error; - 500: Error; }; -export type ChatkitCacheConvertedMessagesError = ChatkitCacheConvertedMessagesErrors[keyof ChatkitCacheConvertedMessagesErrors]; +export type ChatkitCustomProviderRuntimeError = ChatkitCustomProviderRuntimeErrors[keyof ChatkitCustomProviderRuntimeErrors]; -export type ChatkitCacheConvertedMessagesResponses = { - /** - * Cache converted ChatKit message representations - */ - 200: CacheConvertedMessagesResponse; +export type ChatkitCustomProviderRuntimeResponses = { + 200: CustomRuntimeResponse; }; -export type ChatkitCacheConvertedMessagesResponse = ChatkitCacheConvertedMessagesResponses[keyof ChatkitCacheConvertedMessagesResponses]; +export type ChatkitCustomProviderRuntimeResponse = ChatkitCustomProviderRuntimeResponses[keyof ChatkitCustomProviderRuntimeResponses]; -export type ChatkitHydrateConvertedMessagesData = { - body: HydrateConvertedMessagesRequest; +export type ChatkitRotateCustomConnectionCredentialsData = { + body?: never; path: { /** * Team ID */ team_id: string; + connection_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/messages/converted-cache/hydrate'; + url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/runtime-token/rotate'; }; -export type ChatkitHydrateConvertedMessagesErrors = { +export type ChatkitRotateCustomConnectionCredentialsErrors = { 400: Error; - 500: Error; }; -export type ChatkitHydrateConvertedMessagesError = ChatkitHydrateConvertedMessagesErrors[keyof ChatkitHydrateConvertedMessagesErrors]; +export type ChatkitRotateCustomConnectionCredentialsError = ChatkitRotateCustomConnectionCredentialsErrors[keyof ChatkitRotateCustomConnectionCredentialsErrors]; -export type ChatkitHydrateConvertedMessagesResponses = { - /** - * Hydrate converted ChatKit message representations - */ - 200: HydrateConvertedMessagesResponse; +export type ChatkitRotateCustomConnectionCredentialsResponses = { + 200: CustomConnectionCredentials; }; -export type ChatkitHydrateConvertedMessagesResponse = ChatkitHydrateConvertedMessagesResponses[keyof ChatkitHydrateConvertedMessagesResponses]; +export type ChatkitRotateCustomConnectionCredentialsResponse = ChatkitRotateCustomConnectionCredentialsResponses[keyof ChatkitRotateCustomConnectionCredentialsResponses]; -export type ChatkitListSelfExtensionProposalsData = { +export type ChatkitListCustomConnectionWorkData = { body?: never; path: { + /** + * Team ID + */ team_id: string; + connection_id: string; }; - query?: { - status?: SelfExtensionStatus; - requesting_agent_id?: string; - page_size?: number; - }; - url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/work'; }; -export type ChatkitListSelfExtensionProposalsResponses = { - 200: Array; +export type ChatkitListCustomConnectionWorkErrors = { + 400: Error; }; -export type ChatkitListSelfExtensionProposalsResponse = ChatkitListSelfExtensionProposalsResponses[keyof ChatkitListSelfExtensionProposalsResponses]; +export type ChatkitListCustomConnectionWorkError = ChatkitListCustomConnectionWorkErrors[keyof ChatkitListCustomConnectionWorkErrors]; -export type ChatkitProposeSelfExtensionData = { - body: CreateSelfExtensionProposalInner; +export type ChatkitListCustomConnectionWorkResponses = { + 200: CustomConnectionWorkPaginatedResponse; +}; + +export type ChatkitListCustomConnectionWorkResponse = ChatkitListCustomConnectionWorkResponses[keyof ChatkitListCustomConnectionWorkResponses]; + +export type ChatkitRetryCustomConnectionWorkData = { + body: RetryConnectionWork; path: { + /** + * Team ID + */ team_id: string; + connection_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals'; + url: '/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/work/retry'; }; -export type ChatkitProposeSelfExtensionResponses = { - 201: SelfExtensionProposal; +export type ChatkitRetryCustomConnectionWorkErrors = { + 400: Error; }; -export type ChatkitProposeSelfExtensionResponse = ChatkitProposeSelfExtensionResponses[keyof ChatkitProposeSelfExtensionResponses]; +export type ChatkitRetryCustomConnectionWorkError = ChatkitRetryCustomConnectionWorkErrors[keyof ChatkitRetryCustomConnectionWorkErrors]; -export type ChatkitGetSelfExtensionProposalData = { +export type ChatkitRetryCustomConnectionWorkResponses = { + 200: DeleteInboxResponse; +}; + +export type ChatkitRetryCustomConnectionWorkResponse = ChatkitRetryCustomConnectionWorkResponses[keyof ChatkitRetryCustomConnectionWorkResponses]; + +export type ChatkitListCustomProviderData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - proposal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}'; + url: '/api/v1/team/{team_id}/chatkit/custom-providers'; }; -export type ChatkitGetSelfExtensionProposalResponses = { - 200: SelfExtensionProposal; +export type ChatkitListCustomProviderErrors = { + 400: Error; }; -export type ChatkitGetSelfExtensionProposalResponse = ChatkitGetSelfExtensionProposalResponses[keyof ChatkitGetSelfExtensionProposalResponses]; +export type ChatkitListCustomProviderError = ChatkitListCustomProviderErrors[keyof ChatkitListCustomProviderErrors]; -export type ChatkitApproveSelfExtensionProposalData = { - body?: never; +export type ChatkitListCustomProviderResponses = { + 200: CustomProviderList; +}; + +export type ChatkitListCustomProviderResponse = ChatkitListCustomProviderResponses[keyof ChatkitListCustomProviderResponses]; + +export type ChatkitCreateCustomProviderData = { + body: CustomProviderRegistrationInput; path: { + /** + * Team ID + */ team_id: string; - proposal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/approve'; + url: '/api/v1/team/{team_id}/chatkit/custom-providers'; }; -export type ChatkitApproveSelfExtensionProposalResponses = { - 200: SelfExtensionProposal; +export type ChatkitCreateCustomProviderErrors = { + 400: Error; }; -export type ChatkitApproveSelfExtensionProposalResponse = ChatkitApproveSelfExtensionProposalResponses[keyof ChatkitApproveSelfExtensionProposalResponses]; +export type ChatkitCreateCustomProviderError = ChatkitCreateCustomProviderErrors[keyof ChatkitCreateCustomProviderErrors]; -export type ChatkitCancelSelfExtensionProposalData = { +export type ChatkitCreateCustomProviderResponses = { + 200: CustomProviderRegistration; +}; + +export type ChatkitCreateCustomProviderResponse = ChatkitCreateCustomProviderResponses[keyof ChatkitCreateCustomProviderResponses]; + +export type ChatkitDeleteCustomProviderData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - proposal_id: string; + provider_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/cancel'; + url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}'; }; -export type ChatkitCancelSelfExtensionProposalResponses = { - 200: SelfExtensionProposal; +export type ChatkitDeleteCustomProviderErrors = { + 400: Error; }; -export type ChatkitCancelSelfExtensionProposalResponse = ChatkitCancelSelfExtensionProposalResponses[keyof ChatkitCancelSelfExtensionProposalResponses]; - -export type ChatkitDecideCapabilityChangeData = { - body: DecideCapabilityChangeRequest; - path: { - team_id: string; - proposal_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/decision'; -}; +export type ChatkitDeleteCustomProviderError = ChatkitDeleteCustomProviderErrors[keyof ChatkitDeleteCustomProviderErrors]; -export type ChatkitDecideCapabilityChangeResponses = { - 200: SelfExtensionProposal; +export type ChatkitDeleteCustomProviderResponses = { + 200: DeleteInboxResponse; }; -export type ChatkitDecideCapabilityChangeResponse = ChatkitDecideCapabilityChangeResponses[keyof ChatkitDecideCapabilityChangeResponses]; +export type ChatkitDeleteCustomProviderResponse = ChatkitDeleteCustomProviderResponses[keyof ChatkitDeleteCustomProviderResponses]; -export type ChatkitClaimSelfExtensionProposalOutputsData = { +export type ChatkitGetCustomProviderData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - proposal_id: string; + provider_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/outputs/claim'; + url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}'; }; -export type ChatkitClaimSelfExtensionProposalOutputsResponses = { - 200: SelfExtensionProposalOutputs; +export type ChatkitGetCustomProviderErrors = { + 400: Error; }; -export type ChatkitClaimSelfExtensionProposalOutputsResponse = ChatkitClaimSelfExtensionProposalOutputsResponses[keyof ChatkitClaimSelfExtensionProposalOutputsResponses]; +export type ChatkitGetCustomProviderError = ChatkitGetCustomProviderErrors[keyof ChatkitGetCustomProviderErrors]; -export type ChatkitRejectSelfExtensionProposalData = { - body?: never; +export type ChatkitGetCustomProviderResponses = { + 200: CustomChatKitProvider; +}; + +export type ChatkitGetCustomProviderResponse = ChatkitGetCustomProviderResponses[keyof ChatkitGetCustomProviderResponses]; + +export type ChatkitUpdateCustomProviderData = { + body: CustomProviderRegistrationInput; path: { + /** + * Team ID + */ team_id: string; - proposal_id: string; + provider_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/reject'; + url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}'; }; -export type ChatkitRejectSelfExtensionProposalResponses = { - 200: SelfExtensionProposal; +export type ChatkitUpdateCustomProviderErrors = { + 400: Error; }; -export type ChatkitRejectSelfExtensionProposalResponse = ChatkitRejectSelfExtensionProposalResponses[keyof ChatkitRejectSelfExtensionProposalResponses]; +export type ChatkitUpdateCustomProviderError = ChatkitUpdateCustomProviderErrors[keyof ChatkitUpdateCustomProviderErrors]; -export type ChatkitRollbackSelfExtensionProposalData = { +export type ChatkitUpdateCustomProviderResponses = { + 200: CustomChatKitProvider; +}; + +export type ChatkitUpdateCustomProviderResponse = ChatkitUpdateCustomProviderResponses[keyof ChatkitUpdateCustomProviderResponses]; + +export type ChatkitListCustomConnectionsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - proposal_id: string; + provider_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/rollback'; + url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/connections'; }; -export type ChatkitRollbackSelfExtensionProposalResponses = { - 200: SelfExtensionProposal; +export type ChatkitListCustomConnectionsErrors = { + 400: Error; }; -export type ChatkitRollbackSelfExtensionProposalResponse = ChatkitRollbackSelfExtensionProposalResponses[keyof ChatkitRollbackSelfExtensionProposalResponses]; +export type ChatkitListCustomConnectionsError = ChatkitListCustomConnectionsErrors[keyof ChatkitListCustomConnectionsErrors]; -export type ListSessionsData = { +export type ChatkitListCustomConnectionsResponses = { + 200: CustomConnectionInfoPaginatedResponse; +}; + +export type ChatkitListCustomConnectionsResponse = ChatkitListCustomConnectionsResponses[keyof ChatkitListCustomConnectionsResponses]; + +export type ChatkitDisableCustomProviderData = { body?: never; path: { /** * Team ID */ team_id: string; + provider_id: string; }; - query?: { - /** - * Number of items to return per page - */ - page_size?: number; - /** - * Token for the next page of results - */ - next_page_token?: string | null; - /** - * Filter sessions by inbox_id (via session_inbox_instance join) - */ - inbox_id?: string | null; - }; - url: '/api/v1/team/{team_id}/chatkit/session'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/disable'; }; -export type ListSessionsErrors = { - /** - * Bad Request - */ +export type ChatkitDisableCustomProviderErrors = { 400: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type ListSessionsError = ListSessionsErrors[keyof ListSessionsErrors]; +export type ChatkitDisableCustomProviderError = ChatkitDisableCustomProviderErrors[keyof ChatkitDisableCustomProviderErrors]; -export type ListSessionsResponses = { - /** - * List sessions - */ - 200: SessionPaginatedResponse; +export type ChatkitDisableCustomProviderResponses = { + 200: CustomChatKitProvider; }; -export type ListSessionsResponse = ListSessionsResponses[keyof ListSessionsResponses]; +export type ChatkitDisableCustomProviderResponse = ChatkitDisableCustomProviderResponses[keyof ChatkitDisableCustomProviderResponses]; -export type CreateSessionData = { - body: CreateSessionInner; +export type ChatkitEnableCustomProviderData = { + body?: never; path: { /** * Team ID */ team_id: string; + provider_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session'; + url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/enable'; }; -export type CreateSessionErrors = { - /** - * Bad Request - */ +export type ChatkitEnableCustomProviderErrors = { 400: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type CreateSessionError = CreateSessionErrors[keyof CreateSessionErrors]; +export type ChatkitEnableCustomProviderError = ChatkitEnableCustomProviderErrors[keyof ChatkitEnableCustomProviderErrors]; -export type CreateSessionResponses = { - /** - * Create a session - */ - 200: Session; +export type ChatkitEnableCustomProviderResponses = { + 200: CustomChatKitProvider; }; -export type CreateSessionResponse = CreateSessionResponses[keyof CreateSessionResponses]; +export type ChatkitEnableCustomProviderResponse = ChatkitEnableCustomProviderResponses[keyof ChatkitEnableCustomProviderResponses]; -export type CreateAttachmentUploadData = { - body: CreateAttachmentUploadInner; +export type ChatkitRefreshCustomProviderData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; + provider_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/upload'; + url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/refresh'; }; -export type CreateAttachmentUploadErrors = { - /** - * Bad Request - */ +export type ChatkitRefreshCustomProviderErrors = { 400: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type CreateAttachmentUploadError = CreateAttachmentUploadErrors[keyof CreateAttachmentUploadErrors]; +export type ChatkitRefreshCustomProviderError = ChatkitRefreshCustomProviderErrors[keyof ChatkitRefreshCustomProviderErrors]; -export type CreateAttachmentUploadResponses = { - /** - * Create attachment upload - */ - 200: CreateAttachmentUploadResponse; +export type ChatkitRefreshCustomProviderResponses = { + 200: CustomChatKitProvider; }; -export type CreateAttachmentUploadResponse2 = CreateAttachmentUploadResponses[keyof CreateAttachmentUploadResponses]; +export type ChatkitRefreshCustomProviderResponse = ChatkitRefreshCustomProviderResponses[keyof ChatkitRefreshCustomProviderResponses]; -export type DeleteAttachmentData = { +export type ChatkitRotateCustomProviderData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; - /** - * Attachment ID - */ - attachment_id: WrappedUuidV4; + provider_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}'; + url: '/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/signing-key/rotate'; }; -export type DeleteAttachmentErrors = { - /** - * Bad Request - */ +export type ChatkitRotateCustomProviderErrors = { 400: Error; - /** - * Attachment Not Found - */ - 404: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type DeleteAttachmentError = DeleteAttachmentErrors[keyof DeleteAttachmentErrors]; +export type ChatkitRotateCustomProviderError = ChatkitRotateCustomProviderErrors[keyof ChatkitRotateCustomProviderErrors]; -export type DeleteAttachmentResponses = { - /** - * Delete attachment - */ - 200: Attachment; +export type ChatkitRotateCustomProviderResponses = { + 200: CustomProviderRegistration; }; -export type DeleteAttachmentResponse = DeleteAttachmentResponses[keyof DeleteAttachmentResponses]; +export type ChatkitRotateCustomProviderResponse = ChatkitRotateCustomProviderResponses[keyof ChatkitRotateCustomProviderResponses]; -export type CompleteAttachmentUploadData = { - body: CompleteAttachmentUploadInner; +export type LinkTeamIdentityData = { + body: LinkTeamIdentityRequestInner; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; - /** - * Attachment ID - */ - attachment_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/complete'; + url: '/api/v1/team/{team_id}/chatkit/identities/link'; }; -export type CompleteAttachmentUploadErrors = { - /** - * Bad Request - */ +export type LinkTeamIdentityErrors = { 400: Error; - /** - * Attachment Not Found - */ + 403: Error; 404: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type CompleteAttachmentUploadError = CompleteAttachmentUploadErrors[keyof CompleteAttachmentUploadErrors]; +export type LinkTeamIdentityError = LinkTeamIdentityErrors[keyof LinkTeamIdentityErrors]; -export type CompleteAttachmentUploadResponses = { - /** - * Complete attachment upload - */ - 200: Attachment; +export type LinkTeamIdentityResponses = { + 200: VerifiedIdentityLink; }; -export type CompleteAttachmentUploadResponse = CompleteAttachmentUploadResponses[keyof CompleteAttachmentUploadResponses]; +export type LinkTeamIdentityResponse = LinkTeamIdentityResponses[keyof LinkTeamIdentityResponses]; -export type DownloadAttachmentContentData = { +export type ListInboxesData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; - /** - * Attachment ID - */ - attachment_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/content'; + query: { + page_size: number; + next_page_token?: string; + inbox_type?: null | InboxType; + }; + url: '/api/v1/team/{team_id}/chatkit/inbox'; }; -export type DownloadAttachmentContentErrors = { +export type ListInboxesErrors = { /** * Bad Request */ 400: Error; - /** - * Attachment Not Found - */ - 404: Error; /** * Internal Server Error */ 500: Error; }; -export type DownloadAttachmentContentError = DownloadAttachmentContentErrors[keyof DownloadAttachmentContentErrors]; +export type ListInboxesError = ListInboxesErrors[keyof ListInboxesErrors]; -export type DownloadAttachmentContentResponses = { +export type ListInboxesResponses = { /** - * Download attachment content + * List inboxes */ - 200: Array; + 200: InboxPaginatedResponse; }; -export type DownloadAttachmentContentResponse = DownloadAttachmentContentResponses[keyof DownloadAttachmentContentResponses]; +export type ListInboxesResponse = ListInboxesResponses[keyof ListInboxesResponses]; -export type UploadAttachmentContentData = { - body: Array; +export type ChatkitCacheConvertedMessagesData = { + body: CacheConvertedMessagesRequest; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; - /** - * Attachment ID - */ - attachment_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/content'; + url: '/api/v1/team/{team_id}/chatkit/messages/converted-cache'; }; -export type UploadAttachmentContentErrors = { - /** - * Bad Request - */ +export type ChatkitCacheConvertedMessagesErrors = { 400: Error; - /** - * Attachment Not Found - */ - 404: Error; - /** - * Internal Server Error - */ 500: Error; }; -export type UploadAttachmentContentError = UploadAttachmentContentErrors[keyof UploadAttachmentContentErrors]; +export type ChatkitCacheConvertedMessagesError = ChatkitCacheConvertedMessagesErrors[keyof ChatkitCacheConvertedMessagesErrors]; -export type UploadAttachmentContentResponses = { +export type ChatkitCacheConvertedMessagesResponses = { /** - * Upload attachment content + * Cache converted ChatKit message representations */ - 200: Attachment; + 200: CacheConvertedMessagesResponse; }; -export type UploadAttachmentContentResponse = UploadAttachmentContentResponses[keyof UploadAttachmentContentResponses]; +export type ChatkitCacheConvertedMessagesResponse = ChatkitCacheConvertedMessagesResponses[keyof ChatkitCacheConvertedMessagesResponses]; -export type GetAttachmentDownloadUrlData = { - body?: never; +export type ChatkitHydrateConvertedMessagesData = { + body: HydrateConvertedMessagesRequest; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; - /** - * Attachment ID - */ - attachment_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/download-url'; + url: '/api/v1/team/{team_id}/chatkit/messages/converted-cache/hydrate'; }; -export type GetAttachmentDownloadUrlErrors = { - /** - * Bad Request - */ +export type ChatkitHydrateConvertedMessagesErrors = { 400: Error; - /** - * Attachment Not Found - */ - 404: Error; - /** - * Internal Server Error - */ 500: Error; }; -export type GetAttachmentDownloadUrlError = GetAttachmentDownloadUrlErrors[keyof GetAttachmentDownloadUrlErrors]; +export type ChatkitHydrateConvertedMessagesError = ChatkitHydrateConvertedMessagesErrors[keyof ChatkitHydrateConvertedMessagesErrors]; -export type GetAttachmentDownloadUrlResponses = { +export type ChatkitHydrateConvertedMessagesResponses = { /** - * Get attachment download URL + * Hydrate converted ChatKit message representations */ - 200: GetAttachmentDownloadUrlResponse; + 200: HydrateConvertedMessagesResponse; }; -export type GetAttachmentDownloadUrlResponse2 = GetAttachmentDownloadUrlResponses[keyof GetAttachmentDownloadUrlResponses]; +export type ChatkitHydrateConvertedMessagesResponse = ChatkitHydrateConvertedMessagesResponses[keyof ChatkitHydrateConvertedMessagesResponses]; -export type CreateAttachmentUploadsData = { - body: CreateAttachmentUploadsInner; +export type ChatkitListSelfExtensionProposalsData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachments/upload'; + query?: { + status?: SelfExtensionStatus; + requesting_agent_id?: string; + page_size?: number; + }; + url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals'; }; -export type CreateAttachmentUploadsErrors = { - /** - * Bad Request - */ - 400: Error; - /** - * Internal Server Error - */ - 500: Error; +export type ChatkitListSelfExtensionProposalsResponses = { + 200: Array; }; -export type CreateAttachmentUploadsError = CreateAttachmentUploadsErrors[keyof CreateAttachmentUploadsErrors]; +export type ChatkitListSelfExtensionProposalsResponse = ChatkitListSelfExtensionProposalsResponses[keyof ChatkitListSelfExtensionProposalsResponses]; -export type CreateAttachmentUploadsResponses = { - /** - * Create attachment uploads - */ - 200: CreateAttachmentUploadsResponse; +export type ChatkitProposeSelfExtensionData = { + body: CreateSelfExtensionProposalInner; + path: { + /** + * Team ID + */ + team_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals'; }; -export type CreateAttachmentUploadsResponse2 = CreateAttachmentUploadsResponses[keyof CreateAttachmentUploadsResponses]; +export type ChatkitProposeSelfExtensionResponses = { + 201: SelfExtensionProposal; +}; -export type GetSessionEventHistoryData = { +export type ChatkitProposeSelfExtensionResponse = ChatkitProposeSelfExtensionResponses[keyof ChatkitProposeSelfExtensionResponses]; + +export type ChatkitGetSelfExtensionProposalData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: string; - }; - query?: { - /** - * Number of items to return per page - */ - page_size?: number; - /** - * Token for the next page of results - */ - next_page_token?: string | null; - /** - * Whether to include events from child sessions - */ - include_child_sessions?: boolean | null; + proposal_id: string; }; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/event-history'; -}; - -export type GetSessionEventHistoryErrors = { - /** - * Bad Request - */ - 400: Error; - /** - * Internal Server Error - */ - 500: Error; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}'; }; -export type GetSessionEventHistoryError = GetSessionEventHistoryErrors[keyof GetSessionEventHistoryErrors]; - -export type GetSessionEventHistoryResponses = { - /** - * Event history - */ - 200: StoredEventPaginatedResponse; +export type ChatkitGetSelfExtensionProposalResponses = { + 200: SelfExtensionProposal; }; -export type GetSessionEventHistoryResponse = GetSessionEventHistoryResponses[keyof GetSessionEventHistoryResponses]; +export type ChatkitGetSelfExtensionProposalResponse = ChatkitGetSelfExtensionProposalResponses[keyof ChatkitGetSelfExtensionProposalResponses]; -export type ListSessionInboxInstancesData = { +export type ChatkitApproveSelfExtensionProposalData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: string; + proposal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/inbox-instances'; + url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/approve'; }; -export type ListSessionInboxInstancesErrors = { - /** - * Bad Request - */ - 400: Error; - /** - * Internal Server Error - */ - 500: Error; -}; - -export type ListSessionInboxInstancesError = ListSessionInboxInstancesErrors[keyof ListSessionInboxInstancesErrors]; - -export type ListSessionInboxInstancesResponses = { - /** - * List inbox instances for a session - */ - 200: Array; +export type ChatkitApproveSelfExtensionProposalResponses = { + 200: SelfExtensionProposal; }; -export type ListSessionInboxInstancesResponse = ListSessionInboxInstancesResponses[keyof ListSessionInboxInstancesResponses]; +export type ChatkitApproveSelfExtensionProposalResponse = ChatkitApproveSelfExtensionProposalResponses[keyof ChatkitApproveSelfExtensionProposalResponses]; -export type ListSessionUserMembersData = { +export type ChatkitCancelSelfExtensionProposalData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Private session ID - */ - session_id: string; + proposal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/member'; + url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/cancel'; }; -export type ListSessionUserMembersErrors = { - /** - * Session not found - */ - 404: Error; +export type ChatkitCancelSelfExtensionProposalResponses = { + 200: SelfExtensionProposal; }; -export type ListSessionUserMembersError = ListSessionUserMembersErrors[keyof ListSessionUserMembersErrors]; +export type ChatkitCancelSelfExtensionProposalResponse = ChatkitCancelSelfExtensionProposalResponses[keyof ChatkitCancelSelfExtensionProposalResponses]; -export type ListSessionUserMembersResponses = { - /** - * Private session authorization members - */ - 200: Array; +export type ChatkitDecideCapabilityChangeData = { + body: DecideCapabilityChangeRequest; + path: { + /** + * Team ID + */ + team_id: string; + proposal_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/decision'; }; -export type ListSessionUserMembersResponse = ListSessionUserMembersResponses[keyof ListSessionUserMembersResponses]; +export type ChatkitDecideCapabilityChangeResponses = { + 200: SelfExtensionProposal; +}; -export type AddSessionUserMemberData = { - body: AddSessionUserMemberRequest; +export type ChatkitDecideCapabilityChangeResponse = ChatkitDecideCapabilityChangeResponses[keyof ChatkitDecideCapabilityChangeResponses]; + +export type ChatkitClaimSelfExtensionProposalOutputsData = { + body?: never; path: { /** * Team ID */ team_id: string; + proposal_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/outputs/claim'; +}; + +export type ChatkitClaimSelfExtensionProposalOutputsResponses = { + 200: SelfExtensionProposalOutputs; +}; + +export type ChatkitClaimSelfExtensionProposalOutputsResponse = ChatkitClaimSelfExtensionProposalOutputsResponses[keyof ChatkitClaimSelfExtensionProposalOutputsResponses]; + +export type ChatkitRejectSelfExtensionProposalData = { + body?: never; + path: { /** - * Private session ID + * Team ID */ - session_id: string; + team_id: string; + proposal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/member'; + url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/reject'; }; -export type AddSessionUserMemberErrors = { - /** - * Session not found - */ - 404: Error; +export type ChatkitRejectSelfExtensionProposalResponses = { + 200: SelfExtensionProposal; }; -export type AddSessionUserMemberError = AddSessionUserMemberErrors[keyof AddSessionUserMemberErrors]; +export type ChatkitRejectSelfExtensionProposalResponse = ChatkitRejectSelfExtensionProposalResponses[keyof ChatkitRejectSelfExtensionProposalResponses]; -export type AddSessionUserMemberResponses = { - /** - * Added authorization member - */ - 200: SessionUserMembership; +export type ChatkitRollbackSelfExtensionProposalData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + proposal_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/self-extension-proposals/{proposal_id}/rollback'; }; -export type AddSessionUserMemberResponse = AddSessionUserMemberResponses[keyof AddSessionUserMemberResponses]; +export type ChatkitRollbackSelfExtensionProposalResponses = { + 200: SelfExtensionProposal; +}; -export type RemoveSessionUserMemberData = { +export type ChatkitRollbackSelfExtensionProposalResponse = ChatkitRollbackSelfExtensionProposalResponses[keyof ChatkitRollbackSelfExtensionProposalResponses]; + +export type ListSessionsData = { body?: never; path: { /** * Team ID */ team_id: string; + }; + query?: { /** - * Private session ID + * Number of items to return per page */ - session_id: string; + page_size?: number; /** - * Tilde user ID + * Token for the next page of results */ - user_id: string; + next_page_token?: string | null; + /** + * Filter sessions by inbox_id (via session_inbox_instance join) + */ + inbox_id?: string | null; }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/member/{user_id}'; + url: '/api/v1/team/{team_id}/chatkit/session'; }; -export type RemoveSessionUserMemberErrors = { +export type ListSessionsErrors = { /** - * Session not found + * Bad Request */ - 404: Error; + 400: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type RemoveSessionUserMemberError = RemoveSessionUserMemberErrors[keyof RemoveSessionUserMemberErrors]; +export type ListSessionsError = ListSessionsErrors[keyof ListSessionsErrors]; -export type RemoveSessionUserMemberResponses = { +export type ListSessionsResponses = { /** - * Removed authorization member + * List sessions */ - 200: RemoveSessionUserMemberResponse; + 200: SessionPaginatedResponse; }; -export type RemoveSessionUserMemberResponse2 = RemoveSessionUserMemberResponses[keyof RemoveSessionUserMemberResponses]; +export type ListSessionsResponse = ListSessionsResponses[keyof ListSessionsResponses]; -export type ListMessagesData = { - body?: never; +export type CreateSessionData = { + body: CreateSessionInner; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; - }; - query?: { - page_size?: number; - next_page_token?: string | null; - channel_inbox_id?: string | null; - participant_inbox_instance_id?: string | null; - user_external_id?: string | null; - created_after?: null | WrappedChronoDateTime; - created_before?: null | WrappedChronoDateTime; }; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/message'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/session'; }; -export type ListMessagesErrors = { +export type CreateSessionErrors = { /** * Bad Request */ 400: Error; - /** - * Session Not Found - */ - 404: Error; /** * Internal Server Error */ 500: Error; }; -export type ListMessagesError = ListMessagesErrors[keyof ListMessagesErrors]; +export type CreateSessionError = CreateSessionErrors[keyof CreateSessionErrors]; -export type ListMessagesResponses = { +export type CreateSessionResponses = { /** - * List messages + * Create a session */ - 200: MessagePaginatedResponse; + 200: Session; }; -export type ListMessagesResponse = ListMessagesResponses[keyof ListMessagesResponses]; +export type CreateSessionResponse = CreateSessionResponses[keyof CreateSessionResponses]; -export type CreateMessageData = { - body: CreateMessageRequest; +export type CreateAttachmentUploadData = { + body: CreateAttachmentUploadInner; path: { /** * Team ID @@ -14589,36 +13970,32 @@ export type CreateMessageData = { session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/message'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/upload'; }; -export type CreateMessageErrors = { +export type CreateAttachmentUploadErrors = { /** * Bad Request */ 400: Error; - /** - * Session Not Found - */ - 404: Error; /** * Internal Server Error */ 500: Error; }; -export type CreateMessageError = CreateMessageErrors[keyof CreateMessageErrors]; +export type CreateAttachmentUploadError = CreateAttachmentUploadErrors[keyof CreateAttachmentUploadErrors]; -export type CreateMessageResponses = { +export type CreateAttachmentUploadResponses = { /** - * Create a message + * Create attachment upload */ - 200: Message; + 200: CreateAttachmentUploadResponse; }; -export type CreateMessageResponse = CreateMessageResponses[keyof CreateMessageResponses]; +export type CreateAttachmentUploadResponse2 = CreateAttachmentUploadResponses[keyof CreateAttachmentUploadResponses]; -export type DeleteMessageData = { +export type DeleteAttachmentData = { body?: never; path: { /** @@ -14630,21 +14007,21 @@ export type DeleteMessageData = { */ session_id: WrappedUuidV4; /** - * Message ID + * Attachment ID */ - message_id: WrappedUuidV4; + attachment_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/message/{message_id}'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}'; }; -export type DeleteMessageErrors = { +export type DeleteAttachmentErrors = { /** * Bad Request */ 400: Error; /** - * Not Found + * Attachment Not Found */ 404: Error; /** @@ -14653,19 +14030,19 @@ export type DeleteMessageErrors = { 500: Error; }; -export type DeleteMessageError = DeleteMessageErrors[keyof DeleteMessageErrors]; +export type DeleteAttachmentError = DeleteAttachmentErrors[keyof DeleteAttachmentErrors]; -export type DeleteMessageResponses = { +export type DeleteAttachmentResponses = { /** - * Delete message + * Delete attachment */ - 200: DeleteMessageResponse; + 200: Attachment; }; -export type DeleteMessageResponse2 = DeleteMessageResponses[keyof DeleteMessageResponses]; +export type DeleteAttachmentResponse = DeleteAttachmentResponses[keyof DeleteAttachmentResponses]; -export type GetMessageData = { - body?: never; +export type CompleteAttachmentUploadData = { + body: CompleteAttachmentUploadInner; path: { /** * Team ID @@ -14676,21 +14053,21 @@ export type GetMessageData = { */ session_id: WrappedUuidV4; /** - * Message ID + * Attachment ID */ - message_id: WrappedUuidV4; + attachment_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/message/{message_id}'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/complete'; }; -export type GetMessageErrors = { +export type CompleteAttachmentUploadErrors = { /** * Bad Request */ 400: Error; /** - * Not Found + * Attachment Not Found */ 404: Error; /** @@ -14699,908 +14076,1051 @@ export type GetMessageErrors = { 500: Error; }; -export type GetMessageError = GetMessageErrors[keyof GetMessageErrors]; +export type CompleteAttachmentUploadError = CompleteAttachmentUploadErrors[keyof CompleteAttachmentUploadErrors]; -export type GetMessageResponses = { +export type CompleteAttachmentUploadResponses = { /** - * Get message + * Complete attachment upload */ - 200: Message; + 200: Attachment; }; -export type GetMessageResponse = GetMessageResponses[keyof GetMessageResponses]; +export type CompleteAttachmentUploadResponse = CompleteAttachmentUploadResponses[keyof CompleteAttachmentUploadResponses]; -export type GetMessageDeliveriesData = { +export type DownloadAttachmentContentData = { body?: never; path: { - team_id: string; + /** + * Team ID + */ + team_id: string; + /** + * Session ID + */ session_id: WrappedUuidV4; - message_id: WrappedUuidV4; + /** + * Attachment ID + */ + attachment_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/message/{message_id}/deliveries'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/content'; }; -export type GetMessageDeliveriesErrors = { +export type DownloadAttachmentContentErrors = { /** - * Message not found or not visible + * Bad Request + */ + 400: Error; + /** + * Attachment Not Found */ 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type GetMessageDeliveriesError = GetMessageDeliveriesErrors[keyof GetMessageDeliveriesErrors]; +export type DownloadAttachmentContentError = DownloadAttachmentContentErrors[keyof DownloadAttachmentContentErrors]; -export type GetMessageDeliveriesResponses = { +export type DownloadAttachmentContentResponses = { /** - * Provider delivery receipts + * Download attachment content */ - 200: Array; + 200: Array; }; -export type GetMessageDeliveriesResponse = GetMessageDeliveriesResponses[keyof GetMessageDeliveriesResponses]; +export type DownloadAttachmentContentResponse = DownloadAttachmentContentResponses[keyof DownloadAttachmentContentResponses]; -export type ObserveSessionData = { - body?: never; +export type UploadAttachmentContentData = { + body: Array; path: { /** * Team ID */ team_id: string; /** - * Session ID to observe - */ - session_id: string; - }; - query?: { - /** - * Comma-separated event types to subscribe to (e.g. "message_created,message_streaming"). - * If not set, all events are forwarded. + * Session ID */ - subscribe_to_events?: string | null; + session_id: WrappedUuidV4; /** - * Whether to auto-attach to child sessions created under the observed session + * Attachment ID */ - attach_to_child_sessions?: boolean | null; + attachment_id: WrappedUuidV4; }; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/observe'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/content'; }; -export type ObserveSessionErrors = { +export type UploadAttachmentContentErrors = { /** * Bad Request */ 400: Error; /** - * Session not found + * Attachment Not Found */ 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ObserveSessionError = ObserveSessionErrors[keyof ObserveSessionErrors]; +export type UploadAttachmentContentError = UploadAttachmentContentErrors[keyof UploadAttachmentContentErrors]; -export type ObserveSessionResponses = { +export type UploadAttachmentContentResponses = { /** - * SSE stream of session events + * Upload attachment content */ - 200: unknown; + 200: Attachment; }; -export type UpdateSessionOwnershipData = { - body: SetResourceAccessModeRequest; +export type UploadAttachmentContentResponse = UploadAttachmentContentResponses[keyof UploadAttachmentContentResponses]; + +export type GetAttachmentDownloadUrlData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - session_id: string; + /** + * Session ID + */ + session_id: WrappedUuidV4; + /** + * Attachment ID + */ + attachment_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/ownership'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachment/{attachment_id}/download-url'; }; -export type UpdateSessionOwnershipErrors = { +export type GetAttachmentDownloadUrlErrors = { + /** + * Bad Request + */ 400: Error; + /** + * Attachment Not Found + */ 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type UpdateSessionOwnershipError = UpdateSessionOwnershipErrors[keyof UpdateSessionOwnershipErrors]; +export type GetAttachmentDownloadUrlError = GetAttachmentDownloadUrlErrors[keyof GetAttachmentDownloadUrlErrors]; -export type UpdateSessionOwnershipResponses = { - 200: ResourceAuthorization; +export type GetAttachmentDownloadUrlResponses = { + /** + * Get attachment download URL + */ + 200: GetAttachmentDownloadUrlResponse; }; -export type UpdateSessionOwnershipResponse = UpdateSessionOwnershipResponses[keyof UpdateSessionOwnershipResponses]; +export type GetAttachmentDownloadUrlResponse2 = GetAttachmentDownloadUrlResponses[keyof GetAttachmentDownloadUrlResponses]; -export type UpdateSessionVisibilityData = { - body: SetResourceAccessModeRequest; +export type CreateAttachmentUploadsData = { + body: CreateAttachmentUploadsInner; path: { + /** + * Team ID + */ team_id: string; - session_id: string; + /** + * Session ID + */ + session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/visibility'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/attachments/upload'; }; -export type UpdateSessionVisibilityErrors = { +export type CreateAttachmentUploadsErrors = { + /** + * Bad Request + */ 400: Error; - 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type UpdateSessionVisibilityError = UpdateSessionVisibilityErrors[keyof UpdateSessionVisibilityErrors]; +export type CreateAttachmentUploadsError = CreateAttachmentUploadsErrors[keyof CreateAttachmentUploadsErrors]; -export type UpdateSessionVisibilityResponses = { - 200: ResourceAuthorization; +export type CreateAttachmentUploadsResponses = { + /** + * Create attachment uploads + */ + 200: CreateAttachmentUploadsResponse; }; -export type UpdateSessionVisibilityResponse = UpdateSessionVisibilityResponses[keyof UpdateSessionVisibilityResponses]; +export type CreateAttachmentUploadsResponse2 = CreateAttachmentUploadsResponses[keyof CreateAttachmentUploadsResponses]; -export type ListSessionResourceGrantsData = { +export type GetSessionEventHistoryData = { body?: never; path: { + /** + * Team ID + */ team_id: string; + /** + * Session ID + */ session_id: string; - plane: string; }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/{plane}/grants'; + query?: { + /** + * Number of items to return per page + */ + page_size?: number; + /** + * Token for the next page of results + */ + next_page_token?: string | null; + /** + * Whether to include events from child sessions + */ + include_child_sessions?: boolean | null; + }; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/event-history'; }; -export type ListSessionResourceGrantsErrors = { - 404: Error; +export type GetSessionEventHistoryErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ListSessionResourceGrantsError = ListSessionResourceGrantsErrors[keyof ListSessionResourceGrantsErrors]; +export type GetSessionEventHistoryError = GetSessionEventHistoryErrors[keyof GetSessionEventHistoryErrors]; -export type ListSessionResourceGrantsResponses = { - 200: Array; +export type GetSessionEventHistoryResponses = { + /** + * Event history + */ + 200: StoredEventPaginatedResponse; }; -export type ListSessionResourceGrantsResponse = ListSessionResourceGrantsResponses[keyof ListSessionResourceGrantsResponses]; +export type GetSessionEventHistoryResponse = GetSessionEventHistoryResponses[keyof GetSessionEventHistoryResponses]; -export type AddSessionResourceGrantData = { - body: CreateResourcePlaneGrantRequest; +export type ListSessionInboxInstancesData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; + /** + * Session ID + */ session_id: string; - plane: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/{plane}/grants'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/inbox-instances'; }; -export type AddSessionResourceGrantErrors = { +export type ListSessionInboxInstancesErrors = { + /** + * Bad Request + */ 400: Error; - 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type AddSessionResourceGrantError = AddSessionResourceGrantErrors[keyof AddSessionResourceGrantErrors]; +export type ListSessionInboxInstancesError = ListSessionInboxInstancesErrors[keyof ListSessionInboxInstancesErrors]; -export type AddSessionResourceGrantResponses = { - 200: ResourceGrant; +export type ListSessionInboxInstancesResponses = { + /** + * List inbox instances for a session + */ + 200: Array; }; -export type AddSessionResourceGrantResponse = AddSessionResourceGrantResponses[keyof AddSessionResourceGrantResponses]; +export type ListSessionInboxInstancesResponse = ListSessionInboxInstancesResponses[keyof ListSessionInboxInstancesResponses]; -export type RemoveSessionResourceGrantData = { +export type ListSessionUserMembersData = { body?: never; path: { + /** + * Team ID + */ team_id: string; + /** + * Private session ID + */ session_id: string; - plane: string; - principal_type: string; - principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/{plane}/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/member'; }; -export type RemoveSessionResourceGrantErrors = { - 400: Error; +export type ListSessionUserMembersErrors = { + /** + * Session not found + */ 404: Error; }; -export type RemoveSessionResourceGrantError = RemoveSessionResourceGrantErrors[keyof RemoveSessionResourceGrantErrors]; +export type ListSessionUserMembersError = ListSessionUserMembersErrors[keyof ListSessionUserMembersErrors]; -export type RemoveSessionResourceGrantResponses = { - 200: ResourceGrant; +export type ListSessionUserMembersResponses = { + /** + * Private session authorization members + */ + 200: Array; }; -export type RemoveSessionResourceGrantResponse = RemoveSessionResourceGrantResponses[keyof RemoveSessionResourceGrantResponses]; +export type ListSessionUserMembersResponse = ListSessionUserMembersResponses[keyof ListSessionUserMembersResponses]; -export type ChatkitListSessionsData = { - body?: never; +export type AddSessionUserMemberData = { + body: AddSessionUserMemberRequest; path: { /** * Team ID */ team_id: string; + /** + * Private session ID + */ + session_id: string; }; - query?: { - page_size?: number; - next_page_token?: string | null; - inbox_id?: string | null; - }; - url: '/api/v1/team/{team_id}/chatkit/sessions'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/member'; }; -export type ChatkitListSessionsErrors = { - /** - * Bad Request - */ - 400: Error; +export type AddSessionUserMemberErrors = { /** - * Internal Server Error + * Session not found */ - 500: Error; + 404: Error; }; -export type ChatkitListSessionsError = ChatkitListSessionsErrors[keyof ChatkitListSessionsErrors]; +export type AddSessionUserMemberError = AddSessionUserMemberErrors[keyof AddSessionUserMemberErrors]; -export type ChatkitListSessionsResponses = { +export type AddSessionUserMemberResponses = { /** - * List ChatKit sessions + * Added authorization member */ - 200: SessionPaginatedResponse; + 200: SessionUserMembership; }; -export type ChatkitListSessionsResponse = ChatkitListSessionsResponses[keyof ChatkitListSessionsResponses]; +export type AddSessionUserMemberResponse = AddSessionUserMemberResponses[keyof AddSessionUserMemberResponses]; -export type ChatkitCreateSessionData = { - body: CreateChatKitSessionRequestInner; +export type RemoveSessionUserMemberData = { + body?: never; path: { /** * Team ID */ team_id: string; + /** + * Private session ID + */ + session_id: string; + /** + * Tilde user ID + */ + user_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/member/{user_id}'; }; -export type ChatkitCreateSessionErrors = { - /** - * Bad Request - */ - 400: Error; +export type RemoveSessionUserMemberErrors = { /** - * Internal Server Error + * Session not found */ - 500: Error; + 404: Error; }; -export type ChatkitCreateSessionError = ChatkitCreateSessionErrors[keyof ChatkitCreateSessionErrors]; +export type RemoveSessionUserMemberError = RemoveSessionUserMemberErrors[keyof RemoveSessionUserMemberErrors]; -export type ChatkitCreateSessionResponses = { +export type RemoveSessionUserMemberResponses = { /** - * Create ChatKit session + * Removed authorization member */ - 200: ChatKitSessionWithParticipants; + 200: RemoveSessionUserMemberResponse; }; -export type ChatkitCreateSessionResponse = ChatkitCreateSessionResponses[keyof ChatkitCreateSessionResponses]; +export type RemoveSessionUserMemberResponse2 = RemoveSessionUserMemberResponses[keyof RemoveSessionUserMemberResponses]; -export type ChatkitReportCompactionEventData = { - body: ReportChatKitCompactionEventInner; +export type ListMessagesData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; + /** + * Session ID + */ session_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/compaction-events'; + query?: { + page_size?: number; + next_page_token?: string | null; + channel_inbox_id?: string | null; + participant_inbox_instance_id?: string | null; + user_external_id?: string | null; + created_after?: null | WrappedChronoDateTime; + created_before?: null | WrappedChronoDateTime; + }; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/message'; }; -export type ChatkitReportCompactionEventErrors = { +export type ListMessagesErrors = { + /** + * Bad Request + */ 400: Error; - 403: Error; + /** + * Session Not Found + */ 404: Error; - 409: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ChatkitReportCompactionEventError = ChatkitReportCompactionEventErrors[keyof ChatkitReportCompactionEventErrors]; +export type ListMessagesError = ListMessagesErrors[keyof ListMessagesErrors]; -export type ChatkitReportCompactionEventResponses = { - 200: ReportChatKitCompactionEventResponse; +export type ListMessagesResponses = { + /** + * List messages + */ + 200: MessagePaginatedResponse; }; -export type ChatkitReportCompactionEventResponse = ChatkitReportCompactionEventResponses[keyof ChatkitReportCompactionEventResponses]; +export type ListMessagesResponse = ListMessagesResponses[keyof ListMessagesResponses]; -export type ChatkitGetLatestCompactionData = { - body?: never; +export type CreateMessageData = { + body: CreateMessageRequest; path: { + /** + * Team ID + */ team_id: string; + /** + * Session ID + */ session_id: WrappedUuidV4; }; - query: { - agent_id: string; - }; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/compaction-events/latest'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/message'; }; -export type ChatkitGetLatestCompactionErrors = { - 403: Error; +export type CreateMessageErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Session Not Found + */ 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ChatkitGetLatestCompactionError = ChatkitGetLatestCompactionErrors[keyof ChatkitGetLatestCompactionErrors]; +export type CreateMessageError = CreateMessageErrors[keyof CreateMessageErrors]; -export type ChatkitGetLatestCompactionResponses = { - 200: null | ChatKitCompactionCheckpoint; +export type CreateMessageResponses = { + /** + * Create a message + */ + 200: Message; }; -export type ChatkitGetLatestCompactionResponse = ChatkitGetLatestCompactionResponses[keyof ChatkitGetLatestCompactionResponses]; +export type CreateMessageResponse = CreateMessageResponses[keyof CreateMessageResponses]; -export type ChatkitListRoomInvitationsData = { +export type DeleteMessageData = { body?: never; path: { + /** + * Team ID + */ team_id: string; + /** + * Session ID + */ session_id: WrappedUuidV4; + /** + * Message ID + */ + message_id: WrappedUuidV4; }; - query?: { - page_size?: number; - next_page_token?: string | null; - }; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/message/{message_id}'; }; -export type ChatkitListRoomInvitationsErrors = { +export type DeleteMessageErrors = { + /** + * Bad Request + */ 400: Error; + /** + * Not Found + */ 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ChatkitListRoomInvitationsError = ChatkitListRoomInvitationsErrors[keyof ChatkitListRoomInvitationsErrors]; +export type DeleteMessageError = DeleteMessageErrors[keyof DeleteMessageErrors]; -export type ChatkitListRoomInvitationsResponses = { - 200: ChatKitRoomInvitationPaginatedResponse; +export type DeleteMessageResponses = { + /** + * Delete message + */ + 200: DeleteMessageResponse; }; -export type ChatkitListRoomInvitationsResponse = ChatkitListRoomInvitationsResponses[keyof ChatkitListRoomInvitationsResponses]; +export type DeleteMessageResponse2 = DeleteMessageResponses[keyof DeleteMessageResponses]; -export type ChatkitCreateRoomInvitationData = { - body: CreateChatKitRoomInvitationRequestInner; +export type GetMessageData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; + /** + * Session ID + */ session_id: WrappedUuidV4; + /** + * Message ID + */ + message_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/message/{message_id}'; }; -export type ChatkitCreateRoomInvitationErrors = { +export type GetMessageErrors = { + /** + * Bad Request + */ 400: Error; + /** + * Not Found + */ 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ChatkitCreateRoomInvitationError = ChatkitCreateRoomInvitationErrors[keyof ChatkitCreateRoomInvitationErrors]; +export type GetMessageError = GetMessageErrors[keyof GetMessageErrors]; -export type ChatkitCreateRoomInvitationResponses = { - 200: ChatKitRoomInvitation; +export type GetMessageResponses = { + /** + * Get message + */ + 200: Message; }; -export type ChatkitCreateRoomInvitationResponse = ChatkitCreateRoomInvitationResponses[keyof ChatkitCreateRoomInvitationResponses]; +export type GetMessageResponse = GetMessageResponses[keyof GetMessageResponses]; -export type ChatkitRevokeRoomInvitationData = { +export type GetMessageDeliveriesData = { body?: never; path: { + /** + * Team ID + */ team_id: string; session_id: WrappedUuidV4; - invitation_id: WrappedUuidV4; + message_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations/{invitation_id}'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/message/{message_id}/deliveries'; }; -export type ChatkitRevokeRoomInvitationErrors = { - 400: Error; +export type GetMessageDeliveriesErrors = { + /** + * Message not found or not visible + */ 404: Error; }; -export type ChatkitRevokeRoomInvitationError = ChatkitRevokeRoomInvitationErrors[keyof ChatkitRevokeRoomInvitationErrors]; +export type GetMessageDeliveriesError = GetMessageDeliveriesErrors[keyof GetMessageDeliveriesErrors]; -export type ChatkitRevokeRoomInvitationResponses = { - 200: ChatKitRoomInvitation; +export type GetMessageDeliveriesResponses = { + /** + * Provider delivery receipts + */ + 200: Array; }; -export type ChatkitRevokeRoomInvitationResponse = ChatkitRevokeRoomInvitationResponses[keyof ChatkitRevokeRoomInvitationResponses]; +export type GetMessageDeliveriesResponse = GetMessageDeliveriesResponses[keyof GetMessageDeliveriesResponses]; -export type ChatkitDecideRoomInvitationData = { - body: DecideChatKitRoomInvitationRequestInner; +export type ObserveSessionData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - session_id: WrappedUuidV4; - invitation_id: WrappedUuidV4; + /** + * Session ID to observe + */ + session_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations/{invitation_id}/decision'; + query?: { + /** + * Comma-separated event types to subscribe to (e.g. "message_created,message_streaming"). + * If not set, all events are forwarded. + */ + subscribe_to_events?: string | null; + /** + * Whether to auto-attach to child sessions created under the observed session + */ + attach_to_child_sessions?: boolean | null; + }; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/observe'; }; -export type ChatkitDecideRoomInvitationErrors = { +export type ObserveSessionErrors = { + /** + * Bad Request + */ 400: Error; + /** + * Session not found + */ 404: Error; }; -export type ChatkitDecideRoomInvitationError = ChatkitDecideRoomInvitationErrors[keyof ChatkitDecideRoomInvitationErrors]; +export type ObserveSessionError = ObserveSessionErrors[keyof ObserveSessionErrors]; -export type ChatkitDecideRoomInvitationResponses = { - 200: ChatKitRoomInvitation; +export type ObserveSessionResponses = { + /** + * SSE stream of session events + */ + 200: unknown; }; -export type ChatkitDecideRoomInvitationResponse = ChatkitDecideRoomInvitationResponses[keyof ChatkitDecideRoomInvitationResponses]; - -export type ChatkitJoinSessionData = { - body: AddChatKitParticipantRequestInner; +export type UpdateSessionOwnershipData = { + body: SetResourceAccessModeRequest; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; + session_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/join'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/ownership'; }; -export type ChatkitJoinSessionErrors = { - /** - * Bad Request - */ +export type UpdateSessionOwnershipErrors = { 400: Error; - /** - * Not Found - */ 404: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type ChatkitJoinSessionError = ChatkitJoinSessionErrors[keyof ChatkitJoinSessionErrors]; +export type UpdateSessionOwnershipError = UpdateSessionOwnershipErrors[keyof UpdateSessionOwnershipErrors]; -export type ChatkitJoinSessionResponses = { - /** - * Join ChatKit session - */ - 200: ChatKitParticipant; +export type UpdateSessionOwnershipResponses = { + 200: ResourceAuthorization; }; -export type ChatkitJoinSessionResponse = ChatkitJoinSessionResponses[keyof ChatkitJoinSessionResponses]; +export type UpdateSessionOwnershipResponse = UpdateSessionOwnershipResponses[keyof UpdateSessionOwnershipResponses]; -export type ChatkitListMessageHistoryData = { - body?: never; +export type UpdateSessionVisibilityData = { + body: SetResourceAccessModeRequest; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; - }; - query?: { - page_size?: number; - next_page_token?: string | null; - channel_inbox_id?: string | null; - participant_inbox_instance_id?: string | null; - user_external_id?: string | null; - created_after?: null | WrappedChronoDateTime; - created_before?: null | WrappedChronoDateTime; + session_id: string; }; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/messages'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/visibility'; }; -export type ChatkitListMessageHistoryErrors = { +export type UpdateSessionVisibilityErrors = { 400: Error; 404: Error; - 500: Error; }; -export type ChatkitListMessageHistoryError = ChatkitListMessageHistoryErrors[keyof ChatkitListMessageHistoryErrors]; +export type UpdateSessionVisibilityError = UpdateSessionVisibilityErrors[keyof UpdateSessionVisibilityErrors]; -export type ChatkitListMessageHistoryResponses = { - /** - * List ChatKit message history - */ - 200: MessagePaginatedResponse; +export type UpdateSessionVisibilityResponses = { + 200: ResourceAuthorization; }; -export type ChatkitListMessageHistoryResponse = ChatkitListMessageHistoryResponses[keyof ChatkitListMessageHistoryResponses]; +export type UpdateSessionVisibilityResponse = UpdateSessionVisibilityResponses[keyof UpdateSessionVisibilityResponses]; -export type ChatkitGetCompactedHistoryData = { +export type ListSessionResourceGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - session_id: WrappedUuidV4; - }; - query: { - agent_id: string; - page_size?: number; - next_page_token?: string | null; + session_id: string; + plane: string; }; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/messages/from-last-compaction'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/{plane}/grants'; }; -export type ChatkitGetCompactedHistoryErrors = { - 403: Error; +export type ListSessionResourceGrantsErrors = { 404: Error; }; -export type ChatkitGetCompactedHistoryError = ChatkitGetCompactedHistoryErrors[keyof ChatkitGetCompactedHistoryErrors]; +export type ListSessionResourceGrantsError = ListSessionResourceGrantsErrors[keyof ListSessionResourceGrantsErrors]; -export type ChatkitGetCompactedHistoryResponses = { - 200: ChatKitCompactedHistoryResponse; +export type ListSessionResourceGrantsResponses = { + 200: Array; }; -export type ChatkitGetCompactedHistoryResponse = ChatkitGetCompactedHistoryResponses[keyof ChatkitGetCompactedHistoryResponses]; +export type ListSessionResourceGrantsResponse = ListSessionResourceGrantsResponses[keyof ListSessionResourceGrantsResponses]; -export type ChatkitListSessionParticipantsData = { - body?: never; +export type AddSessionResourceGrantData = { + body: CreateResourcePlaneGrantRequest; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; + session_id: string; + plane: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/participants'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/{plane}/grants'; }; -export type ChatkitListSessionParticipantsErrors = { - /** - * Bad Request - */ +export type AddSessionResourceGrantErrors = { 400: Error; - /** - * Not Found - */ 404: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type ChatkitListSessionParticipantsError = ChatkitListSessionParticipantsErrors[keyof ChatkitListSessionParticipantsErrors]; +export type AddSessionResourceGrantError = AddSessionResourceGrantErrors[keyof AddSessionResourceGrantErrors]; -export type ChatkitListSessionParticipantsResponses = { - /** - * List ChatKit participants - */ - 200: Array; +export type AddSessionResourceGrantResponses = { + 200: ResourceGrant; }; -export type ChatkitListSessionParticipantsResponse = ChatkitListSessionParticipantsResponses[keyof ChatkitListSessionParticipantsResponses]; +export type AddSessionResourceGrantResponse = AddSessionResourceGrantResponses[keyof AddSessionResourceGrantResponses]; -export type ChatkitAddSessionParticipantData = { - body: AddChatKitParticipantRequestInner; +export type RemoveSessionResourceGrantData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; + session_id: string; + plane: string; + principal_type: string; + principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/participants'; + url: '/api/v1/team/{team_id}/chatkit/session/{session_id}/{plane}/grants/{principal_type}/{principal_id}'; }; -export type ChatkitAddSessionParticipantErrors = { - /** - * Bad Request - */ +export type RemoveSessionResourceGrantErrors = { 400: Error; - /** - * Not Found - */ 404: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type ChatkitAddSessionParticipantError = ChatkitAddSessionParticipantErrors[keyof ChatkitAddSessionParticipantErrors]; +export type RemoveSessionResourceGrantError = RemoveSessionResourceGrantErrors[keyof RemoveSessionResourceGrantErrors]; -export type ChatkitAddSessionParticipantResponses = { - /** - * Add ChatKit participant - */ - 200: ChatKitParticipant; +export type RemoveSessionResourceGrantResponses = { + 200: ResourceGrant; }; -export type ChatkitAddSessionParticipantResponse = ChatkitAddSessionParticipantResponses[keyof ChatkitAddSessionParticipantResponses]; +export type RemoveSessionResourceGrantResponse = RemoveSessionResourceGrantResponses[keyof RemoveSessionResourceGrantResponses]; -export type ChatkitRemoveSessionParticipantData = { +export type ChatkitListSessionsData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; - /** - * Participant inbox instance ID - */ - participant_instance_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/participants/{participant_instance_id}'; + query?: { + page_size?: number; + next_page_token?: string | null; + inbox_id?: string | null; + }; + url: '/api/v1/team/{team_id}/chatkit/sessions'; }; -export type ChatkitRemoveSessionParticipantErrors = { +export type ChatkitListSessionsErrors = { /** * Bad Request */ 400: Error; - /** - * Not Found - */ - 404: Error; /** * Internal Server Error */ 500: Error; }; -export type ChatkitRemoveSessionParticipantError = ChatkitRemoveSessionParticipantErrors[keyof ChatkitRemoveSessionParticipantErrors]; +export type ChatkitListSessionsError = ChatkitListSessionsErrors[keyof ChatkitListSessionsErrors]; -export type ChatkitRemoveSessionParticipantResponses = { +export type ChatkitListSessionsResponses = { /** - * Remove ChatKit participant + * List ChatKit sessions */ - 200: RemoveChatKitParticipantResponse; + 200: SessionPaginatedResponse; }; -export type ChatkitRemoveSessionParticipantResponse = ChatkitRemoveSessionParticipantResponses[keyof ChatkitRemoveSessionParticipantResponses]; +export type ChatkitListSessionsResponse = ChatkitListSessionsResponses[keyof ChatkitListSessionsResponses]; -export type ChatkitSendSessionMessageData = { - body: SendSessionMessageBody; +export type ChatkitCreateSessionData = { + body: CreateChatKitSessionRequestInner; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ - session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/tools/sendMessage'; + url: '/api/v1/team/{team_id}/chatkit/sessions'; }; -export type ChatkitSendSessionMessageErrors = { +export type ChatkitCreateSessionErrors = { + /** + * Bad Request + */ 400: Error; - 404: Error; + /** + * Internal Server Error + */ 500: Error; }; -export type ChatkitSendSessionMessageError = ChatkitSendSessionMessageErrors[keyof ChatkitSendSessionMessageErrors]; +export type ChatkitCreateSessionError = ChatkitCreateSessionErrors[keyof ChatkitCreateSessionErrors]; -export type ChatkitSendSessionMessageResponses = { +export type ChatkitCreateSessionResponses = { /** - * Provider message delivered + * Create ChatKit session */ - 200: SendSessionMessageResponse; + 200: ChatKitSessionWithParticipants; }; -export type ChatkitSendSessionMessageResponse = ChatkitSendSessionMessageResponses[keyof ChatkitSendSessionMessageResponses]; +export type ChatkitCreateSessionResponse = ChatkitCreateSessionResponses[keyof ChatkitCreateSessionResponses]; -export type ChatkitInvokeSessionProviderToolData = { - body: InvokeSessionProviderToolBody; +export type ChatkitReportCompactionEventData = { + body: ReportChatKitCompactionEventInner; path: { + /** + * Team ID + */ team_id: string; session_id: WrappedUuidV4; - tool_name: string; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/tools/{tool_name}'; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/compaction-events'; }; -export type ChatkitInvokeSessionProviderToolErrors = { +export type ChatkitReportCompactionEventErrors = { 400: Error; + 403: Error; 404: Error; + 409: Error; }; -export type ChatkitInvokeSessionProviderToolError = ChatkitInvokeSessionProviderToolErrors[keyof ChatkitInvokeSessionProviderToolErrors]; +export type ChatkitReportCompactionEventError = ChatkitReportCompactionEventErrors[keyof ChatkitReportCompactionEventErrors]; -export type ChatkitInvokeSessionProviderToolResponses = { - 200: InvokeSessionProviderToolResponse; +export type ChatkitReportCompactionEventResponses = { + 200: ReportChatKitCompactionEventResponse; }; -export type ChatkitInvokeSessionProviderToolResponse = ChatkitInvokeSessionProviderToolResponses[keyof ChatkitInvokeSessionProviderToolResponses]; +export type ChatkitReportCompactionEventResponse = ChatkitReportCompactionEventResponses[keyof ChatkitReportCompactionEventResponses]; -export type ChatkitWorkspaceAgentSessionsData = { +export type ChatkitGetLatestCompactionData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Agent inbox ID - */ - agent_id: string; + session_id: WrappedUuidV4; }; - query?: { - page_size?: number; - next_page_token?: string | null; - session_sort?: string | null; - q?: string | null; + query: { + agent_id: string; }; - url: '/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/sessions'; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/compaction-events/latest'; }; -export type ChatkitWorkspaceAgentSessionsResponses = { - /** - * ChatKit workspace agent sessions - */ - 200: ChatKitWorkspaceAgentSessionsResponse; +export type ChatkitGetLatestCompactionErrors = { + 403: Error; + 404: Error; }; -export type ChatkitWorkspaceAgentSessionsResponse = ChatkitWorkspaceAgentSessionsResponses[keyof ChatkitWorkspaceAgentSessionsResponses]; +export type ChatkitGetLatestCompactionError = ChatkitGetLatestCompactionErrors[keyof ChatkitGetLatestCompactionErrors]; -export type ChatkitWorkspaceCreateSessionData = { - body: CreateChatKitWorkspaceSessionRequestInner; +export type ChatkitGetLatestCompactionResponses = { + 200: null | ChatKitCompactionCheckpoint; +}; + +export type ChatkitGetLatestCompactionResponse = ChatkitGetLatestCompactionResponses[keyof ChatkitGetLatestCompactionResponses]; + +export type ChatkitStreamSessionEventsData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * Agent inbox ID - */ - agent_id: string; + session_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/sessions'; + query?: { + after_revision?: number | null; + }; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/events/stream'; }; -export type ChatkitWorkspaceCreateSessionResponses = { +export type ChatkitStreamSessionEventsErrors = { + 400: Error; +}; + +export type ChatkitStreamSessionEventsError = ChatkitStreamSessionEventsErrors[keyof ChatkitStreamSessionEventsErrors]; + +export type ChatkitStreamSessionEventsResponses = { /** - * Created ChatKit workspace session + * Canonical session event stream */ - 200: ChatKitSessionWithParticipants; + 200: unknown; }; -export type ChatkitWorkspaceCreateSessionResponse = ChatkitWorkspaceCreateSessionResponses[keyof ChatkitWorkspaceCreateSessionResponses]; - -export type ChatkitWorkspaceSendMessageData = { - body: SendChatKitWorkspaceMessageRequestInner; +export type ChatkitListRoomInvitationsData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * Agent inbox ID - */ - agent_id: string; - /** - * Session ID - */ - session_id: string; + session_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/sessions/{session_id}/messages'; + query?: { + page_size?: number; + next_page_token?: string | null; + }; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations'; }; -export type ChatkitWorkspaceSendMessageResponses = { - /** - * ChatKit workspace messages after sending - */ - 200: MessagePaginatedResponse; +export type ChatkitListRoomInvitationsErrors = { + 400: Error; + 404: Error; }; -export type ChatkitWorkspaceSendMessageResponse = ChatkitWorkspaceSendMessageResponses[keyof ChatkitWorkspaceSendMessageResponses]; +export type ChatkitListRoomInvitationsError = ChatkitListRoomInvitationsErrors[keyof ChatkitListRoomInvitationsErrors]; -export type ChatkitWorkspaceSubmitTurnData = { - body: SubmitChatKitWorkspaceTurnRequestInner; +export type ChatkitListRoomInvitationsResponses = { + 200: ChatKitRoomInvitationPaginatedResponse; +}; + +export type ChatkitListRoomInvitationsResponse = ChatkitListRoomInvitationsResponses[keyof ChatkitListRoomInvitationsResponses]; + +export type ChatkitCreateRoomInvitationData = { + body: CreateChatKitRoomInvitationRequestInner; path: { /** * Team ID */ team_id: string; - /** - * Agent inbox ID - */ - agent_id: string; + session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/turns'; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations'; }; -export type ChatkitWorkspaceSubmitTurnResponses = { - /** - * Submitted ChatKit workspace turn - */ - 200: SubmitChatKitWorkspaceTurnResponse; +export type ChatkitCreateRoomInvitationErrors = { + 400: Error; + 404: Error; }; -export type ChatkitWorkspaceSubmitTurnResponse = ChatkitWorkspaceSubmitTurnResponses[keyof ChatkitWorkspaceSubmitTurnResponses]; +export type ChatkitCreateRoomInvitationError = ChatkitCreateRoomInvitationErrors[keyof ChatkitCreateRoomInvitationErrors]; -export type ChatkitWorkspaceBootstrapData = { +export type ChatkitCreateRoomInvitationResponses = { + 200: ChatKitRoomInvitation; +}; + +export type ChatkitCreateRoomInvitationResponse = ChatkitCreateRoomInvitationResponses[keyof ChatkitCreateRoomInvitationResponses]; + +export type ChatkitRevokeRoomInvitationData = { body?: never; path: { /** * Team ID */ team_id: string; + session_id: WrappedUuidV4; + invitation_id: WrappedUuidV4; }; - query?: { - agent_page_size?: number; - agent_next_page_token?: string | null; - session_page_size?: number; - message_page_size?: number; - queue_page_size?: number; - active_session_id?: null | WrappedUuidV4; - agent_sort?: string | null; - session_sort?: string | null; - q?: string | null; - }; - url: '/api/v1/team/{team_id}/chatkit/workspace/bootstrap'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations/{invitation_id}'; }; -export type ChatkitWorkspaceBootstrapResponses = { - /** - * ChatKit workspace bootstrap projection - */ - 200: ChatKitWorkspaceBootstrapResponse; +export type ChatkitRevokeRoomInvitationErrors = { + 400: Error; + 404: Error; }; -export type ChatkitWorkspaceBootstrapResponse = ChatkitWorkspaceBootstrapResponses[keyof ChatkitWorkspaceBootstrapResponses]; +export type ChatkitRevokeRoomInvitationError = ChatkitRevokeRoomInvitationErrors[keyof ChatkitRevokeRoomInvitationErrors]; -export type ChatkitSearchData = { - body?: never; +export type ChatkitRevokeRoomInvitationResponses = { + 200: ChatKitRoomInvitation; +}; + +export type ChatkitRevokeRoomInvitationResponse = ChatkitRevokeRoomInvitationResponses[keyof ChatkitRevokeRoomInvitationResponses]; + +export type ChatkitDecideRoomInvitationData = { + body: DecideChatKitRoomInvitationRequestInner; path: { /** * Team ID */ team_id: string; + session_id: WrappedUuidV4; + invitation_id: WrappedUuidV4; }; - query: { - q: string; - session_id?: null | WrappedUuidV4; - page_size?: number; - next_page_token?: string | null; - }; - url: '/api/v1/team/{team_id}/chatkit/workspace/search'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations/{invitation_id}/decision'; }; -export type ChatkitSearchErrors = { - /** - * Invalid query or pagination cursor - */ +export type ChatkitDecideRoomInvitationErrors = { 400: Error; - /** - * Scoped session not found - */ 404: Error; }; -export type ChatkitSearchError = ChatkitSearchErrors[keyof ChatkitSearchErrors]; +export type ChatkitDecideRoomInvitationError = ChatkitDecideRoomInvitationErrors[keyof ChatkitDecideRoomInvitationErrors]; -export type ChatkitSearchResponses = { - /** - * Consolidated ChatKit search results - */ - 200: ChatKitSearchHitPaginatedResponse; +export type ChatkitDecideRoomInvitationResponses = { + 200: ChatKitRoomInvitation; }; -export type ChatkitSearchResponse = ChatkitSearchResponses[keyof ChatkitSearchResponses]; +export type ChatkitDecideRoomInvitationResponse = ChatkitDecideRoomInvitationResponses[keyof ChatkitDecideRoomInvitationResponses]; -export type ChatkitWorkspaceInterruptSessionData = { - body?: never; +export type ChatkitJoinSessionData = { + body: AddChatKitParticipantRequestInner; path: { /** * Team ID @@ -15612,19 +15132,36 @@ export type ChatkitWorkspaceInterruptSessionData = { session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/interrupt'; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/join'; }; -export type ChatkitWorkspaceInterruptSessionResponses = { +export type ChatkitJoinSessionErrors = { /** - * ChatKit workspace session interruption requested + * Bad Request */ - 200: InterruptChatKitSessionResponse; + 400: Error; + /** + * Not Found + */ + 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ChatkitWorkspaceInterruptSessionResponse = ChatkitWorkspaceInterruptSessionResponses[keyof ChatkitWorkspaceInterruptSessionResponses]; +export type ChatkitJoinSessionError = ChatkitJoinSessionErrors[keyof ChatkitJoinSessionErrors]; -export type ChatkitWorkspaceMessagesData = { +export type ChatkitJoinSessionResponses = { + /** + * Join ChatKit session + */ + 200: ChatKitParticipant; +}; + +export type ChatkitJoinSessionResponse = ChatkitJoinSessionResponses[keyof ChatkitJoinSessionResponses]; + +export type ChatkitListMessageHistoryData = { body?: never; path: { /** @@ -15634,51 +15171,69 @@ export type ChatkitWorkspaceMessagesData = { /** * Session ID */ - session_id: string; + session_id: WrappedUuidV4; }; query?: { page_size?: number; next_page_token?: string | null; + channel_inbox_id?: string | null; + participant_inbox_instance_id?: string | null; + user_external_id?: string | null; + created_after?: null | WrappedChronoDateTime; + created_before?: null | WrappedChronoDateTime; }; - url: '/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/messages'; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/messages'; }; -export type ChatkitWorkspaceMessagesResponses = { +export type ChatkitListMessageHistoryErrors = { + 400: Error; + 404: Error; + 500: Error; +}; + +export type ChatkitListMessageHistoryError = ChatkitListMessageHistoryErrors[keyof ChatkitListMessageHistoryErrors]; + +export type ChatkitListMessageHistoryResponses = { /** - * ChatKit workspace messages + * List ChatKit message history */ 200: MessagePaginatedResponse; }; -export type ChatkitWorkspaceMessagesResponse = ChatkitWorkspaceMessagesResponses[keyof ChatkitWorkspaceMessagesResponses]; +export type ChatkitListMessageHistoryResponse = ChatkitListMessageHistoryResponses[keyof ChatkitListMessageHistoryResponses]; -export type ChatkitWorkspaceUpdateSessionReadStateData = { - body: UpdateChatKitSessionUserStateRequestInner; +export type ChatkitGetCompactedHistoryData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * Session ID - */ session_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/read-state'; + query: { + agent_id: string; + page_size?: number; + next_page_token?: string | null; + }; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/messages/from-last-compaction'; }; -export type ChatkitWorkspaceUpdateSessionReadStateResponses = { - /** - * Current user's ChatKit session read state - */ - 200: ChatKitSessionUserState; +export type ChatkitGetCompactedHistoryErrors = { + 403: Error; + 404: Error; }; -export type ChatkitWorkspaceUpdateSessionReadStateResponse = ChatkitWorkspaceUpdateSessionReadStateResponses[keyof ChatkitWorkspaceUpdateSessionReadStateResponses]; +export type ChatkitGetCompactedHistoryError = ChatkitGetCompactedHistoryErrors[keyof ChatkitGetCompactedHistoryErrors]; -export type ChatkitWorkspaceRenameThreadData = { - body: RenameChatKitWorkspaceThreadRequestInner; +export type ChatkitGetCompactedHistoryResponses = { + 200: ChatKitCompactedHistoryResponse; +}; + +export type ChatkitGetCompactedHistoryResponse = ChatkitGetCompactedHistoryResponses[keyof ChatkitGetCompactedHistoryResponses]; + +export type ChatkitListSessionParticipantsData = { + body?: never; path: { /** * Team ID @@ -15690,20 +15245,37 @@ export type ChatkitWorkspaceRenameThreadData = { session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/rename'; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/participants'; }; -export type ChatkitWorkspaceRenameThreadResponses = { +export type ChatkitListSessionParticipantsErrors = { /** - * Renamed ChatKit workspace thread + * Bad Request */ - 200: Session; + 400: Error; + /** + * Not Found + */ + 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ChatkitWorkspaceRenameThreadResponse = ChatkitWorkspaceRenameThreadResponses[keyof ChatkitWorkspaceRenameThreadResponses]; +export type ChatkitListSessionParticipantsError = ChatkitListSessionParticipantsErrors[keyof ChatkitListSessionParticipantsErrors]; -export type ChatkitWorkspaceConversationSnapshotData = { - body?: never; +export type ChatkitListSessionParticipantsResponses = { + /** + * List ChatKit participants + */ + 200: Array; +}; + +export type ChatkitListSessionParticipantsResponse = ChatkitListSessionParticipantsResponses[keyof ChatkitListSessionParticipantsResponses]; + +export type ChatkitAddSessionParticipantData = { + body: AddChatKitParticipantRequestInner; path: { /** * Team ID @@ -15714,1761 +15286,1995 @@ export type ChatkitWorkspaceConversationSnapshotData = { */ session_id: WrappedUuidV4; }; - query?: { - message_page_size?: number; - queue_page_size?: number; - }; - url: '/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/snapshot'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/participants'; }; -export type ChatkitWorkspaceConversationSnapshotResponses = { +export type ChatkitAddSessionParticipantErrors = { /** - * ChatKit workspace conversation snapshot + * Bad Request */ - 200: ChatKitWorkspaceConversationSnapshot; + 400: Error; + /** + * Not Found + */ + 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ChatkitWorkspaceConversationSnapshotResponse = ChatkitWorkspaceConversationSnapshotResponses[keyof ChatkitWorkspaceConversationSnapshotResponses]; +export type ChatkitAddSessionParticipantError = ChatkitAddSessionParticipantErrors[keyof ChatkitAddSessionParticipantErrors]; -export type ChatkitWorkspaceSidebarData = { +export type ChatkitAddSessionParticipantResponses = { + /** + * Add ChatKit participant + */ + 200: ChatKitParticipant; +}; + +export type ChatkitAddSessionParticipantResponse = ChatkitAddSessionParticipantResponses[keyof ChatkitAddSessionParticipantResponses]; + +export type ChatkitRemoveSessionParticipantData = { body?: never; path: { /** * Team ID */ team_id: string; + /** + * Session ID + */ + session_id: WrappedUuidV4; + /** + * Participant inbox instance ID + */ + participant_instance_id: string; }; - query?: { - agent_page_size?: number; - agent_next_page_token?: string | null; - session_page_size?: number; - message_page_size?: number; - queue_page_size?: number; - active_session_id?: null | WrappedUuidV4; - agent_sort?: string | null; - session_sort?: string | null; - q?: string | null; - }; - url: '/api/v1/team/{team_id}/chatkit/workspace/sidebar'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/participants/{participant_instance_id}'; }; -export type ChatkitWorkspaceSidebarResponses = { +export type ChatkitRemoveSessionParticipantErrors = { /** - * ChatKit workspace sidebar + * Bad Request */ - 200: ChatKitWorkspaceSidebarResponse; + 400: Error; + /** + * Not Found + */ + 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ChatkitWorkspaceSidebarResponse = ChatkitWorkspaceSidebarResponses[keyof ChatkitWorkspaceSidebarResponses]; - -export type ResumeUserCredentialBrokeringData = { - body: ResumeUserCredentialBrokeringParams; - path: { - team_id: string; - broker_state_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/credential/broker/{broker_state_id}/resume'; -}; +export type ChatkitRemoveSessionParticipantError = ChatkitRemoveSessionParticipantErrors[keyof ChatkitRemoveSessionParticipantErrors]; -export type ResumeUserCredentialBrokeringResponses = { +export type ChatkitRemoveSessionParticipantResponses = { /** - * Brokering response + * Remove ChatKit participant */ - 200: UserCredentialBrokeringResponse; + 200: RemoveChatKitParticipantResponse; }; -export type ResumeUserCredentialBrokeringResponse = ResumeUserCredentialBrokeringResponses[keyof ResumeUserCredentialBrokeringResponses]; +export type ChatkitRemoveSessionParticipantResponse = ChatkitRemoveSessionParticipantResponses[keyof ChatkitRemoveSessionParticipantResponses]; -export type ListCommonProviderInstallationsData = { +export type ChatkitListSessionProviderToolsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; + session_id: string; }; - query?: { - page_size?: number; - next_page_token?: string | null; - }; - url: '/api/v1/team/{team_id}/credential/common-provider-installation'; + query?: never; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/provider-tools'; }; -export type ListCommonProviderInstallationsResponses = { - 200: CommonProviderInstallationPage; +export type ChatkitListSessionProviderToolsErrors = { + 400: Error; }; -export type ListCommonProviderInstallationsResponse = ListCommonProviderInstallationsResponses[keyof ListCommonProviderInstallationsResponses]; - -export type GetCommonProviderInstallationData = { - body?: never; - path: { - team_id: string; - id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}'; -}; +export type ChatkitListSessionProviderToolsError = ChatkitListSessionProviderToolsErrors[keyof ChatkitListSessionProviderToolsErrors]; -export type GetCommonProviderInstallationResponses = { - 200: CommonProviderInstallationSerialized; +export type ChatkitListSessionProviderToolsResponses = { + 200: CustomSessionToolCatalog; }; -export type GetCommonProviderInstallationResponse = GetCommonProviderInstallationResponses[keyof GetCommonProviderInstallationResponses]; +export type ChatkitListSessionProviderToolsResponse = ChatkitListSessionProviderToolsResponses[keyof ChatkitListSessionProviderToolsResponses]; -export type SetCommonProviderInstallationOwnershipData = { - body: SetResourceAccessModeRequest; +export type ChatkitSendSessionMessageData = { + body: SendSessionMessageBody; path: { + /** + * Team ID + */ team_id: string; - id: string; + /** + * Session ID + */ + session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership'; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/tools/sendMessage'; }; -export type SetCommonProviderInstallationOwnershipResponses = { - 200: ResourceAuthorization; +export type ChatkitSendSessionMessageErrors = { + 400: Error; + 404: Error; + 500: Error; }; -export type SetCommonProviderInstallationOwnershipResponse = SetCommonProviderInstallationOwnershipResponses[keyof SetCommonProviderInstallationOwnershipResponses]; +export type ChatkitSendSessionMessageError = ChatkitSendSessionMessageErrors[keyof ChatkitSendSessionMessageErrors]; -export type ListCommonProviderInstallationOwnershipGrantsData = { - body?: never; - path: { - team_id: string; - id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership/grants'; -}; - -export type ListCommonProviderInstallationOwnershipGrantsResponses = { - 200: Array; +export type ChatkitSendSessionMessageResponses = { + /** + * Provider message delivered + */ + 200: SendSessionMessageResponse; }; -export type ListCommonProviderInstallationOwnershipGrantsResponse = ListCommonProviderInstallationOwnershipGrantsResponses[keyof ListCommonProviderInstallationOwnershipGrantsResponses]; +export type ChatkitSendSessionMessageResponse = ChatkitSendSessionMessageResponses[keyof ChatkitSendSessionMessageResponses]; -export type AddCommonProviderInstallationOwnershipGrantData = { - body: CreateResourcePlaneGrantRequest; +export type ChatkitInvokeSessionProviderToolData = { + body: InvokeSessionProviderToolBody; path: { + /** + * Team ID + */ team_id: string; - id: string; + session_id: WrappedUuidV4; + tool_name: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/chatkit/sessions/{session_id}/tools/{tool_name}'; }; -export type AddCommonProviderInstallationOwnershipGrantResponses = { - 200: ResourceGrant; +export type ChatkitInvokeSessionProviderToolErrors = { + 400: Error; + 404: Error; }; -export type AddCommonProviderInstallationOwnershipGrantResponse = AddCommonProviderInstallationOwnershipGrantResponses[keyof AddCommonProviderInstallationOwnershipGrantResponses]; +export type ChatkitInvokeSessionProviderToolError = ChatkitInvokeSessionProviderToolErrors[keyof ChatkitInvokeSessionProviderToolErrors]; -export type RemoveCommonProviderInstallationOwnershipGrantData = { - body?: never; - path: { - team_id: string; - id: string; - principal_type: string; - principal_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership/grants/{principal_type}/{principal_id}'; +export type ChatkitInvokeSessionProviderToolResponses = { + 200: InvokeSessionProviderToolResponse; }; -export type RemoveCommonProviderInstallationOwnershipGrantResponses = { - 200: unknown; -}; +export type ChatkitInvokeSessionProviderToolResponse = ChatkitInvokeSessionProviderToolResponses[keyof ChatkitInvokeSessionProviderToolResponses]; -export type SetCommonProviderInstallationVisibilityData = { - body: SetResourceAccessModeRequest; +export type ChatkitWorkspaceAgentSessionsData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - id: string; + /** + * Agent inbox ID + */ + agent_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility'; + query?: { + page_size?: number; + next_page_token?: string | null; + session_sort?: string | null; + q?: string | null; + }; + url: '/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/sessions'; }; -export type SetCommonProviderInstallationVisibilityResponses = { - 200: ResourceAuthorization; +export type ChatkitWorkspaceAgentSessionsResponses = { + /** + * ChatKit workspace agent sessions + */ + 200: ChatKitWorkspaceAgentSessionsResponse; }; -export type SetCommonProviderInstallationVisibilityResponse = SetCommonProviderInstallationVisibilityResponses[keyof SetCommonProviderInstallationVisibilityResponses]; +export type ChatkitWorkspaceAgentSessionsResponse = ChatkitWorkspaceAgentSessionsResponses[keyof ChatkitWorkspaceAgentSessionsResponses]; -export type ListCommonProviderInstallationVisibilityGrantsData = { - body?: never; +export type ChatkitWorkspaceCreateSessionData = { + body: CreateChatKitWorkspaceSessionRequestInner; path: { + /** + * Team ID + */ team_id: string; - id: string; + /** + * Agent inbox ID + */ + agent_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/sessions'; }; -export type ListCommonProviderInstallationVisibilityGrantsResponses = { - 200: Array; +export type ChatkitWorkspaceCreateSessionResponses = { + /** + * Created ChatKit workspace session + */ + 200: ChatKitSessionWithParticipants; }; -export type ListCommonProviderInstallationVisibilityGrantsResponse = ListCommonProviderInstallationVisibilityGrantsResponses[keyof ListCommonProviderInstallationVisibilityGrantsResponses]; +export type ChatkitWorkspaceCreateSessionResponse = ChatkitWorkspaceCreateSessionResponses[keyof ChatkitWorkspaceCreateSessionResponses]; -export type AddCommonProviderInstallationVisibilityGrantData = { - body: CreateResourcePlaneGrantRequest; +export type ChatkitWorkspaceSendMessageData = { + body: SendChatKitWorkspaceMessageRequestInner; path: { + /** + * Team ID + */ team_id: string; - id: string; + /** + * Agent inbox ID + */ + agent_id: string; + /** + * Session ID + */ + session_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/sessions/{session_id}/messages'; }; -export type AddCommonProviderInstallationVisibilityGrantResponses = { - 200: ResourceGrant; +export type ChatkitWorkspaceSendMessageResponses = { + /** + * ChatKit workspace messages after sending + */ + 200: MessagePaginatedResponse; }; -export type AddCommonProviderInstallationVisibilityGrantResponse = AddCommonProviderInstallationVisibilityGrantResponses[keyof AddCommonProviderInstallationVisibilityGrantResponses]; +export type ChatkitWorkspaceSendMessageResponse = ChatkitWorkspaceSendMessageResponses[keyof ChatkitWorkspaceSendMessageResponses]; -export type RemoveCommonProviderInstallationVisibilityGrantData = { - body?: never; +export type ChatkitWorkspaceSubmitTurnData = { + body: SubmitChatKitWorkspaceTurnRequestInner; path: { + /** + * Team ID + */ team_id: string; - id: string; - principal_type: string; - principal_id: string; + /** + * Agent inbox ID + */ + agent_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/turns'; }; -export type RemoveCommonProviderInstallationVisibilityGrantResponses = { - 200: unknown; +export type ChatkitWorkspaceSubmitTurnResponses = { + /** + * Submitted ChatKit workspace turn + */ + 200: SubmitChatKitWorkspaceTurnResponse; }; -export type ListProviderProvisionerCatalogData = { +export type ChatkitWorkspaceSubmitTurnResponse = ChatkitWorkspaceSubmitTurnResponses[keyof ChatkitWorkspaceSubmitTurnResponses]; + +export type ChatkitWorkspaceBootstrapData = { body?: never; path: { + /** + * Team ID + */ team_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/credential/provider-provisioner/catalog'; + query?: { + agent_page_size?: number; + agent_next_page_token?: string | null; + session_page_size?: number; + message_page_size?: number; + queue_page_size?: number; + active_session_id?: null | WrappedUuidV4; + agent_sort?: string | null; + session_sort?: string | null; + q?: string | null; + }; + url: '/api/v1/team/{team_id}/chatkit/workspace/bootstrap'; }; -export type ListProviderProvisionerCatalogResponses = { +export type ChatkitWorkspaceBootstrapResponses = { /** - * Provider provisioner catalog + * ChatKit workspace bootstrap projection */ - 200: Vec; + 200: ChatKitWorkspaceBootstrapResponse; }; -export type ListProviderProvisionerCatalogResponse = ListProviderProvisionerCatalogResponses[keyof ListProviderProvisionerCatalogResponses]; +export type ChatkitWorkspaceBootstrapResponse = ChatkitWorkspaceBootstrapResponses[keyof ChatkitWorkspaceBootstrapResponses]; -export type StartProviderAppProvisioningData = { - body: StartProviderAppProvisioningBody; +export type ChatkitSearchData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/credential/provider-provisioning/start'; + query: { + q: string; + session_id?: null | WrappedUuidV4; + page_size?: number; + next_page_token?: string | null; + }; + url: '/api/v1/team/{team_id}/chatkit/workspace/search'; }; -export type StartProviderAppProvisioningResponses = { +export type ChatkitSearchErrors = { /** - * Provider app provisioning response + * Invalid query or pagination cursor */ - 200: ProviderAppProvisioningResponse; + 400: Error; + /** + * Scoped session not found + */ + 404: Error; }; -export type StartProviderAppProvisioningResponse = StartProviderAppProvisioningResponses[keyof StartProviderAppProvisioningResponses]; - -export type GetProviderProvisioningHumanActionData = { - body?: never; - path: { - team_id: string; - state_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/credential/provider-provisioning/{state_id}/action'; -}; +export type ChatkitSearchError = ChatkitSearchErrors[keyof ChatkitSearchErrors]; -export type GetProviderProvisioningHumanActionResponses = { +export type ChatkitSearchResponses = { /** - * Provider provisioning browser action + * Consolidated ChatKit search results */ - 200: ProviderProvisioningHumanAction; + 200: ChatKitSearchHitPaginatedResponse; }; -export type GetProviderProvisioningHumanActionResponse = GetProviderProvisioningHumanActionResponses[keyof GetProviderProvisioningHumanActionResponses]; +export type ChatkitSearchResponse = ChatkitSearchResponses[keyof ChatkitSearchResponses]; -export type ResumeProviderAppProvisioningData = { - body: ResumeProviderAppProvisioningBody; +export type ChatkitWorkspaceInterruptSessionData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - state_id: string; + /** + * Session ID + */ + session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/credential/provider-provisioning/{state_id}/resume'; + url: '/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/interrupt'; }; -export type ResumeProviderAppProvisioningResponses = { +export type ChatkitWorkspaceInterruptSessionResponses = { /** - * Provider app provisioning response + * ChatKit workspace session interruption requested */ - 200: ProviderAppProvisioningResponse; + 200: InterruptChatKitSessionResponse; }; -export type ResumeProviderAppProvisioningResponse = ResumeProviderAppProvisioningResponses[keyof ResumeProviderAppProvisioningResponses]; +export type ChatkitWorkspaceInterruptSessionResponse = ChatkitWorkspaceInterruptSessionResponses[keyof ChatkitWorkspaceInterruptSessionResponses]; -export type ListResourceServerCredentialsData = { +export type ChatkitWorkspaceMessagesData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - }; - query?: { + /** + * Session ID + */ + session_id: string; + }; + query?: { page_size?: number; - next_page_token?: string; + next_page_token?: string | null; }; - url: '/api/v1/team/{team_id}/credential/resource-server'; + url: '/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/messages'; }; -export type ListResourceServerCredentialsResponses = { +export type ChatkitWorkspaceMessagesResponses = { /** - * Page of credentials + * ChatKit workspace messages */ - 200: ResourceServerCredentialSerializedPaginatedResponse; + 200: MessagePaginatedResponse; }; -export type ListResourceServerCredentialsResponse = ListResourceServerCredentialsResponses[keyof ListResourceServerCredentialsResponses]; +export type ChatkitWorkspaceMessagesResponse = ChatkitWorkspaceMessagesResponses[keyof ChatkitWorkspaceMessagesResponses]; -export type DeleteResourceServerCredentialData = { - body?: never; +export type ChatkitWorkspaceUpdateSessionReadStateData = { + body: UpdateChatKitSessionUserStateRequestInner; path: { + /** + * Team ID + */ team_id: string; - id: string; + /** + * Session ID + */ + session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}'; + url: '/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/read-state'; }; -export type DeleteResourceServerCredentialResponses = { +export type ChatkitWorkspaceUpdateSessionReadStateResponses = { /** - * Deleted + * Current user's ChatKit session read state */ - 200: unknown; + 200: ChatKitSessionUserState; }; -export type GetResourceServerCredentialData = { - body?: never; +export type ChatkitWorkspaceUpdateSessionReadStateResponse = ChatkitWorkspaceUpdateSessionReadStateResponses[keyof ChatkitWorkspaceUpdateSessionReadStateResponses]; + +export type ChatkitWorkspaceRenameThreadData = { + body: RenameChatKitWorkspaceThreadRequestInner; path: { + /** + * Team ID + */ team_id: string; - id: string; + /** + * Session ID + */ + session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}'; + url: '/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/rename'; }; -export type GetResourceServerCredentialResponses = { +export type ChatkitWorkspaceRenameThreadResponses = { /** - * Credential + * Renamed ChatKit workspace thread */ - 200: ResourceServerCredentialSerialized; + 200: Session; }; -export type GetResourceServerCredentialResponse = GetResourceServerCredentialResponses[keyof GetResourceServerCredentialResponses]; +export type ChatkitWorkspaceRenameThreadResponse = ChatkitWorkspaceRenameThreadResponses[keyof ChatkitWorkspaceRenameThreadResponses]; -export type UpdateResourceServerCredentialData = { - body: UpdateCredentialBody; +export type ChatkitWorkspaceConversationSnapshotData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - id: string; + /** + * Session ID + */ + session_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}'; + query?: { + message_page_size?: number; + queue_page_size?: number; + }; + url: '/api/v1/team/{team_id}/chatkit/workspace/sessions/{session_id}/snapshot'; }; -export type UpdateResourceServerCredentialResponses = { +export type ChatkitWorkspaceConversationSnapshotResponses = { /** - * Updated credential + * ChatKit workspace conversation snapshot */ - 200: ResourceServerCredentialSerialized; + 200: ChatKitWorkspaceConversationSnapshot; }; -export type UpdateResourceServerCredentialResponse = UpdateResourceServerCredentialResponses[keyof UpdateResourceServerCredentialResponses]; +export type ChatkitWorkspaceConversationSnapshotResponse = ChatkitWorkspaceConversationSnapshotResponses[keyof ChatkitWorkspaceConversationSnapshotResponses]; -export type SetRscOwnershipData = { - body: SetResourceAccessModeRequest; +export type ChatkitWorkspaceSidebarData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}/ownership'; + query?: { + agent_page_size?: number; + agent_next_page_token?: string | null; + session_page_size?: number; + message_page_size?: number; + queue_page_size?: number; + active_session_id?: null | WrappedUuidV4; + agent_sort?: string | null; + session_sort?: string | null; + q?: string | null; + }; + url: '/api/v1/team/{team_id}/chatkit/workspace/sidebar'; }; -export type SetRscOwnershipResponses = { - 200: ResourceAuthorization; +export type ChatkitWorkspaceSidebarResponses = { + /** + * ChatKit workspace sidebar + */ + 200: ChatKitWorkspaceSidebarResponse; }; -export type SetRscOwnershipResponse = SetRscOwnershipResponses[keyof SetRscOwnershipResponses]; +export type ChatkitWorkspaceSidebarResponse = ChatkitWorkspaceSidebarResponses[keyof ChatkitWorkspaceSidebarResponses]; -export type ListRscOwnershipGrantsData = { - body?: never; +export type ResumeUserCredentialBrokeringData = { + body: ResumeUserCredentialBrokeringParams; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; + broker_state_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/credential/broker/{broker_state_id}/resume'; }; -export type ListRscOwnershipGrantsResponses = { - 200: Array; +export type ResumeUserCredentialBrokeringResponses = { + /** + * Brokering response + */ + 200: UserCredentialBrokeringResponse; }; -export type ListRscOwnershipGrantsResponse = ListRscOwnershipGrantsResponses[keyof ListRscOwnershipGrantsResponses]; +export type ResumeUserCredentialBrokeringResponse = ResumeUserCredentialBrokeringResponses[keyof ResumeUserCredentialBrokeringResponses]; -export type AddRscOwnershipGrantData = { - body: CreateResourcePlaneGrantRequest; +export type ListCommonProviderInstallationsData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}/ownership/grants'; + query?: { + page_size?: number; + next_page_token?: string | null; + }; + url: '/api/v1/team/{team_id}/credential/common-provider-installation'; }; -export type AddRscOwnershipGrantResponses = { - 200: ResourceGrant; +export type ListCommonProviderInstallationsResponses = { + 200: CommonProviderInstallationPage; }; -export type AddRscOwnershipGrantResponse = AddRscOwnershipGrantResponses[keyof AddRscOwnershipGrantResponses]; +export type ListCommonProviderInstallationsResponse = ListCommonProviderInstallationsResponses[keyof ListCommonProviderInstallationsResponses]; -export type RemoveRscOwnershipGrantData = { +export type GetCommonProviderInstallationData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; - principal_type: string; - principal_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}/ownership/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}'; }; -export type RemoveRscOwnershipGrantResponses = { - 200: unknown; +export type GetCommonProviderInstallationResponses = { + 200: CommonProviderInstallationSerialized; }; -export type SetRscVisibilityData = { +export type GetCommonProviderInstallationResponse = GetCommonProviderInstallationResponses[keyof GetCommonProviderInstallationResponses]; + +export type SetCommonProviderInstallationOwnershipData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}/visibility'; + url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership'; }; -export type SetRscVisibilityResponses = { +export type SetCommonProviderInstallationOwnershipResponses = { 200: ResourceAuthorization; }; -export type SetRscVisibilityResponse = SetRscVisibilityResponses[keyof SetRscVisibilityResponses]; +export type SetCommonProviderInstallationOwnershipResponse = SetCommonProviderInstallationOwnershipResponses[keyof SetCommonProviderInstallationOwnershipResponses]; -export type ListRscVisibilityGrantsData = { +export type ListCommonProviderInstallationOwnershipGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership/grants'; }; -export type ListRscVisibilityGrantsResponses = { +export type ListCommonProviderInstallationOwnershipGrantsResponses = { 200: Array; }; -export type ListRscVisibilityGrantsResponse = ListRscVisibilityGrantsResponses[keyof ListRscVisibilityGrantsResponses]; +export type ListCommonProviderInstallationOwnershipGrantsResponse = ListCommonProviderInstallationOwnershipGrantsResponses[keyof ListCommonProviderInstallationOwnershipGrantsResponses]; -export type AddRscVisibilityGrantData = { +export type AddCommonProviderInstallationOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership/grants'; }; -export type AddRscVisibilityGrantResponses = { +export type AddCommonProviderInstallationOwnershipGrantResponses = { 200: ResourceGrant; }; -export type AddRscVisibilityGrantResponse = AddRscVisibilityGrantResponses[keyof AddRscVisibilityGrantResponses]; +export type AddCommonProviderInstallationOwnershipGrantResponse = AddCommonProviderInstallationOwnershipGrantResponses[keyof AddCommonProviderInstallationOwnershipGrantResponses]; -export type RemoveRscVisibilityGrantData = { +export type RemoveCommonProviderInstallationOwnershipGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; + id: string; principal_type: string; principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/resource-server/{id}/visibility/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/ownership/grants/{principal_type}/{principal_id}'; }; -export type RemoveRscVisibilityGrantResponses = { +export type RemoveCommonProviderInstallationOwnershipGrantResponses = { 200: unknown; }; -export type ListCredentialSetupItemsData = { - body?: never; +export type SetCommonProviderInstallationVisibilityData = { + body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; + id: string; }; - query?: { - page_size?: number; - next_page_token?: string | null; - status?: null | CredentialSetupItemStatus; - }; - url: '/api/v1/team/{team_id}/credential/setup-items'; + query?: never; + url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility'; }; -export type ListCredentialSetupItemsResponses = { - /** - * Credential setup items - */ - 200: CredentialSetupItemPaginatedResponse; +export type SetCommonProviderInstallationVisibilityResponses = { + 200: ResourceAuthorization; }; -export type ListCredentialSetupItemsResponse = ListCredentialSetupItemsResponses[keyof ListCredentialSetupItemsResponses]; +export type SetCommonProviderInstallationVisibilityResponse = SetCommonProviderInstallationVisibilityResponses[keyof SetCommonProviderInstallationVisibilityResponses]; -export type GetCredentialSetupItemData = { +export type ListCommonProviderInstallationVisibilityGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/setup-items/{id}'; -}; - -export type GetCredentialSetupItemResponses = { - /** - * Credential setup item - */ - 200: CredentialSetupItem; -}; - -export type GetCredentialSetupItemResponse = GetCredentialSetupItemResponses[keyof GetCredentialSetupItemResponses]; - -export type CompleteCredentialSetupItemData = { - body: CompleteCredentialSetupItemBody; - path: { - team_id: string; - id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/credential/setup-items/{id}/complete'; + url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility/grants'; }; -export type CompleteCredentialSetupItemResponses = { - /** - * Credential setup completion response - */ - 200: StartCredentialSetupItemResponse; +export type ListCommonProviderInstallationVisibilityGrantsResponses = { + 200: Array; }; -export type CompleteCredentialSetupItemResponse = CompleteCredentialSetupItemResponses[keyof CompleteCredentialSetupItemResponses]; +export type ListCommonProviderInstallationVisibilityGrantsResponse = ListCommonProviderInstallationVisibilityGrantsResponses[keyof ListCommonProviderInstallationVisibilityGrantsResponses]; -export type ResumeCredentialSetupItemData = { - body: ResumeCredentialSetupItemBody; +export type AddCommonProviderInstallationVisibilityGrantData = { + body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/setup-items/{id}/resume'; + url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility/grants'; }; -export type ResumeCredentialSetupItemResponses = { - /** - * Credential setup resume response - */ - 200: StartCredentialSetupItemResponse; +export type AddCommonProviderInstallationVisibilityGrantResponses = { + 200: ResourceGrant; }; -export type ResumeCredentialSetupItemResponse = ResumeCredentialSetupItemResponses[keyof ResumeCredentialSetupItemResponses]; +export type AddCommonProviderInstallationVisibilityGrantResponse = AddCommonProviderInstallationVisibilityGrantResponses[keyof AddCommonProviderInstallationVisibilityGrantResponses]; -export type StartCredentialSetupItemData = { - body: StartCredentialSetupItemBody; +export type RemoveCommonProviderInstallationVisibilityGrantData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; id: string; + principal_type: string; + principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/setup-items/{id}/start'; + url: '/api/v1/team/{team_id}/credential/common-provider-installation/{id}/visibility/grants/{principal_type}/{principal_id}'; }; -export type StartCredentialSetupItemResponses = { - /** - * Credential setup start response - */ - 200: StartCredentialSetupItemResponse; +export type RemoveCommonProviderInstallationVisibilityGrantResponses = { + 200: unknown; }; -export type StartCredentialSetupItemResponse2 = StartCredentialSetupItemResponses[keyof StartCredentialSetupItemResponses]; - -export type CreateResourceServerCredentialData = { - body: CreateResourceServerCredentialParamsInner; +export type ListProviderProvisionerCatalogData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - credential_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/resource-server'; + url: '/api/v1/team/{team_id}/credential/provider-provisioner/catalog'; }; -export type CreateResourceServerCredentialResponses = { +export type ListProviderProvisionerCatalogResponses = { /** - * Created credential + * Provider provisioner catalog */ - 200: ResourceServerCredentialSerialized; -}; - -export type CreateResourceServerCredentialResponse = CreateResourceServerCredentialResponses[keyof CreateResourceServerCredentialResponses]; - -export type EncryptResourceServerConfigurationData = { - body: EncryptCredentialConfigurationParamsInner; - path: { - team_id: string; - credential_source_type_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/resource-server/encrypt'; + 200: Vec; }; -export type EncryptResourceServerConfigurationResponses = { - /** - * Encrypted configuration - */ - 200: unknown; -}; +export type ListProviderProvisionerCatalogResponse = ListProviderProvisionerCatalogResponses[keyof ListProviderProvisionerCatalogResponses]; -export type CreateUserCredentialData = { - body: CreateUserCredentialParamsInner; +export type StartProviderAppProvisioningData = { + body: StartProviderAppProvisioningBody; path: { + /** + * Team ID + */ team_id: string; - credential_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential'; + url: '/api/v1/team/{team_id}/credential/provider-provisioning/start'; }; -export type CreateUserCredentialResponses = { +export type StartProviderAppProvisioningResponses = { /** - * Created credential + * Provider app provisioning response */ - 200: UserCredentialSerialized; + 200: ProviderAppProvisioningResponse; }; -export type CreateUserCredentialResponse = CreateUserCredentialResponses[keyof CreateUserCredentialResponses]; +export type StartProviderAppProvisioningResponse = StartProviderAppProvisioningResponses[keyof StartProviderAppProvisioningResponses]; -export type StartUserCredentialBrokeringData = { - body: StartBrokeringBodyExternal; +export type GetProviderProvisioningHumanActionData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - credential_source_type_id: string; + state_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential/broker'; + url: '/api/v1/team/{team_id}/credential/provider-provisioning/{state_id}/action'; }; -export type StartUserCredentialBrokeringResponses = { +export type GetProviderProvisioningHumanActionResponses = { /** - * Brokering response + * Provider provisioning browser action */ - 200: UserCredentialBrokeringResponse; + 200: ProviderProvisioningHumanAction; }; -export type StartUserCredentialBrokeringResponse = StartUserCredentialBrokeringResponses[keyof StartUserCredentialBrokeringResponses]; +export type GetProviderProvisioningHumanActionResponse = GetProviderProvisioningHumanActionResponses[keyof GetProviderProvisioningHumanActionResponses]; -export type EncryptUserCredentialConfigurationData = { - body: EncryptCredentialConfigurationParamsInner; +export type ResumeProviderAppProvisioningData = { + body: ResumeProviderAppProvisioningBody; path: { + /** + * Team ID + */ team_id: string; - credential_source_type_id: string; + state_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential/encrypt'; + url: '/api/v1/team/{team_id}/credential/provider-provisioning/{state_id}/resume'; }; -export type EncryptUserCredentialConfigurationResponses = { +export type ResumeProviderAppProvisioningResponses = { /** - * Encrypted configuration + * Provider app provisioning response */ - 200: unknown; + 200: ProviderAppProvisioningResponse; }; -export type ListUserCredentialsData = { +export type ResumeProviderAppProvisioningResponse = ResumeProviderAppProvisioningResponses[keyof ResumeProviderAppProvisioningResponses]; + +export type ListResourceServerCredentialsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; }; query?: { page_size?: number; next_page_token?: string; }; - url: '/api/v1/team/{team_id}/credential/user-credential'; + url: '/api/v1/team/{team_id}/credential/resource-server'; }; -export type ListUserCredentialsResponses = { +export type ListResourceServerCredentialsResponses = { /** * Page of credentials */ - 200: UserCredentialSerializedPaginatedResponse; + 200: ResourceServerCredentialSerializedPaginatedResponse; }; -export type ListUserCredentialsResponse = ListUserCredentialsResponses[keyof ListUserCredentialsResponses]; +export type ListResourceServerCredentialsResponse = ListResourceServerCredentialsResponses[keyof ListResourceServerCredentialsResponses]; -export type DeleteUserCredentialData = { +export type DeleteResourceServerCredentialData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}'; }; -export type DeleteUserCredentialResponses = { +export type DeleteResourceServerCredentialResponses = { /** * Deleted */ 200: unknown; }; -export type GetUserCredentialData = { +export type GetResourceServerCredentialData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}'; }; -export type GetUserCredentialResponses = { +export type GetResourceServerCredentialResponses = { /** * Credential */ - 200: UserCredentialSerialized; + 200: ResourceServerCredentialSerialized; }; -export type GetUserCredentialResponse = GetUserCredentialResponses[keyof GetUserCredentialResponses]; +export type GetResourceServerCredentialResponse = GetResourceServerCredentialResponses[keyof GetResourceServerCredentialResponses]; -export type UpdateUserCredentialData = { +export type UpdateResourceServerCredentialData = { body: UpdateCredentialBody; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}'; }; -export type UpdateUserCredentialResponses = { +export type UpdateResourceServerCredentialResponses = { /** * Updated credential */ - 200: UserCredentialSerialized; + 200: ResourceServerCredentialSerialized; }; -export type UpdateUserCredentialResponse = UpdateUserCredentialResponses[keyof UpdateUserCredentialResponses]; +export type UpdateResourceServerCredentialResponse = UpdateResourceServerCredentialResponses[keyof UpdateResourceServerCredentialResponses]; -export type SetUcOwnershipData = { +export type SetRscOwnershipData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}/ownership'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}/ownership'; }; -export type SetUcOwnershipResponses = { +export type SetRscOwnershipResponses = { 200: ResourceAuthorization; }; -export type SetUcOwnershipResponse = SetUcOwnershipResponses[keyof SetUcOwnershipResponses]; +export type SetRscOwnershipResponse = SetRscOwnershipResponses[keyof SetRscOwnershipResponses]; -export type ListUcOwnershipGrantsData = { +export type ListRscOwnershipGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}/ownership/grants'; }; -export type ListUcOwnershipGrantsResponses = { +export type ListRscOwnershipGrantsResponses = { 200: Array; }; -export type ListUcOwnershipGrantsResponse = ListUcOwnershipGrantsResponses[keyof ListUcOwnershipGrantsResponses]; +export type ListRscOwnershipGrantsResponse = ListRscOwnershipGrantsResponses[keyof ListRscOwnershipGrantsResponses]; -export type AddUcOwnershipGrantData = { +export type AddRscOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}/ownership/grants'; }; -export type AddUcOwnershipGrantResponses = { +export type AddRscOwnershipGrantResponses = { 200: ResourceGrant; }; -export type AddUcOwnershipGrantResponse = AddUcOwnershipGrantResponses[keyof AddUcOwnershipGrantResponses]; +export type AddRscOwnershipGrantResponse = AddRscOwnershipGrantResponses[keyof AddRscOwnershipGrantResponses]; -export type RemoveUcOwnershipGrantData = { +export type RemoveRscOwnershipGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; principal_type: string; principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}/ownership/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}/ownership/grants/{principal_type}/{principal_id}'; }; -export type RemoveUcOwnershipGrantResponses = { +export type RemoveRscOwnershipGrantResponses = { 200: unknown; }; -export type SetUcVisibilityData = { +export type SetRscVisibilityData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}/visibility'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}/visibility'; }; -export type SetUcVisibilityResponses = { +export type SetRscVisibilityResponses = { 200: ResourceAuthorization; }; -export type SetUcVisibilityResponse = SetUcVisibilityResponses[keyof SetUcVisibilityResponses]; +export type SetRscVisibilityResponse = SetRscVisibilityResponses[keyof SetRscVisibilityResponses]; -export type ListUcVisibilityGrantsData = { +export type ListRscVisibilityGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}/visibility/grants'; }; -export type ListUcVisibilityGrantsResponses = { +export type ListRscVisibilityGrantsResponses = { 200: Array; }; -export type ListUcVisibilityGrantsResponse = ListUcVisibilityGrantsResponses[keyof ListUcVisibilityGrantsResponses]; +export type ListRscVisibilityGrantsResponse = ListRscVisibilityGrantsResponses[keyof ListRscVisibilityGrantsResponses]; -export type AddUcVisibilityGrantData = { +export type AddRscVisibilityGrantData = { body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}/visibility/grants'; }; -export type AddUcVisibilityGrantResponses = { +export type AddRscVisibilityGrantResponses = { 200: ResourceGrant; }; -export type AddUcVisibilityGrantResponse = AddUcVisibilityGrantResponses[keyof AddUcVisibilityGrantResponses]; +export type AddRscVisibilityGrantResponse = AddRscVisibilityGrantResponses[keyof AddRscVisibilityGrantResponses]; -export type RemoveUcVisibilityGrantData = { +export type RemoveRscVisibilityGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; principal_type: string; principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/credential/user-credential/{id}/visibility/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/credential/resource-server/{id}/visibility/grants/{principal_type}/{principal_id}'; }; -export type RemoveUcVisibilityGrantResponses = { +export type RemoveRscVisibilityGrantResponses = { 200: unknown; }; -export type CreateHumanApprovalActionData = { - body: CreateHumanApprovalActionRequestInner; +export type ListCredentialSetupItemsData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/human-approval'; -}; - -export type CreateHumanApprovalActionErrors = { - 400: Error; - 401: Error; - 500: Error; + query?: { + page_size?: number; + next_page_token?: string | null; + status?: null | CredentialSetupItemStatus; + }; + url: '/api/v1/team/{team_id}/credential/setup-items'; }; -export type CreateHumanApprovalActionError = CreateHumanApprovalActionErrors[keyof CreateHumanApprovalActionErrors]; - -export type CreateHumanApprovalActionResponses = { +export type ListCredentialSetupItemsResponses = { /** - * Human approval action created + * Credential setup items */ - 200: CreateHumanApprovalActionResponse; + 200: CredentialSetupItemPaginatedResponse; }; -export type CreateHumanApprovalActionResponse2 = CreateHumanApprovalActionResponses[keyof CreateHumanApprovalActionResponses]; +export type ListCredentialSetupItemsResponse = ListCredentialSetupItemsResponses[keyof ListCredentialSetupItemsResponses]; -export type RegisterTeamOauthClientData = { - body: RegisterOAuthClientRequest; +export type GetCredentialSetupItemData = { + body?: never; path: { /** - * Tilde team ID + * Team ID */ team_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/identity/oauth/register'; -}; - -export type RegisterTeamOauthClientErrors = { - /** - * Invalid registration request - */ - 400: Error; - /** - * Internal server error - */ - 500: Error; + url: '/api/v1/team/{team_id}/credential/setup-items/{id}'; }; -export type RegisterTeamOauthClientError = RegisterTeamOauthClientErrors[keyof RegisterTeamOauthClientErrors]; - -export type RegisterTeamOauthClientResponses = { +export type GetCredentialSetupItemResponses = { /** - * OAuth client registered + * Credential setup item */ - 201: RegisterOAuthClientResponse; + 200: CredentialSetupItem; }; -export type RegisterTeamOauthClientResponse = RegisterTeamOauthClientResponses[keyof RegisterTeamOauthClientResponses]; +export type GetCredentialSetupItemResponse = GetCredentialSetupItemResponses[keyof GetCredentialSetupItemResponses]; -export type IssueOpenbotChatkitRealtimeTicketData = { - body: IssueChatKitRealtimeSocketTicketRequest; +export type CompleteCredentialSetupItemData = { + body: CompleteCredentialSetupItemBody; path: { /** - * Tilde team ID + * Team ID */ team_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/chatkit-realtime-ticket'; + url: '/api/v1/team/{team_id}/credential/setup-items/{id}/complete'; }; -export type IssueOpenbotChatkitRealtimeTicketErrors = { - /** - * Invalid OpenBot access token - */ - 401: Error; +export type CompleteCredentialSetupItemResponses = { /** - * Token is not bound to this team + * Credential setup completion response */ - 403: Error; + 200: StartCredentialSetupItemResponse; }; -export type IssueOpenbotChatkitRealtimeTicketError = IssueOpenbotChatkitRealtimeTicketErrors[keyof IssueOpenbotChatkitRealtimeTicketErrors]; +export type CompleteCredentialSetupItemResponse = CompleteCredentialSetupItemResponses[keyof CompleteCredentialSetupItemResponses]; -export type IssueOpenbotChatkitRealtimeTicketResponses = { +export type ResumeCredentialSetupItemData = { + body: ResumeCredentialSetupItemBody; + path: { + /** + * Team ID + */ + team_id: string; + id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/credential/setup-items/{id}/resume'; +}; + +export type ResumeCredentialSetupItemResponses = { /** - * Short-lived ChatKit realtime socket ticket + * Credential setup resume response */ - 200: ChatKitRealtimeSocketTicket; + 200: StartCredentialSetupItemResponse; }; -export type IssueOpenbotChatkitRealtimeTicketResponse = IssueOpenbotChatkitRealtimeTicketResponses[keyof IssueOpenbotChatkitRealtimeTicketResponses]; +export type ResumeCredentialSetupItemResponse = ResumeCredentialSetupItemResponses[keyof ResumeCredentialSetupItemResponses]; -export type ListOpenbotDeploymentsData = { - body?: never; +export type StartCredentialSetupItemData = { + body: StartCredentialSetupItemBody; path: { /** - * Tilde team ID + * Team ID */ team_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/deployments'; + url: '/api/v1/team/{team_id}/credential/setup-items/{id}/start'; }; -export type ListOpenbotDeploymentsErrors = { - /** - * Unauthorized - */ - 401: Error; +export type StartCredentialSetupItemResponses = { /** - * Not a team member + * Credential setup start response */ - 403: Error; + 200: StartCredentialSetupItemResponse; }; -export type ListOpenbotDeploymentsError = ListOpenbotDeploymentsErrors[keyof ListOpenbotDeploymentsErrors]; +export type StartCredentialSetupItemResponse2 = StartCredentialSetupItemResponses[keyof StartCredentialSetupItemResponses]; -export type ListOpenbotDeploymentsResponses = { +export type CreateResourceServerCredentialData = { + body: CreateResourceServerCredentialParamsInner; + path: { + /** + * Team ID + */ + team_id: string; + credential_source_type_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/resource-server'; +}; + +export type CreateResourceServerCredentialResponses = { /** - * OpenBot deployments + * Created credential */ - 200: ListOpenBotDeploymentsResponse; + 200: ResourceServerCredentialSerialized; }; -export type ListOpenbotDeploymentsResponse = ListOpenbotDeploymentsResponses[keyof ListOpenbotDeploymentsResponses]; +export type CreateResourceServerCredentialResponse = CreateResourceServerCredentialResponses[keyof CreateResourceServerCredentialResponses]; -export type RegisterOpenbotDeploymentData = { - body: RegisterOpenBotDeploymentRequest; +export type EncryptResourceServerConfigurationData = { + body: EncryptCredentialConfigurationParamsInner; path: { /** - * Tilde team ID + * Team ID */ team_id: string; + credential_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/deployments'; + url: '/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/resource-server/encrypt'; }; -export type RegisterOpenbotDeploymentErrors = { - /** - * Unauthorized - */ - 401: Error; +export type EncryptResourceServerConfigurationResponses = { /** - * Not a team member + * Encrypted configuration */ - 403: Error; + 200: unknown; }; -export type RegisterOpenbotDeploymentError = RegisterOpenbotDeploymentErrors[keyof RegisterOpenbotDeploymentErrors]; +export type CreateUserCredentialData = { + body: CreateUserCredentialParamsInner; + path: { + /** + * Team ID + */ + team_id: string; + credential_source_type_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential'; +}; -export type RegisterOpenbotDeploymentResponses = { +export type CreateUserCredentialResponses = { /** - * OpenBot deployment registered + * Created credential */ - 200: OpenBotDeployment; + 200: UserCredentialSerialized; }; -export type RegisterOpenbotDeploymentResponse = RegisterOpenbotDeploymentResponses[keyof RegisterOpenbotDeploymentResponses]; +export type CreateUserCredentialResponse = CreateUserCredentialResponses[keyof CreateUserCredentialResponses]; -export type GetHostedOpenbotInstanceData = { - body?: never; +export type StartUserCredentialBrokeringData = { + body: StartBrokeringBodyExternal; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; + credential_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}'; -}; - -export type GetHostedOpenbotInstanceErrors = { - 404: Error; + url: '/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential/broker'; }; -export type GetHostedOpenbotInstanceError = GetHostedOpenbotInstanceErrors[keyof GetHostedOpenbotInstanceErrors]; - -export type GetHostedOpenbotInstanceResponses = { - 200: HostedOpenBotInstance; +export type StartUserCredentialBrokeringResponses = { + /** + * Brokering response + */ + 200: UserCredentialBrokeringResponse; }; -export type GetHostedOpenbotInstanceResponse = GetHostedOpenbotInstanceResponses[keyof GetHostedOpenbotInstanceResponses]; +export type StartUserCredentialBrokeringResponse = StartUserCredentialBrokeringResponses[keyof StartUserCredentialBrokeringResponses]; -export type UpdateHostedOpenbotComputerImageData = { - body: UpdateHostedOpenBotComputerImageRequest; +export type EncryptUserCredentialConfigurationData = { + body: EncryptCredentialConfigurationParamsInner; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; + credential_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/computer-image'; + url: '/api/v1/team/{team_id}/credential/source/{credential_source_type_id}/user-credential/encrypt'; }; -export type UpdateHostedOpenbotComputerImageErrors = { - 400: Error; +export type EncryptUserCredentialConfigurationResponses = { + /** + * Encrypted configuration + */ + 200: unknown; }; -export type UpdateHostedOpenbotComputerImageError = UpdateHostedOpenbotComputerImageErrors[keyof UpdateHostedOpenbotComputerImageErrors]; +export type ListUserCredentialsData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + }; + query?: { + page_size?: number; + next_page_token?: string; + }; + url: '/api/v1/team/{team_id}/credential/user-credential'; +}; -export type UpdateHostedOpenbotComputerImageResponses = { - 200: HostedOpenBotInstance; +export type ListUserCredentialsResponses = { + /** + * Page of credentials + */ + 200: UserCredentialSerializedPaginatedResponse; }; -export type UpdateHostedOpenbotComputerImageResponse = UpdateHostedOpenbotComputerImageResponses[keyof UpdateHostedOpenbotComputerImageResponses]; +export type ListUserCredentialsResponse = ListUserCredentialsResponses[keyof ListUserCredentialsResponses]; -export type ConfigureHostedOpenbotInstanceData = { - body: ConfigureHostedOpenBotInstanceRequest; +export type DeleteUserCredentialData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/configuration'; -}; - -export type ConfigureHostedOpenbotInstanceErrors = { - 400: Error; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}'; }; -export type ConfigureHostedOpenbotInstanceError = ConfigureHostedOpenbotInstanceErrors[keyof ConfigureHostedOpenbotInstanceErrors]; - -export type ConfigureHostedOpenbotInstanceResponses = { - 200: HostedOpenBotInstance; +export type DeleteUserCredentialResponses = { + /** + * Deleted + */ + 200: unknown; }; -export type ConfigureHostedOpenbotInstanceResponse = ConfigureHostedOpenbotInstanceResponses[keyof ConfigureHostedOpenbotInstanceResponses]; - -export type IssueHostedOpenbotGitTokenData = { +export type GetUserCredentialData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/git-token'; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}'; }; -export type IssueHostedOpenbotGitTokenErrors = { +export type GetUserCredentialResponses = { /** - * Not the instance runtime API key + * Credential */ - 401: Error; - 404: Error; -}; - -export type IssueHostedOpenbotGitTokenError = IssueHostedOpenbotGitTokenErrors[keyof IssueHostedOpenbotGitTokenErrors]; - -export type IssueHostedOpenbotGitTokenResponses = { - 200: HostedOpenBotGitToken; + 200: UserCredentialSerialized; }; -export type IssueHostedOpenbotGitTokenResponse = IssueHostedOpenbotGitTokenResponses[keyof IssueHostedOpenbotGitTokenResponses]; +export type GetUserCredentialResponse = GetUserCredentialResponses[keyof GetUserCredentialResponses]; -export type CreateHostedOpenbotReleaseData = { - body: CreateHostedOpenBotReleaseRequest; +export type UpdateUserCredentialData = { + body: UpdateCredentialBody; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases'; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}'; }; -export type CreateHostedOpenbotReleaseErrors = { - 400: Error; +export type UpdateUserCredentialResponses = { + /** + * Updated credential + */ + 200: UserCredentialSerialized; }; -export type CreateHostedOpenbotReleaseError = CreateHostedOpenbotReleaseErrors[keyof CreateHostedOpenbotReleaseErrors]; +export type UpdateUserCredentialResponse = UpdateUserCredentialResponses[keyof UpdateUserCredentialResponses]; -export type CreateHostedOpenbotReleaseResponses = { - 200: HostedOpenBotRelease; +export type SetUcOwnershipData = { + body: SetResourceAccessModeRequest; + path: { + /** + * Team ID + */ + team_id: string; + id: WrappedUuidV4; + }; + query?: never; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}/ownership'; }; -export type CreateHostedOpenbotReleaseResponse = CreateHostedOpenbotReleaseResponses[keyof CreateHostedOpenbotReleaseResponses]; +export type SetUcOwnershipResponses = { + 200: ResourceAuthorization; +}; -export type GetHostedOpenbotReleaseData = { +export type SetUcOwnershipResponse = SetUcOwnershipResponses[keyof SetUcOwnershipResponses]; + +export type ListUcOwnershipGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; - release_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}'; -}; - -export type GetHostedOpenbotReleaseErrors = { - 404: Error; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}/ownership/grants'; }; -export type GetHostedOpenbotReleaseError = GetHostedOpenbotReleaseErrors[keyof GetHostedOpenbotReleaseErrors]; - -export type GetHostedOpenbotReleaseResponses = { - 200: HostedOpenBotRelease; +export type ListUcOwnershipGrantsResponses = { + 200: Array; }; -export type GetHostedOpenbotReleaseResponse = GetHostedOpenbotReleaseResponses[keyof GetHostedOpenbotReleaseResponses]; +export type ListUcOwnershipGrantsResponse = ListUcOwnershipGrantsResponses[keyof ListUcOwnershipGrantsResponses]; -export type UploadHostedOpenbotReleaseFileData = { - body: Array; +export type AddUcOwnershipGrantData = { + body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; - release_id: string; - sha1: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}/files/{sha1}'; -}; - -export type UploadHostedOpenbotReleaseFileErrors = { - 400: Error; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}/ownership/grants'; }; -export type UploadHostedOpenbotReleaseFileError = UploadHostedOpenbotReleaseFileErrors[keyof UploadHostedOpenbotReleaseFileErrors]; - -export type UploadHostedOpenbotReleaseFileResponses = { - 200: HostedOpenBotRelease; +export type AddUcOwnershipGrantResponses = { + 200: ResourceGrant; }; -export type UploadHostedOpenbotReleaseFileResponse = UploadHostedOpenbotReleaseFileResponses[keyof UploadHostedOpenbotReleaseFileResponses]; +export type AddUcOwnershipGrantResponse = AddUcOwnershipGrantResponses[keyof AddUcOwnershipGrantResponses]; -export type FinalizeHostedOpenbotReleaseData = { +export type RemoveUcOwnershipGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; - release_id: string; + id: WrappedUuidV4; + principal_type: string; + principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}/finalize'; -}; - -export type FinalizeHostedOpenbotReleaseErrors = { - 400: Error; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}/ownership/grants/{principal_type}/{principal_id}'; }; -export type FinalizeHostedOpenbotReleaseError = FinalizeHostedOpenbotReleaseErrors[keyof FinalizeHostedOpenbotReleaseErrors]; - -export type FinalizeHostedOpenbotReleaseResponses = { - 200: HostedOpenBotRelease; +export type RemoveUcOwnershipGrantResponses = { + 200: unknown; }; -export type FinalizeHostedOpenbotReleaseResponse = FinalizeHostedOpenbotReleaseResponses[keyof FinalizeHostedOpenbotReleaseResponses]; - -export type IssueProxyRealtimeTicketData = { - body: IssueChatKitRealtimeSocketTicketRequest; - headers: { - /** - * Organization routing when not selected by host - */ - 'X-Tilde-Org-Id'?: string | null; - /** - * Enabled runtime identity acting in the route team - */ - 'X-Tilde-Identity-Id': string; - }; +export type SetUcVisibilityData = { + body: SetResourceAccessModeRequest; path: { /** - * Team id + * Team ID */ team_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/identity/realtime-ticket'; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}/visibility'; }; -export type IssueProxyRealtimeTicketResponses = { - 200: ChatKitRealtimeSocketTicket; +export type SetUcVisibilityResponses = { + 200: ResourceAuthorization; }; -export type IssueProxyRealtimeTicketResponse = IssueProxyRealtimeTicketResponses[keyof IssueProxyRealtimeTicketResponses]; +export type SetUcVisibilityResponse = SetUcVisibilityResponses[keyof SetUcVisibilityResponses]; -export type ListManagedUserCredentialsData = { +export type ListUcVisibilityGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; + id: WrappedUuidV4; }; - query?: { - page_size?: number; - next_page_token?: string | null; - }; - url: '/api/v1/team/{team_id}/managed-user-credential'; + query?: never; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}/visibility/grants'; }; -export type ListManagedUserCredentialsResponses = { - /** - * Managed user credentials - */ - 200: ManagedUserCredentialSummaryPaginatedResponse; +export type ListUcVisibilityGrantsResponses = { + 200: Array; }; -export type ListManagedUserCredentialsResponse = ListManagedUserCredentialsResponses[keyof ListManagedUserCredentialsResponses]; +export type ListUcVisibilityGrantsResponse = ListUcVisibilityGrantsResponses[keyof ListUcVisibilityGrantsResponses]; -export type CreateManagedUserCredentialData = { - body: CreateManagedUserCredentialBody; +export type AddUcVisibilityGrantData = { + body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; - type_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/managed-user-credential/type/{type_id}'; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}/visibility/grants'; }; -export type CreateManagedUserCredentialResponses = { - /** - * Created managed user credential - */ - 200: ManagedUserCredentialSummary; +export type AddUcVisibilityGrantResponses = { + 200: ResourceGrant; }; -export type CreateManagedUserCredentialResponse = CreateManagedUserCredentialResponses[keyof CreateManagedUserCredentialResponses]; +export type AddUcVisibilityGrantResponse = AddUcVisibilityGrantResponses[keyof AddUcVisibilityGrantResponses]; -export type GetManagedUserCredentialSecretData = { +export type RemoveUcVisibilityGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - type_id: string; id: WrappedUuidV4; + principal_type: string; + principal_id: string; }; - query?: { - totp_at_unix_seconds?: number | null; - }; - url: '/api/v1/team/{team_id}/managed-user-credential/type/{type_id}/{id}'; + query?: never; + url: '/api/v1/team/{team_id}/credential/user-credential/{id}/visibility/grants/{principal_type}/{principal_id}'; }; -export type GetManagedUserCredentialSecretResponses = { - /** - * Encrypted secret - */ - 200: ManagedUserCredentialSecretResponse; +export type RemoveUcVisibilityGrantResponses = { + 200: unknown; }; -export type GetManagedUserCredentialSecretResponse = GetManagedUserCredentialSecretResponses[keyof GetManagedUserCredentialSecretResponses]; - -export type UpdateManagedUserCredentialData = { - body: UpdateManagedUserCredentialBody; +export type CreateHumanApprovalActionData = { + body: CreateHumanApprovalActionRequestInner; path: { + /** + * Team ID + */ team_id: string; - type_id: string; - id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/managed-user-credential/type/{type_id}/{id}'; + url: '/api/v1/team/{team_id}/human-approval'; }; -export type UpdateManagedUserCredentialResponses = { +export type CreateHumanApprovalActionErrors = { + 400: Error; + 401: Error; + 500: Error; +}; + +export type CreateHumanApprovalActionError = CreateHumanApprovalActionErrors[keyof CreateHumanApprovalActionErrors]; + +export type CreateHumanApprovalActionResponses = { /** - * Updated managed user credential + * Human approval action created */ - 200: ManagedUserCredentialSummary; + 200: CreateHumanApprovalActionResponse; }; -export type UpdateManagedUserCredentialResponse = UpdateManagedUserCredentialResponses[keyof UpdateManagedUserCredentialResponses]; +export type CreateHumanApprovalActionResponse2 = CreateHumanApprovalActionResponses[keyof CreateHumanApprovalActionResponses]; -export type DeleteManagedUserCredentialData = { - body?: never; +export type RegisterTeamOauthClientData = { + body: RegisterOAuthClientRequest; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/managed-user-credential/{id}'; + url: '/api/v1/team/{team_id}/identity/oauth/register'; }; -export type DeleteManagedUserCredentialResponses = { +export type RegisterTeamOauthClientErrors = { /** - * Deleted managed user credential + * Invalid registration request */ - 200: unknown; + 400: Error; + /** + * Internal server error + */ + 500: Error; }; -export type ListAvailableToolGroupsData = { - body?: never; +export type RegisterTeamOauthClientError = RegisterTeamOauthClientErrors[keyof RegisterTeamOauthClientErrors]; + +export type RegisterTeamOauthClientResponses = { + /** + * OAuth client registered + */ + 201: RegisterOAuthClientResponse; +}; + +export type RegisterTeamOauthClientResponse = RegisterTeamOauthClientResponses[keyof RegisterTeamOauthClientResponses]; + +export type IssueOpenbotChatkitRealtimeTicketData = { + body: IssueChatKitRealtimeSocketTicketRequest; path: { /** * Team ID */ team_id: string; }; - query: { - page_size: number; - next_page_token?: string; - deployment_alias: string; - include_global?: boolean; - }; - url: '/api/v1/team/{team_id}/mcp/available-tool-groups'; + query?: never; + url: '/api/v1/team/{team_id}/identity/openbot/chatkit-realtime-ticket'; }; -export type ListAvailableToolGroupsErrors = { - /** - * Bad Request - */ - 400: Error; +export type IssueOpenbotChatkitRealtimeTicketErrors = { /** - * Unauthorized + * Invalid OpenBot access token */ 401: Error; /** - * Forbidden + * Token is not bound to this team */ 403: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type ListAvailableToolGroupsError = ListAvailableToolGroupsErrors[keyof ListAvailableToolGroupsErrors]; +export type IssueOpenbotChatkitRealtimeTicketError = IssueOpenbotChatkitRealtimeTicketErrors[keyof IssueOpenbotChatkitRealtimeTicketErrors]; -export type ListAvailableToolGroupsResponses = { +export type IssueOpenbotChatkitRealtimeTicketResponses = { /** - * List available tool groups + * Short-lived ChatKit realtime socket ticket */ - 200: ToolGroupSourceSerializedPaginatedResponse; + 200: ChatKitRealtimeSocketTicket; }; -export type ListAvailableToolGroupsResponse = ListAvailableToolGroupsResponses[keyof ListAvailableToolGroupsResponses]; +export type IssueOpenbotChatkitRealtimeTicketResponse = IssueOpenbotChatkitRealtimeTicketResponses[keyof IssueOpenbotChatkitRealtimeTicketResponses]; -export type CreateToolGroupInstanceData = { - body: CreateToolGroupInstanceParamsInner; +export type ListOpenbotDeploymentsData = { + body?: never; path: { /** * Team ID */ team_id: string; - tool_group_source_type_id: string; - credential_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/available-tool-groups/{tool_group_source_type_id}/available-credentials/{credential_source_type_id}'; + url: '/api/v1/team/{team_id}/identity/openbot/deployments'; }; -export type CreateToolGroupInstanceErrors = { - /** - * Bad Request - */ - 400: Error; +export type ListOpenbotDeploymentsErrors = { /** * Unauthorized */ 401: Error; /** - * Forbidden + * Not a team member */ 403: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type CreateToolGroupInstanceError = CreateToolGroupInstanceErrors[keyof CreateToolGroupInstanceErrors]; +export type ListOpenbotDeploymentsError = ListOpenbotDeploymentsErrors[keyof ListOpenbotDeploymentsErrors]; -export type CreateToolGroupInstanceResponses = { +export type ListOpenbotDeploymentsResponses = { /** - * Create tool group instance + * OpenBot deployments */ - 200: ToolGroupInstanceSerialized; + 200: ListOpenBotDeploymentsResponse; }; -export type CreateToolGroupInstanceResponse = CreateToolGroupInstanceResponses[keyof CreateToolGroupInstanceResponses]; +export type ListOpenbotDeploymentsResponse = ListOpenbotDeploymentsResponses[keyof ListOpenbotDeploymentsResponses]; -export type AutoProvisionToolGroupInstanceData = { - body: AutoProvisionToolGroupInstanceParamsInner; +export type RegisterOpenbotDeploymentData = { + body: RegisterOpenBotDeploymentRequest; path: { /** * Team ID */ team_id: string; - tool_group_source_type_id: string; - credential_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/available-tool-groups/{tool_group_source_type_id}/available-credentials/{credential_source_type_id}/auto-provision'; + url: '/api/v1/team/{team_id}/identity/openbot/deployments'; }; -export type AutoProvisionToolGroupInstanceErrors = { - /** - * Bad Request - */ - 400: Error; +export type RegisterOpenbotDeploymentErrors = { /** * Unauthorized */ 401: Error; /** - * Forbidden + * Not a team member */ 403: Error; - /** - * Internal Server Error - */ - 500: Error; }; -export type AutoProvisionToolGroupInstanceError = AutoProvisionToolGroupInstanceErrors[keyof AutoProvisionToolGroupInstanceErrors]; +export type RegisterOpenbotDeploymentError = RegisterOpenbotDeploymentErrors[keyof RegisterOpenbotDeploymentErrors]; -export type AutoProvisionToolGroupInstanceResponses = { +export type RegisterOpenbotDeploymentResponses = { /** - * Auto-provision tool group instance + * OpenBot deployment registered */ - 200: AutoProvisionToolGroupInstanceResponse; + 200: OpenBotDeployment; }; -export type AutoProvisionToolGroupInstanceResponse2 = AutoProvisionToolGroupInstanceResponses[keyof AutoProvisionToolGroupInstanceResponses]; +export type RegisterOpenbotDeploymentResponse = RegisterOpenbotDeploymentResponses[keyof RegisterOpenbotDeploymentResponses]; -export type ListCustomToolProvidersData = { +export type GetHostedOpenbotInstanceData = { body?: never; path: { /** * Team ID */ team_id: string; + instance_id: string; }; - query: { - page_size: number; - next_page_token?: string; - }; - url: '/api/v1/team/{team_id}/mcp/custom-tool-providers'; + query?: never; + url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}'; }; -export type ListCustomToolProvidersResponses = { - /** - * List custom tool providers - */ - 200: CustomToolProviderListItemPaginatedResponse; +export type GetHostedOpenbotInstanceErrors = { + 404: Error; }; -export type ListCustomToolProvidersResponse = ListCustomToolProvidersResponses[keyof ListCustomToolProvidersResponses]; +export type GetHostedOpenbotInstanceError = GetHostedOpenbotInstanceErrors[keyof GetHostedOpenbotInstanceErrors]; -export type CreateCustomToolProviderData = { - body: CreateCustomToolProviderRequestInner; +export type GetHostedOpenbotInstanceResponses = { + 200: HostedOpenBotInstance; +}; + +export type GetHostedOpenbotInstanceResponse = GetHostedOpenbotInstanceResponses[keyof GetHostedOpenbotInstanceResponses]; + +export type UpdateHostedOpenbotComputerImageData = { + body: UpdateHostedOpenBotComputerImageRequest; path: { /** * Team ID */ team_id: string; + instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/custom-tool-providers'; + url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/computer-image'; }; -export type CreateCustomToolProviderResponses = { - /** - * Create custom tool provider - */ - 200: CreateCustomToolProviderResponse; +export type UpdateHostedOpenbotComputerImageErrors = { + 400: Error; }; -export type CreateCustomToolProviderResponse2 = CreateCustomToolProviderResponses[keyof CreateCustomToolProviderResponses]; +export type UpdateHostedOpenbotComputerImageError = UpdateHostedOpenbotComputerImageErrors[keyof UpdateHostedOpenbotComputerImageErrors]; -export type DeleteCustomToolProviderData = { - body?: never; +export type UpdateHostedOpenbotComputerImageResponses = { + 200: HostedOpenBotInstance; +}; + +export type UpdateHostedOpenbotComputerImageResponse = UpdateHostedOpenbotComputerImageResponses[keyof UpdateHostedOpenbotComputerImageResponses]; + +export type ConfigureHostedOpenbotInstanceData = { + body: ConfigureHostedOpenBotInstanceRequest; path: { /** * Team ID */ team_id: string; - /** - * Tool group instance ID - */ - tool_group_instance_id: string; + instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/configuration'; }; -export type DeleteCustomToolProviderResponses = { - /** - * Delete custom tool provider - */ - 200: unknown; +export type ConfigureHostedOpenbotInstanceErrors = { + 400: Error; }; -export type GetCustomToolProviderData = { +export type ConfigureHostedOpenbotInstanceError = ConfigureHostedOpenbotInstanceErrors[keyof ConfigureHostedOpenbotInstanceErrors]; + +export type ConfigureHostedOpenbotInstanceResponses = { + 200: HostedOpenBotInstance; +}; + +export type ConfigureHostedOpenbotInstanceResponse = ConfigureHostedOpenbotInstanceResponses[keyof ConfigureHostedOpenbotInstanceResponses]; + +export type IssueHostedOpenbotGitTokenData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Tool group instance ID - */ - tool_group_instance_id: string; + instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/git-token'; }; -export type GetCustomToolProviderResponses = { +export type IssueHostedOpenbotGitTokenErrors = { /** - * Get custom tool provider + * Not the instance runtime API key */ - 200: CustomToolProviderDetails; + 401: Error; + 404: Error; }; -export type GetCustomToolProviderResponse = GetCustomToolProviderResponses[keyof GetCustomToolProviderResponses]; +export type IssueHostedOpenbotGitTokenError = IssueHostedOpenbotGitTokenErrors[keyof IssueHostedOpenbotGitTokenErrors]; -export type UpdateCustomToolProviderData = { - body: UpdateCustomToolProviderRequestInner; +export type IssueHostedOpenbotGitTokenResponses = { + 200: HostedOpenBotGitToken; +}; + +export type IssueHostedOpenbotGitTokenResponse = IssueHostedOpenbotGitTokenResponses[keyof IssueHostedOpenbotGitTokenResponses]; + +export type CreateHostedOpenbotReleaseData = { + body: CreateHostedOpenBotReleaseRequest; path: { /** * Team ID */ team_id: string; - /** - * Tool group instance ID - */ - tool_group_instance_id: string; + instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases'; }; -export type UpdateCustomToolProviderResponses = { - /** - * Update custom tool provider - */ - 200: CustomToolProviderDetails; +export type CreateHostedOpenbotReleaseErrors = { + 400: Error; }; -export type UpdateCustomToolProviderResponse = UpdateCustomToolProviderResponses[keyof UpdateCustomToolProviderResponses]; +export type CreateHostedOpenbotReleaseError = CreateHostedOpenbotReleaseErrors[keyof CreateHostedOpenbotReleaseErrors]; -export type DisableCustomToolProviderData = { +export type CreateHostedOpenbotReleaseResponses = { + 200: HostedOpenBotRelease; +}; + +export type CreateHostedOpenbotReleaseResponse = CreateHostedOpenbotReleaseResponses[keyof CreateHostedOpenbotReleaseResponses]; + +export type GetHostedOpenbotReleaseData = { body?: never; path: { /** * Team ID */ team_id: string; + instance_id: string; + release_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}'; +}; + +export type GetHostedOpenbotReleaseErrors = { + 404: Error; +}; + +export type GetHostedOpenbotReleaseError = GetHostedOpenbotReleaseErrors[keyof GetHostedOpenbotReleaseErrors]; + +export type GetHostedOpenbotReleaseResponses = { + 200: HostedOpenBotRelease; +}; + +export type GetHostedOpenbotReleaseResponse = GetHostedOpenbotReleaseResponses[keyof GetHostedOpenbotReleaseResponses]; + +export type UploadHostedOpenbotReleaseFileData = { + body: Array; + path: { /** - * Tool group instance ID + * Team ID */ - tool_group_instance_id: string; + team_id: string; + instance_id: string; + release_id: string; + sha1: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/disable'; + url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}/files/{sha1}'; }; -export type DisableCustomToolProviderResponses = { - /** - * Disable custom tool provider - */ - 200: CustomToolProviderDetails; +export type UploadHostedOpenbotReleaseFileErrors = { + 400: Error; }; -export type DisableCustomToolProviderResponse = DisableCustomToolProviderResponses[keyof DisableCustomToolProviderResponses]; +export type UploadHostedOpenbotReleaseFileError = UploadHostedOpenbotReleaseFileErrors[keyof UploadHostedOpenbotReleaseFileErrors]; -export type EnableCustomToolProviderData = { +export type UploadHostedOpenbotReleaseFileResponses = { + 200: HostedOpenBotRelease; +}; + +export type UploadHostedOpenbotReleaseFileResponse = UploadHostedOpenbotReleaseFileResponses[keyof UploadHostedOpenbotReleaseFileResponses]; + +export type FinalizeHostedOpenbotReleaseData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Tool group instance ID - */ - tool_group_instance_id: string; + instance_id: string; + release_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/enable'; + url: '/api/v1/team/{team_id}/identity/openbot/instances/{instance_id}/releases/{release_id}/finalize'; }; -export type EnableCustomToolProviderResponses = { - /** - * Enable custom tool provider - */ - 200: CustomToolProviderDetails; +export type FinalizeHostedOpenbotReleaseErrors = { + 400: Error; }; -export type EnableCustomToolProviderResponse = EnableCustomToolProviderResponses[keyof EnableCustomToolProviderResponses]; +export type FinalizeHostedOpenbotReleaseError = FinalizeHostedOpenbotReleaseErrors[keyof FinalizeHostedOpenbotReleaseErrors]; -export type RefreshCustomToolProviderData = { +export type FinalizeHostedOpenbotReleaseResponses = { + 200: HostedOpenBotRelease; +}; + +export type FinalizeHostedOpenbotReleaseResponse = FinalizeHostedOpenbotReleaseResponses[keyof FinalizeHostedOpenbotReleaseResponses]; + +export type ListManagedUserCredentialsData = { body?: never; path: { /** * Team ID */ team_id: string; + }; + query?: { + page_size?: number; + next_page_token?: string | null; + }; + url: '/api/v1/team/{team_id}/managed-user-credential'; +}; + +export type ListManagedUserCredentialsResponses = { + /** + * Managed user credentials + */ + 200: ManagedUserCredentialSummaryPaginatedResponse; +}; + +export type ListManagedUserCredentialsResponse = ListManagedUserCredentialsResponses[keyof ListManagedUserCredentialsResponses]; + +export type CreateManagedUserCredentialData = { + body: CreateManagedUserCredentialBody; + path: { /** - * Tool group instance ID + * Team ID */ - tool_group_instance_id: string; + team_id: string; + type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/refresh'; + url: '/api/v1/team/{team_id}/managed-user-credential/type/{type_id}'; }; -export type RefreshCustomToolProviderResponses = { +export type CreateManagedUserCredentialResponses = { /** - * Refresh custom tool provider + * Created managed user credential */ - 200: RefreshCustomToolProviderResponse; + 200: ManagedUserCredentialSummary; }; -export type RefreshCustomToolProviderResponse2 = RefreshCustomToolProviderResponses[keyof RefreshCustomToolProviderResponses]; +export type CreateManagedUserCredentialResponse = CreateManagedUserCredentialResponses[keyof CreateManagedUserCredentialResponses]; -export type RotateCustomToolProviderSigningKeyData = { +export type GetManagedUserCredentialSecretData = { body?: never; path: { /** * Team ID */ team_id: string; + type_id: string; + id: WrappedUuidV4; + }; + query?: { + totp_at_unix_seconds?: number | null; + }; + url: '/api/v1/team/{team_id}/managed-user-credential/type/{type_id}/{id}'; +}; + +export type GetManagedUserCredentialSecretResponses = { + /** + * Encrypted secret + */ + 200: ManagedUserCredentialSecretResponse; +}; + +export type GetManagedUserCredentialSecretResponse = GetManagedUserCredentialSecretResponses[keyof GetManagedUserCredentialSecretResponses]; + +export type UpdateManagedUserCredentialData = { + body: UpdateManagedUserCredentialBody; + path: { /** - * Tool group instance ID + * Team ID */ - tool_group_instance_id: string; + team_id: string; + type_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/rotate-signing-secret'; + url: '/api/v1/team/{team_id}/managed-user-credential/type/{type_id}/{id}'; }; -export type RotateCustomToolProviderSigningKeyResponses = { +export type UpdateManagedUserCredentialResponses = { /** - * Rotate custom tool provider signing key + * Updated managed user credential */ - 200: RotateCustomToolProviderSigningKeyResponse; + 200: ManagedUserCredentialSummary; }; -export type RotateCustomToolProviderSigningKeyResponse2 = RotateCustomToolProviderSigningKeyResponses[keyof RotateCustomToolProviderSigningKeyResponses]; +export type UpdateManagedUserCredentialResponse = UpdateManagedUserCredentialResponses[keyof UpdateManagedUserCredentialResponses]; -export type InvokeCustomToolData = { - body: InvokeCustomToolRequestInner; +export type DeleteManagedUserCredentialData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * Tool group instance ID - */ - tool_group_instance_id: string; - /** - * Tool source type ID - */ - tool_source_type_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/tools/{tool_source_type_id}/invoke'; + url: '/api/v1/team/{team_id}/managed-user-credential/{id}'; }; -export type InvokeCustomToolResponses = { +export type DeleteManagedUserCredentialResponses = { /** - * Invoke custom tool + * Deleted managed user credential */ - 200: InvokeResult; + 200: unknown; }; -export type InvokeCustomToolResponse = InvokeCustomToolResponses[keyof InvokeCustomToolResponses]; - -export type ListMcpServerInstancesData = { +export type ListAvailableToolGroupsData = { body?: never; path: { /** @@ -17479,13 +17285,17 @@ export type ListMcpServerInstancesData = { query: { page_size: number; next_page_token?: string; + deployment_alias: string; include_global?: boolean; - agent_id?: string; }; - url: '/api/v1/team/{team_id}/mcp/mcp-server'; + url: '/api/v1/team/{team_id}/mcp/available-tool-groups'; }; -export type ListMcpServerInstancesErrors = { +export type ListAvailableToolGroupsErrors = { + /** + * Bad Request + */ + 400: Error; /** * Unauthorized */ @@ -17500,30 +17310,32 @@ export type ListMcpServerInstancesErrors = { 500: Error; }; -export type ListMcpServerInstancesError = ListMcpServerInstancesErrors[keyof ListMcpServerInstancesErrors]; +export type ListAvailableToolGroupsError = ListAvailableToolGroupsErrors[keyof ListAvailableToolGroupsErrors]; -export type ListMcpServerInstancesResponses = { +export type ListAvailableToolGroupsResponses = { /** - * List MCP server instances + * List available tool groups */ - 200: McpServerInstanceSerializedWithFunctionsPaginatedResponse; + 200: ToolGroupSourceSerializedPaginatedResponse; }; -export type ListMcpServerInstancesResponse = ListMcpServerInstancesResponses[keyof ListMcpServerInstancesResponses]; +export type ListAvailableToolGroupsResponse = ListAvailableToolGroupsResponses[keyof ListAvailableToolGroupsResponses]; -export type CreateMcpServerInstanceData = { - body: CreateMcpServerInstanceRequestInner; +export type CreateToolGroupInstanceData = { + body: CreateToolGroupInstanceParamsInner; path: { /** * Team ID */ team_id: string; + tool_group_source_type_id: string; + credential_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server'; + url: '/api/v1/team/{team_id}/mcp/available-tool-groups/{tool_group_source_type_id}/available-credentials/{credential_source_type_id}'; }; -export type CreateMcpServerInstanceErrors = { +export type CreateToolGroupInstanceErrors = { /** * Bad Request */ @@ -17542,34 +17354,36 @@ export type CreateMcpServerInstanceErrors = { 500: Error; }; -export type CreateMcpServerInstanceError = CreateMcpServerInstanceErrors[keyof CreateMcpServerInstanceErrors]; +export type CreateToolGroupInstanceError = CreateToolGroupInstanceErrors[keyof CreateToolGroupInstanceErrors]; -export type CreateMcpServerInstanceResponses = { +export type CreateToolGroupInstanceResponses = { /** - * Create MCP server instance + * Create tool group instance */ - 200: McpServerInstanceSerializedWithFunctions; + 200: ToolGroupInstanceSerialized; }; -export type CreateMcpServerInstanceResponse = CreateMcpServerInstanceResponses[keyof CreateMcpServerInstanceResponses]; +export type CreateToolGroupInstanceResponse = CreateToolGroupInstanceResponses[keyof CreateToolGroupInstanceResponses]; -export type DeleteMcpServerInstanceData = { - body?: never; +export type AutoProvisionToolGroupInstanceData = { + body: AutoProvisionToolGroupInstanceParamsInner; path: { /** * Team ID */ team_id: string; - /** - * MCP server instance ID - */ - mcp_server_instance_id: string; + tool_group_source_type_id: string; + credential_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}'; + url: '/api/v1/team/{team_id}/mcp/available-tool-groups/{tool_group_source_type_id}/available-credentials/{credential_source_type_id}/auto-provision'; }; -export type DeleteMcpServerInstanceErrors = { +export type AutoProvisionToolGroupInstanceErrors = { + /** + * Bad Request + */ + 400: Error; /** * Unauthorized */ @@ -17578,312 +17392,288 @@ export type DeleteMcpServerInstanceErrors = { * Forbidden */ 403: Error; - /** - * Not Found - */ - 404: Error; /** * Internal Server Error */ 500: Error; }; -export type DeleteMcpServerInstanceError = DeleteMcpServerInstanceErrors[keyof DeleteMcpServerInstanceErrors]; +export type AutoProvisionToolGroupInstanceError = AutoProvisionToolGroupInstanceErrors[keyof AutoProvisionToolGroupInstanceErrors]; -export type DeleteMcpServerInstanceResponses = { +export type AutoProvisionToolGroupInstanceResponses = { /** - * Delete MCP server instance + * Auto-provision tool group instance */ - 200: unknown; + 200: AutoProvisionToolGroupInstanceResponse; }; -export type GetMcpServerInstanceData = { +export type AutoProvisionToolGroupInstanceResponse2 = AutoProvisionToolGroupInstanceResponses[keyof AutoProvisionToolGroupInstanceResponses]; + +export type ListCustomToolProvidersData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * MCP server instance ID - */ - mcp_server_instance_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}'; + query: { + page_size: number; + next_page_token?: string; + }; + url: '/api/v1/team/{team_id}/mcp/custom-tool-providers'; }; -export type GetMcpServerInstanceErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Forbidden - */ - 403: Error; - /** - * Not Found - */ - 404: Error; +export type ListCustomToolProvidersResponses = { /** - * Internal Server Error + * List custom tool providers */ - 500: Error; + 200: CustomToolProviderListItemPaginatedResponse; }; -export type GetMcpServerInstanceError = GetMcpServerInstanceErrors[keyof GetMcpServerInstanceErrors]; +export type ListCustomToolProvidersResponse = ListCustomToolProvidersResponses[keyof ListCustomToolProvidersResponses]; -export type GetMcpServerInstanceResponses = { +export type CreateCustomToolProviderData = { + body: CreateCustomToolProviderRequestInner; + path: { + /** + * Team ID + */ + team_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/mcp/custom-tool-providers'; +}; + +export type CreateCustomToolProviderResponses = { /** - * Get MCP server instance + * Create custom tool provider */ - 200: McpServerInstanceSerializedWithFunctions; + 200: CreateCustomToolProviderResponse; }; -export type GetMcpServerInstanceResponse = GetMcpServerInstanceResponses[keyof GetMcpServerInstanceResponses]; +export type CreateCustomToolProviderResponse2 = CreateCustomToolProviderResponses[keyof CreateCustomToolProviderResponses]; -export type UpdateMcpServerInstanceData = { - body: UpdateMcpServerInstanceBody; +export type DeleteCustomToolProviderData = { + body?: never; path: { /** * Team ID */ team_id: string; /** - * MCP server instance ID + * Tool group instance ID */ - mcp_server_instance_id: string; + tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}'; + url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}'; }; -export type UpdateMcpServerInstanceErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Forbidden - */ - 403: Error; - /** - * Not Found - */ - 404: Error; +export type DeleteCustomToolProviderResponses = { /** - * Internal Server Error + * Delete custom tool provider */ - 500: Error; + 200: unknown; }; -export type UpdateMcpServerInstanceError = UpdateMcpServerInstanceErrors[keyof UpdateMcpServerInstanceErrors]; +export type GetCustomToolProviderData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + /** + * Tool group instance ID + */ + tool_group_instance_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}'; +}; -export type UpdateMcpServerInstanceResponses = { +export type GetCustomToolProviderResponses = { /** - * Update MCP server instance + * Get custom tool provider */ - 200: McpServerInstanceSerializedWithFunctions; + 200: CustomToolProviderDetails; }; -export type UpdateMcpServerInstanceResponse = UpdateMcpServerInstanceResponses[keyof UpdateMcpServerInstanceResponses]; +export type GetCustomToolProviderResponse = GetCustomToolProviderResponses[keyof GetCustomToolProviderResponses]; -export type AddMcpServerInstanceFunctionData = { - body: AddMcpServerInstanceFunctionBody; +export type UpdateCustomToolProviderData = { + body: UpdateCustomToolProviderRequestInner; path: { /** * Team ID */ team_id: string; /** - * MCP server instance ID + * Tool group instance ID */ - mcp_server_instance_id: string; + tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/function'; -}; - -export type AddMcpServerInstanceFunctionErrors = { - /** - * Bad Request - */ - 400: Error; - /** - * Unauthorized - */ - 401: Error; - /** - * Forbidden - */ - 403: Error; - /** - * Not Found - */ - 404: Error; - /** - * Conflict (tool name already exists) - */ - 409: Error; - /** - * Internal Server Error - */ - 500: Error; + url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}'; }; -export type AddMcpServerInstanceFunctionError = AddMcpServerInstanceFunctionErrors[keyof AddMcpServerInstanceFunctionErrors]; - -export type AddMcpServerInstanceFunctionResponses = { +export type UpdateCustomToolProviderResponses = { /** - * Add function to MCP server instance + * Update custom tool provider */ - 200: McpServerInstanceSerializedWithFunctions; + 200: CustomToolProviderDetails; }; -export type AddMcpServerInstanceFunctionResponse = AddMcpServerInstanceFunctionResponses[keyof AddMcpServerInstanceFunctionResponses]; +export type UpdateCustomToolProviderResponse = UpdateCustomToolProviderResponses[keyof UpdateCustomToolProviderResponses]; -export type RemoveMcpServerInstanceFunctionData = { +export type DisableCustomToolProviderData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * MCP server instance ID - */ - mcp_server_instance_id: string; - /** - * Tool source type ID - */ - tool_deployment_type_id: string; - /** - * Tool group source type ID - */ - tool_group_deployment_type_id: string; /** * Tool group instance ID */ tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/function/{tool_deployment_type_id}/{tool_group_deployment_type_id}/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/disable'; }; -export type RemoveMcpServerInstanceFunctionErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Forbidden - */ - 403: Error; - /** - * Not Found - */ - 404: Error; +export type DisableCustomToolProviderResponses = { /** - * Internal Server Error + * Disable custom tool provider */ - 500: Error; + 200: CustomToolProviderDetails; }; -export type RemoveMcpServerInstanceFunctionError = RemoveMcpServerInstanceFunctionErrors[keyof RemoveMcpServerInstanceFunctionErrors]; +export type DisableCustomToolProviderResponse = DisableCustomToolProviderResponses[keyof DisableCustomToolProviderResponses]; -export type RemoveMcpServerInstanceFunctionResponses = { +export type EnableCustomToolProviderData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + /** + * Tool group instance ID + */ + tool_group_instance_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/enable'; +}; + +export type EnableCustomToolProviderResponses = { /** - * Remove tool from MCP server instance + * Enable custom tool provider */ - 200: McpServerInstanceSerializedWithFunctions; + 200: CustomToolProviderDetails; }; -export type RemoveMcpServerInstanceFunctionResponse = RemoveMcpServerInstanceFunctionResponses[keyof RemoveMcpServerInstanceFunctionResponses]; +export type EnableCustomToolProviderResponse = EnableCustomToolProviderResponses[keyof EnableCustomToolProviderResponses]; -export type UpdateMcpServerInstanceFunctionData = { - body: UpdateMcpServerInstanceToolBody; +export type RefreshCustomToolProviderData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * MCP server instance ID - */ - mcp_server_instance_id: string; - /** - * Tool source type ID - */ - tool_deployment_type_id: string; - /** - * Tool group source type ID - */ - tool_group_deployment_type_id: string; /** * Tool group instance ID */ tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/function/{tool_deployment_type_id}/{tool_group_deployment_type_id}/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/refresh'; }; -export type UpdateMcpServerInstanceFunctionErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Forbidden - */ - 403: Error; - /** - * Not Found - */ - 404: Error; - /** - * Conflict (tool name already exists) - */ - 409: Error; +export type RefreshCustomToolProviderResponses = { /** - * Internal Server Error + * Refresh custom tool provider */ - 500: Error; + 200: RefreshCustomToolProviderResponse; }; -export type UpdateMcpServerInstanceFunctionError = UpdateMcpServerInstanceFunctionErrors[keyof UpdateMcpServerInstanceFunctionErrors]; +export type RefreshCustomToolProviderResponse2 = RefreshCustomToolProviderResponses[keyof RefreshCustomToolProviderResponses]; -export type UpdateMcpServerInstanceFunctionResponses = { +export type RotateCustomToolProviderSigningKeyData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + /** + * Tool group instance ID + */ + tool_group_instance_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/rotate-signing-secret'; +}; + +export type RotateCustomToolProviderSigningKeyResponses = { /** - * Update tool in MCP server instance + * Rotate custom tool provider signing key */ - 200: McpServerInstanceSerializedWithFunctions; + 200: RotateCustomToolProviderSigningKeyResponse; }; -export type UpdateMcpServerInstanceFunctionResponse = UpdateMcpServerInstanceFunctionResponses[keyof UpdateMcpServerInstanceFunctionResponses]; +export type RotateCustomToolProviderSigningKeyResponse2 = RotateCustomToolProviderSigningKeyResponses[keyof RotateCustomToolProviderSigningKeyResponses]; -export type BulkRemoveMcpServerInstanceFunctionsData = { - body: BulkRemoveMcpServerInstanceFunctionsBody; +export type InvokeCustomToolData = { + body: InvokeCustomToolRequestInner; path: { /** * Team ID */ team_id: string; /** - * MCP server instance ID + * Tool group instance ID */ - mcp_server_instance_id: string; + tool_group_instance_id: string; + /** + * Tool source type ID + */ + tool_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/functions'; + url: '/api/v1/team/{team_id}/mcp/custom-tool-providers/{tool_group_instance_id}/tools/{tool_source_type_id}/invoke'; }; -export type BulkRemoveMcpServerInstanceFunctionsErrors = { +export type InvokeCustomToolResponses = { /** - * Invalid batch; no mappings were removed + * Invoke custom tool */ - 400: Error; + 200: InvokeResult; +}; + +export type InvokeCustomToolResponse = InvokeCustomToolResponses[keyof InvokeCustomToolResponses]; + +export type ListMcpServerInstancesData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + }; + query: { + page_size: number; + next_page_token?: string; + include_global?: boolean; + agent_id?: string; + }; + url: '/api/v1/team/{team_id}/mcp/mcp-server'; +}; + +export type ListMcpServerInstancesErrors = { /** * Unauthorized */ @@ -17893,45 +17683,37 @@ export type BulkRemoveMcpServerInstanceFunctionsErrors = { */ 403: Error; /** - * MCP server not found; no mappings were removed - */ - 404: Error; - /** - * Internal Server Error. Database write failures roll back the batch; reconciliation failures can occur after commit, and retrying is safe + * Internal Server Error */ 500: Error; }; -export type BulkRemoveMcpServerInstanceFunctionsError = BulkRemoveMcpServerInstanceFunctionsErrors[keyof BulkRemoveMcpServerInstanceFunctionsErrors]; +export type ListMcpServerInstancesError = ListMcpServerInstancesErrors[keyof ListMcpServerInstancesErrors]; -export type BulkRemoveMcpServerInstanceFunctionsResponses = { +export type ListMcpServerInstancesResponses = { /** - * All requested mappings were removed or already absent + * List MCP server instances */ - 200: McpServerInstanceSerializedWithFunctions; + 200: McpServerInstanceSerializedWithFunctionsPaginatedResponse; }; -export type BulkRemoveMcpServerInstanceFunctionsResponse = BulkRemoveMcpServerInstanceFunctionsResponses[keyof BulkRemoveMcpServerInstanceFunctionsResponses]; +export type ListMcpServerInstancesResponse = ListMcpServerInstancesResponses[keyof ListMcpServerInstancesResponses]; -export type BulkAddMcpServerInstanceFunctionsData = { - body: BulkAddMcpServerInstanceFunctionsBody; +export type CreateMcpServerInstanceData = { + body: CreateMcpServerInstanceRequestInner; path: { /** * Team ID */ team_id: string; - /** - * MCP server instance ID - */ - mcp_server_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/functions'; + url: '/api/v1/team/{team_id}/mcp/mcp-server'; }; -export type BulkAddMcpServerInstanceFunctionsErrors = { +export type CreateMcpServerInstanceErrors = { /** - * Invalid batch; no mappings were added + * Bad Request */ 400: Error; /** @@ -17943,27 +17725,23 @@ export type BulkAddMcpServerInstanceFunctionsErrors = { */ 403: Error; /** - * MCP server or tool instance not found; no mappings were added - */ - 404: Error; - /** - * Internal Server Error. Database write failures roll back the batch; reconciliation failures can occur after commit, and retrying is safe + * Internal Server Error */ 500: Error; }; -export type BulkAddMcpServerInstanceFunctionsError = BulkAddMcpServerInstanceFunctionsErrors[keyof BulkAddMcpServerInstanceFunctionsErrors]; +export type CreateMcpServerInstanceError = CreateMcpServerInstanceErrors[keyof CreateMcpServerInstanceErrors]; -export type BulkAddMcpServerInstanceFunctionsResponses = { +export type CreateMcpServerInstanceResponses = { /** - * All function mappings were added, or already existed unchanged + * Create MCP server instance */ 200: McpServerInstanceSerializedWithFunctions; }; -export type BulkAddMcpServerInstanceFunctionsResponse = BulkAddMcpServerInstanceFunctionsResponses[keyof BulkAddMcpServerInstanceFunctionsResponses]; +export type CreateMcpServerInstanceResponse = CreateMcpServerInstanceResponses[keyof CreateMcpServerInstanceResponses]; -export type McpProtocolDeleteData = { +export type DeleteMcpServerInstanceData = { body?: never; path: { /** @@ -17976,18 +17754,18 @@ export type McpProtocolDeleteData = { mcp_server_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/mcp'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}'; }; -export type McpProtocolDeleteErrors = { - /** - * Bad Request - */ - 400: Error; +export type DeleteMcpServerInstanceErrors = { /** * Unauthorized */ 401: Error; + /** + * Forbidden + */ + 403: Error; /** * Not Found */ @@ -17998,16 +17776,16 @@ export type McpProtocolDeleteErrors = { 500: Error; }; -export type McpProtocolDeleteError = McpProtocolDeleteErrors[keyof McpProtocolDeleteErrors]; +export type DeleteMcpServerInstanceError = DeleteMcpServerInstanceErrors[keyof DeleteMcpServerInstanceErrors]; -export type McpProtocolDeleteResponses = { +export type DeleteMcpServerInstanceResponses = { /** - * Session terminated + * Delete MCP server instance */ 200: unknown; }; -export type McpProtocolGetData = { +export type GetMcpServerInstanceData = { body?: never; path: { /** @@ -18020,18 +17798,18 @@ export type McpProtocolGetData = { mcp_server_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/mcp'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}'; }; -export type McpProtocolGetErrors = { - /** - * Bad Request - */ - 400: Error; +export type GetMcpServerInstanceErrors = { /** * Unauthorized */ 401: Error; + /** + * Forbidden + */ + 403: Error; /** * Not Found */ @@ -18042,17 +17820,19 @@ export type McpProtocolGetErrors = { 500: Error; }; -export type McpProtocolGetError = McpProtocolGetErrors[keyof McpProtocolGetErrors]; +export type GetMcpServerInstanceError = GetMcpServerInstanceErrors[keyof GetMcpServerInstanceErrors]; -export type McpProtocolGetResponses = { +export type GetMcpServerInstanceResponses = { /** - * MCP SSE stream + * Get MCP server instance */ - 200: unknown; + 200: McpServerInstanceSerializedWithFunctions; }; -export type McpProtocolPostData = { - body?: never; +export type GetMcpServerInstanceResponse = GetMcpServerInstanceResponses[keyof GetMcpServerInstanceResponses]; + +export type UpdateMcpServerInstanceData = { + body: UpdateMcpServerInstanceBody; path: { /** * Team ID @@ -18064,18 +17844,18 @@ export type McpProtocolPostData = { mcp_server_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/mcp'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}'; }; -export type McpProtocolPostErrors = { - /** - * Bad Request - */ - 400: Error; +export type UpdateMcpServerInstanceErrors = { /** * Unauthorized */ 401: Error; + /** + * Forbidden + */ + 403: Error; /** * Not Found */ @@ -18086,17 +17866,19 @@ export type McpProtocolPostErrors = { 500: Error; }; -export type McpProtocolPostError = McpProtocolPostErrors[keyof McpProtocolPostErrors]; +export type UpdateMcpServerInstanceError = UpdateMcpServerInstanceErrors[keyof UpdateMcpServerInstanceErrors]; -export type McpProtocolPostResponses = { +export type UpdateMcpServerInstanceResponses = { /** - * MCP protocol response + * Update MCP server instance */ - 200: unknown; + 200: McpServerInstanceSerializedWithFunctions; }; -export type McpServerPlaygroundChatData = { - body: McpPlaygroundAiSdkChatRequest; +export type UpdateMcpServerInstanceResponse = UpdateMcpServerInstanceResponses[keyof UpdateMcpServerInstanceResponses]; + +export type AddMcpServerInstanceFunctionData = { + body: AddMcpServerInstanceFunctionBody; path: { /** * Team ID @@ -18108,10 +17890,10 @@ export type McpServerPlaygroundChatData = { mcp_server_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/playground/chat'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/function'; }; -export type McpServerPlaygroundChatErrors = { +export type AddMcpServerInstanceFunctionErrors = { /** * Bad Request */ @@ -18128,22 +17910,28 @@ export type McpServerPlaygroundChatErrors = { * Not Found */ 404: Error; + /** + * Conflict (tool name already exists) + */ + 409: Error; /** * Internal Server Error */ 500: Error; }; -export type McpServerPlaygroundChatError = McpServerPlaygroundChatErrors[keyof McpServerPlaygroundChatErrors]; +export type AddMcpServerInstanceFunctionError = AddMcpServerInstanceFunctionErrors[keyof AddMcpServerInstanceFunctionErrors]; -export type McpServerPlaygroundChatResponses = { +export type AddMcpServerInstanceFunctionResponses = { /** - * Vercel AI SDK UI message stream + * Add function to MCP server instance */ - 200: unknown; + 200: McpServerInstanceSerializedWithFunctions; }; -export type UnbindToolGroupFromMcpServerData = { +export type AddMcpServerInstanceFunctionResponse = AddMcpServerInstanceFunctionResponses[keyof AddMcpServerInstanceFunctionResponses]; + +export type RemoveMcpServerInstanceFunctionData = { body?: never; path: { /** @@ -18154,20 +17942,32 @@ export type UnbindToolGroupFromMcpServerData = { * MCP server instance ID */ mcp_server_instance_id: string; + /** + * Tool source type ID + */ + tool_deployment_type_id: string; + /** + * Tool group source type ID + */ + tool_group_deployment_type_id: string; /** * Tool group instance ID */ tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/tool-group/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/function/{tool_deployment_type_id}/{tool_group_deployment_type_id}/{tool_group_instance_id}'; }; -export type UnbindToolGroupFromMcpServerErrors = { +export type RemoveMcpServerInstanceFunctionErrors = { /** - * Bad Request + * Unauthorized */ - 400: Error; + 401: Error; + /** + * Forbidden + */ + 403: Error; /** * Not Found */ @@ -18178,19 +17978,19 @@ export type UnbindToolGroupFromMcpServerErrors = { 500: Error; }; -export type UnbindToolGroupFromMcpServerError = UnbindToolGroupFromMcpServerErrors[keyof UnbindToolGroupFromMcpServerErrors]; +export type RemoveMcpServerInstanceFunctionError = RemoveMcpServerInstanceFunctionErrors[keyof RemoveMcpServerInstanceFunctionErrors]; -export type UnbindToolGroupFromMcpServerResponses = { +export type RemoveMcpServerInstanceFunctionResponses = { /** - * Unbound tool group + * Remove tool from MCP server instance */ 200: McpServerInstanceSerializedWithFunctions; }; -export type UnbindToolGroupFromMcpServerResponse = UnbindToolGroupFromMcpServerResponses[keyof UnbindToolGroupFromMcpServerResponses]; +export type RemoveMcpServerInstanceFunctionResponse = RemoveMcpServerInstanceFunctionResponses[keyof RemoveMcpServerInstanceFunctionResponses]; -export type BindToolGroupToMcpServerData = { - body?: never; +export type UpdateMcpServerInstanceFunctionData = { + body: UpdateMcpServerInstanceToolBody; path: { /** * Team ID @@ -18200,54 +18000,78 @@ export type BindToolGroupToMcpServerData = { * MCP server instance ID */ mcp_server_instance_id: string; + /** + * Tool source type ID + */ + tool_deployment_type_id: string; + /** + * Tool group source type ID + */ + tool_group_deployment_type_id: string; /** * Tool group instance ID */ tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/tool-group/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/function/{tool_deployment_type_id}/{tool_group_deployment_type_id}/{tool_group_instance_id}'; }; -export type BindToolGroupToMcpServerErrors = { +export type UpdateMcpServerInstanceFunctionErrors = { /** - * Bad Request + * Unauthorized */ - 400: Error; + 401: Error; + /** + * Forbidden + */ + 403: Error; /** * Not Found */ 404: Error; + /** + * Conflict (tool name already exists) + */ + 409: Error; /** * Internal Server Error */ 500: Error; }; -export type BindToolGroupToMcpServerError = BindToolGroupToMcpServerErrors[keyof BindToolGroupToMcpServerErrors]; +export type UpdateMcpServerInstanceFunctionError = UpdateMcpServerInstanceFunctionErrors[keyof UpdateMcpServerInstanceFunctionErrors]; -export type BindToolGroupToMcpServerResponses = { +export type UpdateMcpServerInstanceFunctionResponses = { /** - * Bound tool group + * Update tool in MCP server instance */ 200: McpServerInstanceSerializedWithFunctions; }; -export type BindToolGroupToMcpServerResponse = BindToolGroupToMcpServerResponses[keyof BindToolGroupToMcpServerResponses]; +export type UpdateMcpServerInstanceFunctionResponse = UpdateMcpServerInstanceFunctionResponses[keyof UpdateMcpServerInstanceFunctionResponses]; -export type ListMcpProviderCatalogData = { - body?: never; +export type BulkRemoveMcpServerInstanceFunctionsData = { + body: BulkRemoveMcpServerInstanceFunctionsBody; path: { /** * Team ID */ team_id: string; + /** + * MCP server instance ID + */ + mcp_server_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/provider-catalog'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/functions'; }; -export type ListMcpProviderCatalogErrors = { +export type BulkRemoveMcpServerInstanceFunctionsErrors = { + /** + * Invalid batch; no mappings were removed + */ + 400: Error; /** * Unauthorized */ @@ -18257,41 +18081,45 @@ export type ListMcpProviderCatalogErrors = { */ 403: Error; /** - * Internal Server Error + * MCP server not found; no mappings were removed + */ + 404: Error; + /** + * Internal Server Error. Database write failures roll back the batch; reconciliation failures can occur after commit, and retrying is safe */ 500: Error; }; -export type ListMcpProviderCatalogError = ListMcpProviderCatalogErrors[keyof ListMcpProviderCatalogErrors]; +export type BulkRemoveMcpServerInstanceFunctionsError = BulkRemoveMcpServerInstanceFunctionsErrors[keyof BulkRemoveMcpServerInstanceFunctionsErrors]; -export type ListMcpProviderCatalogResponses = { +export type BulkRemoveMcpServerInstanceFunctionsResponses = { /** - * List curated remote MCP providers + * All requested mappings were removed or already absent */ - 200: ListMcpProviderCatalogResponse; + 200: McpServerInstanceSerializedWithFunctions; }; -export type ListMcpProviderCatalogResponse2 = ListMcpProviderCatalogResponses[keyof ListMcpProviderCatalogResponses]; +export type BulkRemoveMcpServerInstanceFunctionsResponse = BulkRemoveMcpServerInstanceFunctionsResponses[keyof BulkRemoveMcpServerInstanceFunctionsResponses]; -export type ConnectMcpProviderCatalogEntryData = { - body: ConnectMcpProviderCatalogEntryRequestInner; +export type BulkAddMcpServerInstanceFunctionsData = { + body: BulkAddMcpServerInstanceFunctionsBody; path: { /** * Team ID */ team_id: string; /** - * Stable catalogue provider ID + * MCP server instance ID */ - provider_id: string; + mcp_server_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/provider-catalog/{provider_id}/connect'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/functions'; }; -export type ConnectMcpProviderCatalogEntryErrors = { +export type BulkAddMcpServerInstanceFunctionsErrors = { /** - * Provider requires manual setup + * Invalid batch; no mappings were added */ 400: Error; /** @@ -18303,84 +18131,87 @@ export type ConnectMcpProviderCatalogEntryErrors = { */ 403: Error; /** - * Provider not found + * MCP server or tool instance not found; no mappings were added */ 404: Error; /** - * Internal Server Error + * Internal Server Error. Database write failures roll back the batch; reconciliation failures can occur after commit, and retrying is safe */ 500: Error; }; -export type ConnectMcpProviderCatalogEntryError = ConnectMcpProviderCatalogEntryErrors[keyof ConnectMcpProviderCatalogEntryErrors]; +export type BulkAddMcpServerInstanceFunctionsError = BulkAddMcpServerInstanceFunctionsErrors[keyof BulkAddMcpServerInstanceFunctionsErrors]; -export type ConnectMcpProviderCatalogEntryResponses = { +export type BulkAddMcpServerInstanceFunctionsResponses = { /** - * Connect curated remote MCP provider + * All function mappings were added, or already existed unchanged */ - 200: ConnectMcpProviderCatalogEntryResponse; + 200: McpServerInstanceSerializedWithFunctions; }; -export type ConnectMcpProviderCatalogEntryResponse2 = ConnectMcpProviderCatalogEntryResponses[keyof ConnectMcpProviderCatalogEntryResponses]; +export type BulkAddMcpServerInstanceFunctionsResponse = BulkAddMcpServerInstanceFunctionsResponses[keyof BulkAddMcpServerInstanceFunctionsResponses]; -export type ListProxiedMcpServersData = { +export type McpProtocolDeleteData = { body?: never; path: { /** * Team ID */ team_id: string; - }; - query: { - page_size: number; - next_page_token?: string; /** - * Internal portability and control-plane callers can opt into managed entries. + * MCP server instance ID */ - include_catalog_managed?: boolean; + mcp_server_instance_id: string; }; - url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers'; + query?: never; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/mcp'; }; -export type ListProxiedMcpServersErrors = { +export type McpProtocolDeleteErrors = { + /** + * Bad Request + */ + 400: Error; /** * Unauthorized */ 401: Error; /** - * Forbidden + * Not Found */ - 403: Error; + 404: Error; /** * Internal Server Error */ 500: Error; }; -export type ListProxiedMcpServersError = ListProxiedMcpServersErrors[keyof ListProxiedMcpServersErrors]; +export type McpProtocolDeleteError = McpProtocolDeleteErrors[keyof McpProtocolDeleteErrors]; -export type ListProxiedMcpServersResponses = { +export type McpProtocolDeleteResponses = { /** - * List proxied MCP servers + * Session terminated */ - 200: ProxiedMcpServerListItemPaginatedResponse; + 200: unknown; }; -export type ListProxiedMcpServersResponse = ListProxiedMcpServersResponses[keyof ListProxiedMcpServersResponses]; - -export type ConnectProxiedMcpServerData = { - body: ConnectProxiedMcpServerRequestInner; +export type McpProtocolGetData = { + body?: never; path: { /** * Team ID */ team_id: string; + /** + * MCP server instance ID + */ + mcp_server_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/mcp'; }; -export type ConnectProxiedMcpServerErrors = { +export type McpProtocolGetErrors = { /** * Bad Request */ @@ -18390,39 +18221,41 @@ export type ConnectProxiedMcpServerErrors = { */ 401: Error; /** - * Forbidden + * Not Found */ - 403: Error; + 404: Error; /** * Internal Server Error */ 500: Error; }; -export type ConnectProxiedMcpServerError = ConnectProxiedMcpServerErrors[keyof ConnectProxiedMcpServerErrors]; +export type McpProtocolGetError = McpProtocolGetErrors[keyof McpProtocolGetErrors]; -export type ConnectProxiedMcpServerResponses = { +export type McpProtocolGetResponses = { /** - * Connect proxied MCP server + * MCP SSE stream */ - 200: ConnectProxiedMcpServerResponse; + 200: unknown; }; -export type ConnectProxiedMcpServerResponse2 = ConnectProxiedMcpServerResponses[keyof ConnectProxiedMcpServerResponses]; - -export type StartProxiedMcpServerOauthData = { - body: StartProxiedMcpServerOauthRequestInner; +export type McpProtocolPostData = { + body?: never; path: { /** * Team ID */ team_id: string; + /** + * MCP server instance ID + */ + mcp_server_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/oauth/start'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/mcp'; }; -export type StartProxiedMcpServerOauthErrors = { +export type McpProtocolPostErrors = { /** * Bad Request */ @@ -18432,43 +18265,45 @@ export type StartProxiedMcpServerOauthErrors = { */ 401: Error; /** - * Forbidden + * Not Found */ - 403: Error; + 404: Error; /** * Internal Server Error */ 500: Error; }; -export type StartProxiedMcpServerOauthError = StartProxiedMcpServerOauthErrors[keyof StartProxiedMcpServerOauthErrors]; +export type McpProtocolPostError = McpProtocolPostErrors[keyof McpProtocolPostErrors]; -export type StartProxiedMcpServerOauthResponses = { +export type McpProtocolPostResponses = { /** - * Start proxied MCP OAuth authorization + * MCP protocol response */ - 200: StartProxiedMcpServerOauthResponse; + 200: unknown; }; -export type StartProxiedMcpServerOauthResponse2 = StartProxiedMcpServerOauthResponses[keyof StartProxiedMcpServerOauthResponses]; - -export type DeleteProxiedMcpServerData = { - body?: never; +export type McpServerPlaygroundChatData = { + body: McpPlaygroundAiSdkChatRequest; path: { /** * Team ID */ team_id: string; /** - * Proxied MCP tool group instance ID + * MCP server instance ID */ - tool_group_instance_id: string; + mcp_server_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/playground/chat'; }; -export type DeleteProxiedMcpServerErrors = { +export type McpServerPlaygroundChatErrors = { + /** + * Bad Request + */ + 400: Error; /** * Unauthorized */ @@ -18487,16 +18322,16 @@ export type DeleteProxiedMcpServerErrors = { 500: Error; }; -export type DeleteProxiedMcpServerError = DeleteProxiedMcpServerErrors[keyof DeleteProxiedMcpServerErrors]; +export type McpServerPlaygroundChatError = McpServerPlaygroundChatErrors[keyof McpServerPlaygroundChatErrors]; -export type DeleteProxiedMcpServerResponses = { +export type McpServerPlaygroundChatResponses = { /** - * Delete proxied MCP server + * Vercel AI SDK UI message stream */ 200: unknown; }; -export type GetProxiedMcpServerData = { +export type UnbindToolGroupFromMcpServerData = { body?: never; path: { /** @@ -18504,23 +18339,23 @@ export type GetProxiedMcpServerData = { */ team_id: string; /** - * Proxied MCP tool group instance ID + * MCP server instance ID + */ + mcp_server_instance_id: string; + /** + * Tool group instance ID */ tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/tool-group/{tool_group_instance_id}'; }; -export type GetProxiedMcpServerErrors = { - /** - * Unauthorized - */ - 401: Error; +export type UnbindToolGroupFromMcpServerErrors = { /** - * Forbidden + * Bad Request */ - 403: Error; + 400: Error; /** * Not Found */ @@ -18531,18 +18366,18 @@ export type GetProxiedMcpServerErrors = { 500: Error; }; -export type GetProxiedMcpServerError = GetProxiedMcpServerErrors[keyof GetProxiedMcpServerErrors]; +export type UnbindToolGroupFromMcpServerError = UnbindToolGroupFromMcpServerErrors[keyof UnbindToolGroupFromMcpServerErrors]; -export type GetProxiedMcpServerResponses = { +export type UnbindToolGroupFromMcpServerResponses = { /** - * Get proxied MCP server + * Unbound tool group */ - 200: ProxiedMcpServerDetails; + 200: McpServerInstanceSerializedWithFunctions; }; -export type GetProxiedMcpServerResponse = GetProxiedMcpServerResponses[keyof GetProxiedMcpServerResponses]; +export type UnbindToolGroupFromMcpServerResponse = UnbindToolGroupFromMcpServerResponses[keyof UnbindToolGroupFromMcpServerResponses]; -export type DisableProxiedMcpServerData = { +export type BindToolGroupToMcpServerData = { body?: never; path: { /** @@ -18550,23 +18385,23 @@ export type DisableProxiedMcpServerData = { */ team_id: string; /** - * Proxied MCP tool group instance ID + * MCP server instance ID + */ + mcp_server_instance_id: string; + /** + * Tool group instance ID */ tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/disable'; + url: '/api/v1/team/{team_id}/mcp/mcp-server/{mcp_server_instance_id}/tool-group/{tool_group_instance_id}'; }; -export type DisableProxiedMcpServerErrors = { - /** - * Unauthorized - */ - 401: Error; +export type BindToolGroupToMcpServerErrors = { /** - * Forbidden + * Bad Request */ - 403: Error; + 400: Error; /** * Not Found */ @@ -18577,34 +18412,30 @@ export type DisableProxiedMcpServerErrors = { 500: Error; }; -export type DisableProxiedMcpServerError = DisableProxiedMcpServerErrors[keyof DisableProxiedMcpServerErrors]; +export type BindToolGroupToMcpServerError = BindToolGroupToMcpServerErrors[keyof BindToolGroupToMcpServerErrors]; -export type DisableProxiedMcpServerResponses = { +export type BindToolGroupToMcpServerResponses = { /** - * Disable proxied MCP server + * Bound tool group */ - 200: ProxiedMcpServerDetails; + 200: McpServerInstanceSerializedWithFunctions; }; -export type DisableProxiedMcpServerResponse = DisableProxiedMcpServerResponses[keyof DisableProxiedMcpServerResponses]; +export type BindToolGroupToMcpServerResponse = BindToolGroupToMcpServerResponses[keyof BindToolGroupToMcpServerResponses]; -export type EnableProxiedMcpServerData = { +export type ListMcpProviderCatalogData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Proxied MCP tool group instance ID - */ - tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/enable'; + url: '/api/v1/team/{team_id}/mcp/provider-catalog'; }; -export type EnableProxiedMcpServerErrors = { +export type ListMcpProviderCatalogErrors = { /** * Unauthorized */ @@ -18613,44 +18444,44 @@ export type EnableProxiedMcpServerErrors = { * Forbidden */ 403: Error; - /** - * Not Found - */ - 404: Error; /** * Internal Server Error */ 500: Error; }; -export type EnableProxiedMcpServerError = EnableProxiedMcpServerErrors[keyof EnableProxiedMcpServerErrors]; +export type ListMcpProviderCatalogError = ListMcpProviderCatalogErrors[keyof ListMcpProviderCatalogErrors]; -export type EnableProxiedMcpServerResponses = { +export type ListMcpProviderCatalogResponses = { /** - * Enable proxied MCP server + * List curated remote MCP providers */ - 200: ProxiedMcpServerDetails; + 200: ListMcpProviderCatalogResponse; }; -export type EnableProxiedMcpServerResponse = EnableProxiedMcpServerResponses[keyof EnableProxiedMcpServerResponses]; +export type ListMcpProviderCatalogResponse2 = ListMcpProviderCatalogResponses[keyof ListMcpProviderCatalogResponses]; -export type RefreshProxiedMcpServerData = { - body?: never; +export type ConnectMcpProviderCatalogEntryData = { + body: ConnectMcpProviderCatalogEntryRequestInner; path: { /** * Team ID */ team_id: string; /** - * Proxied MCP tool group instance ID + * Stable catalogue provider ID */ - tool_group_instance_id: string; + provider_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/refresh'; + url: '/api/v1/team/{team_id}/mcp/provider-catalog/{provider_id}/connect'; }; -export type RefreshProxiedMcpServerErrors = { +export type ConnectMcpProviderCatalogEntryErrors = { + /** + * Provider requires manual setup + */ + 400: Error; /** * Unauthorized */ @@ -18660,7 +18491,7 @@ export type RefreshProxiedMcpServerErrors = { */ 403: Error; /** - * Not Found + * Provider not found */ 404: Error; /** @@ -18669,78 +18500,75 @@ export type RefreshProxiedMcpServerErrors = { 500: Error; }; -export type RefreshProxiedMcpServerError = RefreshProxiedMcpServerErrors[keyof RefreshProxiedMcpServerErrors]; +export type ConnectMcpProviderCatalogEntryError = ConnectMcpProviderCatalogEntryErrors[keyof ConnectMcpProviderCatalogEntryErrors]; -export type RefreshProxiedMcpServerResponses = { +export type ConnectMcpProviderCatalogEntryResponses = { /** - * Refresh proxied MCP server + * Connect curated remote MCP provider */ - 200: ConnectProxiedMcpServerResponse; + 200: ConnectMcpProviderCatalogEntryResponse; }; -export type RefreshProxiedMcpServerResponse = RefreshProxiedMcpServerResponses[keyof RefreshProxiedMcpServerResponses]; +export type ConnectMcpProviderCatalogEntryResponse2 = ConnectMcpProviderCatalogEntryResponses[keyof ConnectMcpProviderCatalogEntryResponses]; -export type ListToolDeploymentsByAliasData = { +export type ListProxiedMcpServersData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Deployment alias (e.g. 'latest') - */ - alias: string; }; query: { page_size: number; next_page_token?: string; - include_global?: boolean; + /** + * Internal portability and control-plane callers can opt into managed entries. + */ + include_catalog_managed?: boolean; }; - url: '/api/v1/team/{team_id}/mcp/tool-deployments/{alias}'; + url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers'; }; -export type ListToolDeploymentsByAliasErrors = { +export type ListProxiedMcpServersErrors = { /** - * Bad Request + * Unauthorized */ - 400: Error; + 401: Error; + /** + * Forbidden + */ + 403: Error; /** * Internal Server Error */ 500: Error; }; -export type ListToolDeploymentsByAliasError = ListToolDeploymentsByAliasErrors[keyof ListToolDeploymentsByAliasErrors]; +export type ListProxiedMcpServersError = ListProxiedMcpServersErrors[keyof ListProxiedMcpServersErrors]; -export type ListToolDeploymentsByAliasResponses = { +export type ListProxiedMcpServersResponses = { /** - * List tool deployments by alias + * List proxied MCP servers */ - 200: ToolDeploymentWithGroupSerializedPaginatedResponse; + 200: ProxiedMcpServerListItemPaginatedResponse; }; -export type ListToolDeploymentsByAliasResponse = ListToolDeploymentsByAliasResponses[keyof ListToolDeploymentsByAliasResponses]; +export type ListProxiedMcpServersResponse = ListProxiedMcpServersResponses[keyof ListProxiedMcpServersResponses]; -export type ListToolGroupInstancesData = { - body?: never; +export type ConnectProxiedMcpServerData = { + body: ConnectProxiedMcpServerRequestInner; path: { /** * Team ID */ team_id: string; }; - query: { - page_size: number; - next_page_token?: string; - status?: string; - tool_group_source_type_id?: string; - include_global?: boolean; - }; - url: '/api/v1/team/{team_id}/mcp/tool-group'; + query?: never; + url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers'; }; -export type ListToolGroupInstancesErrors = { +export type ConnectProxiedMcpServerErrors = { /** * Bad Request */ @@ -18759,36 +18587,30 @@ export type ListToolGroupInstancesErrors = { 500: Error; }; -export type ListToolGroupInstancesError = ListToolGroupInstancesErrors[keyof ListToolGroupInstancesErrors]; +export type ConnectProxiedMcpServerError = ConnectProxiedMcpServerErrors[keyof ConnectProxiedMcpServerErrors]; -export type ListToolGroupInstancesResponses = { +export type ConnectProxiedMcpServerResponses = { /** - * List tool group instances + * Connect proxied MCP server */ - 200: ToolGroupInstanceListItemPaginatedResponse; + 200: ConnectProxiedMcpServerResponse; }; -export type ListToolGroupInstancesResponse = ListToolGroupInstancesResponses[keyof ListToolGroupInstancesResponses]; +export type ConnectProxiedMcpServerResponse2 = ConnectProxiedMcpServerResponses[keyof ConnectProxiedMcpServerResponses]; -export type ListToolGroupInstancesGroupedByToolData = { - body?: never; +export type StartProxiedMcpServerOauthData = { + body: StartProxiedMcpServerOauthRequestInner; path: { /** * Team ID */ team_id: string; }; - query: { - page_size: number; - next_page_token?: string; - tool_group_source_type_id?: string; - tool_category?: string; - include_global?: boolean; - }; - url: '/api/v1/team/{team_id}/mcp/tool-group/grouped-by-tool'; + query?: never; + url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/oauth/start'; }; -export type ListToolGroupInstancesGroupedByToolErrors = { +export type StartProxiedMcpServerOauthErrors = { /** * Bad Request */ @@ -18807,18 +18629,18 @@ export type ListToolGroupInstancesGroupedByToolErrors = { 500: Error; }; -export type ListToolGroupInstancesGroupedByToolError = ListToolGroupInstancesGroupedByToolErrors[keyof ListToolGroupInstancesGroupedByToolErrors]; +export type StartProxiedMcpServerOauthError = StartProxiedMcpServerOauthErrors[keyof StartProxiedMcpServerOauthErrors]; -export type ListToolGroupInstancesGroupedByToolResponses = { +export type StartProxiedMcpServerOauthResponses = { /** - * List tool group instances grouped by tool + * Start proxied MCP OAuth authorization */ - 200: ToolConfigPaginatedResponse; + 200: StartProxiedMcpServerOauthResponse; }; -export type ListToolGroupInstancesGroupedByToolResponse = ListToolGroupInstancesGroupedByToolResponses[keyof ListToolGroupInstancesGroupedByToolResponses]; +export type StartProxiedMcpServerOauthResponse2 = StartProxiedMcpServerOauthResponses[keyof StartProxiedMcpServerOauthResponses]; -export type DeleteToolGroupInstanceData = { +export type DeleteProxiedMcpServerData = { body?: never; path: { /** @@ -18826,19 +18648,15 @@ export type DeleteToolGroupInstanceData = { */ team_id: string; /** - * Tool group instance ID + * Proxied MCP tool group instance ID */ tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}'; }; -export type DeleteToolGroupInstanceErrors = { - /** - * Bad Request - */ - 400: Error; +export type DeleteProxiedMcpServerErrors = { /** * Unauthorized */ @@ -18847,22 +18665,26 @@ export type DeleteToolGroupInstanceErrors = { * Forbidden */ 403: Error; + /** + * Not Found + */ + 404: Error; /** * Internal Server Error */ 500: Error; }; -export type DeleteToolGroupInstanceError = DeleteToolGroupInstanceErrors[keyof DeleteToolGroupInstanceErrors]; +export type DeleteProxiedMcpServerError = DeleteProxiedMcpServerErrors[keyof DeleteProxiedMcpServerErrors]; -export type DeleteToolGroupInstanceResponses = { +export type DeleteProxiedMcpServerResponses = { /** - * Delete tool group instance + * Delete proxied MCP server */ 200: unknown; }; -export type GetToolGroupInstanceData = { +export type GetProxiedMcpServerData = { body?: never; path: { /** @@ -18870,19 +18692,15 @@ export type GetToolGroupInstanceData = { */ team_id: string; /** - * Tool group instance ID + * Proxied MCP tool group instance ID */ tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}'; + url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}'; }; -export type GetToolGroupInstanceErrors = { - /** - * Bad Request - */ - 400: Error; +export type GetProxiedMcpServerErrors = { /** * Unauthorized */ @@ -18891,53 +18709,44 @@ export type GetToolGroupInstanceErrors = { * Forbidden */ 403: Error; + /** + * Not Found + */ + 404: Error; /** * Internal Server Error */ 500: Error; }; -export type GetToolGroupInstanceError = GetToolGroupInstanceErrors[keyof GetToolGroupInstanceErrors]; +export type GetProxiedMcpServerError = GetProxiedMcpServerErrors[keyof GetProxiedMcpServerErrors]; -export type GetToolGroupInstanceResponses = { +export type GetProxiedMcpServerResponses = { /** - * Get tool group instance + * Get proxied MCP server */ - 200: ToolGroupInstanceSerializedWithEverything; + 200: ProxiedMcpServerDetails; }; -export type GetToolGroupInstanceResponse = GetToolGroupInstanceResponses[keyof GetToolGroupInstanceResponses]; +export type GetProxiedMcpServerResponse = GetProxiedMcpServerResponses[keyof GetProxiedMcpServerResponses]; -export type UpdateToolGroupInstanceData = { - body: UpdateToolGroupInstanceParamsInner; +export type DisableProxiedMcpServerData = { + body?: never; path: { /** * Team ID */ team_id: string; /** - * Tool group instance ID + * Proxied MCP tool group instance ID */ tool_group_instance_id: string; }; - query?: { - /** - * Hold the request until this status is observed or the timeout expires. - */ - wait_for_status?: string; - /** - * Long-poll timeout in milliseconds, clamped to 30 seconds. - */ - timeout_ms?: number; - }; - url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}'; + query?: never; + url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/disable'; }; -export type UpdateToolGroupInstanceErrors = { - /** - * Bad Request - */ - 400: Error; +export type DisableProxiedMcpServerErrors = { /** * Unauthorized */ @@ -18946,48 +18755,44 @@ export type UpdateToolGroupInstanceErrors = { * Forbidden */ 403: Error; + /** + * Not Found + */ + 404: Error; /** * Internal Server Error */ 500: Error; }; -export type UpdateToolGroupInstanceError = UpdateToolGroupInstanceErrors[keyof UpdateToolGroupInstanceErrors]; +export type DisableProxiedMcpServerError = DisableProxiedMcpServerErrors[keyof DisableProxiedMcpServerErrors]; -export type UpdateToolGroupInstanceResponses = { +export type DisableProxiedMcpServerResponses = { /** - * Update tool group instance + * Disable proxied MCP server */ - 200: TupleUnit; + 200: ProxiedMcpServerDetails; }; -export type UpdateToolGroupInstanceResponse = UpdateToolGroupInstanceResponses[keyof UpdateToolGroupInstanceResponses]; +export type DisableProxiedMcpServerResponse = DisableProxiedMcpServerResponses[keyof DisableProxiedMcpServerResponses]; -export type UpdateToolBoundParamsData = { - body: UpdateToolInstanceBoundParamsInner; +export type EnableProxiedMcpServerData = { + body?: never; path: { /** * Team ID */ team_id: string; /** - * Tool group instance ID + * Proxied MCP tool group instance ID */ tool_group_instance_id: string; - /** - * Tool source type ID - */ - tool_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/bound-params'; + url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/enable'; }; -export type UpdateToolBoundParamsErrors = { - /** - * Bad Request - */ - 400: Error; +export type EnableProxiedMcpServerErrors = { /** * Unauthorized */ @@ -18997,7 +18802,7 @@ export type UpdateToolBoundParamsErrors = { */ 403: Error; /** - * Tool instance not found + * Not Found */ 404: Error; /** @@ -19006,18 +18811,18 @@ export type UpdateToolBoundParamsErrors = { 500: Error; }; -export type UpdateToolBoundParamsError = UpdateToolBoundParamsErrors[keyof UpdateToolBoundParamsErrors]; +export type EnableProxiedMcpServerError = EnableProxiedMcpServerErrors[keyof EnableProxiedMcpServerErrors]; -export type UpdateToolBoundParamsResponses = { +export type EnableProxiedMcpServerResponses = { /** - * Updated tool bound_params + * Enable proxied MCP server */ - 200: ToolInstanceSerialized; + 200: ProxiedMcpServerDetails; }; -export type UpdateToolBoundParamsResponse = UpdateToolBoundParamsResponses[keyof UpdateToolBoundParamsResponses]; +export type EnableProxiedMcpServerResponse = EnableProxiedMcpServerResponses[keyof EnableProxiedMcpServerResponses]; -export type DisableToolData = { +export type RefreshProxiedMcpServerData = { body?: never; path: { /** @@ -19025,23 +18830,15 @@ export type DisableToolData = { */ team_id: string; /** - * Tool group instance ID + * Proxied MCP tool group instance ID */ tool_group_instance_id: string; - /** - * Tool source type ID - */ - tool_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/disable'; + url: '/api/v1/team/{team_id}/mcp/proxied-mcp-servers/{tool_group_instance_id}/refresh'; }; -export type DisableToolErrors = { - /** - * Bad Request - */ - 400: Error; +export type RefreshProxiedMcpServerErrors = { /** * Unauthorized */ @@ -19050,44 +18847,88 @@ export type DisableToolErrors = { * Forbidden */ 403: Error; + /** + * Not Found + */ + 404: Error; /** * Internal Server Error */ 500: Error; }; -export type DisableToolError = DisableToolErrors[keyof DisableToolErrors]; +export type RefreshProxiedMcpServerError = RefreshProxiedMcpServerErrors[keyof RefreshProxiedMcpServerErrors]; -export type DisableToolResponses = { +export type RefreshProxiedMcpServerResponses = { /** - * Disable tool + * Refresh proxied MCP server */ - 200: TupleUnit; + 200: ConnectProxiedMcpServerResponse; }; -export type DisableToolResponse = DisableToolResponses[keyof DisableToolResponses]; +export type RefreshProxiedMcpServerResponse = RefreshProxiedMcpServerResponses[keyof RefreshProxiedMcpServerResponses]; -export type EnableToolData = { - body: EnableToolInstanceParamsInner; +export type ListToolDeploymentsByAliasData = { + body?: never; path: { /** * Team ID */ team_id: string; /** - * Tool group instance ID + * Deployment alias (e.g. 'latest') */ - tool_group_instance_id: string; + alias: string; + }; + query: { + page_size: number; + next_page_token?: string; + include_global?: boolean; + }; + url: '/api/v1/team/{team_id}/mcp/tool-deployments/{alias}'; +}; + +export type ListToolDeploymentsByAliasErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Internal Server Error + */ + 500: Error; +}; + +export type ListToolDeploymentsByAliasError = ListToolDeploymentsByAliasErrors[keyof ListToolDeploymentsByAliasErrors]; + +export type ListToolDeploymentsByAliasResponses = { + /** + * List tool deployments by alias + */ + 200: ToolDeploymentWithGroupSerializedPaginatedResponse; +}; + +export type ListToolDeploymentsByAliasResponse = ListToolDeploymentsByAliasResponses[keyof ListToolDeploymentsByAliasResponses]; + +export type ListToolGroupInstancesData = { + body?: never; + path: { /** - * Tool source type ID + * Team ID */ - tool_source_type_id: string; + team_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/enable'; + query: { + page_size: number; + next_page_token?: string; + status?: string; + tool_group_source_type_id?: string; + include_global?: boolean; + }; + url: '/api/v1/team/{team_id}/mcp/tool-group'; }; -export type EnableToolErrors = { +export type ListToolGroupInstancesErrors = { /** * Bad Request */ @@ -19106,38 +18947,36 @@ export type EnableToolErrors = { 500: Error; }; -export type EnableToolError = EnableToolErrors[keyof EnableToolErrors]; +export type ListToolGroupInstancesError = ListToolGroupInstancesErrors[keyof ListToolGroupInstancesErrors]; -export type EnableToolResponses = { +export type ListToolGroupInstancesResponses = { /** - * Enable tool + * List tool group instances */ - 200: ToolInstanceSerialized; + 200: ToolGroupInstanceListItemPaginatedResponse; }; -export type EnableToolResponse = EnableToolResponses[keyof EnableToolResponses]; +export type ListToolGroupInstancesResponse = ListToolGroupInstancesResponses[keyof ListToolGroupInstancesResponses]; -export type InvokeToolData = { - body: InvokeToolInstanceParamsInner; +export type ListToolGroupInstancesGroupedByToolData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * Tool group instance ID - */ - tool_group_instance_id: string; - /** - * Tool source type ID - */ - tool_source_type_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/invoke'; + query: { + page_size: number; + next_page_token?: string; + tool_group_source_type_id?: string; + tool_category?: string; + include_global?: boolean; + }; + url: '/api/v1/team/{team_id}/mcp/tool-group/grouped-by-tool'; }; -export type InvokeToolErrors = { +export type ListToolGroupInstancesGroupedByToolErrors = { /** * Bad Request */ @@ -19156,85 +18995,78 @@ export type InvokeToolErrors = { 500: Error; }; -export type InvokeToolError = InvokeToolErrors[keyof InvokeToolErrors]; +export type ListToolGroupInstancesGroupedByToolError = ListToolGroupInstancesGroupedByToolErrors[keyof ListToolGroupInstancesGroupedByToolErrors]; -export type InvokeToolResponses = { +export type ListToolGroupInstancesGroupedByToolResponses = { /** - * Invoke tool + * List tool group instances grouped by tool */ - 200: InvokeResult; + 200: ToolConfigPaginatedResponse; }; -export type InvokeToolResponse = InvokeToolResponses[keyof InvokeToolResponses]; +export type ListToolGroupInstancesGroupedByToolResponse = ListToolGroupInstancesGroupedByToolResponses[keyof ListToolGroupInstancesGroupedByToolResponses]; -export type EnableAndBindProviderToolsData = { - body: EnableAndBindToolsBody; +export type DeleteToolGroupInstanceData = { + body?: never; path: { /** * Team ID */ team_id: string; /** - * Provider account / tool-group instance ID + * Tool group instance ID */ tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tools/enable-and-bind'; + url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}'; }; -export type EnableAndBindProviderToolsErrors = { +export type DeleteToolGroupInstanceErrors = { /** - * Invalid or duplicate tool/server selection; no mutations were attempted + * Bad Request */ 400: Error; /** - * Unauthorized; no mutations were attempted + * Unauthorized */ 401: Error; /** - * Caller cannot manage the provider account; no mutations were attempted + * Forbidden */ 403: Error; /** - * Provider account or explicitly selected tool not found; no mutations were attempted - */ - 404: Error; - /** - * Failed before an observable per-item result could be returned + * Internal Server Error */ 500: Error; }; -export type EnableAndBindProviderToolsError = EnableAndBindProviderToolsErrors[keyof EnableAndBindProviderToolsErrors]; +export type DeleteToolGroupInstanceError = DeleteToolGroupInstanceErrors[keyof DeleteToolGroupInstanceErrors]; -export type EnableAndBindProviderToolsResponses = { +export type DeleteToolGroupInstanceResponses = { /** - * Per-tool enablement and per-server binding results. The complete field is false when any item failed + * Delete tool group instance */ - 200: EnableAndBindToolsResponse; + 200: unknown; }; -export type EnableAndBindProviderToolsResponse = EnableAndBindProviderToolsResponses[keyof EnableAndBindProviderToolsResponses]; - -export type ListToolsData = { +export type GetToolGroupInstanceData = { body?: never; path: { /** * Team ID */ team_id: string; + /** + * Tool group instance ID + */ + tool_group_instance_id: string; }; - query: { - page_size: number; - next_page_token?: string; - tool_group_instance_id?: string; - include_global?: boolean; - }; - url: '/api/v1/team/{team_id}/mcp/tools'; + query?: never; + url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}'; }; -export type ListToolsErrors = { +export type GetToolGroupInstanceErrors = { /** * Bad Request */ @@ -19253,30 +19085,47 @@ export type ListToolsErrors = { 500: Error; }; -export type ListToolsError = ListToolsErrors[keyof ListToolsErrors]; +export type GetToolGroupInstanceError = GetToolGroupInstanceErrors[keyof GetToolGroupInstanceErrors]; -export type ListToolsResponses = { +export type GetToolGroupInstanceResponses = { /** - * List tool instances + * Get tool group instance */ - 200: ToolInstanceSerializedPaginatedResponse; + 200: ToolGroupInstanceSerializedWithEverything; }; -export type ListToolsResponse = ListToolsResponses[keyof ListToolsResponses]; +export type GetToolGroupInstanceResponse = GetToolGroupInstanceResponses[keyof GetToolGroupInstanceResponses]; -export type GetToolsOpenapiSpecData = { - body?: never; +export type UpdateToolGroupInstanceData = { + body: UpdateToolGroupInstanceParamsInner; path: { /** * Team ID */ team_id: string; + /** + * Tool group instance ID + */ + tool_group_instance_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/mcp/tools/openapi.json'; + query?: { + /** + * Hold the request until this status is observed or the timeout expires. + */ + wait_for_status?: string; + /** + * Long-poll timeout in milliseconds, clamped to 30 seconds. + */ + timeout_ms?: number; + }; + url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}'; }; -export type GetToolsOpenapiSpecErrors = { +export type UpdateToolGroupInstanceErrors = { + /** + * Bad Request + */ + 400: Error; /** * Unauthorized */ @@ -19291,1019 +19140,1047 @@ export type GetToolsOpenapiSpecErrors = { 500: Error; }; -export type GetToolsOpenapiSpecError = GetToolsOpenapiSpecErrors[keyof GetToolsOpenapiSpecErrors]; +export type UpdateToolGroupInstanceError = UpdateToolGroupInstanceErrors[keyof UpdateToolGroupInstanceErrors]; -export type GetToolsOpenapiSpecResponses = { +export type UpdateToolGroupInstanceResponses = { /** - * Get tool instances openapi spec + * Update tool group instance */ - 200: string; + 200: TupleUnit; }; -export type GetToolsOpenapiSpecResponse = GetToolsOpenapiSpecResponses[keyof GetToolsOpenapiSpecResponses]; +export type UpdateToolGroupInstanceResponse = UpdateToolGroupInstanceResponses[keyof UpdateToolGroupInstanceResponses]; -export type ListMemoryBanksData = { - body?: never; +export type UpdateToolBoundParamsData = { + body: UpdateToolInstanceBoundParamsInner; path: { + /** + * Team ID + */ team_id: string; + /** + * Tool group instance ID + */ + tool_group_instance_id: string; + /** + * Tool source type ID + */ + tool_source_type_id: string; }; - query?: { - page_size?: number; - next_page_token?: string | null; - }; - url: '/api/v1/team/{team_id}/memory/banks'; + query?: never; + url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/bound-params'; }; -export type ListMemoryBanksResponses = { - 200: MemoryBankPaginatedResponse; -}; - -export type ListMemoryBanksResponse = ListMemoryBanksResponses[keyof ListMemoryBanksResponses]; - -export type CreateMemoryBankData = { - body: CreateMemoryBankBody; - path: { - team_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks'; -}; - -export type CreateMemoryBankResponses = { - 200: MemoryBank; +export type UpdateToolBoundParamsErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Unauthorized + */ + 401: Error; + /** + * Forbidden + */ + 403: Error; + /** + * Tool instance not found + */ + 404: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type CreateMemoryBankResponse = CreateMemoryBankResponses[keyof CreateMemoryBankResponses]; - -export type ListVisibleMemoryBanksData = { - body?: never; - path: { - team_id: string; - }; - query?: { - page_size?: number; - next_page_token?: string | null; - }; - url: '/api/v1/team/{team_id}/memory/banks/visible'; -}; +export type UpdateToolBoundParamsError = UpdateToolBoundParamsErrors[keyof UpdateToolBoundParamsErrors]; -export type ListVisibleMemoryBanksResponses = { - 200: MemoryBankPaginatedResponse; +export type UpdateToolBoundParamsResponses = { + /** + * Updated tool bound_params + */ + 200: ToolInstanceSerialized; }; -export type ListVisibleMemoryBanksResponse = ListVisibleMemoryBanksResponses[keyof ListVisibleMemoryBanksResponses]; +export type UpdateToolBoundParamsResponse = UpdateToolBoundParamsResponses[keyof UpdateToolBoundParamsResponses]; -export type DeleteMemoryBankData = { +export type DisableToolData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - bank_id: WrappedUuidV4; + /** + * Tool group instance ID + */ + tool_group_instance_id: string; + /** + * Tool source type ID + */ + tool_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}'; + url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/disable'; }; -export type DeleteMemoryBankResponses = { - 200: unknown; +export type DisableToolErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Unauthorized + */ + 401: Error; + /** + * Forbidden + */ + 403: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type GetMemoryBankData = { - body?: never; - path: { - team_id: string; - bank_id: WrappedUuidV4; - }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}'; -}; +export type DisableToolError = DisableToolErrors[keyof DisableToolErrors]; -export type GetMemoryBankResponses = { - 200: MemoryBank; +export type DisableToolResponses = { + /** + * Disable tool + */ + 200: TupleUnit; }; -export type GetMemoryBankResponse = GetMemoryBankResponses[keyof GetMemoryBankResponses]; +export type DisableToolResponse = DisableToolResponses[keyof DisableToolResponses]; -export type UpdateMemoryBankData = { - body: UpdateMemoryBankBody; +export type EnableToolData = { + body: EnableToolInstanceParamsInner; path: { + /** + * Team ID + */ team_id: string; - bank_id: WrappedUuidV4; + /** + * Tool group instance ID + */ + tool_group_instance_id: string; + /** + * Tool source type ID + */ + tool_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}'; + url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/enable'; }; -export type UpdateMemoryBankResponses = { - 200: MemoryBank; +export type EnableToolErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Unauthorized + */ + 401: Error; + /** + * Forbidden + */ + 403: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type UpdateMemoryBankResponse = UpdateMemoryBankResponses[keyof UpdateMemoryBankResponses]; - -export type ResetMemoryBankConfigData = { - body?: never; - path: { - team_id: string; - bank_id: WrappedUuidV4; - }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/config'; -}; +export type EnableToolError = EnableToolErrors[keyof EnableToolErrors]; -export type ResetMemoryBankConfigResponses = { - 200: MemoryBankConfig; +export type EnableToolResponses = { + /** + * Enable tool + */ + 200: ToolInstanceSerialized; }; -export type ResetMemoryBankConfigResponse = ResetMemoryBankConfigResponses[keyof ResetMemoryBankConfigResponses]; +export type EnableToolResponse = EnableToolResponses[keyof EnableToolResponses]; -export type GetMemoryBankConfigData = { - body?: never; +export type InvokeToolData = { + body: InvokeToolInstanceParamsInner; path: { + /** + * Team ID + */ team_id: string; - bank_id: WrappedUuidV4; + /** + * Tool group instance ID + */ + tool_group_instance_id: string; + /** + * Tool source type ID + */ + tool_source_type_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/config'; + url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tool/{tool_source_type_id}/invoke'; }; -export type GetMemoryBankConfigResponses = { - 200: MemoryBankConfig; +export type InvokeToolErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Unauthorized + */ + 401: Error; + /** + * Forbidden + */ + 403: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type GetMemoryBankConfigResponse = GetMemoryBankConfigResponses[keyof GetMemoryBankConfigResponses]; - -export type UpdateMemoryBankConfigData = { - body: UpdateMemoryBankConfigBody; - path: { - team_id: string; - bank_id: WrappedUuidV4; - }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/config'; -}; +export type InvokeToolError = InvokeToolErrors[keyof InvokeToolErrors]; -export type UpdateMemoryBankConfigResponses = { - 200: MemoryBankConfig; +export type InvokeToolResponses = { + /** + * Invoke tool + */ + 200: InvokeResult; }; -export type UpdateMemoryBankConfigResponse = UpdateMemoryBankConfigResponses[keyof UpdateMemoryBankConfigResponses]; +export type InvokeToolResponse = InvokeToolResponses[keyof InvokeToolResponses]; -export type DeleteMemoryDocumentData = { - body: DeleteMemoryDocumentBody; +export type EnableAndBindProviderToolsData = { + body: EnableAndBindToolsBody; path: { + /** + * Team ID + */ team_id: string; - bank_id: WrappedUuidV4; + /** + * Provider account / tool-group instance ID + */ + tool_group_instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/documents'; -}; - -export type DeleteMemoryDocumentResponses = { - 200: unknown; -}; - -export type ListMemoryBankDocumentsData = { - body?: never; - path: { - team_id: string; - bank_id: WrappedUuidV4; - }; - query?: { - limit?: number; - offset?: number; - q?: string | null; - }; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/documents'; + url: '/api/v1/team/{team_id}/mcp/tool-group/{tool_group_instance_id}/tools/enable-and-bind'; }; -export type ListMemoryBankDocumentsResponses = { - 200: MemoryBankDocumentList; +export type EnableAndBindProviderToolsErrors = { + /** + * Invalid or duplicate tool/server selection; no mutations were attempted + */ + 400: Error; + /** + * Unauthorized; no mutations were attempted + */ + 401: Error; + /** + * Caller cannot manage the provider account; no mutations were attempted + */ + 403: Error; + /** + * Provider account or explicitly selected tool not found; no mutations were attempted + */ + 404: Error; + /** + * Failed before an observable per-item result could be returned + */ + 500: Error; }; -export type ListMemoryBankDocumentsResponse = ListMemoryBankDocumentsResponses[keyof ListMemoryBankDocumentsResponses]; - -export type GetMemoryBankDocumentData = { - body?: never; - path: { - team_id: string; - bank_id: WrappedUuidV4; - document_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/documents/{document_id}'; -}; +export type EnableAndBindProviderToolsError = EnableAndBindProviderToolsErrors[keyof EnableAndBindProviderToolsErrors]; -export type GetMemoryBankDocumentResponses = { - 200: StoredMemoryDocument; +export type EnableAndBindProviderToolsResponses = { + /** + * Per-tool enablement and per-server binding results. The complete field is false when any item failed + */ + 200: EnableAndBindToolsResponse; }; -export type GetMemoryBankDocumentResponse = GetMemoryBankDocumentResponses[keyof GetMemoryBankDocumentResponses]; +export type EnableAndBindProviderToolsResponse = EnableAndBindProviderToolsResponses[keyof EnableAndBindProviderToolsResponses]; -export type CheckMemoryBankHealthData = { +export type ListToolsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - bank_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/health'; -}; - -export type CheckMemoryBankHealthResponses = { - 200: MemoryBankHealth; -}; - -export type CheckMemoryBankHealthResponse = CheckMemoryBankHealthResponses[keyof CheckMemoryBankHealthResponses]; - -export type SetMemoryBankOwnershipModeData = { - body: SetResourceAccessModeRequest; - path: { - team_id: string; - bank_id: WrappedUuidV4; - }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership'; -}; - -export type SetMemoryBankOwnershipModeResponses = { - 200: ResourceAuthorization; -}; - -export type SetMemoryBankOwnershipModeResponse = SetMemoryBankOwnershipModeResponses[keyof SetMemoryBankOwnershipModeResponses]; - -export type ListMemoryBankOwnershipGrantsData = { - body?: never; - path: { - team_id: string; - bank_id: WrappedUuidV4; + query: { + page_size: number; + next_page_token?: string; + tool_group_instance_id?: string; + include_global?: boolean; }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants'; + url: '/api/v1/team/{team_id}/mcp/tools'; }; -export type ListMemoryBankOwnershipGrantsResponses = { - 200: Array; +export type ListToolsErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Unauthorized + */ + 401: Error; + /** + * Forbidden + */ + 403: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ListMemoryBankOwnershipGrantsResponse = ListMemoryBankOwnershipGrantsResponses[keyof ListMemoryBankOwnershipGrantsResponses]; - -export type AddMemoryBankOwnershipGrantData = { - body: CreateResourcePlaneGrantRequest; - path: { - team_id: string; - bank_id: WrappedUuidV4; - }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants'; -}; +export type ListToolsError = ListToolsErrors[keyof ListToolsErrors]; -export type AddMemoryBankOwnershipGrantResponses = { - 200: ResourceGrant; +export type ListToolsResponses = { + /** + * List tool instances + */ + 200: ToolInstanceSerializedPaginatedResponse; }; -export type AddMemoryBankOwnershipGrantResponse = AddMemoryBankOwnershipGrantResponses[keyof AddMemoryBankOwnershipGrantResponses]; +export type ListToolsResponse = ListToolsResponses[keyof ListToolsResponses]; -export type RemoveMemoryBankOwnershipGrantData = { +export type GetToolsOpenapiSpecData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - bank_id: WrappedUuidV4; - principal_type: ResourcePrincipalType; - principal_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants/{principal_type}/{principal_id}'; -}; - -export type RemoveMemoryBankOwnershipGrantResponses = { - 200: unknown; -}; - -export type RecallMemoryData = { - body: RecallMemoryBody; - path: { - team_id: string; - bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/recall'; -}; - -export type RecallMemoryResponses = { - 200: MemoryOperationResponse; + url: '/api/v1/team/{team_id}/mcp/tools/openapi.json'; }; -export type RecallMemoryResponse = RecallMemoryResponses[keyof RecallMemoryResponses]; - -export type ReflectMemoryData = { - body: ReflectMemoryBody; - path: { - team_id: string; - bank_id: WrappedUuidV4; - }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/reflect'; +export type GetToolsOpenapiSpecErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Forbidden + */ + 403: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type ReflectMemoryResponses = { - 200: MemoryOperationResponse; +export type GetToolsOpenapiSpecError = GetToolsOpenapiSpecErrors[keyof GetToolsOpenapiSpecErrors]; + +export type GetToolsOpenapiSpecResponses = { + /** + * Get tool instances openapi spec + */ + 200: string; }; -export type ReflectMemoryResponse = ReflectMemoryResponses[keyof ReflectMemoryResponses]; +export type GetToolsOpenapiSpecResponse = GetToolsOpenapiSpecResponses[keyof GetToolsOpenapiSpecResponses]; -export type RetainMemoryDocumentData = { - body: RetainMemoryBody; +export type ListMemoryBanksData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - bank_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/retain'; + query?: { + page_size?: number; + next_page_token?: string | null; + }; + url: '/api/v1/team/{team_id}/memory/banks'; }; -export type RetainMemoryDocumentResponses = { - 200: MemoryOperationResponse; +export type ListMemoryBanksResponses = { + 200: MemoryBankPaginatedResponse; }; -export type RetainMemoryDocumentResponse = RetainMemoryDocumentResponses[keyof RetainMemoryDocumentResponses]; +export type ListMemoryBanksResponse = ListMemoryBanksResponses[keyof ListMemoryBanksResponses]; -export type ExportMemoryBankTemplateData = { - body?: never; +export type CreateMemoryBankData = { + body: CreateMemoryBankBody; path: { + /** + * Team ID + */ team_id: string; - bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/template'; + url: '/api/v1/team/{team_id}/memory/banks'; }; -export type ExportMemoryBankTemplateResponses = { - 200: MemoryBankTemplate; +export type CreateMemoryBankResponses = { + 200: MemoryBank; }; -export type ExportMemoryBankTemplateResponse = ExportMemoryBankTemplateResponses[keyof ExportMemoryBankTemplateResponses]; +export type CreateMemoryBankResponse = CreateMemoryBankResponses[keyof CreateMemoryBankResponses]; -export type ImportMemoryBankTemplateData = { - body: ImportMemoryBankTemplateBody; +export type ListVisibleMemoryBanksData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - bank_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/template'; + query?: { + page_size?: number; + next_page_token?: string | null; + }; + url: '/api/v1/team/{team_id}/memory/banks/visible'; }; -export type ImportMemoryBankTemplateResponses = { - 200: ImportMemoryBankTemplateResponse; +export type ListVisibleMemoryBanksResponses = { + 200: MemoryBankPaginatedResponse; }; -export type ImportMemoryBankTemplateResponse2 = ImportMemoryBankTemplateResponses[keyof ImportMemoryBankTemplateResponses]; +export type ListVisibleMemoryBanksResponse = ListVisibleMemoryBanksResponses[keyof ListVisibleMemoryBanksResponses]; -export type SetMemoryBankVisibilityData = { - body: SetResourceAccessModeRequest; +export type DeleteMemoryBankData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}'; }; -export type SetMemoryBankVisibilityResponses = { - 200: ResourceAuthorization; +export type DeleteMemoryBankResponses = { + 200: unknown; }; -export type SetMemoryBankVisibilityResponse = SetMemoryBankVisibilityResponses[keyof SetMemoryBankVisibilityResponses]; - -export type ListMemoryBankVisibilityGrantsData = { +export type GetMemoryBankData = { body?: never; path: { + /** + * Team ID + */ team_id: string; bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}'; }; -export type ListMemoryBankVisibilityGrantsResponses = { - 200: Array; +export type GetMemoryBankResponses = { + 200: MemoryBank; }; -export type ListMemoryBankVisibilityGrantsResponse = ListMemoryBankVisibilityGrantsResponses[keyof ListMemoryBankVisibilityGrantsResponses]; +export type GetMemoryBankResponse = GetMemoryBankResponses[keyof GetMemoryBankResponses]; -export type AddMemoryBankVisibilityGrantData = { - body: CreateResourcePlaneGrantRequest; +export type UpdateMemoryBankData = { + body: UpdateMemoryBankBody; path: { + /** + * Team ID + */ team_id: string; bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}'; }; -export type AddMemoryBankVisibilityGrantResponses = { - 200: ResourceGrant; +export type UpdateMemoryBankResponses = { + 200: MemoryBank; }; -export type AddMemoryBankVisibilityGrantResponse = AddMemoryBankVisibilityGrantResponses[keyof AddMemoryBankVisibilityGrantResponses]; +export type UpdateMemoryBankResponse = UpdateMemoryBankResponses[keyof UpdateMemoryBankResponses]; -export type RemoveMemoryBankVisibilityGrantData = { +export type ResetMemoryBankConfigData = { body?: never; path: { + /** + * Team ID + */ team_id: string; bank_id: WrappedUuidV4; - principal_type: ResourcePrincipalType; - principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/config'; }; -export type RemoveMemoryBankVisibilityGrantResponses = { - 200: unknown; +export type ResetMemoryBankConfigResponses = { + 200: MemoryBankConfig; }; -export type ListMemoryBankSourceBindingsData = { +export type ResetMemoryBankConfigResponse = ResetMemoryBankConfigResponses[keyof ResetMemoryBankConfigResponses]; + +export type GetMemoryBankConfigData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - memory_bank_id: WrappedUuidV4; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/memory/banks/{memory_bank_id}/source-bindings'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/config'; }; -export type ListMemoryBankSourceBindingsResponses = { - 200: Array; +export type GetMemoryBankConfigResponses = { + 200: MemoryBankConfig; }; -export type ListMemoryBankSourceBindingsResponse = ListMemoryBankSourceBindingsResponses[keyof ListMemoryBankSourceBindingsResponses]; +export type GetMemoryBankConfigResponse = GetMemoryBankConfigResponses[keyof GetMemoryBankConfigResponses]; -export type ListMemorySourceBindingsData = { - body?: never; +export type UpdateMemoryBankConfigData = { + body: UpdateMemoryBankConfigBody; path: { + /** + * Team ID + */ team_id: string; + bank_id: WrappedUuidV4; }; - query: { - source_kind: MemorySourceKind; - source_id: string; - }; - url: '/api/v1/team/{team_id}/memory/source-bindings'; + query?: never; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/config'; }; -export type ListMemorySourceBindingsResponses = { - 200: Array; +export type UpdateMemoryBankConfigResponses = { + 200: MemoryBankConfig; }; -export type ListMemorySourceBindingsResponse = ListMemorySourceBindingsResponses[keyof ListMemorySourceBindingsResponses]; +export type UpdateMemoryBankConfigResponse = UpdateMemoryBankConfigResponses[keyof UpdateMemoryBankConfigResponses]; -export type ReplaceMemorySourceBindingsData = { - body: ReplaceMemoryBankBindingsBody; +export type DeleteMemoryDocumentData = { + body: DeleteMemoryDocumentBody; path: { + /** + * Team ID + */ team_id: string; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/memory/source-bindings'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/documents'; }; -export type ReplaceMemorySourceBindingsResponses = { - 200: Array; +export type DeleteMemoryDocumentResponses = { + 200: unknown; }; -export type ReplaceMemorySourceBindingsResponse = ReplaceMemorySourceBindingsResponses[keyof ReplaceMemorySourceBindingsResponses]; - -export type RetryMemorySourceSyncData = { - body: RetryMemorySourceBody; +export type ListMemoryBankDocumentsData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; + bank_id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/memory/source-bindings/retry'; + query?: { + limit?: number; + offset?: number; + q?: string | null; + }; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/documents'; }; -export type RetryMemorySourceSyncResponses = { - 200: Array; +export type ListMemoryBankDocumentsResponses = { + 200: MemoryBankDocumentList; }; -export type RetryMemorySourceSyncResponse = RetryMemorySourceSyncResponses[keyof RetryMemorySourceSyncResponses]; +export type ListMemoryBankDocumentsResponse = ListMemoryBankDocumentsResponses[keyof ListMemoryBankDocumentsResponses]; -export type DeleteSynthesisSessionMemoryData = { - body: DeleteSynthesisMemoryDocumentBody; +export type GetMemoryBankDocumentData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - session_id: WrappedUuidV4; + bank_id: WrappedUuidV4; + document_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/documents'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/documents/{document_id}'; }; -export type DeleteSynthesisSessionMemoryResponses = { - 204: void; +export type GetMemoryBankDocumentResponses = { + 200: StoredMemoryDocument; }; -export type DeleteSynthesisSessionMemoryResponse = DeleteSynthesisSessionMemoryResponses[keyof DeleteSynthesisSessionMemoryResponses]; +export type GetMemoryBankDocumentResponse = GetMemoryBankDocumentResponses[keyof GetMemoryBankDocumentResponses]; -export type RecallSynthesisSessionMemoryData = { - body: RecallMemoryBody; +export type CheckMemoryBankHealthData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - session_id: WrappedUuidV4; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/recall'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/health'; }; -export type RecallSynthesisSessionMemoryResponses = { - 200: MemoryOperationResponse; +export type CheckMemoryBankHealthResponses = { + 200: MemoryBankHealth; }; -export type RecallSynthesisSessionMemoryResponse = RecallSynthesisSessionMemoryResponses[keyof RecallSynthesisSessionMemoryResponses]; +export type CheckMemoryBankHealthResponse = CheckMemoryBankHealthResponses[keyof CheckMemoryBankHealthResponses]; -export type RetainSynthesisSessionMemoryData = { - body: SynthesisSessionRetainMemoryBody; +export type SetMemoryBankOwnershipModeData = { + body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; - session_id: WrappedUuidV4; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/retain'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership'; }; - -export type RetainSynthesisSessionMemoryResponses = { - 200: MemoryOperationResponse; + +export type SetMemoryBankOwnershipModeResponses = { + 200: ResourceAuthorization; }; -export type RetainSynthesisSessionMemoryResponse = RetainSynthesisSessionMemoryResponses[keyof RetainSynthesisSessionMemoryResponses]; +export type SetMemoryBankOwnershipModeResponse = SetMemoryBankOwnershipModeResponses[keyof SetMemoryBankOwnershipModeResponses]; -export type ValidateSynthesisSessionBatchData = { - body: ValidateSynthesisBatchBody; +export type ListMemoryBankOwnershipGrantsData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - session_id: WrappedUuidV4; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/validate-batch'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants'; }; -export type ValidateSynthesisSessionBatchResponses = { - /** - * The complete evidence set is owned by the exact active worker lease - */ - 204: void; +export type ListMemoryBankOwnershipGrantsResponses = { + 200: Array; }; -export type ValidateSynthesisSessionBatchResponse = ValidateSynthesisSessionBatchResponses[keyof ValidateSynthesisSessionBatchResponses]; +export type ListMemoryBankOwnershipGrantsResponse = ListMemoryBankOwnershipGrantsResponses[keyof ListMemoryBankOwnershipGrantsResponses]; -export type ReconcileOpenbotAgentBundleData = { - body: ReconcileOpenBotAgentBundleBody; +export type AddMemoryBankOwnershipGrantData = { + body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; - agent_id: string; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/openbot/agents/{agent_id}/bundle'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants'; }; -export type ReconcileOpenbotAgentBundleResponses = { - 200: ReconcileOpenBotAgentBundleResponse; +export type AddMemoryBankOwnershipGrantResponses = { + 200: ResourceGrant; }; -export type ReconcileOpenbotAgentBundleResponse = ReconcileOpenbotAgentBundleResponses[keyof ReconcileOpenbotAgentBundleResponses]; +export type AddMemoryBankOwnershipGrantResponse = AddMemoryBankOwnershipGrantResponses[keyof AddMemoryBankOwnershipGrantResponses]; -export type GetOpenbotPluginsCatalogData = { +export type RemoveMemoryBankOwnershipGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; + bank_id: WrappedUuidV4; + principal_type: ResourcePrincipalType; + principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/openbot/plugins/catalog'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants/{principal_type}/{principal_id}'; }; -export type GetOpenbotPluginsCatalogResponses = { - 200: OpenBotPluginsCatalogResponse; +export type RemoveMemoryBankOwnershipGrantResponses = { + 200: unknown; }; -export type GetOpenbotPluginsCatalogResponse = GetOpenbotPluginsCatalogResponses[keyof GetOpenbotPluginsCatalogResponses]; - -export type ProviderSetupCatalogData = { - body?: never; +export type RecallMemoryData = { + body: RecallMemoryBody; path: { + /** + * Team ID + */ team_id: string; + bank_id: WrappedUuidV4; }; - query: { - domain: string; - }; - url: '/api/v1/team/{team_id}/provider-setup/catalog'; + query?: never; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/recall'; }; -export type ProviderSetupCatalogResponses = { - /** - * Provider setup catalog - */ - 200: ListProviderSetupCatalogResponse; +export type RecallMemoryResponses = { + 200: MemoryOperationResponse; }; -export type ProviderSetupCatalogResponse = ProviderSetupCatalogResponses[keyof ProviderSetupCatalogResponses]; +export type RecallMemoryResponse = RecallMemoryResponses[keyof RecallMemoryResponses]; -export type ProviderSetupStartData = { - body: StartProviderSetupBody; +export type ReflectMemoryData = { + body: ReflectMemoryBody; path: { + /** + * Team ID + */ team_id: string; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/provider-setup/start'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/reflect'; }; -export type ProviderSetupStartResponses = { - /** - * Provider setup response - */ - 200: ProviderSetupResponse; +export type ReflectMemoryResponses = { + 200: MemoryOperationResponse; }; -export type ProviderSetupStartResponse = ProviderSetupStartResponses[keyof ProviderSetupStartResponses]; +export type ReflectMemoryResponse = ReflectMemoryResponses[keyof ReflectMemoryResponses]; -export type ProviderSetupResumeData = { - body: ResumeProviderSetupBody; +export type RetainMemoryDocumentData = { + body: RetainMemoryBody; path: { + /** + * Team ID + */ team_id: string; - setup_id: string; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/provider-setup/{setup_id}/resume'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/retain'; }; -export type ProviderSetupResumeResponses = { - /** - * Provider setup response - */ - 200: ProviderSetupResponse; +export type RetainMemoryDocumentResponses = { + 200: MemoryOperationResponse; }; -export type ProviderSetupResumeResponse = ProviderSetupResumeResponses[keyof ProviderSetupResumeResponses]; +export type RetainMemoryDocumentResponse = RetainMemoryDocumentResponses[keyof RetainMemoryDocumentResponses]; -export type ReverseProxyListProfilesData = { +export type ExportMemoryBankTemplateData = { body?: never; path: { /** * Team ID */ team_id: string; + bank_id: WrappedUuidV4; }; - query?: { - page_size?: number; - next_page_token?: string | null; - }; - url: '/api/v1/team/{team_id}/reverse-proxy/profile'; -}; - -export type ReverseProxyListProfilesErrors = { - /** - * Internal Server Error - */ - 500: Error; + query?: never; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/template'; }; -export type ReverseProxyListProfilesError = ReverseProxyListProfilesErrors[keyof ReverseProxyListProfilesErrors]; - -export type ReverseProxyListProfilesResponses = { - /** - * Paginated reverse proxy profiles - */ - 200: ReverseProxyProfilePaginatedResponse; +export type ExportMemoryBankTemplateResponses = { + 200: MemoryBankTemplate; }; -export type ReverseProxyListProfilesResponse = ReverseProxyListProfilesResponses[keyof ReverseProxyListProfilesResponses]; +export type ExportMemoryBankTemplateResponse = ExportMemoryBankTemplateResponses[keyof ExportMemoryBankTemplateResponses]; -export type ReverseProxyCreateProfileData = { - body: CreateReverseProxyProfileInner; +export type ImportMemoryBankTemplateData = { + body: ImportMemoryBankTemplateBody; path: { /** * Team ID */ team_id: string; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile'; -}; - -export type ReverseProxyCreateProfileErrors = { - /** - * Bad Request - */ - 400: Error; - /** - * Internal Server Error - */ - 500: Error; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/template'; }; -export type ReverseProxyCreateProfileError = ReverseProxyCreateProfileErrors[keyof ReverseProxyCreateProfileErrors]; - -export type ReverseProxyCreateProfileResponses = { - /** - * Created reverse proxy profile - */ - 200: ReverseProxyProfile; +export type ImportMemoryBankTemplateResponses = { + 200: ImportMemoryBankTemplateResponse; }; -export type ReverseProxyCreateProfileResponse = ReverseProxyCreateProfileResponses[keyof ReverseProxyCreateProfileResponses]; +export type ImportMemoryBankTemplateResponse2 = ImportMemoryBankTemplateResponses[keyof ImportMemoryBankTemplateResponses]; -export type ReverseProxyDeleteProfileData = { - body?: never; +export type SetMemoryBankVisibilityData = { + body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; - profile_id: string; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility'; }; -export type ReverseProxyDeleteProfileErrors = { - 404: Error; +export type SetMemoryBankVisibilityResponses = { + 200: ResourceAuthorization; }; -export type ReverseProxyDeleteProfileError = ReverseProxyDeleteProfileErrors[keyof ReverseProxyDeleteProfileErrors]; - -export type ReverseProxyDeleteProfileResponses = { - 200: unknown; -}; +export type SetMemoryBankVisibilityResponse = SetMemoryBankVisibilityResponses[keyof SetMemoryBankVisibilityResponses]; -export type ReverseProxyGetProfileData = { +export type ListMemoryBankVisibilityGrantsData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Profile slug - */ - profile_id: string; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}'; -}; - -export type ReverseProxyGetProfileErrors = { - /** - * Profile not found - */ - 404: Error; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants'; }; -export type ReverseProxyGetProfileError = ReverseProxyGetProfileErrors[keyof ReverseProxyGetProfileErrors]; - -export type ReverseProxyGetProfileResponses = { - /** - * The reverse proxy profile - */ - 200: ReverseProxyProfile; +export type ListMemoryBankVisibilityGrantsResponses = { + 200: Array; }; -export type ReverseProxyGetProfileResponse = ReverseProxyGetProfileResponses[keyof ReverseProxyGetProfileResponses]; +export type ListMemoryBankVisibilityGrantsResponse = ListMemoryBankVisibilityGrantsResponses[keyof ListMemoryBankVisibilityGrantsResponses]; -export type ReverseProxyUpdateProfileData = { - body: UpdateReverseProxyProfileInner; +export type AddMemoryBankVisibilityGrantData = { + body: CreateResourcePlaneGrantRequest; path: { /** * Team ID */ team_id: string; - /** - * Profile slug - */ - profile_id: string; + bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}'; -}; - -export type ReverseProxyUpdateProfileErrors = { - /** - * Bad Request - */ - 400: Error; - /** - * Profile not found - */ - 404: Error; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants'; }; -export type ReverseProxyUpdateProfileError = ReverseProxyUpdateProfileErrors[keyof ReverseProxyUpdateProfileErrors]; - -export type ReverseProxyUpdateProfileResponses = { - /** - * Updated reverse proxy profile - */ - 200: ReverseProxyProfile; +export type AddMemoryBankVisibilityGrantResponses = { + 200: ResourceGrant; }; -export type ReverseProxyUpdateProfileResponse = ReverseProxyUpdateProfileResponses[keyof ReverseProxyUpdateProfileResponses]; +export type AddMemoryBankVisibilityGrantResponse = AddMemoryBankVisibilityGrantResponses[keyof AddMemoryBankVisibilityGrantResponses]; -export type ReverseProxySetProfileOwnershipData = { - body: SetResourceAccessModeRequest; +export type RemoveMemoryBankVisibilityGrantData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - profile_id: string; + bank_id: WrappedUuidV4; + principal_type: ResourcePrincipalType; + principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership'; + url: '/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants/{principal_type}/{principal_id}'; }; -export type ReverseProxySetProfileOwnershipResponses = { - 200: ResourceAuthorization; +export type RemoveMemoryBankVisibilityGrantResponses = { + 200: unknown; }; -export type ReverseProxySetProfileOwnershipResponse = ReverseProxySetProfileOwnershipResponses[keyof ReverseProxySetProfileOwnershipResponses]; - -export type ReverseProxyListProfileOwnershipGrantsData = { +export type ListMemoryBankSourceBindingsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - profile_id: string; + memory_bank_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants'; + url: '/api/v1/team/{team_id}/memory/banks/{memory_bank_id}/source-bindings'; }; -export type ReverseProxyListProfileOwnershipGrantsResponses = { - 200: Array; +export type ListMemoryBankSourceBindingsResponses = { + 200: Array; }; -export type ReverseProxyListProfileOwnershipGrantsResponse = ReverseProxyListProfileOwnershipGrantsResponses[keyof ReverseProxyListProfileOwnershipGrantsResponses]; +export type ListMemoryBankSourceBindingsResponse = ListMemoryBankSourceBindingsResponses[keyof ListMemoryBankSourceBindingsResponses]; -export type ReverseProxyAddProfileOwnershipGrantData = { - body: CreateResourcePlaneGrantRequest; +export type ListMemorySourceBindingsData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - profile_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants'; + query: { + source_kind: MemorySourceKind; + source_id: string; + }; + url: '/api/v1/team/{team_id}/memory/source-bindings'; }; -export type ReverseProxyAddProfileOwnershipGrantResponses = { - 200: ResourceGrant; +export type ListMemorySourceBindingsResponses = { + 200: Array; }; -export type ReverseProxyAddProfileOwnershipGrantResponse = ReverseProxyAddProfileOwnershipGrantResponses[keyof ReverseProxyAddProfileOwnershipGrantResponses]; +export type ListMemorySourceBindingsResponse = ListMemorySourceBindingsResponses[keyof ListMemorySourceBindingsResponses]; -export type ReverseProxyRemoveProfileOwnershipGrantData = { - body?: never; +export type ReplaceMemorySourceBindingsData = { + body: ReplaceMemoryBankBindingsBody; path: { + /** + * Team ID + */ team_id: string; - profile_id: string; - principal_type: ResourcePrincipalType; - principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/memory/source-bindings'; }; -export type ReverseProxyRemoveProfileOwnershipGrantResponses = { - 200: unknown; +export type ReplaceMemorySourceBindingsResponses = { + 200: Array; }; -export type ReverseProxySetProfileVisibilityData = { - body: SetResourceAccessModeRequest; +export type ReplaceMemorySourceBindingsResponse = ReplaceMemorySourceBindingsResponses[keyof ReplaceMemorySourceBindingsResponses]; + +export type RetryMemorySourceSyncData = { + body: RetryMemorySourceBody; path: { + /** + * Team ID + */ team_id: string; - profile_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility'; + url: '/api/v1/team/{team_id}/memory/source-bindings/retry'; }; -export type ReverseProxySetProfileVisibilityResponses = { - 200: ResourceAuthorization; +export type RetryMemorySourceSyncResponses = { + 200: Array; }; -export type ReverseProxySetProfileVisibilityResponse = ReverseProxySetProfileVisibilityResponses[keyof ReverseProxySetProfileVisibilityResponses]; +export type RetryMemorySourceSyncResponse = RetryMemorySourceSyncResponses[keyof RetryMemorySourceSyncResponses]; -export type ReverseProxyListProfileVisibilityGrantsData = { - body?: never; +export type DeleteSynthesisSessionMemoryData = { + body: DeleteSynthesisMemoryDocumentBody; path: { + /** + * Team ID + */ team_id: string; - profile_id: string; + session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants'; + url: '/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/documents'; }; -export type ReverseProxyListProfileVisibilityGrantsResponses = { - 200: Array; +export type DeleteSynthesisSessionMemoryResponses = { + 204: void; }; -export type ReverseProxyListProfileVisibilityGrantsResponse = ReverseProxyListProfileVisibilityGrantsResponses[keyof ReverseProxyListProfileVisibilityGrantsResponses]; +export type DeleteSynthesisSessionMemoryResponse = DeleteSynthesisSessionMemoryResponses[keyof DeleteSynthesisSessionMemoryResponses]; -export type ReverseProxyAddProfileVisibilityGrantData = { - body: CreateResourcePlaneGrantRequest; +export type RecallSynthesisSessionMemoryData = { + body: RecallMemoryBody; path: { + /** + * Team ID + */ team_id: string; - profile_id: string; + session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants'; + url: '/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/recall'; }; -export type ReverseProxyAddProfileVisibilityGrantResponses = { - 200: ResourceGrant; +export type RecallSynthesisSessionMemoryResponses = { + 200: MemoryOperationResponse; }; -export type ReverseProxyAddProfileVisibilityGrantResponse = ReverseProxyAddProfileVisibilityGrantResponses[keyof ReverseProxyAddProfileVisibilityGrantResponses]; +export type RecallSynthesisSessionMemoryResponse = RecallSynthesisSessionMemoryResponses[keyof RecallSynthesisSessionMemoryResponses]; -export type ReverseProxyRemoveProfileVisibilityGrantData = { - body?: never; +export type RetainSynthesisSessionMemoryData = { + body: SynthesisSessionRetainMemoryBody; path: { + /** + * Team ID + */ team_id: string; - profile_id: string; - principal_type: ResourcePrincipalType; - principal_id: string; + session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/retain'; }; -export type ReverseProxyRemoveProfileVisibilityGrantResponses = { - 200: unknown; +export type RetainSynthesisSessionMemoryResponses = { + 200: MemoryOperationResponse; }; -export type ReverseProxyListProvidersData = { - body?: never; +export type RetainSynthesisSessionMemoryResponse = RetainSynthesisSessionMemoryResponses[keyof RetainSynthesisSessionMemoryResponses]; + +export type ValidateSynthesisSessionBatchData = { + body: ValidateSynthesisBatchBody; path: { /** * Team ID */ team_id: string; + session_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/provider'; + url: '/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/validate-batch'; }; -export type ReverseProxyListProvidersResponses = { +export type ValidateSynthesisSessionBatchResponses = { /** - * Registered reverse proxy providers + * The complete evidence set is owned by the exact active worker lease */ - 200: ListReverseProxyProvidersResponse; + 204: void; }; -export type ReverseProxyListProvidersResponse = ReverseProxyListProvidersResponses[keyof ReverseProxyListProvidersResponses]; +export type ValidateSynthesisSessionBatchResponse = ValidateSynthesisSessionBatchResponses[keyof ValidateSynthesisSessionBatchResponses]; -export type ReverseProxyProxyGetData = { - body?: never; +export type ReconcileOpenbotAgentBundleData = { + body: ReconcileOpenBotAgentBundleBody; path: { /** * Team ID */ team_id: string; - /** - * Profile slug - */ - profile_id: string; - /** - * Path tail forwarded to upstream - */ - rest: string; + agent_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/{profile_id}/{*rest}'; + url: '/api/v1/team/{team_id}/openbot/agents/{agent_id}/bundle'; }; -export type ReverseProxyProxyGetResponses = { - /** - * Upstream response (streamed) - */ - 200: unknown; +export type ReconcileOpenbotAgentBundleResponses = { + 200: ReconcileOpenBotAgentBundleResponse; }; -export type ReverseProxyProxyPostData = { +export type ReconcileOpenbotAgentBundleResponse = ReconcileOpenbotAgentBundleResponses[keyof ReconcileOpenbotAgentBundleResponses]; + +export type GetOpenbotPluginsCatalogData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Profile slug - */ - profile_id: string; - /** - * Path tail forwarded to upstream - */ - rest: string; }; query?: never; - url: '/api/v1/team/{team_id}/reverse-proxy/{profile_id}/{*rest}'; + url: '/api/v1/team/{team_id}/openbot/plugins/catalog'; }; -export type ReverseProxyProxyPostResponses = { - /** - * Upstream response (streamed) - */ - 200: unknown; +export type GetOpenbotPluginsCatalogResponses = { + 200: OpenBotPluginsCatalogResponse; }; -export type SignalsListDeliveriesData = { +export type GetOpenbotPluginsCatalogResponse = GetOpenbotPluginsCatalogResponses[keyof GetOpenbotPluginsCatalogResponses]; + +export type ProviderSetupCatalogData = { body?: never; path: { /** @@ -20311,54 +20188,65 @@ export type SignalsListDeliveriesData = { */ team_id: string; }; - query?: { - page_size?: number; - next_page_token?: string; - instance_id?: string; - status?: string; + query: { + domain: string; }; - url: '/api/v1/team/{team_id}/signals/deliveries'; + url: '/api/v1/team/{team_id}/provider-setup/catalog'; }; -export type SignalsListDeliveriesResponses = { - 200: SignalDeliveryPaginatedResponse; +export type ProviderSetupCatalogResponses = { + /** + * Provider setup catalog + */ + 200: ListProviderSetupCatalogResponse; }; -export type SignalsListDeliveriesResponse = SignalsListDeliveriesResponses[keyof SignalsListDeliveriesResponses]; +export type ProviderSetupCatalogResponse = ProviderSetupCatalogResponses[keyof ProviderSetupCatalogResponses]; -export type SignalsGetDeliveryData = { - body?: never; +export type ProviderSetupStartData = { + body: StartProviderSetupBody; path: { + /** + * Team ID + */ team_id: string; - delivery_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/signals/deliveries/{delivery_id}'; + url: '/api/v1/team/{team_id}/provider-setup/start'; }; -export type SignalsGetDeliveryResponses = { - 200: SignalDelivery; +export type ProviderSetupStartResponses = { + /** + * Provider setup response + */ + 200: ProviderSetupResponse; }; -export type SignalsGetDeliveryResponse = SignalsGetDeliveryResponses[keyof SignalsGetDeliveryResponses]; +export type ProviderSetupStartResponse = ProviderSetupStartResponses[keyof ProviderSetupStartResponses]; -export type SignalsRetryDeliveryData = { - body?: never; +export type ProviderSetupResumeData = { + body: ResumeProviderSetupBody; path: { + /** + * Team ID + */ team_id: string; - delivery_id: WrappedUuidV4; + setup_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/deliveries/{delivery_id}/retry'; + url: '/api/v1/team/{team_id}/provider-setup/{setup_id}/resume'; }; -export type SignalsRetryDeliveryResponses = { - 200: SignalDelivery; +export type ProviderSetupResumeResponses = { + /** + * Provider setup response + */ + 200: ProviderSetupResponse; }; -export type SignalsRetryDeliveryResponse = SignalsRetryDeliveryResponses[keyof SignalsRetryDeliveryResponses]; +export type ProviderSetupResumeResponse = ProviderSetupResumeResponses[keyof ProviderSetupResumeResponses]; -export type SignalsListProviderInstancesData = { +export type ReverseProxyListProfilesData = { body?: never; path: { /** @@ -20368,623 +20256,689 @@ export type SignalsListProviderInstancesData = { }; query?: { page_size?: number; - next_page_token?: string; - status?: string; - provider_type?: string; + next_page_token?: string | null; }; - url: '/api/v1/team/{team_id}/signals/instances'; + url: '/api/v1/team/{team_id}/reverse-proxy/profile'; }; -export type SignalsListProviderInstancesResponses = { - 200: SignalProviderInstancePaginatedResponse; +export type ReverseProxyListProfilesErrors = { + /** + * Internal Server Error + */ + 500: Error; }; -export type SignalsListProviderInstancesResponse = SignalsListProviderInstancesResponses[keyof SignalsListProviderInstancesResponses]; - -export type SignalsCreateProviderInstanceData = { - body: CreateSignalProviderInstanceRequestInner; - path: { - team_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/signals/instances'; -}; +export type ReverseProxyListProfilesError = ReverseProxyListProfilesErrors[keyof ReverseProxyListProfilesErrors]; -export type SignalsCreateProviderInstanceResponses = { - 200: SignalProviderInstance; +export type ReverseProxyListProfilesResponses = { + /** + * Paginated reverse proxy profiles + */ + 200: ReverseProxyProfilePaginatedResponse; }; -export type SignalsCreateProviderInstanceResponse = SignalsCreateProviderInstanceResponses[keyof SignalsCreateProviderInstanceResponses]; +export type ReverseProxyListProfilesResponse = ReverseProxyListProfilesResponses[keyof ReverseProxyListProfilesResponses]; -export type SetSignalProviderOwnershipData = { - body: SetResourceAccessModeRequest; +export type ReverseProxyCreateProfileData = { + body: CreateReverseProxyProfileInner; path: { + /** + * Team ID + */ team_id: string; - id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{id}/ownership'; + url: '/api/v1/team/{team_id}/reverse-proxy/profile'; }; -export type SetSignalProviderOwnershipResponses = { - 200: ResourceAuthorization; +export type ReverseProxyCreateProfileErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Internal Server Error + */ + 500: Error; }; -export type SetSignalProviderOwnershipResponse = SetSignalProviderOwnershipResponses[keyof SetSignalProviderOwnershipResponses]; +export type ReverseProxyCreateProfileError = ReverseProxyCreateProfileErrors[keyof ReverseProxyCreateProfileErrors]; -export type SetSignalProviderVisibilityData = { - body: SetResourceAccessModeRequest; +export type ReverseProxyCreateProfileResponses = { + /** + * Created reverse proxy profile + */ + 200: ReverseProxyProfile; +}; + +export type ReverseProxyCreateProfileResponse = ReverseProxyCreateProfileResponses[keyof ReverseProxyCreateProfileResponses]; + +export type ReverseProxyDeleteProfileData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - id: string; + profile_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{id}/visibility'; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}'; }; -export type SetSignalProviderVisibilityResponses = { - 200: ResourceAuthorization; +export type ReverseProxyDeleteProfileErrors = { + 404: Error; }; -export type SetSignalProviderVisibilityResponse = SetSignalProviderVisibilityResponses[keyof SetSignalProviderVisibilityResponses]; +export type ReverseProxyDeleteProfileError = ReverseProxyDeleteProfileErrors[keyof ReverseProxyDeleteProfileErrors]; -export type ListSignalProviderGrantsData = { +export type ReverseProxyDeleteProfileResponses = { + 200: unknown; +}; + +export type ReverseProxyGetProfileData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - id: string; - plane: ResourceGrantPlane; + /** + * Profile slug + */ + profile_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants'; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}'; }; -export type ListSignalProviderGrantsResponses = { - 200: Array; +export type ReverseProxyGetProfileErrors = { + /** + * Profile not found + */ + 404: Error; }; -export type ListSignalProviderGrantsResponse = ListSignalProviderGrantsResponses[keyof ListSignalProviderGrantsResponses]; +export type ReverseProxyGetProfileError = ReverseProxyGetProfileErrors[keyof ReverseProxyGetProfileErrors]; -export type AddSignalProviderGrantData = { - body: CreateResourcePlaneGrantRequest; +export type ReverseProxyGetProfileResponses = { + /** + * The reverse proxy profile + */ + 200: ReverseProxyProfile; +}; + +export type ReverseProxyGetProfileResponse = ReverseProxyGetProfileResponses[keyof ReverseProxyGetProfileResponses]; + +export type ReverseProxyUpdateProfileData = { + body: UpdateReverseProxyProfileInner; path: { + /** + * Team ID + */ team_id: string; - id: string; - plane: ResourceGrantPlane; + /** + * Profile slug + */ + profile_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants'; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}'; }; -export type AddSignalProviderGrantResponses = { - 200: ResourceGrant; +export type ReverseProxyUpdateProfileErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Profile not found + */ + 404: Error; }; -export type AddSignalProviderGrantResponse = AddSignalProviderGrantResponses[keyof AddSignalProviderGrantResponses]; +export type ReverseProxyUpdateProfileError = ReverseProxyUpdateProfileErrors[keyof ReverseProxyUpdateProfileErrors]; -export type RemoveSignalProviderGrantData = { - body?: never; - path: { - team_id: string; - id: string; - plane: ResourceGrantPlane; - principal_type: ResourcePrincipalType; - principal_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants/{principal_type}/{principal_id}'; +export type ReverseProxyUpdateProfileResponses = { + /** + * Updated reverse proxy profile + */ + 200: ReverseProxyProfile; }; -export type RemoveSignalProviderGrantResponses = { - 200: unknown; -}; +export type ReverseProxyUpdateProfileResponse = ReverseProxyUpdateProfileResponses[keyof ReverseProxyUpdateProfileResponses]; -export type SignalsDeleteProviderInstanceData = { - body?: never; +export type ReverseProxySetProfileOwnershipData = { + body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; + profile_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership'; }; -export type SignalsDeleteProviderInstanceResponses = { - 200: DeleteSignalResponse; +export type ReverseProxySetProfileOwnershipResponses = { + 200: ResourceAuthorization; }; -export type SignalsDeleteProviderInstanceResponse = SignalsDeleteProviderInstanceResponses[keyof SignalsDeleteProviderInstanceResponses]; +export type ReverseProxySetProfileOwnershipResponse = ReverseProxySetProfileOwnershipResponses[keyof ReverseProxySetProfileOwnershipResponses]; -export type SignalsGetProviderInstanceData = { +export type ReverseProxyListProfileOwnershipGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; + profile_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants'; }; -export type SignalsGetProviderInstanceResponses = { - 200: SignalProviderInstance; +export type ReverseProxyListProfileOwnershipGrantsResponses = { + 200: Array; }; -export type SignalsGetProviderInstanceResponse = SignalsGetProviderInstanceResponses[keyof SignalsGetProviderInstanceResponses]; +export type ReverseProxyListProfileOwnershipGrantsResponse = ReverseProxyListProfileOwnershipGrantsResponses[keyof ReverseProxyListProfileOwnershipGrantsResponses]; -export type SignalsUpdateProviderInstanceData = { - body: UpdateSignalProviderInstanceRequestInner; +export type ReverseProxyAddProfileOwnershipGrantData = { + body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; + profile_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants'; }; -export type SignalsUpdateProviderInstanceResponses = { - 200: SignalProviderInstance; +export type ReverseProxyAddProfileOwnershipGrantResponses = { + 200: ResourceGrant; }; -export type SignalsUpdateProviderInstanceResponse = SignalsUpdateProviderInstanceResponses[keyof SignalsUpdateProviderInstanceResponses]; +export type ReverseProxyAddProfileOwnershipGrantResponse = ReverseProxyAddProfileOwnershipGrantResponses[keyof ReverseProxyAddProfileOwnershipGrantResponses]; -export type SignalsTriggerFakeData = { - body: TriggerFakeSignalRequest; +export type ReverseProxyRemoveProfileOwnershipGrantData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - instance_id: string; + profile_id: string; + principal_type: ResourcePrincipalType; + principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{instance_id}/test'; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants/{principal_type}/{principal_id}'; }; -export type SignalsTriggerFakeResponses = { - 200: IngestSignalResponse; +export type ReverseProxyRemoveProfileOwnershipGrantResponses = { + 200: unknown; }; -export type SignalsTriggerFakeResponse = SignalsTriggerFakeResponses[keyof SignalsTriggerFakeResponses]; - -export type SignalsListAvailableProvidersData = { - body?: never; +export type ReverseProxySetProfileVisibilityData = { + body: SetResourceAccessModeRequest; path: { /** * Team ID */ team_id: string; + profile_id: string; }; - query?: { - page_size?: number; - next_page_token?: string; - }; - url: '/api/v1/team/{team_id}/signals/providers'; + query?: never; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility'; }; -export type SignalsListAvailableProvidersResponses = { - 200: SignalProviderSourceSerializedPaginatedResponse; +export type ReverseProxySetProfileVisibilityResponses = { + 200: ResourceAuthorization; }; -export type SignalsListAvailableProvidersResponse = SignalsListAvailableProvidersResponses[keyof SignalsListAvailableProvidersResponses]; +export type ReverseProxySetProfileVisibilityResponse = ReverseProxySetProfileVisibilityResponses[keyof ReverseProxySetProfileVisibilityResponses]; -export type ListSkillsData = { +export type ReverseProxyListProfileVisibilityGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; + profile_id: string; }; - query?: { - page_size?: number; - next_page_token?: string | null; - name_prefix?: string | null; - skill_registry_id?: null | WrappedUuidV4; - }; - url: '/api/v1/team/{team_id}/skill'; -}; - -export type ListSkillsErrors = { - /** - * Unauthorized - */ - 401: Error; + query?: never; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants'; }; -export type ListSkillsError = ListSkillsErrors[keyof ListSkillsErrors]; - -export type ListSkillsResponses = { - /** - * Skills - */ - 200: SkillPaginatedResponse; +export type ReverseProxyListProfileVisibilityGrantsResponses = { + 200: Array; }; -export type ListSkillsResponse = ListSkillsResponses[keyof ListSkillsResponses]; +export type ReverseProxyListProfileVisibilityGrantsResponse = ReverseProxyListProfileVisibilityGrantsResponses[keyof ReverseProxyListProfileVisibilityGrantsResponses]; -export type CreateSkillData = { - body: CreateSkillInner; +export type ReverseProxyAddProfileVisibilityGrantData = { + body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; + profile_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill'; -}; - -export type CreateSkillErrors = { - /** - * Unauthorized - */ - 401: Error; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants'; }; -export type CreateSkillError = CreateSkillErrors[keyof CreateSkillErrors]; - -export type CreateSkillResponses = { - /** - * Created skill - */ - 200: Skill; +export type ReverseProxyAddProfileVisibilityGrantResponses = { + 200: ResourceGrant; }; -export type CreateSkillResponse = CreateSkillResponses[keyof CreateSkillResponses]; +export type ReverseProxyAddProfileVisibilityGrantResponse = ReverseProxyAddProfileVisibilityGrantResponses[keyof ReverseProxyAddProfileVisibilityGrantResponses]; -export type ListProxiedSkillProvidersData = { +export type ReverseProxyRemoveProfileVisibilityGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; + profile_id: string; + principal_type: ResourcePrincipalType; + principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-providers'; + url: '/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants/{principal_type}/{principal_id}'; }; -export type ListProxiedSkillProvidersResponses = { - /** - * Trusted proxied skill providers - */ - 200: ListProxiedSkillProvidersResponse; +export type ReverseProxyRemoveProfileVisibilityGrantResponses = { + 200: unknown; }; -export type ListProxiedSkillProvidersResponse2 = ListProxiedSkillProvidersResponses[keyof ListProxiedSkillProvidersResponses]; - -export type CreateTrustedSkillProviderData = { - body: CreateTrustedSkillProviderRequest; +export type ReverseProxyListProvidersData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-providers/trusted'; -}; - -export type CreateTrustedSkillProviderErrors = { - /** - * Invalid provider URL - */ - 400: Error; - /** - * Unauthorized - */ - 401: Error; + url: '/api/v1/team/{team_id}/reverse-proxy/provider'; }; -export type CreateTrustedSkillProviderError = CreateTrustedSkillProviderErrors[keyof CreateTrustedSkillProviderErrors]; - -export type CreateTrustedSkillProviderResponses = { +export type ReverseProxyListProvidersResponses = { /** - * Created trusted skill provider + * Registered reverse proxy providers */ - 200: ProxiedSkillProvider; + 200: ListReverseProxyProvidersResponse; }; -export type CreateTrustedSkillProviderResponse = CreateTrustedSkillProviderResponses[keyof CreateTrustedSkillProviderResponses]; +export type ReverseProxyListProvidersResponse = ReverseProxyListProvidersResponses[keyof ReverseProxyListProvidersResponses]; -export type GetProxiedSkillProviderData = { +export type ReverseProxyProxyGetData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - provider_id: string; + /** + * Profile slug + */ + profile_id: string; + /** + * Path tail forwarded to upstream + */ + rest: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-providers/{provider_id}'; + url: '/api/v1/team/{team_id}/reverse-proxy/{profile_id}/{*rest}'; }; -export type GetProxiedSkillProviderErrors = { +export type ReverseProxyProxyGetResponses = { /** - * Not found + * Upstream response (streamed) */ - 404: Error; + 200: unknown; }; -export type GetProxiedSkillProviderError = GetProxiedSkillProviderErrors[keyof GetProxiedSkillProviderErrors]; +export type ReverseProxyProxyPostData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + /** + * Profile slug + */ + profile_id: string; + /** + * Path tail forwarded to upstream + */ + rest: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/reverse-proxy/{profile_id}/{*rest}'; +}; -export type GetProxiedSkillProviderResponses = { +export type ReverseProxyProxyPostResponses = { /** - * Trusted proxied skill provider + * Upstream response (streamed) */ - 200: ProxiedSkillProvider; + 200: unknown; }; -export type GetProxiedSkillProviderResponse = GetProxiedSkillProviderResponses[keyof GetProxiedSkillProviderResponses]; - -export type ListSkillRegistriesData = { +export type SignalsListDeliveriesData = { body?: never; path: { + /** + * Team ID + */ team_id: string; }; query?: { page_size?: number; - next_page_token?: string | null; - name_prefix?: string | null; + next_page_token?: string; + instance_id?: string; + status?: string; }; - url: '/api/v1/team/{team_id}/skill-registry'; -}; - -export type ListSkillRegistriesErrors = { - /** - * Unauthorized - */ - 401: Error; + url: '/api/v1/team/{team_id}/signals/deliveries'; }; -export type ListSkillRegistriesError = ListSkillRegistriesErrors[keyof ListSkillRegistriesErrors]; - -export type ListSkillRegistriesResponses = { - /** - * Skill registries - */ - 200: SkillRegistryPaginatedResponse; +export type SignalsListDeliveriesResponses = { + 200: SignalDeliveryPaginatedResponse; }; -export type ListSkillRegistriesResponse = ListSkillRegistriesResponses[keyof ListSkillRegistriesResponses]; +export type SignalsListDeliveriesResponse = SignalsListDeliveriesResponses[keyof SignalsListDeliveriesResponses]; -export type CreateSkillRegistryData = { - body: CreateSkillRegistryBody; +export type SignalsGetDeliveryData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; + delivery_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry'; -}; - -export type CreateSkillRegistryErrors = { - /** - * Unauthorized - */ - 401: Error; + url: '/api/v1/team/{team_id}/signals/deliveries/{delivery_id}'; }; -export type CreateSkillRegistryError = CreateSkillRegistryErrors[keyof CreateSkillRegistryErrors]; - -export type CreateSkillRegistryResponses = { - /** - * Created skill registry - */ - 200: SkillRegistry; +export type SignalsGetDeliveryResponses = { + 200: SignalDelivery; }; -export type CreateSkillRegistryResponse = CreateSkillRegistryResponses[keyof CreateSkillRegistryResponses]; +export type SignalsGetDeliveryResponse = SignalsGetDeliveryResponses[keyof SignalsGetDeliveryResponses]; -export type DeleteSkillRegistryData = { +export type SignalsRetryDeliveryData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - id: string; + delivery_id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}'; + url: '/api/v1/team/{team_id}/signals/deliveries/{delivery_id}/retry'; }; -export type DeleteSkillRegistryErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; +export type SignalsRetryDeliveryResponses = { + 200: SignalDelivery; +}; + +export type SignalsRetryDeliveryResponse = SignalsRetryDeliveryResponses[keyof SignalsRetryDeliveryResponses]; + +export type SignalsListProviderInstancesData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + }; + query?: { + page_size?: number; + next_page_token?: string; + status?: string; + provider_type?: string; + }; + url: '/api/v1/team/{team_id}/signals/instances'; }; -export type DeleteSkillRegistryError = DeleteSkillRegistryErrors[keyof DeleteSkillRegistryErrors]; - -export type DeleteSkillRegistryResponses = { - /** - * Deleted - */ - 200: unknown; +export type SignalsListProviderInstancesResponses = { + 200: SignalProviderInstancePaginatedResponse; }; -export type GetSkillRegistryData = { - body?: never; +export type SignalsListProviderInstancesResponse = SignalsListProviderInstancesResponses[keyof SignalsListProviderInstancesResponses]; + +export type SignalsCreateProviderInstanceData = { + body: CreateSignalProviderInstanceRequestInner; path: { + /** + * Team ID + */ team_id: string; - id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}'; -}; - -export type GetSkillRegistryErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; + url: '/api/v1/team/{team_id}/signals/instances'; }; -export type GetSkillRegistryError = GetSkillRegistryErrors[keyof GetSkillRegistryErrors]; - -export type GetSkillRegistryResponses = { - /** - * Skill registry - */ - 200: SkillRegistry; +export type SignalsCreateProviderInstanceResponses = { + 200: SignalProviderInstance; }; -export type GetSkillRegistryResponse = GetSkillRegistryResponses[keyof GetSkillRegistryResponses]; +export type SignalsCreateProviderInstanceResponse = SignalsCreateProviderInstanceResponses[keyof SignalsCreateProviderInstanceResponses]; -export type UpdateSkillRegistryData = { - body: UpdateSkillRegistryBody; +export type SetSignalProviderOwnershipData = { + body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}'; -}; - -export type UpdateSkillRegistryErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; + url: '/api/v1/team/{team_id}/signals/instances/{id}/ownership'; }; -export type UpdateSkillRegistryError = UpdateSkillRegistryErrors[keyof UpdateSkillRegistryErrors]; - -export type UpdateSkillRegistryResponses = { - /** - * Skill registry - */ - 200: SkillRegistry; +export type SetSignalProviderOwnershipResponses = { + 200: ResourceAuthorization; }; -export type UpdateSkillRegistryResponse = UpdateSkillRegistryResponses[keyof UpdateSkillRegistryResponses]; +export type SetSignalProviderOwnershipResponse = SetSignalProviderOwnershipResponses[keyof SetSignalProviderOwnershipResponses]; -export type SetSkillRegistryOwnershipModeData = { +export type SetSignalProviderVisibilityData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership'; + url: '/api/v1/team/{team_id}/signals/instances/{id}/visibility'; }; -export type SetSkillRegistryOwnershipModeResponses = { +export type SetSignalProviderVisibilityResponses = { 200: ResourceAuthorization; }; -export type SetSkillRegistryOwnershipModeResponse = SetSkillRegistryOwnershipModeResponses[keyof SetSkillRegistryOwnershipModeResponses]; +export type SetSignalProviderVisibilityResponse = SetSignalProviderVisibilityResponses[keyof SetSignalProviderVisibilityResponses]; -export type ListSkillRegistryOwnershipGrantsData = { +export type ListSignalProviderGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; + id: string; + plane: ResourceGrantPlane; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants'; }; -export type ListSkillRegistryOwnershipGrantsResponses = { +export type ListSignalProviderGrantsResponses = { 200: Array; }; -export type ListSkillRegistryOwnershipGrantsResponse = ListSkillRegistryOwnershipGrantsResponses[keyof ListSkillRegistryOwnershipGrantsResponses]; +export type ListSignalProviderGrantsResponse = ListSignalProviderGrantsResponses[keyof ListSignalProviderGrantsResponses]; -export type AddSkillRegistryOwnershipGrantData = { +export type AddSignalProviderGrantData = { body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; + id: string; + plane: ResourceGrantPlane; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants'; }; -export type AddSkillRegistryOwnershipGrantResponses = { +export type AddSignalProviderGrantResponses = { 200: ResourceGrant; }; -export type AddSkillRegistryOwnershipGrantResponse = AddSkillRegistryOwnershipGrantResponses[keyof AddSkillRegistryOwnershipGrantResponses]; +export type AddSignalProviderGrantResponse = AddSignalProviderGrantResponses[keyof AddSignalProviderGrantResponses]; -export type RemoveSkillRegistryOwnershipGrantData = { +export type RemoveSignalProviderGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; - principal_type: string; + id: string; + plane: ResourceGrantPlane; + principal_type: ResourcePrincipalType; principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants/{principal_type}/{principal_id}'; }; -export type RemoveSkillRegistryOwnershipGrantResponses = { +export type RemoveSignalProviderGrantResponses = { 200: unknown; }; -export type AddProviderSkillsToSkillRegistryData = { - body: AddProviderSkillsToRegistryRequest; +export type SignalsDeleteProviderInstanceData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - id: string; + instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/provider-skills'; + url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; }; -export type AddProviderSkillsToSkillRegistryErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; +export type SignalsDeleteProviderInstanceResponses = { + 200: DeleteSignalResponse; }; -export type AddProviderSkillsToSkillRegistryError = AddProviderSkillsToSkillRegistryErrors[keyof AddProviderSkillsToSkillRegistryErrors]; +export type SignalsDeleteProviderInstanceResponse = SignalsDeleteProviderInstanceResponses[keyof SignalsDeleteProviderInstanceResponses]; -export type AddProviderSkillsToSkillRegistryResponses = { - /** - * Updated skill registry - */ - 200: SkillRegistry; +export type SignalsGetProviderInstanceData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + instance_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; }; -export type AddProviderSkillsToSkillRegistryResponse = AddProviderSkillsToSkillRegistryResponses[keyof AddProviderSkillsToSkillRegistryResponses]; +export type SignalsGetProviderInstanceResponses = { + 200: SignalProviderInstance; +}; -export type SearchSkillRegistryData = { - body: SkillDiscoverySearchRequest; +export type SignalsGetProviderInstanceResponse = SignalsGetProviderInstanceResponses[keyof SignalsGetProviderInstanceResponses]; + +export type SignalsUpdateProviderInstanceData = { + body: UpdateSignalProviderInstanceRequestInner; path: { + /** + * Team ID + */ team_id: string; - id: string; + instance_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/search'; + url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; }; -export type SearchSkillRegistryErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; +export type SignalsUpdateProviderInstanceResponses = { + 200: SignalProviderInstance; }; -export type SearchSkillRegistryError = SearchSkillRegistryErrors[keyof SearchSkillRegistryErrors]; +export type SignalsUpdateProviderInstanceResponse = SignalsUpdateProviderInstanceResponses[keyof SignalsUpdateProviderInstanceResponses]; -export type SearchSkillRegistryResponses = { - /** - * Search results - */ - 200: SkillDiscoverySearchResponse; +export type SignalsTriggerFakeData = { + body: TriggerFakeSignalRequest; + path: { + /** + * Team ID + */ + team_id: string; + instance_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{instance_id}/test'; }; -export type SearchSkillRegistryResponse = SearchSkillRegistryResponses[keyof SearchSkillRegistryResponses]; +export type SignalsTriggerFakeResponses = { + 200: IngestSignalResponse; +}; -export type ListSkillRegistrySkillSummariesData = { +export type SignalsTriggerFakeResponse = SignalsTriggerFakeResponses[keyof SignalsTriggerFakeResponses]; + +export type SignalsListAvailableProvidersData = { body?: never; path: { + /** + * Team ID + */ + team_id: string; + }; + query?: { + page_size?: number; + next_page_token?: string; + }; + url: '/api/v1/team/{team_id}/signals/providers'; +}; + +export type SignalsListAvailableProvidersResponses = { + 200: SignalProviderSourceSerializedPaginatedResponse; +}; + +export type SignalsListAvailableProvidersResponse = SignalsListAvailableProvidersResponses[keyof SignalsListAvailableProvidersResponses]; + +export type ListSkillsData = { + body?: never; + path: { + /** + * Team ID + */ team_id: string; - id: string; }; query?: { page_size?: number; @@ -20992,205 +20946,221 @@ export type ListSkillRegistrySkillSummariesData = { name_prefix?: string | null; skill_registry_id?: null | WrappedUuidV4; }; - url: '/api/v1/team/{team_id}/skill-registry/{id}/skill-summary'; + url: '/api/v1/team/{team_id}/skill'; }; -export type ListSkillRegistrySkillSummariesErrors = { +export type ListSkillsErrors = { /** * Unauthorized */ 401: Error; - /** - * Not found - */ - 404: Error; }; -export type ListSkillRegistrySkillSummariesError = ListSkillRegistrySkillSummariesErrors[keyof ListSkillRegistrySkillSummariesErrors]; +export type ListSkillsError = ListSkillsErrors[keyof ListSkillsErrors]; -export type ListSkillRegistrySkillSummariesResponses = { +export type ListSkillsResponses = { /** - * Skill summaries + * Skills */ - 200: SkillSummaryPaginatedResponse; + 200: SkillPaginatedResponse; }; -export type ListSkillRegistrySkillSummariesResponse = ListSkillRegistrySkillSummariesResponses[keyof ListSkillRegistrySkillSummariesResponses]; +export type ListSkillsResponse = ListSkillsResponses[keyof ListSkillsResponses]; -export type GetSkillRegistrySkillByTitleData = { - body?: never; +export type CreateSkillData = { + body: CreateSkillInner; path: { + /** + * Team ID + */ team_id: string; - id: string; - title: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/by-title/{title}'; + url: '/api/v1/team/{team_id}/skill'; }; -export type GetSkillRegistrySkillByTitleErrors = { +export type CreateSkillErrors = { /** * Unauthorized */ 401: Error; - /** - * Not found - */ - 404: Error; }; -export type GetSkillRegistrySkillByTitleError = GetSkillRegistrySkillByTitleErrors[keyof GetSkillRegistrySkillByTitleErrors]; +export type CreateSkillError = CreateSkillErrors[keyof CreateSkillErrors]; -export type GetSkillRegistrySkillByTitleResponses = { +export type CreateSkillResponses = { /** - * Skill + * Created skill */ 200: Skill; }; -export type GetSkillRegistrySkillByTitleResponse = GetSkillRegistrySkillByTitleResponses[keyof GetSkillRegistrySkillByTitleResponses]; +export type CreateSkillResponse = CreateSkillResponses[keyof CreateSkillResponses]; -export type GetSkillRegistrySkillData = { +export type ListProxiedSkillProvidersData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - id: string; - skill_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}'; + url: '/api/v1/team/{team_id}/skill-providers'; }; -export type GetSkillRegistrySkillErrors = { +export type ListProxiedSkillProvidersResponses = { /** - * Unauthorized + * Trusted proxied skill providers */ - 401: Error; + 200: ListProxiedSkillProvidersResponse; +}; + +export type ListProxiedSkillProvidersResponse2 = ListProxiedSkillProvidersResponses[keyof ListProxiedSkillProvidersResponses]; + +export type CreateTrustedSkillProviderData = { + body: CreateTrustedSkillProviderRequest; + path: { + /** + * Team ID + */ + team_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill-providers/trusted'; +}; + +export type CreateTrustedSkillProviderErrors = { /** - * Not found + * Invalid provider URL */ - 404: Error; + 400: Error; + /** + * Unauthorized + */ + 401: Error; }; -export type GetSkillRegistrySkillError = GetSkillRegistrySkillErrors[keyof GetSkillRegistrySkillErrors]; +export type CreateTrustedSkillProviderError = CreateTrustedSkillProviderErrors[keyof CreateTrustedSkillProviderErrors]; -export type GetSkillRegistrySkillResponses = { +export type CreateTrustedSkillProviderResponses = { /** - * Skill + * Created trusted skill provider */ - 200: Skill; + 200: ProxiedSkillProvider; }; -export type GetSkillRegistrySkillResponse = GetSkillRegistrySkillResponses[keyof GetSkillRegistrySkillResponses]; +export type CreateTrustedSkillProviderResponse = CreateTrustedSkillProviderResponses[keyof CreateTrustedSkillProviderResponses]; -export type GetSkillRegistrySkillDescriptionData = { +export type GetProxiedSkillProviderData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - id: string; - skill_id: string; + provider_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}/description'; + url: '/api/v1/team/{team_id}/skill-providers/{provider_id}'; }; -export type GetSkillRegistrySkillDescriptionErrors = { - /** - * Unauthorized - */ - 401: Error; +export type GetProxiedSkillProviderErrors = { /** * Not found */ 404: Error; }; -export type GetSkillRegistrySkillDescriptionError = GetSkillRegistrySkillDescriptionErrors[keyof GetSkillRegistrySkillDescriptionErrors]; +export type GetProxiedSkillProviderError = GetProxiedSkillProviderErrors[keyof GetProxiedSkillProviderErrors]; -export type GetSkillRegistrySkillDescriptionResponses = { +export type GetProxiedSkillProviderResponses = { /** - * Skill description + * Trusted proxied skill provider */ - 200: SkillDescriptionResponse; + 200: ProxiedSkillProvider; }; -export type GetSkillRegistrySkillDescriptionResponse = GetSkillRegistrySkillDescriptionResponses[keyof GetSkillRegistrySkillDescriptionResponses]; +export type GetProxiedSkillProviderResponse = GetProxiedSkillProviderResponses[keyof GetProxiedSkillProviderResponses]; -export type SetSkillRegistryVisibilityData = { - body: SetResourceAccessModeRequest; +export type ListSkillRegistriesData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility'; + query?: { + page_size?: number; + next_page_token?: string | null; + name_prefix?: string | null; + }; + url: '/api/v1/team/{team_id}/skill-registry'; }; -export type SetSkillRegistryVisibilityResponses = { - 200: ResourceAuthorization; +export type ListSkillRegistriesErrors = { + /** + * Unauthorized + */ + 401: Error; }; -export type SetSkillRegistryVisibilityResponse = SetSkillRegistryVisibilityResponses[keyof SetSkillRegistryVisibilityResponses]; - -export type ListSkillRegistryVisibilityGrantsData = { - body?: never; - path: { - team_id: string; - id: WrappedUuidV4; - }; - query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants'; -}; +export type ListSkillRegistriesError = ListSkillRegistriesErrors[keyof ListSkillRegistriesErrors]; -export type ListSkillRegistryVisibilityGrantsResponses = { - 200: Array; +export type ListSkillRegistriesResponses = { + /** + * Skill registries + */ + 200: SkillRegistryPaginatedResponse; }; -export type ListSkillRegistryVisibilityGrantsResponse = ListSkillRegistryVisibilityGrantsResponses[keyof ListSkillRegistryVisibilityGrantsResponses]; +export type ListSkillRegistriesResponse = ListSkillRegistriesResponses[keyof ListSkillRegistriesResponses]; -export type AddSkillRegistryVisibilityGrantData = { - body: CreateResourcePlaneGrantRequest; +export type CreateSkillRegistryData = { + body: CreateSkillRegistryBody; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/skill-registry'; }; -export type AddSkillRegistryVisibilityGrantResponses = { - 200: ResourceGrant; +export type CreateSkillRegistryErrors = { + /** + * Unauthorized + */ + 401: Error; }; -export type AddSkillRegistryVisibilityGrantResponse = AddSkillRegistryVisibilityGrantResponses[keyof AddSkillRegistryVisibilityGrantResponses]; +export type CreateSkillRegistryError = CreateSkillRegistryErrors[keyof CreateSkillRegistryErrors]; -export type RemoveSkillRegistryVisibilityGrantData = { - body?: never; - path: { - team_id: string; - id: WrappedUuidV4; - principal_type: string; - principal_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants/{principal_type}/{principal_id}'; +export type CreateSkillRegistryResponses = { + /** + * Created skill registry + */ + 200: SkillRegistry; }; -export type RemoveSkillRegistryVisibilityGrantResponses = { - 200: unknown; -}; +export type CreateSkillRegistryResponse = CreateSkillRegistryResponses[keyof CreateSkillRegistryResponses]; -export type DeleteSkillData = { +export type DeleteSkillRegistryData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}'; + url: '/api/v1/team/{team_id}/skill-registry/{id}'; }; -export type DeleteSkillErrors = { +export type DeleteSkillRegistryErrors = { /** * Unauthorized */ @@ -21201,26 +21171,29 @@ export type DeleteSkillErrors = { 404: Error; }; -export type DeleteSkillError = DeleteSkillErrors[keyof DeleteSkillErrors]; +export type DeleteSkillRegistryError = DeleteSkillRegistryErrors[keyof DeleteSkillRegistryErrors]; -export type DeleteSkillResponses = { +export type DeleteSkillRegistryResponses = { /** * Deleted */ 200: unknown; }; -export type GetSkillData = { +export type GetSkillRegistryData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}'; + url: '/api/v1/team/{team_id}/skill-registry/{id}'; }; -export type GetSkillErrors = { +export type GetSkillRegistryErrors = { /** * Unauthorized */ @@ -21231,28 +21204,31 @@ export type GetSkillErrors = { 404: Error; }; -export type GetSkillError = GetSkillErrors[keyof GetSkillErrors]; +export type GetSkillRegistryError = GetSkillRegistryErrors[keyof GetSkillRegistryErrors]; -export type GetSkillResponses = { +export type GetSkillRegistryResponses = { /** - * Skill + * Skill registry */ - 200: Skill; + 200: SkillRegistry; }; -export type GetSkillResponse = GetSkillResponses[keyof GetSkillResponses]; +export type GetSkillRegistryResponse = GetSkillRegistryResponses[keyof GetSkillRegistryResponses]; -export type UpdateSkillData = { - body: UpdateSkillBody; +export type UpdateSkillRegistryData = { + body: UpdateSkillRegistryBody; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}'; + url: '/api/v1/team/{team_id}/skill-registry/{id}'; }; -export type UpdateSkillErrors = { +export type UpdateSkillRegistryErrors = { /** * Unauthorized */ @@ -21263,753 +21239,713 @@ export type UpdateSkillErrors = { 404: Error; }; -export type UpdateSkillError = UpdateSkillErrors[keyof UpdateSkillErrors]; +export type UpdateSkillRegistryError = UpdateSkillRegistryErrors[keyof UpdateSkillRegistryErrors]; -export type UpdateSkillResponses = { +export type UpdateSkillRegistryResponses = { /** - * Skill + * Skill registry */ - 200: Skill; + 200: SkillRegistry; }; -export type UpdateSkillResponse = UpdateSkillResponses[keyof UpdateSkillResponses]; +export type UpdateSkillRegistryResponse = UpdateSkillRegistryResponses[keyof UpdateSkillRegistryResponses]; -export type SetSkillOwnershipModeData = { +export type SetSkillRegistryOwnershipModeData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/ownership'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership'; }; -export type SetSkillOwnershipModeResponses = { +export type SetSkillRegistryOwnershipModeResponses = { 200: ResourceAuthorization; }; -export type SetSkillOwnershipModeResponse = SetSkillOwnershipModeResponses[keyof SetSkillOwnershipModeResponses]; +export type SetSkillRegistryOwnershipModeResponse = SetSkillRegistryOwnershipModeResponses[keyof SetSkillRegistryOwnershipModeResponses]; -export type ListSkillOwnershipGrantsData = { +export type ListSkillRegistryOwnershipGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants'; }; -export type ListSkillOwnershipGrantsResponses = { +export type ListSkillRegistryOwnershipGrantsResponses = { 200: Array; }; -export type ListSkillOwnershipGrantsResponse = ListSkillOwnershipGrantsResponses[keyof ListSkillOwnershipGrantsResponses]; +export type ListSkillRegistryOwnershipGrantsResponse = ListSkillRegistryOwnershipGrantsResponses[keyof ListSkillRegistryOwnershipGrantsResponses]; -export type AddSkillOwnershipGrantData = { +export type AddSkillRegistryOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants'; }; -export type AddSkillOwnershipGrantResponses = { +export type AddSkillRegistryOwnershipGrantResponses = { 200: ResourceGrant; }; -export type AddSkillOwnershipGrantResponse = AddSkillOwnershipGrantResponses[keyof AddSkillOwnershipGrantResponses]; +export type AddSkillRegistryOwnershipGrantResponse = AddSkillRegistryOwnershipGrantResponses[keyof AddSkillRegistryOwnershipGrantResponses]; -export type RemoveSkillOwnershipGrantData = { +export type RemoveSkillRegistryOwnershipGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; principal_type: string; principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants/{principal_type}/{principal_id}'; }; -export type RemoveSkillOwnershipGrantResponses = { +export type RemoveSkillRegistryOwnershipGrantResponses = { 200: unknown; }; -export type GetSkillPackageData = { - body?: never; +export type AddProviderSkillsToSkillRegistryData = { + body: AddProviderSkillsToRegistryRequest; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/package'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/provider-skills'; }; -export type GetSkillPackageErrors = { +export type AddProviderSkillsToSkillRegistryErrors = { /** * Unauthorized */ 401: Error; /** - * Package not found + * Not found */ 404: Error; }; -export type GetSkillPackageError = GetSkillPackageErrors[keyof GetSkillPackageErrors]; +export type AddProviderSkillsToSkillRegistryError = AddProviderSkillsToSkillRegistryErrors[keyof AddProviderSkillsToSkillRegistryErrors]; -export type GetSkillPackageResponses = { +export type AddProviderSkillsToSkillRegistryResponses = { /** - * Immutable skill package manifest + * Updated skill registry */ - 200: SkillPackageManifest; + 200: SkillRegistry; }; -export type GetSkillPackageResponse = GetSkillPackageResponses[keyof GetSkillPackageResponses]; +export type AddProviderSkillsToSkillRegistryResponse = AddProviderSkillsToSkillRegistryResponses[keyof AddProviderSkillsToSkillRegistryResponses]; -export type DownloadSkillPackageFileData = { - body: DownloadSkillPackageFileRequest; +export type SearchSkillRegistryData = { + body: SkillDiscoverySearchRequest; path: { + /** + * Team ID + */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/package/download'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/search'; }; -export type DownloadSkillPackageFileErrors = { +export type SearchSkillRegistryErrors = { /** * Unauthorized */ 401: Error; /** - * Package file not found + * Not found */ 404: Error; }; -export type DownloadSkillPackageFileError = DownloadSkillPackageFileErrors[keyof DownloadSkillPackageFileErrors]; +export type SearchSkillRegistryError = SearchSkillRegistryErrors[keyof SearchSkillRegistryErrors]; -export type DownloadSkillPackageFileResponses = { +export type SearchSkillRegistryResponses = { /** - * Short-lived package file download + * Search results */ - 200: SkillPackageFileDownload; -}; - -export type DownloadSkillPackageFileResponse = DownloadSkillPackageFileResponses[keyof DownloadSkillPackageFileResponses]; - -export type SetSkillVisibilityData = { - body: SetResourceAccessModeRequest; - path: { - team_id: string; - id: WrappedUuidV4; - }; - query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/visibility'; -}; - -export type SetSkillVisibilityResponses = { - 200: ResourceAuthorization; + 200: SkillDiscoverySearchResponse; }; -export type SetSkillVisibilityResponse = SetSkillVisibilityResponses[keyof SetSkillVisibilityResponses]; +export type SearchSkillRegistryResponse = SearchSkillRegistryResponses[keyof SearchSkillRegistryResponses]; -export type ListSkillVisibilityGrantsData = { +export type ListSkillRegistrySkillSummariesData = { body?: never; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; + id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants'; -}; - -export type ListSkillVisibilityGrantsResponses = { - 200: Array; -}; - -export type ListSkillVisibilityGrantsResponse = ListSkillVisibilityGrantsResponses[keyof ListSkillVisibilityGrantsResponses]; - -export type AddSkillVisibilityGrantData = { - body: CreateResourcePlaneGrantRequest; - path: { - team_id: string; - id: WrappedUuidV4; + query?: { + page_size?: number; + next_page_token?: string | null; + name_prefix?: string | null; + skill_registry_id?: null | WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/skill-summary'; }; -export type AddSkillVisibilityGrantResponses = { - 200: ResourceGrant; +export type ListSkillRegistrySkillSummariesErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; }; -export type AddSkillVisibilityGrantResponse = AddSkillVisibilityGrantResponses[keyof AddSkillVisibilityGrantResponses]; +export type ListSkillRegistrySkillSummariesError = ListSkillRegistrySkillSummariesErrors[keyof ListSkillRegistrySkillSummariesErrors]; -export type RemoveSkillVisibilityGrantData = { - body?: never; - path: { - team_id: string; - id: WrappedUuidV4; - principal_type: string; - principal_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants/{principal_type}/{principal_id}'; +export type ListSkillRegistrySkillSummariesResponses = { + /** + * Skill summaries + */ + 200: SkillSummaryPaginatedResponse; }; -export type RemoveSkillVisibilityGrantResponses = { - 200: unknown; -}; +export type ListSkillRegistrySkillSummariesResponse = ListSkillRegistrySkillSummariesResponses[keyof ListSkillRegistrySkillSummariesResponses]; -export type StateExportData = { +export type GetSkillRegistrySkillByTitleData = { body?: never; path: { /** * Team ID */ team_id: string; + id: string; + title: string; }; - query?: { - format?: StateDocumentFormat; - }; - url: '/api/v1/team/{team_id}/state/export'; + query?: never; + url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/by-title/{title}'; }; -export type StateExportErrors = { +export type GetSkillRegistrySkillByTitleErrors = { /** - * Bad Request + * Unauthorized */ - 400: Error; + 401: Error; /** - * Internal Server Error + * Not found */ - 500: Error; + 404: Error; }; -export type StateExportError = StateExportErrors[keyof StateExportErrors]; +export type GetSkillRegistrySkillByTitleError = GetSkillRegistrySkillByTitleErrors[keyof GetSkillRegistrySkillByTitleErrors]; -export type StateExportResponses = { +export type GetSkillRegistrySkillByTitleResponses = { /** - * Exported team state + * Skill */ - 200: unknown; + 200: Skill; }; -export type StateImportData = { - body: ImportStateRequest; +export type GetSkillRegistrySkillByTitleResponse = GetSkillRegistrySkillByTitleResponses[keyof GetSkillRegistrySkillByTitleResponses]; + +export type GetSkillRegistrySkillData = { + body?: never; path: { /** * Team ID */ team_id: string; + id: string; + skill_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/import'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}'; }; -export type StateImportResponses = { - 200: ImportStateResponse; +export type GetSkillRegistrySkillErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; }; -export type StateImportResponse = StateImportResponses[keyof StateImportResponses]; +export type GetSkillRegistrySkillError = GetSkillRegistrySkillErrors[keyof GetSkillRegistrySkillErrors]; -export type StateGetImportData = { +export type GetSkillRegistrySkillResponses = { + /** + * Skill + */ + 200: Skill; +}; + +export type GetSkillRegistrySkillResponse = GetSkillRegistrySkillResponses[keyof GetSkillRegistrySkillResponses]; + +export type GetSkillRegistrySkillDescriptionData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Import run ID - */ - import_id: string; + id: string; + skill_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/import/{import_id}'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}/description'; }; -export type StateGetImportResponses = { - 200: ImportRunSummary; +export type GetSkillRegistrySkillDescriptionErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; }; -export type StateGetImportResponse = StateGetImportResponses[keyof StateGetImportResponses]; +export type GetSkillRegistrySkillDescriptionError = GetSkillRegistrySkillDescriptionErrors[keyof GetSkillRegistrySkillDescriptionErrors]; -export type StateImportEventsData = { - body?: never; +export type GetSkillRegistrySkillDescriptionResponses = { + /** + * Skill description + */ + 200: SkillDescriptionResponse; +}; + +export type GetSkillRegistrySkillDescriptionResponse = GetSkillRegistrySkillDescriptionResponses[keyof GetSkillRegistrySkillDescriptionResponses]; + +export type SetSkillRegistryVisibilityData = { + body: SetResourceAccessModeRequest; path: { /** * Team ID */ team_id: string; - /** - * Import run ID - */ - import_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/state/import/{import_id}/events'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility'; }; -export type StateImportEventsResponses = { - /** - * SSE stream of import events - */ - 200: unknown; +export type SetSkillRegistryVisibilityResponses = { + 200: ResourceAuthorization; }; -export type StatePlanData = { - body: PlanStateRequest; +export type SetSkillRegistryVisibilityResponse = SetSkillRegistryVisibilityResponses[keyof SetSkillRegistryVisibilityResponses]; + +export type ListSkillRegistryVisibilityGrantsData = { + body?: never; path: { /** * Team ID */ team_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/state/plan'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants'; }; -export type StatePlanResponses = { - 200: StatePlan; +export type ListSkillRegistryVisibilityGrantsResponses = { + 200: Array; }; -export type StatePlanResponse = StatePlanResponses[keyof StatePlanResponses]; +export type ListSkillRegistryVisibilityGrantsResponse = ListSkillRegistryVisibilityGrantsResponses[keyof ListSkillRegistryVisibilityGrantsResponses]; -export type StateSchemaData = { - body?: never; +export type AddSkillRegistryVisibilityGrantData = { + body: CreateResourcePlaneGrantRequest; path: { /** * Team ID */ team_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/state/schema'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants'; }; -export type StateSchemaResponses = { - 200: StateSchema; +export type AddSkillRegistryVisibilityGrantResponses = { + 200: ResourceGrant; }; -export type StateSchemaResponse = StateSchemaResponses[keyof StateSchemaResponses]; +export type AddSkillRegistryVisibilityGrantResponse = AddSkillRegistryVisibilityGrantResponses[keyof AddSkillRegistryVisibilityGrantResponses]; -export type StateSchemaJsonData = { +export type RemoveSkillRegistryVisibilityGrantData = { body?: never; path: { /** * Team ID */ team_id: string; + id: WrappedUuidV4; + principal_type: string; + principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/schema.json'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants/{principal_type}/{principal_id}'; }; -export type StateSchemaJsonResponses = { - /** - * Team state JSON schema - */ +export type RemoveSkillRegistryVisibilityGrantResponses = { 200: unknown; }; -export type StateResolveSourceData = { - body: ResolveStateSourceRequest; +export type DeleteSkillData = { + body?: never; path: { /** * Team ID */ team_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/source/resolve'; + url: '/api/v1/team/{team_id}/skill/{id}'; }; -export type StateResolveSourceErrors = { +export type DeleteSkillErrors = { /** - * Invalid source + * Unauthorized */ - 400: Error; + 401: Error; /** - * Authentication required + * Not found */ - 401: Error; + 404: Error; }; -export type StateResolveSourceError = StateResolveSourceErrors[keyof StateResolveSourceErrors]; +export type DeleteSkillError = DeleteSkillErrors[keyof DeleteSkillErrors]; -export type StateResolveSourceResponses = { +export type DeleteSkillResponses = { /** - * Resolved immutable state source + * Deleted */ - 200: ResolveStateSourceResponse; + 200: unknown; }; -export type StateResolveSourceResponse = StateResolveSourceResponses[keyof StateResolveSourceResponses]; - -export type StateValidateData = { - body: ValidateStateRequest; +export type GetSkillData = { + body?: never; path: { /** * Team ID */ team_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/validate'; + url: '/api/v1/team/{team_id}/skill/{id}'; }; -export type StateValidateResponses = { - 200: ValidateStateResponse; +export type GetSkillErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; }; -export type StateValidateResponse = StateValidateResponses[keyof StateValidateResponses]; - -export type TildePayProvisionData = { - body: ProvisionTildePayRequest; - path: { - /** - * Team ID - */ - team_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/tilde-pay/onboarding'; -}; +export type GetSkillError = GetSkillErrors[keyof GetSkillErrors]; -export type TildePayProvisionResponses = { +export type GetSkillResponses = { /** - * Fully reconciled Tilde Pay onboarding state + * Skill */ - 200: ProvisionTildePayResponse; + 200: Skill; }; -export type TildePayProvisionResponse = TildePayProvisionResponses[keyof TildePayProvisionResponses]; +export type GetSkillResponse = GetSkillResponses[keyof GetSkillResponses]; -export type TildePayPaymentMppData = { - body: PayPaymentRequest; +export type UpdateSkillData = { + body: UpdateSkillBody; path: { /** * Team ID */ team_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/tilde-pay/payments/mpp'; + url: '/api/v1/team/{team_id}/skill/{id}'; }; -export type TildePayPaymentMppResponses = { +export type UpdateSkillErrors = { /** - * Tilde Pay payment response + * Unauthorized + */ + 401: Error; + /** + * Not found */ - 200: PaymentResponse; + 404: Error; }; -export type TildePayPaymentMppResponse = TildePayPaymentMppResponses[keyof TildePayPaymentMppResponses]; - -export type TildePayPaymentX402Data = { - body: PayPaymentRequest; - path: { - /** - * Team ID - */ - team_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/tilde-pay/payments/x402'; -}; +export type UpdateSkillError = UpdateSkillErrors[keyof UpdateSkillErrors]; -export type TildePayPaymentX402Responses = { +export type UpdateSkillResponses = { /** - * Tilde Pay payment response + * Skill */ - 200: PaymentResponse; + 200: Skill; }; -export type TildePayPaymentX402Response = TildePayPaymentX402Responses[keyof TildePayPaymentX402Responses]; +export type UpdateSkillResponse = UpdateSkillResponses[keyof UpdateSkillResponses]; -export type TildePayWalletSummaryData = { - body?: never; +export type SetSkillOwnershipModeData = { + body: SetResourceAccessModeRequest; path: { /** * Team ID */ team_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/tilde-pay/wallet'; + url: '/api/v1/team/{team_id}/skill/{id}/ownership'; }; -export type TildePayWalletSummaryResponses = { - /** - * Tilde Pay wallet summary - */ - 200: PayWalletSummaryResponse; +export type SetSkillOwnershipModeResponses = { + 200: ResourceAuthorization; }; -export type TildePayWalletSummaryResponse = TildePayWalletSummaryResponses[keyof TildePayWalletSummaryResponses]; +export type SetSkillOwnershipModeResponse = SetSkillOwnershipModeResponses[keyof SetSkillOwnershipModeResponses]; -export type TildePayWalletCreateData = { - body: CreatePayWalletRequest; +export type ListSkillOwnershipGrantsData = { + body?: never; path: { /** * Team ID */ team_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/tilde-pay/wallet'; + url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants'; }; -export type TildePayWalletCreateResponses = { - /** - * Tilde Pay wallet summary - */ - 200: PayWalletSummaryResponse; +export type ListSkillOwnershipGrantsResponses = { + 200: Array; }; -export type TildePayWalletCreateResponse = TildePayWalletCreateResponses[keyof TildePayWalletCreateResponses]; +export type ListSkillOwnershipGrantsResponse = ListSkillOwnershipGrantsResponses[keyof ListSkillOwnershipGrantsResponses]; -export type TildePayWalletWaitUntilBalanceData = { - body: WaitForPayBalanceRequest; +export type AddSkillOwnershipGrantData = { + body: CreateResourcePlaneGrantRequest; path: { /** * Team ID */ team_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/tilde-pay/wallet/wait-until-balance'; + url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants'; }; -export type TildePayWalletWaitUntilBalanceResponses = { - /** - * Tilde Pay balance wait result - */ - 200: WaitUntilBalanceResponse; +export type AddSkillOwnershipGrantResponses = { + 200: ResourceGrant; }; -export type TildePayWalletWaitUntilBalanceResponse = TildePayWalletWaitUntilBalanceResponses[keyof TildePayWalletWaitUntilBalanceResponses]; +export type AddSkillOwnershipGrantResponse = AddSkillOwnershipGrantResponses[keyof AddSkillOwnershipGrantResponses]; -export type ListTrustedRuntimesData = { +export type RemoveSkillOwnershipGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; + id: WrappedUuidV4; + principal_type: string; + principal_id: string; }; - query?: { - page_size?: number; - next_page_token?: string | null; - }; - url: '/api/v1/team/{team_id}/trusted-runtime'; -}; - -export type ListTrustedRuntimesErrors = { - /** - * Unauthorized - */ - 401: Error; + query?: never; + url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants/{principal_type}/{principal_id}'; }; -export type ListTrustedRuntimesError = ListTrustedRuntimesErrors[keyof ListTrustedRuntimesErrors]; - -export type ListTrustedRuntimesResponses = { - /** - * Trusted runtimes - */ - 200: TrustedRuntimePaginatedResponse; +export type RemoveSkillOwnershipGrantResponses = { + 200: unknown; }; -export type ListTrustedRuntimesResponse = ListTrustedRuntimesResponses[keyof ListTrustedRuntimesResponses]; - -export type CreateTrustedRuntimeData = { - body: CreateTrustedRuntimeInner; +export type GetSkillPackageData = { + body?: never; path: { + /** + * Team ID + */ team_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/trusted-runtime'; + url: '/api/v1/team/{team_id}/skill/{id}/package'; }; -export type CreateTrustedRuntimeErrors = { +export type GetSkillPackageErrors = { /** * Unauthorized */ 401: Error; -}; - -export type CreateTrustedRuntimeError = CreateTrustedRuntimeErrors[keyof CreateTrustedRuntimeErrors]; - -export type CreateTrustedRuntimeResponses = { /** - * Created trusted runtime + * Package not found */ - 200: TrustedRuntime; + 404: Error; }; -export type CreateTrustedRuntimeResponse = CreateTrustedRuntimeResponses[keyof CreateTrustedRuntimeResponses]; - -export type DeleteTrustedRuntimeData = { - body?: never; - path: { - team_id: string; - id: WrappedUuidV4; - }; - query?: never; - url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; -}; +export type GetSkillPackageError = GetSkillPackageErrors[keyof GetSkillPackageErrors]; -export type DeleteTrustedRuntimeErrors = { +export type GetSkillPackageResponses = { /** - * Unauthorized + * Immutable skill package manifest */ - 401: Error; + 200: SkillPackageManifest; }; -export type DeleteTrustedRuntimeError = DeleteTrustedRuntimeErrors[keyof DeleteTrustedRuntimeErrors]; - -export type DeleteTrustedRuntimeResponses = { - /** - * Deleted trusted runtime - */ - 200: unknown; -}; +export type GetSkillPackageResponse = GetSkillPackageResponses[keyof GetSkillPackageResponses]; -export type GetTrustedRuntimeData = { - body?: never; +export type DownloadSkillPackageFileData = { + body: DownloadSkillPackageFileRequest; path: { + /** + * Team ID + */ team_id: string; - id: WrappedUuidV4; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; + url: '/api/v1/team/{team_id}/skill/{id}/package/download'; }; -export type GetTrustedRuntimeErrors = { +export type DownloadSkillPackageFileErrors = { /** * Unauthorized */ 401: Error; /** - * Not found + * Package file not found */ 404: Error; }; -export type GetTrustedRuntimeError = GetTrustedRuntimeErrors[keyof GetTrustedRuntimeErrors]; +export type DownloadSkillPackageFileError = DownloadSkillPackageFileErrors[keyof DownloadSkillPackageFileErrors]; -export type GetTrustedRuntimeResponses = { +export type DownloadSkillPackageFileResponses = { /** - * Trusted runtime + * Short-lived package file download */ - 200: TrustedRuntime; + 200: SkillPackageFileDownload; }; -export type GetTrustedRuntimeResponse = GetTrustedRuntimeResponses[keyof GetTrustedRuntimeResponses]; +export type DownloadSkillPackageFileResponse = DownloadSkillPackageFileResponses[keyof DownloadSkillPackageFileResponses]; -export type UpdateTrustedRuntimeData = { - body: UpdateTrustedRuntimeBody; +export type SetSkillVisibilityData = { + body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; -}; - -export type UpdateTrustedRuntimeErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; + url: '/api/v1/team/{team_id}/skill/{id}/visibility'; }; -export type UpdateTrustedRuntimeError = UpdateTrustedRuntimeErrors[keyof UpdateTrustedRuntimeErrors]; - -export type UpdateTrustedRuntimeResponses = { - /** - * Updated trusted runtime - */ - 200: TrustedRuntime; +export type SetSkillVisibilityResponses = { + 200: ResourceAuthorization; }; -export type UpdateTrustedRuntimeResponse = UpdateTrustedRuntimeResponses[keyof UpdateTrustedRuntimeResponses]; +export type SetSkillVisibilityResponse = SetSkillVisibilityResponses[keyof SetSkillVisibilityResponses]; -export type WalletListData = { +export type ListSkillVisibilityGrantsData = { body?: never; path: { /** * Team ID */ team_id: string; + id: WrappedUuidV4; }; - query?: { - page_size?: number; - owner_id?: string | null; - }; - url: '/api/v1/team/{team_id}/wallet'; + query?: never; + url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants'; }; -export type WalletListResponses = { - /** - * List wallets - */ - 200: WalletPaginatedResponse; +export type ListSkillVisibilityGrantsResponses = { + 200: Array; }; -export type WalletListResponse = WalletListResponses[keyof WalletListResponses]; +export type ListSkillVisibilityGrantsResponse = ListSkillVisibilityGrantsResponses[keyof ListSkillVisibilityGrantsResponses]; -export type WalletCreateData = { - body: CreateWalletBody; +export type AddSkillVisibilityGrantData = { + body: CreateResourcePlaneGrantRequest; path: { /** * Team ID */ team_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/wallet'; + url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants'; }; -export type WalletCreateErrors = { - /** - * Invalid request - */ - 400: Error; - /** - * Authentication failed - */ - 401: Error; - /** - * Forbidden - */ - 403: Error; - /** - * Upstream provider error - */ - 502: Error; +export type AddSkillVisibilityGrantResponses = { + 200: ResourceGrant; }; -export type WalletCreateError = WalletCreateErrors[keyof WalletCreateErrors]; +export type AddSkillVisibilityGrantResponse = AddSkillVisibilityGrantResponses[keyof AddSkillVisibilityGrantResponses]; -export type WalletCreateResponses = { - /** - * Created wallet - */ - 200: Wallet; +export type RemoveSkillVisibilityGrantData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + id: WrappedUuidV4; + principal_type: string; + principal_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants/{principal_type}/{principal_id}'; }; -export type WalletCreateResponse = WalletCreateResponses[keyof WalletCreateResponses]; +export type RemoveSkillVisibilityGrantResponses = { + 200: unknown; +}; -export type WalletCustomerListData = { +export type StateExportData = { body?: never; path: { /** @@ -22018,23 +21954,33 @@ export type WalletCustomerListData = { team_id: string; }; query?: { - page_size?: number; - owner_id?: string | null; + format?: StateDocumentFormat; }; - url: '/api/v1/team/{team_id}/wallet/customer'; + url: '/api/v1/team/{team_id}/state/export'; }; -export type WalletCustomerListResponses = { +export type StateExportErrors = { + /** + * Bad Request + */ + 400: Error; /** - * List wallet customers + * Internal Server Error */ - 200: WalletCustomerPaginatedResponse; + 500: Error; }; -export type WalletCustomerListResponse = WalletCustomerListResponses[keyof WalletCustomerListResponses]; +export type StateExportError = StateExportErrors[keyof StateExportErrors]; + +export type StateExportResponses = { + /** + * Exported team state + */ + 200: unknown; +}; -export type WalletCustomerCreateData = { - body: CreateWalletCustomerBody; +export type StateImportData = { + body: ImportStateRequest; path: { /** * Team ID @@ -22042,19 +21988,16 @@ export type WalletCustomerCreateData = { team_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/wallet/customer'; + url: '/api/v1/team/{team_id}/state/import'; }; -export type WalletCustomerCreateResponses = { - /** - * Created wallet customer - */ - 200: WalletCustomer; +export type StateImportResponses = { + 200: ImportStateResponse; }; -export type WalletCustomerCreateResponse = WalletCustomerCreateResponses[keyof WalletCustomerCreateResponses]; +export type StateImportResponse = StateImportResponses[keyof StateImportResponses]; -export type WalletCustomerGetData = { +export type StateGetImportData = { body?: never; path: { /** @@ -22062,24 +22005,21 @@ export type WalletCustomerGetData = { */ team_id: string; /** - * Wallet customer ID + * Import run ID */ - customer_id: string; + import_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/wallet/customer/{customer_id}'; + url: '/api/v1/team/{team_id}/state/import/{import_id}'; }; -export type WalletCustomerGetResponses = { - /** - * Wallet customer - */ - 200: WalletCustomer; +export type StateGetImportResponses = { + 200: ImportRunSummary; }; -export type WalletCustomerGetResponse = WalletCustomerGetResponses[keyof WalletCustomerGetResponses]; +export type StateGetImportResponse = StateGetImportResponses[keyof StateGetImportResponses]; -export type WalletCustomerKycGetData = { +export type StateImportEventsData = { body?: never; path: { /** @@ -22087,302 +22027,296 @@ export type WalletCustomerKycGetData = { */ team_id: string; /** - * Wallet customer ID + * Import run ID */ - customer_id: string; + import_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/wallet/customer/{customer_id}/kyc'; + url: '/api/v1/team/{team_id}/state/import/{import_id}/events'; }; -export type WalletCustomerKycGetResponses = { +export type StateImportEventsResponses = { /** - * Wallet customer KYC details + * SSE stream of import events */ - 200: GetWalletCustomerKycResponse; + 200: unknown; }; -export type WalletCustomerKycGetResponse = WalletCustomerKycGetResponses[keyof WalletCustomerKycGetResponses]; - -export type WalletGetData = { - body?: never; +export type StatePlanData = { + body: PlanStateRequest; path: { /** * Team ID */ team_id: string; - /** - * Wallet ID - */ - wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/wallet/{wallet_id}'; + url: '/api/v1/team/{team_id}/state/plan'; }; -export type WalletGetResponses = { - /** - * Wallet - */ - 200: Wallet; +export type StatePlanResponses = { + 200: StatePlan; }; -export type WalletGetResponse = WalletGetResponses[keyof WalletGetResponses]; +export type StatePlanResponse = StatePlanResponses[keyof StatePlanResponses]; -export type WalletGetBalancesData = { +export type StateSchemaData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Wallet ID - */ - wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/balances'; + url: '/api/v1/team/{team_id}/state/schema'; }; -export type WalletGetBalancesResponses = { - /** - * Wallet balances - */ - 200: GetBalancesResponse; +export type StateSchemaResponses = { + 200: StateSchema; }; -export type WalletGetBalancesResponse = WalletGetBalancesResponses[keyof WalletGetBalancesResponses]; +export type StateSchemaResponse = StateSchemaResponses[keyof StateSchemaResponses]; -export type WalletGetCryptoDepositInformationData = { +export type StateSchemaJsonData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Wallet ID - */ - wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/crypto'; + url: '/api/v1/team/{team_id}/state/schema.json'; }; -export type WalletGetCryptoDepositInformationResponses = { +export type StateSchemaJsonResponses = { /** - * Wallet crypto deposit information + * Team state JSON schema */ - 200: GetCryptoDepositInformationResponse; + 200: unknown; }; -export type WalletGetCryptoDepositInformationResponse = WalletGetCryptoDepositInformationResponses[keyof WalletGetCryptoDepositInformationResponses]; - -export type WalletGetFiatDepositInformationData = { - body?: never; +export type StateResolveSourceData = { + body: ResolveStateSourceRequest; path: { /** * Team ID */ team_id: string; - /** - * Wallet ID - */ - wallet_id: string; - }; - query?: { - currency?: string | null; }; - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/fiat'; + query?: never; + url: '/api/v1/team/{team_id}/state/source/resolve'; +}; + +export type StateResolveSourceErrors = { + /** + * Invalid source + */ + 400: Error; + /** + * Authentication required + */ + 401: Error; }; -export type WalletGetFiatDepositInformationResponses = { +export type StateResolveSourceError = StateResolveSourceErrors[keyof StateResolveSourceErrors]; + +export type StateResolveSourceResponses = { /** - * Wallet fiat deposit information + * Resolved immutable state source */ - 200: GetFiatDepositInformationResponse; + 200: ResolveStateSourceResponse; }; -export type WalletGetFiatDepositInformationResponse = WalletGetFiatDepositInformationResponses[keyof WalletGetFiatDepositInformationResponses]; +export type StateResolveSourceResponse = StateResolveSourceResponses[keyof StateResolveSourceResponses]; -export type WalletMakeMppPaymentData = { - body: MakeMppPaymentRequest; +export type StateValidateData = { + body: ValidateStateRequest; path: { /** * Team ID */ team_id: string; - /** - * Wallet ID - */ - wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/payments/mpp'; + url: '/api/v1/team/{team_id}/state/validate'; }; -export type WalletMakeMppPaymentResponses = { - /** - * Payment response - */ - 200: PaymentResponse; +export type StateValidateResponses = { + 200: ValidateStateResponse; }; -export type WalletMakeMppPaymentResponse = WalletMakeMppPaymentResponses[keyof WalletMakeMppPaymentResponses]; +export type StateValidateResponse = StateValidateResponses[keyof StateValidateResponses]; -export type WalletMakeX402PaymentData = { - body: MakeX402PaymentRequest; +export type ListTrustedRuntimesData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * Wallet ID - */ - wallet_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/payments/x402'; + query?: { + page_size?: number; + next_page_token?: string | null; + }; + url: '/api/v1/team/{team_id}/trusted-runtime'; }; -export type WalletMakeX402PaymentResponses = { +export type ListTrustedRuntimesErrors = { /** - * Payment response + * Unauthorized */ - 200: PaymentResponse; + 401: Error; }; -export type WalletMakeX402PaymentResponse = WalletMakeX402PaymentResponses[keyof WalletMakeX402PaymentResponses]; +export type ListTrustedRuntimesError = ListTrustedRuntimesErrors[keyof ListTrustedRuntimesErrors]; -export type WalletTransactionHistoryListData = { - body?: never; +export type ListTrustedRuntimesResponses = { + /** + * Trusted runtimes + */ + 200: TrustedRuntimePaginatedResponse; +}; + +export type ListTrustedRuntimesResponse = ListTrustedRuntimesResponses[keyof ListTrustedRuntimesResponses]; + +export type CreateTrustedRuntimeData = { + body: CreateTrustedRuntimeInner; path: { /** * Team ID */ team_id: string; - /** - * Wallet ID - */ - wallet_id: string; - }; - query?: { - page_size?: number; - next_page_token?: string | null; }; - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history'; + query?: never; + url: '/api/v1/team/{team_id}/trusted-runtime'; +}; + +export type CreateTrustedRuntimeErrors = { + /** + * Unauthorized + */ + 401: Error; }; -export type WalletTransactionHistoryListResponses = { +export type CreateTrustedRuntimeError = CreateTrustedRuntimeErrors[keyof CreateTrustedRuntimeErrors]; + +export type CreateTrustedRuntimeResponses = { /** - * Wallet transaction history + * Created trusted runtime */ - 200: WalletTransactionHistoryItemPaginatedResponse; + 200: TrustedRuntime; }; -export type WalletTransactionHistoryListResponse = WalletTransactionHistoryListResponses[keyof WalletTransactionHistoryListResponses]; +export type CreateTrustedRuntimeResponse = CreateTrustedRuntimeResponses[keyof CreateTrustedRuntimeResponses]; -export type WalletTransactionHistoryRefreshData = { +export type DeleteTrustedRuntimeData = { body?: never; path: { /** * Team ID */ team_id: string; - /** - * Wallet ID - */ - wallet_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history/refresh'; + url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; }; -export type WalletTransactionHistoryRefreshResponses = { +export type DeleteTrustedRuntimeErrors = { /** - * Wallet transaction history refresh result + * Unauthorized */ - 200: RefreshWalletTransactionHistoryResponse; + 401: Error; }; -export type WalletTransactionHistoryRefreshResponse = WalletTransactionHistoryRefreshResponses[keyof WalletTransactionHistoryRefreshResponses]; +export type DeleteTrustedRuntimeError = DeleteTrustedRuntimeErrors[keyof DeleteTrustedRuntimeErrors]; + +export type DeleteTrustedRuntimeResponses = { + /** + * Deleted trusted runtime + */ + 200: unknown; +}; -export type WalletVirtualAccountCreateData = { - body: CreateWalletVirtualAccountBody; +export type GetTrustedRuntimeData = { + body?: never; path: { /** * Team ID */ team_id: string; - /** - * Wallet ID - */ - wallet_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/virtual-account'; + url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; }; -export type WalletVirtualAccountCreateErrors = { - /** - * Invalid request - */ - 400: Error; +export type GetTrustedRuntimeErrors = { /** - * Authentication failed + * Unauthorized */ 401: Error; /** - * Forbidden - */ - 403: Error; - /** - * Upstream provider error + * Not found */ - 502: Error; + 404: Error; }; -export type WalletVirtualAccountCreateError = WalletVirtualAccountCreateErrors[keyof WalletVirtualAccountCreateErrors]; +export type GetTrustedRuntimeError = GetTrustedRuntimeErrors[keyof GetTrustedRuntimeErrors]; -export type WalletVirtualAccountCreateResponses = { +export type GetTrustedRuntimeResponses = { /** - * Created wallet virtual account + * Trusted runtime */ - 200: WalletVirtualAccount; + 200: TrustedRuntime; }; -export type WalletVirtualAccountCreateResponse = WalletVirtualAccountCreateResponses[keyof WalletVirtualAccountCreateResponses]; +export type GetTrustedRuntimeResponse = GetTrustedRuntimeResponses[keyof GetTrustedRuntimeResponses]; -export type WalletWaitUntilBalanceData = { - body: WaitUntilBalanceRequest; +export type UpdateTrustedRuntimeData = { + body: UpdateTrustedRuntimeBody; path: { /** * Team ID */ team_id: string; - /** - * Wallet ID - */ - wallet_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/wallet/{wallet_id}/wait-until-balance'; + url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; +}; + +export type UpdateTrustedRuntimeErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; }; -export type WalletWaitUntilBalanceResponses = { +export type UpdateTrustedRuntimeError = UpdateTrustedRuntimeErrors[keyof UpdateTrustedRuntimeErrors]; + +export type UpdateTrustedRuntimeResponses = { /** - * Wait result + * Updated trusted runtime */ - 200: WaitUntilBalanceResponse; + 200: TrustedRuntime; }; -export type WalletWaitUntilBalanceResponse = WalletWaitUntilBalanceResponses[keyof WalletWaitUntilBalanceResponses]; +export type UpdateTrustedRuntimeResponse = UpdateTrustedRuntimeResponses[keyof UpdateTrustedRuntimeResponses]; export type ListWikiOntologyTemplatesData = { body?: never; path: { + /** + * Team ID + */ team_id: string; }; query?: never; @@ -22398,6 +22332,9 @@ export type ListWikiOntologyTemplatesResponse = ListWikiOntologyTemplatesRespons export type ListWikisData = { body?: never; path: { + /** + * Team ID + */ team_id: string; }; query?: { @@ -22416,6 +22353,9 @@ export type ListWikisResponse = ListWikisResponses[keyof ListWikisResponses]; export type CreateWikiData = { body: CreateWikiInner; path: { + /** + * Team ID + */ team_id: string; }; query?: never; @@ -22431,6 +22371,9 @@ export type CreateWikiResponse = CreateWikiResponses[keyof CreateWikiResponses]; export type DeleteWikiData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22445,6 +22388,9 @@ export type DeleteWikiResponses = { export type GetWikiData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22461,6 +22407,9 @@ export type GetWikiResponse = GetWikiResponses[keyof GetWikiResponses]; export type UpdateWikiData = { body: UpdateWikiBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22477,6 +22426,9 @@ export type UpdateWikiResponse = UpdateWikiResponses[keyof UpdateWikiResponses]; export type ListWikiAssetsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22498,6 +22450,9 @@ export type ListWikiAssetsResponse = ListWikiAssetsResponses[keyof ListWikiAsset export type CreateWikiAssetUploadData = { body: CreateWikiAssetBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22514,6 +22469,9 @@ export type CreateWikiAssetUploadResponse = CreateWikiAssetUploadResponses[keyof export type DeleteWikiAssetData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22536,6 +22494,9 @@ export type DeleteWikiAssetResponses = { export type UpdateWikiAssetData = { body: UpdateWikiAssetBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22553,6 +22514,9 @@ export type UpdateWikiAssetResponse = UpdateWikiAssetResponses[keyof UpdateWikiA export type CompleteWikiAssetUploadData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22570,6 +22534,9 @@ export type CompleteWikiAssetUploadResponse = CompleteWikiAssetUploadResponses[k export type DownloadWikiAssetContentData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22594,6 +22561,9 @@ export type DownloadWikiAssetContentResponse = DownloadWikiAssetContentResponses export type UploadWikiAssetContentData = { body: Array; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22620,6 +22590,9 @@ export type UploadWikiAssetContentResponses = { export type DownloadWikiAssetData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22637,6 +22610,9 @@ export type DownloadWikiAssetResponse = DownloadWikiAssetResponses[keyof Downloa export type InspectWikiAssetReferencesData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22654,6 +22630,9 @@ export type InspectWikiAssetReferencesResponse = InspectWikiAssetReferencesRespo export type TraverseWikiGraphData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22677,6 +22656,9 @@ export type TraverseWikiGraphResponse = TraverseWikiGraphResponses[keyof Travers export type ListWikiOntologyInstallationsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22693,6 +22675,9 @@ export type ListWikiOntologyInstallationsResponse = ListWikiOntologyInstallation export type ApplyWikiOntologyTemplateData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; template_key: string; @@ -22710,6 +22695,9 @@ export type ApplyWikiOntologyTemplateResponse = ApplyWikiOntologyTemplateRespons export type SetWikiOwnershipModeData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22726,6 +22714,9 @@ export type SetWikiOwnershipModeResponse = SetWikiOwnershipModeResponses[keyof S export type ListWikiOwnershipGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22742,6 +22733,9 @@ export type ListWikiOwnershipGrantsResponse = ListWikiOwnershipGrantsResponses[k export type AddWikiOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22758,6 +22752,9 @@ export type AddWikiOwnershipGrantResponse = AddWikiOwnershipGrantResponses[keyof export type RemoveWikiOwnershipGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; principal_type: ResourcePrincipalType; @@ -22774,6 +22771,9 @@ export type RemoveWikiOwnershipGrantResponses = { export type ListWikiPageTypesData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22792,6 +22792,9 @@ export type ListWikiPageTypesResponse = ListWikiPageTypesResponses[keyof ListWik export type CreateWikiPageTypeData = { body: CreatePageTypeBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22808,6 +22811,9 @@ export type CreateWikiPageTypeResponse = CreateWikiPageTypeResponses[keyof Creat export type DeleteWikiPageTypeData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22832,6 +22838,9 @@ export type DeleteWikiPageTypeResponse = DeleteWikiPageTypeResponses[keyof Delet export type GetWikiPageTypeData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22849,6 +22858,9 @@ export type GetWikiPageTypeResponse = GetWikiPageTypeResponses[keyof GetWikiPage export type UpdateWikiPageTypeData = { body: UpdatePageTypeBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22873,6 +22885,9 @@ export type UpdateWikiPageTypeResponse = UpdateWikiPageTypeResponses[keyof Updat export type ValidateWikiPageTypeDataData = { body: ValidatePageTypeDataBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22890,6 +22905,9 @@ export type ValidateWikiPageTypeDataResponse = ValidateWikiPageTypeDataResponses export type ListWikiPageTypeVersionsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22907,6 +22925,9 @@ export type ListWikiPageTypeVersionsResponse = ListWikiPageTypeVersionsResponses export type CreateWikiPageTypeVersionData = { body: CreatePageTypeVersionBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22931,6 +22952,9 @@ export type CreateWikiPageTypeVersionResponse = CreateWikiPageTypeVersionRespons export type DeleteWikiPageTypeVersionData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22956,6 +22980,9 @@ export type DeleteWikiPageTypeVersionResponse = DeleteWikiPageTypeVersionRespons export type GetWikiPageTypeVersionData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22974,6 +23001,9 @@ export type GetWikiPageTypeVersionResponse = GetWikiPageTypeVersionResponses[key export type PreviewWikiPageTypeMigrationData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22999,6 +23029,9 @@ export type PreviewWikiPageTypeMigrationResponse = PreviewWikiPageTypeMigrationR export type ListWikiPagesData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23019,6 +23052,9 @@ export type ListWikiPagesResponse = ListWikiPagesResponses[keyof ListWikiPagesRe export type CreateWikiPageData = { body: UpsertWikiPageBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23035,6 +23071,9 @@ export type CreateWikiPageResponse = CreateWikiPageResponses[keyof CreateWikiPag export type GrepWikiPagesData = { body: GrepWikiPagesBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23051,6 +23090,9 @@ export type GrepWikiPagesResponse2 = GrepWikiPagesResponses[keyof GrepWikiPagesR export type DeleteWikiPageData = { body: ExpectedRevisionBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23073,6 +23115,9 @@ export type DeleteWikiPageResponses = { export type GetWikiPageData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23090,6 +23135,9 @@ export type GetWikiPageResponse = GetWikiPageResponses[keyof GetWikiPageResponse export type UpdateWikiPageData = { body: UpsertWikiPageBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23114,6 +23162,9 @@ export type UpdateWikiPageResponse = UpdateWikiPageResponses[keyof UpdateWikiPag export type ListWikiPageAssetsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23131,6 +23182,9 @@ export type ListWikiPageAssetsResponse = ListWikiPageAssetsResponses[keyof ListW export type GetWikiPageBacklinksData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23150,6 +23204,9 @@ export type GetWikiPageBacklinksResponse = GetWikiPageBacklinksResponses[keyof G export type MigrateWikiPageTypeData = { body: MigrateWikiPageBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23174,6 +23231,9 @@ export type MigrateWikiPageTypeResponse = MigrateWikiPageTypeResponses[keyof Mig export type MoveWikiPageData = { body: MoveWikiPageBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23198,6 +23258,9 @@ export type MoveWikiPageResponse = MoveWikiPageResponses[keyof MoveWikiPageRespo export type GetWikiPageNeighborhoodData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23221,6 +23284,9 @@ export type GetWikiPageNeighborhoodResponse = GetWikiPageNeighborhoodResponses[k export type ListWikiPageRevisionsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23241,6 +23307,9 @@ export type ListWikiPageRevisionsResponse = ListWikiPageRevisionsResponses[keyof export type ListWikiRelationshipTypesData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23257,6 +23326,9 @@ export type ListWikiRelationshipTypesResponse = ListWikiRelationshipTypesRespons export type CreateWikiRelationshipTypeData = { body: CreateRelationshipTypeBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23273,6 +23345,9 @@ export type CreateWikiRelationshipTypeResponse = CreateWikiRelationshipTypeRespo export type DeleteWikiRelationshipTypeData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23295,6 +23370,9 @@ export type DeleteWikiRelationshipTypeResponses = { export type GetWikiRelationshipTypeData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23312,6 +23390,9 @@ export type GetWikiRelationshipTypeResponse = GetWikiRelationshipTypeResponses[k export type UpdateWikiRelationshipTypeData = { body: UpdateRelationshipTypeBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23336,6 +23417,9 @@ export type UpdateWikiRelationshipTypeResponse = UpdateWikiRelationshipTypeRespo export type ListWikiRelationshipTypeVersionsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23353,6 +23437,9 @@ export type ListWikiRelationshipTypeVersionsResponse = ListWikiRelationshipTypeV export type CreateWikiRelationshipTypeVersionData = { body: CreateRelationshipTypeVersionBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23377,6 +23464,9 @@ export type CreateWikiRelationshipTypeVersionResponse = CreateWikiRelationshipTy export type GetWikiRelationshipTypeVersionData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23395,6 +23485,9 @@ export type GetWikiRelationshipTypeVersionResponse = GetWikiRelationshipTypeVers export type ListWikiPageRelationshipsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23414,6 +23507,9 @@ export type ListWikiPageRelationshipsResponse = ListWikiPageRelationshipsRespons export type UpsertWikiPageRelationshipData = { body: UpsertPageRelationshipBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23437,6 +23533,9 @@ export type UpsertWikiPageRelationshipResponse = UpsertWikiPageRelationshipRespo export type DeleteWikiPageRelationshipData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; relationship_id: WrappedUuidV4; @@ -23452,6 +23551,9 @@ export type DeleteWikiPageRelationshipResponses = { export type GetWikiPageRelationshipData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; relationship_id: WrappedUuidV4; @@ -23469,6 +23571,9 @@ export type GetWikiPageRelationshipResponse = GetWikiPageRelationshipResponses[k export type UpdateWikiPageRelationshipData = { body: UpsertPageRelationshipBody; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; relationship_id: WrappedUuidV4; @@ -23486,6 +23591,9 @@ export type UpdateWikiPageRelationshipResponse = UpdateWikiPageRelationshipRespo export type RetryWikiData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23502,6 +23610,9 @@ export type RetryWikiResponse = RetryWikiResponses[keyof RetryWikiResponses]; export type ChangeWikiOwnershipData = { body: ChangeResourceOwnershipRequest; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23518,6 +23629,9 @@ export type ChangeWikiOwnershipResponse = ChangeWikiOwnershipResponses[keyof Cha export type SetWikiVisibilityData = { body: SetResourceAccessModeRequest; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23534,6 +23648,9 @@ export type SetWikiVisibilityResponse = SetWikiVisibilityResponses[keyof SetWiki export type ListWikiVisibilityGrantsData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23550,6 +23667,9 @@ export type ListWikiVisibilityGrantsResponse = ListWikiVisibilityGrantsResponses export type AddWikiVisibilityGrantData = { body: CreateResourcePlaneGrantRequest; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23566,6 +23686,9 @@ export type AddWikiVisibilityGrantResponse = AddWikiVisibilityGrantResponses[key export type RemoveWikiVisibilityGrantData = { body?: never; path: { + /** + * Team ID + */ team_id: string; wiki_id: WrappedUuidV4; principal_type: ResourcePrincipalType; diff --git a/packages/sdk-vercel-ai-node/README.md b/packages/sdk-vercel-ai-node/README.md index 55d1b304..7e9ad976 100644 --- a/packages/sdk-vercel-ai-node/README.md +++ b/packages/sdk-vercel-ai-node/README.md @@ -23,6 +23,7 @@ pnpm add @trytilde/sdk @trytilde/sdk-vercel-ai-node zod without registering them as authored local tools. When Tilde supplies a verified speaker-bound personal-tool capability, both request-scoped helpers forward it privately to MCP with fresh nonce and protocol-session bindings; the capability is removed before application code runs. +- `sessionProviderTools(client, { sessionId })` adapts the API's current authorized provider catalog to Vercel AI tools and preserves tool-call IDs for replay. Custom ChatKit connections use it automatically in `context.session.tools` and `context.$provider.tools`. - `createChatKitSessionTools(client, session)` constructs the trusted, provider-aware `sendMessage`, reaction, thread, AgentMail, and Linq poll tools used by tool-mode endpoints. - `toolEndpoint(options)` exposes signed, Zod-validated custom tool discovery and invocation. diff --git a/packages/sdk-vercel-ai-node/src/handler.ts b/packages/sdk-vercel-ai-node/src/handler.ts index aadc919b..d950822a 100644 --- a/packages/sdk-vercel-ai-node/src/handler.ts +++ b/packages/sdk-vercel-ai-node/src/handler.ts @@ -1,3 +1,4 @@ +import { sessionProviderTools } from "./session-provider-tools"; import type { ChatKitCompactionCheckpoint, ChatKitCompactionLifecycle, @@ -302,7 +303,11 @@ export function chatKitEndpoint( }); }, }; - const sessionTools = toolSession ? createChatKitSessionTools(client, toolSession) : undefined; + const sessionTools = toolSession + ? toolSession.providerId === "chatkit.channel.custom" + ? await sessionProviderTools(client, { sessionId: sessionId.value }) + : createChatKitSessionTools(client, toolSession) + : undefined; const currentRequestMessageIds = messageIds(body.messages); const session: ChatKitSessionClient = { id: sessionId.value, diff --git a/packages/sdk-vercel-ai-node/src/index.ts b/packages/sdk-vercel-ai-node/src/index.ts index e70bc32d..8899d532 100644 --- a/packages/sdk-vercel-ai-node/src/index.ts +++ b/packages/sdk-vercel-ai-node/src/index.ts @@ -247,3 +247,5 @@ export { webhookSigningKeyFromEnv, WebhookVerificationError, } from "./webhook"; + +export { sessionProviderTools } from "./session-provider-tools"; diff --git a/packages/sdk-vercel-ai-node/src/session-provider-tools.ts b/packages/sdk-vercel-ai-node/src/session-provider-tools.ts new file mode 100644 index 00000000..7c852a68 --- /dev/null +++ b/packages/sdk-vercel-ai-node/src/session-provider-tools.ts @@ -0,0 +1,24 @@ +import type { Client } from "@trytilde/sdk"; +import type { ToolSet } from "ai"; + +/** Adapt the current turn's canonical provider tools to the Vercel AI tool interface. */ +export async function sessionProviderTools( + client: Client, + input: { sessionId: string }, +): Promise { + const { jsonSchema, tool } = await import("ai"); + const bound = await client.chatkit.sessionTools(input); + return Object.fromEntries( + bound.map((definition) => [ + definition.name, + tool({ + description: definition.description, + inputSchema: jsonSchema>(definition.inputSchema), + execute: async (arguments_, options) => + definition.execute(arguments_ as Parameters[0], { + toolCallId: options.toolCallId, + }), + }), + ]), + ); +} diff --git a/packages/sdk-vercel-ai-node/test/webhook.test.ts b/packages/sdk-vercel-ai-node/test/webhook.test.ts index 75816a69..6d42641b 100644 --- a/packages/sdk-vercel-ai-node/test/webhook.test.ts +++ b/packages/sdk-vercel-ai-node/test/webhook.test.ts @@ -282,6 +282,70 @@ describe("chatKitEndpoint", () => { expect(response.headers.get("x-tilde-chatkit-response-mode")).toBe("tool"); }); + it("discovers custom connection tools and invokes them with server-bound coordinates", async () => { + const fetcher = vi.fn(async (_url, options) => + options?.method === "POST" + ? Response.json({ + provider_id: "chatkit.channel.custom", + tool_name: "archiveConversation", + result: { archived: true }, + }) + : Response.json({ + tools: [ + { + name: "archiveConversation", + description: "Archive this conversation", + input_schema: { type: "object", additionalProperties: false }, + output_schema: { type: "object" }, + read_only: false, + }, + ], + context: { + agent_inbox_instance_id: "agent-bound", + target_inbox_instance_id: "target-bound", + trigger_message_id: "trigger-bound", + }, + }), + ); + const endpoint = testChatKitEndpoint({ + webhookSigningKey: key, + responseMode: "tool", + client: { fetch: fetcher }, + handler: async (_request, context) => { + expect(context.session.tools).toHaveProperty("archiveConversation"); + expect(context.session.tools).not.toHaveProperty("sendMessage"); + expect(context.$provider?.tools).toBe(context.session.tools); + const action = context.session.tools?.archiveConversation; + if (!action?.execute) throw new Error("Custom tool missing"); + expect( + await action.execute({}, { toolCallId: "stable-call", messages: [], context: undefined }), + ).toEqual({ + archived: true, + }); + return new Response("ok"); + }, + }); + const response = await endpoint( + signedRequest({ messages: [] }, Math.floor(Date.now() / 1000), { + "x-tilde-org-id": "org-123", + "x-tilde-team-id": "team_123", + "x-tilde-session-id": "session_1", + "x-tilde-agent-instance-id": "agent_instance", + "x-tilde-target-instance-id": "target_instance", + "x-tilde-trigger-message-id": "trigger_1", + "x-tilde-chat-provider-id": "chatkit.channel.custom", + }), + ); + expect(response.status).toBe(200); + expect(JSON.parse(fetcher.mock.calls[1]?.[1]?.body as string)).toEqual({ + agent_inbox_instance_id: "agent-bound", + target_inbox_instance_id: "target-bound", + trigger_message_id: "trigger-bound", + tool_call_id: "stable-call", + input: {}, + }); + }); + it("adds the configured request timeout to the forwarded signal", async () => { const handler = vi.fn(async (request: Request) => { await new Promise((resolve) => { diff --git a/packages/sdk/README.md b/packages/sdk/README.md index 467929e4..81f36f2f 100644 --- a/packages/sdk/README.md +++ b/packages/sdk/README.md @@ -62,6 +62,25 @@ pnpm add @trytilde/sdk - `@trytilde/sdk/api` exposes the generated API client when a stable wrapper does not yet exist. - `@trytilde/sdk/json` exposes the shared JSON types, guards, accessors, and parser. +## Customer-hosted ChatKit providers + +The `@trytilde/sdk/chatkit-provider` subpath exports: + +- `defineChatKitProvider(definition)` validates configuration, capabilities, and session-tool declarations. +- `chatKitProviderEndpoint(options)` creates signed Fetch discovery and invocation handlers without an AI framework dependency. +- `createProviderRuntimeClient(options)` binds ingestion, conversation creation, participant/identity operations, history, and attachment workflows to one connection token. +- `ChatKitProviderDefinition`, `ProviderContext`, `ProviderSessionTool`, `ProviderSetupResult`, `ProviderDeliveryOptions`, and `ProviderReconciliation` describe the authoring contract. Trusted routing and execution context stays separate from model inputs. + +`client.chatkit.customProviders` manages definitions, setup, connections, credential +rotation, and failed-work inspection/retry. `client.chatkit.sessionTools({ sessionId })` +returns currently authorized tools bound to the active turn. Keep each tool-call ID +stable when retrying. `client.chatkit.submitTurn` and `streamSessionEvents` support +custom client protocols using the caller's existing authorization and event cursors. + +See [the Linq, AgentMail, and streaming examples](examples/custom-chatkit/README.md). +Deploy the companion API before releasing this SDK. Runtime connection credentials +cannot impersonate Tilde users, and private delivery options must not enter shared logs. + ## JSON values `@trytilde/sdk/json` owns the SDK's shared JSON types, object guards, string-field accessors, and diff --git a/packages/sdk/examples/custom-chatkit/README.md b/packages/sdk/examples/custom-chatkit/README.md new file mode 100644 index 00000000..f6b9c5c5 --- /dev/null +++ b/packages/sdk/examples/custom-chatkit/README.md @@ -0,0 +1,86 @@ +# Customer-hosted ChatKit providers + +These Linq and AgentMail adapters use only the public +`@trytilde/sdk/chatkit-provider` contract. The agent endpoint and the +provider endpoint are separate services: Tilde executes the agent and owns the +conversation; this backend translates platform operations. + +## Run an adapter + +Use Node.js 24 and install this workspace with `pnpm install`. + +1. Register a definition in **ChatKit → Configure providers**, using your public + `https://your-host/provider` discovery URL. Registration returns a definition + ID and a signing key once; discovery can remain pending while you deploy. +2. Set `CHATKIT_PROVIDER` to `linq` or `agentmail`, `TILDE_PROVIDER_ID`, + `TILDE_PROVIDER_SIGNING_KEY`, `PROVIDER_PUBLIC_URL`, and `TILDE_API_URL`. +3. Set `PROVIDER_STORE_PATH` to a durable local file and `PROVIDER_STORE_KEY` to + a base64-encoded 32-byte key. Generate a key with + `node -e 'console.log(require("node:crypto").randomBytes(32).toString("base64"))'`. + Keep it in your host's secret manager. Losing it makes stored credentials and + receipts unreadable. +4. Run `pnpm exec tsx --conditions=development packages/sdk/examples/custom-chatkit/server.ts`. The example listens on + `127.0.0.1:8787`; use your HTTPS reverse proxy or a public Dev Tunnel. Set `PORT` + to change the local port. +5. Refresh discovery, then create a connection with a default agent. Configure + the account credentials in the generic setup flow. Each connection receives + a separate runtime credential; it cannot access other connections or act as + a Tilde user. + +Linq setup creates a webhook subscription and filters selected phone lines. +If a create response is lost, retry removes only subscriptions matching this +connection's exact webhook URL and recreates the subscription to obtain a fresh +one-time signing secret. +AgentMail setup asks you to create an inbox webhook and supply its signing +secret; remove that manually created webhook when disconnecting. Each platform +posts directly to `/webhooks/`. The adapter verifies the raw body +before calling the scoped ingestion client. + +The example store uses encrypted SQLite for customer-backend state, event drafts, +and action receipts. Tilde's canonical storage remains Postgres. Run one process +per database file, keep its directory and encryption key private, back up both, +and implement retention for old event drafts in a production host. + +## Session tools and delivery + +The Linq adapter declares reactions, thread reads, and poll creation/options/votes. +AgentMail declares thread reads and prepares rich email sends with To/CC/BCC, +subject, HTML, and reply-all. Tilde owns `sendMessage`; providers cannot shadow it. +Agents discover the current turn's tools with `client.chatkit.sessionTools()` or +`context.session.tools` from the Vercel AI integration. + +Handlers receive trusted connection/session coordinates separately from model +arguments. Use `context.session.executionId` for mutation IDs and +`input.deliveryId` for sends. Reconciliation must return `applied`, `absent`, or +`uncertain`; never return `absent` merely because a local receipt is missing. +The reference adapters use deterministic mutation IDs. AgentMail persists the +original send request, looks up delivery labels across pages, and stops uncertain +resends before its 24-hour platform key window expires. +Reaction reconciliation reads the platform's current message state. + +Private delivery options are encrypted with Tilde's durable delivery intent. +Do not copy BCC or raw platform objects into tool results or inbound metadata. +The email adapter strips BCC from thread reads and inbound metadata. Attachment +content uses the scoped upload API; allowlisted platform downloads are bounded +and redirects are checked. + +`streaming-chat.ts` demonstrates a custom client protocol using the caller's +own authenticated SDK client. It submits canonical turns and relays resumable, +audience-filtered session events. Supply a real caller authentication function; +do not substitute the provider runtime token or a shared administrator key. + +## Validate without platform accounts + +```sh +pnpm exec tsc -p packages/sdk/examples/custom-chatkit/tsconfig.json --noEmit +pnpm exec vitest run packages/sdk/test/chatkit-provider.test.ts packages/sdk/test/chatkit-provider-parity.test.ts packages/sdk/test/chatkit-session-stream.test.ts +``` + +Tests use mock platform APIs and cover signed operations, replay recovery, +rich email privacy, attachment workflows, and stream reconnection. Live platform +validation is a separate opt-in deployment check. + +To start a new email from an existing authorized session turn, pass +`provider_options: { new_thread: true }` to canonical `sendMessage` and supply +`to` recipients. Omitting it replies to the exact triggering email. This option +is interpreted by the email adapter and persisted in the private delivery intent. diff --git a/packages/sdk/examples/custom-chatkit/agentmail.ts b/packages/sdk/examples/custom-chatkit/agentmail.ts new file mode 100644 index 00000000..ce92a271 --- /dev/null +++ b/packages/sdk/examples/custom-chatkit/agentmail.ts @@ -0,0 +1,458 @@ +import { + defineChatKitProvider, + type ProviderContext, + type ProviderDelivery, + type ProviderDeliveryOptions, + type ProviderObject, + type ProviderSetupResult, +} from "@trytilde/sdk/chatkit-provider"; +import { + attachmentContent, + form, + object, + type ProviderHost, + platform, + publicMail, + runtime, + stored, + string, + verifyPlatformWebhook, +} from "./shared"; + +/** Complete AgentMail transport using only the public provider SDK contract. */ +export function agentMailProvider( + host: ProviderHost & { platformBaseUrl?: string }, +) { + const fetcher = host.fetch ?? fetch; + const origin = host.platformBaseUrl ?? "https://api.agentmail.to/v0"; + const path = (context: ProviderContext) => + `/inboxes/${encodeURIComponent(string(context.configuration.inbox_id))}`; + const token = (context: ProviderContext) => string(context.secrets.api_key); + async function configure( + input: ProviderObject, + context: ProviderContext, + ): Promise { + const values = form(input); + if ( + typeof values.api_key !== "string" && + typeof context.secrets.api_key === "string" + ) + values.api_key = context.secrets.api_key; + if ( + typeof values.webhook_secret !== "string" && + typeof context.secrets.webhook_secret === "string" + ) + values.webhook_secret = context.secrets.webhook_secret; + const prior = input.continuation ? object(input.continuation) : {}; + const inboxId = string( + values.inbox_id ?? prior.inbox_id ?? context.configuration.inbox_id, + ); + const runtimeToken = + typeof input.runtime_token === "string" + ? input.runtime_token + : host.store.getConnection(context.connectionId).runtimeToken; + if ( + typeof values.api_key !== "string" || + typeof values.webhook_secret !== "string" + ) { + host.store.saveConnection(context.connectionId, { + ...stored(context, runtimeToken), + configuration: { inbox_id: inboxId }, + }); + return { + configuration: { inbox_id: inboxId }, + continuation: { inbox_id: inboxId }, + nextAction: { + type: "render_instructions", + markdown: `Create an AgentMail webhook for message.received events at ${host.webhookBaseUrl}/${encodeURIComponent(context.connectionId)}. Enter its signing secret and the inbox API key.`, + fields: [ + { + name: "api_key", + label: "Inbox API key", + fieldType: "password", + required: true, + }, + { + name: "webhook_secret", + label: "Webhook signing secret", + fieldType: "password", + required: true, + }, + ], + }, + }; + } + await platform( + fetcher, + origin, + values.api_key, + "GET", + `/inboxes/${encodeURIComponent(inboxId)}`, + ); + const configuration = { inbox_id: inboxId }; + const secrets = { + api_key: values.api_key, + webhook_secret: values.webhook_secret, + }; + host.store.saveConnection(context.connectionId, { + ...stored(context, runtimeToken), + configuration, + secrets, + }); + return { + configuration, + secrets, + nextAction: { type: "complete", message: "AgentMail connected" }, + }; + } + async function deliver(input: ProviderDelivery, context: ProviderContext) { + const thread = object(input.providerThread); + const replyTo = + input.externalMessageId ?? + (typeof thread.message_id === "string" ? thread.message_id : undefined); + const newThread = + object(input.options.providerOptions ?? {}).new_thread === true; + const route = + replyTo && !newThread + ? `${path(context)}/messages/${encodeURIComponent(replyTo)}/${input.options.replyAll === false ? "reply" : "reply-all"}` + : `${path(context)}/messages/send`; + // URL-backed attachments are the documented AgentMail attachment format: + // https://www.agentmail.to/docs/attachments + const receiptKey = `delivery:${input.deliveryId}`; + const prior = host.store.getEffect(context.connectionId, receiptKey); + if (prior) return { externalMessageId: string(prior.externalMessageId) }; + const draft = host.store.prepareDelivery( + JSON.stringify([context.connectionId, input.deliveryId]), + route, + { + text: input.body, + to: input.options.to ?? null, + cc: input.options.cc ?? null, + bcc: input.options.bcc ?? null, + subject: input.options.subject ?? null, + html: input.options.html ?? null, + labels: [`tilde-delivery-${input.deliveryId}`], + attachments: input.attachments.map((file) => ({ + url: file.url, + filename: file.filename ?? null, + content_type: file.mediaType, + })), + }, + ); + // AgentMail forgets send keys after 24h. Leave a margin for request duration. + if (Date.now() - draft.startedAt > 23 * 60 * 60 * 1000) + throw new Error( + "Delivery requires reconciliation beyond the idempotency window", + ); + const value = await platform( + fetcher, + origin, + token(context), + "POST", + draft.route, + draft.body, + input.deliveryId, + ); + const result = { externalMessageId: string(value.message_id) }; + host.store.saveEffect(context.connectionId, receiptKey, result); + return result; + } + async function reconcileDelivery( + input: ProviderDelivery, + context: ProviderContext, + ) { + const key = `delivery:${input.deliveryId}`; + const receipt = host.store.getEffect(context.connectionId, key); + if (receipt) + return { + status: "applied" as const, + result: { externalMessageId: string(receipt.externalMessageId) }, + }; + let pageToken: string | undefined; + const seen = new Set(); + for (let page = 0; page < 100; page++) { + const query = new URLSearchParams({ + labels: `tilde-delivery-${input.deliveryId}`, + limit: "100", + }); + if (pageToken) query.set("page_token", pageToken); + const listing = await platform( + fetcher, + origin, + token(context), + "GET", + `${path(context)}/messages?${query}`, + ); + if (!Array.isArray(listing.messages)) + return { + status: "uncertain" as const, + reason: "Invalid delivery reconciliation response", + }; + for (const entry of listing.messages) { + const message = object(entry); + if ( + !Array.isArray(message.labels) || + !message.labels.includes(`tilde-delivery-${input.deliveryId}`) + ) + continue; + const result = { externalMessageId: string(message.message_id) }; + host.store.saveEffect(context.connectionId, key, result); + return { status: "applied" as const, result }; + } + if ( + typeof listing.next_page_token !== "string" || + !listing.next_page_token + ) { + const draft = host.store.getDelivery( + JSON.stringify([context.connectionId, input.deliveryId]), + ); + if (draft && Date.now() - draft.startedAt > 23 * 60 * 60 * 1000) + return { + status: "uncertain" as const, + reason: "Platform idempotency window expired", + }; + return { + status: "applied" as const, + result: await deliver(input, context), + }; + } + if (seen.has(listing.next_page_token)) break; + seen.add(listing.next_page_token); + pageToken = listing.next_page_token; + } + return { + status: "uncertain" as const, + reason: "Delivery marker pagination did not complete", + }; + } + + const definition = defineChatKitProvider({ + version: "1", + displayName: "AgentMail (TypeScript)", + description: "Email conversations with rich replies and session tools", + configurationSchema: { + type: "object", + properties: { inbox_id: { type: "string" } }, + required: ["inbox_id"], + additionalProperties: false, + }, + fields: [ + { + name: "inbox_id", + label: "AgentMail inbox", + fieldType: "text" as const, + required: true, + }, + ], + capabilities: { + inbound: true, + delivery: true, + identity: true, + html: true, + attachments: true, + }, + subscriptions: ["message.received"], + setup: { + start: configure, + resume: configure, + credentialsUpdated: async ( + input: { runtimeToken: string }, + context: ProviderContext, + ) => { + host.store.saveConnection(context.connectionId, { + ...host.store.getConnection(context.connectionId), + runtimeToken: input.runtimeToken, + }); + }, + disconnect: async (context: ProviderContext) => { + host.store.deleteConnection(context.connectionId); + }, + }, + identity: { + register: async (_input: ProviderObject, context: ProviderContext) => ({ + kind: "email" as const, + externalId: string(context.configuration.inbox_id), + displayName: "Agent", + }), + normalizeMentions: async (input: ProviderObject) => + (Array.isArray(input.tags) ? input.tags : []) + .filter( + (tag): tag is string => + typeof tag === "string" && tag.includes("@"), + ) + .map((tag) => ({ + kind: "email" as const, + externalId: tag.trim().toLowerCase(), + displayName: tag, + })), + }, + messaging: { + prepareSend: async ( + input: ProviderObject, + ): Promise => { + const providerOptions = object(input.provider_options ?? {}); + if ( + providerOptions.new_thread === true && + (!Array.isArray(input.to) || input.to.length === 0) + ) + throw new Error("A new email requires To recipients"); + return { + providerOptions, + visibleRecipients: [ + ...(Array.isArray(input.to) ? input.to : []), + ...(Array.isArray(input.cc) ? input.cc : []), + ].map((value) => ({ + kind: "email", + externalId: emailAddress(string(value)), + displayName: string(value), + })), + ...(Array.isArray(input.to) ? { to: input.to.map(string) } : {}), + ...(Array.isArray(input.cc) ? { cc: input.cc.map(string) } : {}), + ...(Array.isArray(input.bcc) ? { bcc: input.bcc.map(string) } : {}), + ...(typeof input.subject === "string" + ? { subject: input.subject } + : {}), + ...(typeof input.html === "string" ? { html: input.html } : {}), + replyAll: input.reply_all === true, + }; + }, + deliver, + reconcile: reconcileDelivery, + }, + sessionTools: [ + { + name: "getThread", + description: "Read this email thread", + readOnly: true, + inputSchema: { type: "object", additionalProperties: false }, + outputSchema: { type: "object" }, + execute: async (_input: ProviderObject, context: ProviderContext) => + publicMail( + await platform( + fetcher, + origin, + token(context), + "GET", + `${path(context)}/threads/${encodeURIComponent(string(object(context.session?.providerThread).thread_id))}`, + ), + ), + }, + ], + }); + async function webhook( + connectionId: string, + request: Request, + ): Promise { + const state = host.store.getConnection(connectionId); + const event = await verifyPlatformWebhook( + request, + string(state.secrets.webhook_secret), + "svix", + ); + if ( + typeof event.event_type !== "string" || + !event.event_type.startsWith("message.received") + ) + return new Response(null, { status: 204 }); + const message = object(event.message); + if (message.inbox_id !== state.configuration.inbox_id) + throw new Error("Webhook inbox does not match connection"); + const eventId = string(event.event_id); + const client = runtime(host, connectionId, state); + let draft = host.store.getEvent(connectionId, eventId); + if (!draft) { + const threadId = string(message.thread_id); + const providerThread = { + inbox_id: string(message.inbox_id), + thread_id: threadId, + message_id: string(message.message_id), + }; + const session = await client.ensureConversation({ + conversationKey: threadId, + title: typeof message.subject === "string" ? message.subject : "Email", + providerThread, + }); + const hidden = new Set( + (Array.isArray(message.bcc) ? message.bcc : []).map((value) => + emailAddress(string(value)), + ), + ); + const visible = [ + ...(Array.isArray(message.to) ? message.to : []), + ...(Array.isArray(message.cc) ? message.cc : []), + ]; + for (const value of visible) { + const address = emailAddress(string(value)); + if ( + hidden.has(address) || + address === emailAddress(string(state.configuration.inbox_id)) + ) + continue; + await client.upsertParticipant({ + sessionId: session.sessionId, + identity: { + kind: "email", + externalId: address, + displayName: address, + }, + }); + } + const attachmentIds: string[] = []; + for (const attachment of Array.isArray(message.attachments) + ? message.attachments + : []) { + const file = object(attachment); + const download = await platform( + fetcher, + origin, + string(state.secrets.api_key), + "GET", + `/inboxes/${encodeURIComponent(string(message.inbox_id))}/messages/${encodeURIComponent(string(message.message_id))}/attachments/${encodeURIComponent(string(file.attachment_id))}`, + ); + const content = await attachmentContent( + host, + string(download.download_url), + ); + const upload = await client.uploadAttachment({ + sessionId: session.sessionId, + content: content.content, + mediaType: + typeof file.content_type === "string" + ? file.content_type + : "application/octet-stream", + ...(typeof file.filename === "string" + ? { filename: file.filename } + : {}), + }); + attachmentIds.push(upload.attachmentId); + } + const sender = emailAddress(string(message.from)); + draft = host.store.saveEvent(connectionId, { + eventId, + conversationKey: threadId, + externalMessageId: string(message.message_id), + sender: { + externalId: sender.toLowerCase(), + displayName: sender, + kind: "email", + }, + text: + typeof message.extracted_text === "string" + ? message.extracted_text + : typeof message.text === "string" + ? message.text + : "", + attachmentIds, + providerThread, + providerMetadata: publicMail(message), + }); + } + await client.ingest(draft); + return new Response(null, { status: 202 }); + } + return { definition, webhook }; +} + +function emailAddress(value: string): string { + return (value.match(/<([^>]+)>/)?.[1] ?? value).trim().toLowerCase(); +} diff --git a/packages/sdk/examples/custom-chatkit/linq.ts b/packages/sdk/examples/custom-chatkit/linq.ts new file mode 100644 index 00000000..cbc929e3 --- /dev/null +++ b/packages/sdk/examples/custom-chatkit/linq.ts @@ -0,0 +1,579 @@ +import { + defineChatKitProvider, + type ProviderContext, + type ProviderDelivery, + type ProviderObject, + type ProviderSessionTool, + type ProviderSetupResult, +} from "@trytilde/sdk/chatkit-provider"; +import { + attachmentContent, + form, + object, + type ProviderHost, + platform, + runtime, + stored, + string, + verifyPlatformWebhook, +} from "./shared"; + +/** Linq account/line-pool transport, including session-scoped reactions and polls. */ +export function linqProvider( + host: ProviderHost & { platformBaseUrl?: string }, +) { + const fetcher = host.fetch ?? fetch; + const origin = + host.platformBaseUrl ?? "https://api.linqapp.com/api/partner/v3"; + const token = (context: ProviderContext) => string(context.secrets.api_token); + async function configure( + input: ProviderObject, + context: ProviderContext, + ): Promise { + const values = form(input); + const prior = host.store.findConnection(context.connectionId); + const apiToken = string( + values.api_token ?? context.secrets.api_token ?? prior?.secrets.api_token, + ); + values.phone_numbers ??= + context.configuration.phone_numbers ?? + prior?.configuration.phone_numbers ?? + []; + const phoneNumbers = Array.isArray(values.phone_numbers) + ? values.phone_numbers.map(string) + : typeof values.phone_numbers === "string" + ? values.phone_numbers + .split(",") + .map((s) => s.trim()) + .filter(Boolean) + : []; + const runtimeToken = + typeof input.runtime_token === "string" + ? input.runtime_token + : host.store.getConnection(context.connectionId).runtimeToken; + const targetUrl = `${host.webhookBaseUrl}/${encodeURIComponent(context.connectionId)}`; + // Reuse a stored subscription during setup retry; subscription IDs remain connection-owned. + let subscriptionId = prior?.configuration.subscription_id; + let signingSecret = prior?.secrets.webhook_secret; + if ( + typeof subscriptionId !== "string" || + typeof signingSecret !== "string" + ) { + // A lost create response also loses Linq's one-time signing secret. Recover + // by deleting only subscriptions owned by this connection's exact URL. + if (prior) await removeOwnedSubscriptions(apiToken, targetUrl); + host.store.saveConnection(context.connectionId, { + ...stored(context, runtimeToken), + configuration: { phone_numbers: phoneNumbers }, + secrets: { api_token: apiToken }, + }); + const subscription = await platform( + fetcher, + origin, + apiToken, + "POST", + "/webhook-subscriptions", + { + target_url: targetUrl, + subscribed_events: ["message.received"], + ...(phoneNumbers.length ? { phone_numbers: phoneNumbers } : {}), + }, + ); + subscriptionId = string(subscription.id); + signingSecret = string(subscription.signing_secret); + } else { + await platform( + fetcher, + origin, + apiToken, + "PUT", + `/webhook-subscriptions/${encodeURIComponent(subscriptionId)}`, + { + target_url: targetUrl, + phone_numbers: phoneNumbers, + subscribed_events: ["message.received"], + is_active: true, + }, + ); + } + const configuration = { + phone_numbers: phoneNumbers, + subscription_id: subscriptionId, + }; + const secrets = { api_token: apiToken, webhook_secret: signingSecret }; + host.store.saveConnection(context.connectionId, { + ...stored(context, runtimeToken), + configuration, + secrets, + }); + return { + configuration, + secrets, + nextAction: { type: "complete", message: "Linq connected" }, + }; + } + async function removeOwnedSubscriptions( + apiToken: string, + targetUrl: string, + ): Promise { + const result = await platform( + fetcher, + origin, + apiToken, + "GET", + "/webhook-subscriptions", + ); + if (!Array.isArray(result.subscriptions)) + throw new Error("Cannot reconcile webhook subscriptions"); + for (const entry of result.subscriptions) { + const subscription = object(entry); + if (subscription.target_url === targetUrl) + await platform( + fetcher, + origin, + apiToken, + "DELETE", + `/webhook-subscriptions/${encodeURIComponent(string(subscription.id))}`, + ); + } + } + const reaction = (value: unknown) => + ({ + heart: "love", + thumbsup: "like", + thumbsdown: "dislike", + "!!": "emphasize", + "?": "question", + "👍": "like", + "❤️": "love", + "❤": "love", + "😂": "laugh", + "👎": "dislike", + "‼️": "emphasize", + "❓": "question", + })[string(value)] ?? string(value); + const specs = [ + ["addReaction", { emoji: { type: "string" } }, ["emoji"]], + ["removeReaction", { emoji: { type: "string" } }, ["emoji"]], + ["getThread", {limit:{type:"integer",minimum:1,maximum:100},order:{type:"string",enum:["asc","desc"]}}, []], + [ + "createPoll", + { + options: { + type: "array", + items: { + oneOf: [ + { type: "string" }, + { + type: "object", + properties: { text: { type: "string" } }, + required: ["text"], + additionalProperties: false, + }, + ], + }, + minItems: 2, + }, + }, + ["options"], + ], + [ + "addPollOptions", + { + options: { + type: "array", + items: { + oneOf: [ + { type: "string" }, + { + type: "object", + properties: { text: { type: "string" } }, + required: ["text"], + additionalProperties: false, + }, + ], + }, + minItems: 1, + }, + }, + ["options"], + ], + [ + "votePoll", + { + option_id: { type: "string" }, + operation: { type: "string", enum: ["add", "remove"] }, + }, + ["option_id", "operation"], + ], + ] as const; + const sessionTools: ProviderSessionTool[] = specs.map( + ([name, properties, required]) => { + async function execute( + input: ProviderObject, + context: ProviderContext, + ): Promise { + const session = context.session; + if (!session) throw new Error("Session context is required"); + const prior = host.store.getEffect( + context.connectionId, + session.executionId, + ); + if (name !== "getThread" && prior) return prior; + const chatId = encodeURIComponent( + string(object(session.providerThread).chat_id), + ); + const messageId = encodeURIComponent(session.externalMessageId); + let method = "POST"; + let path: string; + let body: ProviderObject | undefined; + switch (name) { + case "getThread": + method = "GET"; + const query=new URLSearchParams(); + if (typeof input.limit==="number") query.set("limit",String(input.limit)); + if (typeof input.order==="string") query.set("order",input.order); + path = `/chats/${chatId}/messages${query.size?`?${query}`:""}`; + break; + case "addReaction": + case "removeReaction": + path = `/messages/${messageId}/reactions`; + body = { + operation: name === "addReaction" ? "add" : "remove", + type: reaction(input.emoji), + }; + break; + case "createPoll": + path = `/chats/${chatId}/polls`; + body = { + poll: { + options: (input.options as unknown[]).map((value) => + typeof value === "string" ? { text: value } : object(value), + ), + idempotency_key: session.executionId, + }, + }; + break; + case "addPollOptions": + path = `/messages/${messageId}/poll/options`; + body = { + options: (input.options as unknown[]).map((value) => + typeof value === "string" ? { text: value } : object(value), + ), + idempotency_key: session.executionId, + }; + break; + case "votePoll": + path = `/messages/${messageId}/poll/votes`; + body = { + option_id: string(input.option_id), + operation: string(input.operation), + idempotency_key: session.executionId, + }; + break; + } + const result = await platform( + fetcher, + origin, + token(context), + method, + path, + body, + name === "getThread" ? undefined : session.executionId, + ); + if (name !== "getThread") + host.store.saveEffect( + context.connectionId, + session.executionId, + result, + ); + return result; + } + return { + name, + description: `${name} in the current Linq conversation`, + readOnly: name === "getThread", + inputSchema: { + type: "object", + properties: properties as ProviderObject, + required: [...required], + additionalProperties: false, + }, + outputSchema: { type: "object" }, + execute, + reconcile: async (input, context) => { + const id = string(context.session?.executionId); + const receipt = host.store.getEffect(context.connectionId, id); + if (receipt) return { status: "applied", result: receipt }; + if ( + name === "createPoll" || + name === "addPollOptions" || + name === "votePoll" + ) + return { status: "applied", result: await execute(input, context) }; + if (name === "addReaction" || name === "removeReaction") { + // Linq documents is_me and per-part reactions; absent data is not proof of absence. + // https://docs.linqapp.com/channel/imessage/api/resources/messages/methods/retrieve/ + const message = await platform( + fetcher, + origin, + token(context), + "GET", + `/messages/${encodeURIComponent(string(context.session?.externalMessageId))}`, + ); + const firstPart = + Array.isArray(message.parts) && message.parts[0] + ? object(message.parts[0]) + : undefined; + const reactions = firstPart?.reactions ?? message.reactions; + if (!Array.isArray(reactions)) + return { + status: "uncertain", + reason: "Platform omitted reaction state", + }; + const present = reactions.some((value) => { + const item = object(value); + return item.is_me === true && item.type === reaction(input.emoji); + }); + if ( + (name === "addReaction" && present) || + (name === "removeReaction" && !present) + ) { + const result = { reconciled: true }; + host.store.saveEffect(context.connectionId, id, result); + return { status: "applied", result }; + } + return { status: "absent" }; + } + return { + status: "uncertain", + reason: "Platform outcome is not established", + }; + }, + }; + }, + ); + async function deliver(input: ProviderDelivery, context: ProviderContext) { + const chatId = encodeURIComponent( + string(object(input.providerThread).chat_id), + ); + const result = await platform( + fetcher, + origin, + token(context), + "POST", + `/chats/${chatId}/messages`, + { + message: { + parts: [ + { type: "text", value: input.body }, + ...input.attachments.map((file) => ({ + type: "media", + url: file.url, + })), + ], + }, + }, + input.deliveryId, + ); + return { externalMessageId: string(object(result.message).id) }; + } + const definition = defineChatKitProvider({ + version: "1", + displayName: "Linq (TypeScript)", + description: + "iMessage, RCS and SMS with session-scoped reactions and polls", + configurationSchema: { + type: "object", + properties: { + phone_numbers: { type: "array", items: { type: "string" } }, + subscription_id: { type: "string" }, + }, + required: ["subscription_id"], + additionalProperties: false, + }, + authMethods: [ + { + id: "api_token", + displayName: "Linq API token", + description: "Use a token for an account or selected phone-line pool", + fields: [ + { + name: "api_token", + label: "API token", + fieldType: "password" as const, + required: true, + }, + { + name: "phone_numbers", + label: "Phone-line filters", + fieldType: "text" as const, + }, + ], + }, + ], + capabilities: { + inbound: true, + delivery: true, + attachments: true, + identity: true, + maxLength: 1600, + }, + subscriptions: ["message.received"], + setup: { + start: configure, + resume: configure, + credentialsUpdated: async ( + input: { runtimeToken: string }, + context: ProviderContext, + ) => { + host.store.saveConnection(context.connectionId, { + ...host.store.getConnection(context.connectionId), + runtimeToken: input.runtimeToken, + }); + }, + disconnect: async (context: ProviderContext) => { + const prior = host.store.findConnection(context.connectionId); + if (!prior) return; + const apiToken = string( + context.secrets.api_token ?? prior.secrets.api_token, + ); + const subscription = + context.configuration.subscription_id ?? + prior.configuration.subscription_id; + if (typeof subscription === "string") + await platform( + fetcher, + origin, + apiToken, + "DELETE", + `/webhook-subscriptions/${encodeURIComponent(subscription)}`, + ); + else + await removeOwnedSubscriptions( + apiToken, + `${host.webhookBaseUrl}/${encodeURIComponent(context.connectionId)}`, + ); + host.store.deleteConnection(context.connectionId); + }, + }, + identity: { + register: async (_input: ProviderObject, context: ProviderContext) => { + const lines = Array.isArray(context.configuration.phone_numbers) + ? context.configuration.phone_numbers + : []; + let handle = lines[0]; + if (!handle) { + const response = await platform( + fetcher, + origin, + token(context), + "GET", + "/phone-numbers", + ); + const numbers = response.phone_numbers; + if (!Array.isArray(numbers) || numbers.length !== 1) + throw new Error( + "Select a phone line when registering an agent address for a pool", + ); + handle = object(numbers[0]).phone_number; + } + const account = { handle }; + return { + kind: "mobile_number" as const, + externalId: string(account.handle), + displayName: "Agent", + }; + }, + normalizeMentions: async (input: ProviderObject) => + (Array.isArray(input.tags) ? input.tags : []) + .filter( + (tag): tag is string => + typeof tag === "string" && /^\+[1-9]\d{6,14}$/.test(tag), + ) + .map((tag) => ({ + kind: "mobile_number" as const, + externalId: tag, + displayName: tag, + })), + }, + messaging: { + prepareSend: async () => ({}), + deliver, + reconcile: async (input: ProviderDelivery, context: ProviderContext) => ({ + status: "applied" as const, + result: await deliver(input, context), + }), + }, + sessionTools, + }); + async function webhook( + connectionId: string, + request: Request, + ): Promise { + const state = host.store.getConnection(connectionId); + const event = await verifyPlatformWebhook( + request, + string(state.secrets.webhook_secret), + "webhook", + ); + if (event.event_type !== "message.received") + return new Response(null, { status: 204 }); + const data = object(event.data); + const chat = object(data.chat); + const owner = object(chat.owner_handle); + const sender = object(data.sender_handle); + const filters = Array.isArray(state.configuration.phone_numbers) + ? state.configuration.phone_numbers + : []; + if (filters.length && !filters.includes(string(owner.handle))) + return new Response(null, { status: 204 }); + const eventId = string(event.event_id); + const client = runtime(host, connectionId, state); + let draft = host.store.getEvent(connectionId, eventId); + if (!draft) { + const chatId = string(chat.id); + const providerThread = { + chat_id: chatId, + owner_handle: string(owner.handle), + }; + const session = await client.ensureConversation({ + conversationKey: chatId, + providerThread, + }); + const texts: string[] = []; + const attachmentIds: string[] = []; + for (const value of Array.isArray(data.parts) ? data.parts : []) { + const part = object(value); + if (part.type === "text" && typeof part.value === "string") + texts.push(part.value); + if (part.type === "media" && typeof part.url === "string") { + const download = await attachmentContent(host, part.url); + const upload = await client.uploadAttachment({ + sessionId: session.sessionId, + content: download.content, + mediaType: download.mediaType, + }); + attachmentIds.push(upload.attachmentId); + } + } + draft = host.store.saveEvent(connectionId, { + eventId, + externalMessageId: string(data.id), + conversationKey: chatId, + sender: { + externalId: string(sender.handle), + displayName: string(sender.handle), + kind: "mobile_number", + }, + text: texts.join("\n"), + attachmentIds, + providerThread, + providerMetadata: data, + }); + } + await client.ingest(draft); + return new Response(null, { status: 202 }); + } + return { definition, webhook }; +} diff --git a/packages/sdk/examples/custom-chatkit/server.ts b/packages/sdk/examples/custom-chatkit/server.ts new file mode 100644 index 00000000..658ae78c --- /dev/null +++ b/packages/sdk/examples/custom-chatkit/server.ts @@ -0,0 +1,89 @@ +import { createServer } from "node:http"; +import { Readable } from "node:stream"; +import { chatKitProviderEndpoint } from "@trytilde/sdk/chatkit-provider"; +import { agentMailProvider } from "./agentmail"; +import { linqProvider } from "./linq"; +import { ProviderStore } from "./store"; + +function required(name: string): string { + const value = process.env[name]; + if (!value) throw new Error(`${name} is required`); + return value; +} +const kind = required("CHATKIT_PROVIDER"); +if (kind !== "linq" && kind !== "agentmail") + throw new Error("CHATKIT_PROVIDER must be linq or agentmail"); +const publicUrl = new URL(required("PROVIDER_PUBLIC_URL")); +const store = new ProviderStore( + required("PROVIDER_STORE_PATH"), + Buffer.from(required("PROVIDER_STORE_KEY"), "base64"), +); +const host = { + store, + apiBaseUrl: required("TILDE_API_URL"), + webhookBaseUrl: new URL("/webhooks", publicUrl).toString(), +}; +const adapter = kind === "linq" ? linqProvider(host) : agentMailProvider(host); +const endpoint = chatKitProviderEndpoint({ + provider: adapter.definition, + definitionId: required("TILDE_PROVIDER_ID"), + signingKey: required("TILDE_PROVIDER_SIGNING_KEY"), + endpointUrl: new URL("/provider", publicUrl).toString(), +}); +const server = createServer(async (incoming, outgoing) => { + try { + const url = new URL(incoming.url ?? "/", publicUrl); + const chunks: Buffer[] = []; + let size = 0; + for await (const chunk of incoming) { + size += chunk.length; + if (size > 1024 * 1024) { + outgoing.writeHead(413).end(); + return; + } + chunks.push(Buffer.from(chunk)); + } + const headers = new Headers(); + for (const [name, value] of Object.entries(incoming.headers)) { + if (typeof value === "string") headers.set(name, value); + else if (value) for (const entry of value) headers.append(name, entry); + } + const request = new Request(url, { + method: incoming.method ?? "GET", + headers, + ...(incoming.method === "POST" ? { body: Buffer.concat(chunks) } : {}), + }); + let response: Response; + if (url.pathname === "/provider" && request.method === "GET") + response = await endpoint.GET(request); + else if (url.pathname === "/provider" && request.method === "POST") + response = await endpoint.POST(request); + else if ( + url.pathname.startsWith("/webhooks/") && + request.method === "POST" + ) { + response = await adapter.webhook( + decodeURIComponent(url.pathname.slice("/webhooks/".length)), + request, + ); + } else response = new Response(null, { status: 404 }); + outgoing.writeHead(response.status, Object.fromEntries(response.headers)); + if (response.body) + Readable.fromWeb( + response.body as import("node:stream/web").ReadableStream, + ).pipe(outgoing); + else outgoing.end(); + } catch { + // Callback errors can contain private recipient data or credentials. + outgoing.writeHead(500).end("Provider request failed"); + } +}); +server.requestTimeout = 30_000; +server.listen(Number(process.env.PORT ?? 8787), "127.0.0.1"); +for (const signal of ["SIGINT", "SIGTERM"] as const) + process.once(signal, () => { + server.close(() => { + store.close(); + process.exit(0); + }); + }); diff --git a/packages/sdk/examples/custom-chatkit/shared.ts b/packages/sdk/examples/custom-chatkit/shared.ts new file mode 100644 index 00000000..64e13cc3 --- /dev/null +++ b/packages/sdk/examples/custom-chatkit/shared.ts @@ -0,0 +1,221 @@ +import { createHmac, timingSafeEqual } from "node:crypto"; +import { + createProviderRuntimeClient, + type ProviderContext, + type ProviderJson, + type ProviderObject, +} from "@trytilde/sdk/chatkit-provider"; +import type { ProviderStore, StoredConnection } from "./store"; + +export type ProviderHost = { + store: ProviderStore; + apiBaseUrl: string; + webhookBaseUrl: string; + fetch?: typeof fetch; + mediaOrigins?: string[]; +}; +export function object(value: unknown): ProviderObject { + if (value === null || typeof value !== "object" || Array.isArray(value)) + throw new Error("Expected an object"); + return value as ProviderObject; +} +export function string(value: unknown): string { + if (typeof value !== "string" || !value) + throw new Error("Required string is missing"); + return value; +} +export function form(input: ProviderObject): ProviderObject { + const values = object(input.form_values ?? input.input ?? {}); + return object(values.configFields ?? values); +} +export function runtime( + host: ProviderHost, + connectionId: string, + state: StoredConnection, +) { + return createProviderRuntimeClient({ + baseUrl: host.apiBaseUrl, + orgSubdomain: false, + orgId: state.orgId, + teamId: state.teamId, + connectionId, + token: state.runtimeToken, + ...(host.fetch ? { fetch: host.fetch } : {}), + }); +} +export function stored( + context: ProviderContext, + runtimeToken: string, +): StoredConnection { + return { + orgId: context.orgId, + teamId: context.teamId, + runtimeToken, + configuration: context.configuration, + secrets: context.secrets, + }; +} +export async function platform( + fetcher: typeof fetch, + origin: string, + token: string, + method: string, + path: string, + body?: ProviderJson, + key?: string, +): Promise { + const response = await fetcher(`${origin}${path}`, { + method, + headers: { + Authorization: `Bearer ${token}`, + "Content-Type": "application/json", + ...(key ? { "Idempotency-Key": key } : {}), + }, + ...(body === undefined ? {} : { body: JSON.stringify(body) }), + }); + if (method === "DELETE" && response.status === 404) return {}; + if (!response.ok) + throw new Error(`Platform operation failed with HTTP ${response.status}`); + if (response.status === 204) return {}; + return object(await response.json()); +} +/** Standard Webhooks and Svix sign the ID, timestamp, and exact raw body. */ +export async function verifyPlatformWebhook( + request: Request, + secret: string, + family: "webhook" | "svix", +): Promise { + const id = string(request.headers.get(`${family}-id`)); + const timestamp = string(request.headers.get(`${family}-timestamp`)); + if ( + !/^\d+$/.test(timestamp) || + Math.abs(Date.now() / 1000 - Number(timestamp)) > 300 + ) + throw new Error("Webhook timestamp outside tolerance"); + const reader = request.body?.getReader(); + const chunks: Uint8Array[] = []; + let length = 0; + if (reader) { + try { + for (;;) { + const item = await reader.read(); + if (item.done) break; + length += item.value.length; + if (length > 1024 * 1024) { + await reader.cancel(); + throw new Error("Webhook body too large"); + } + chunks.push(item.value); + } + } finally { + reader.releaseLock(); + } + } + const body = Buffer.concat(chunks); + const expected = createHmac( + "sha256", + Buffer.from(secret.replace(/^whsec_/, ""), "base64"), + ) + .update(`${id}.${timestamp}.`) + .update(body) + .digest(); + const verified = (request.headers.get(`${family}-signature`) ?? "") + .split(/\s+/) + .some((candidate) => { + const [version, signature] = candidate.split(","); + if (version !== "v1" || !signature) return false; + const bytes = Buffer.from(signature, "base64"); + return ( + bytes.length === expected.length && timingSafeEqual(bytes, expected) + ); + }); + if (!verified) throw new Error("Invalid platform webhook signature"); + return object(JSON.parse(body.toString("utf8"))); +} +/** Remove hidden email recipients recursively before returning shared tool/history data. */ +export function publicMail(value: ProviderJson): ProviderJson { + if (Array.isArray(value)) + return value + .filter( + (item) => + !( + item && + typeof item === "object" && + !Array.isArray(item) && + typeof item.name === "string" && + item.name.toLowerCase() === "bcc" + ), + ) + .map(publicMail); + if (value && typeof value === "object") + return Object.fromEntries( + Object.entries(value) + .filter(([key]) => key.toLowerCase() !== "bcc") + .map(([key, item]) => [key, publicMail(item)]), + ); + return value; +} + +/** Download only from provider storage origins, checking each redirect and bounding memory. */ +export async function attachmentContent( + host: ProviderHost, + inputUrl: string, +): Promise<{ content: Uint8Array; mediaType: string }> { + let url = new URL(inputUrl); + for (let redirects = 0; redirects <= 3; redirects++) { + const trusted = + url.protocol === "https:" && + (url.hostname === "cdn.linqapp.com" || + url.hostname === "api.agentmail.to" || + /\.s3(?:[.-][a-z0-9-]+)?\.amazonaws\.com$/.test(url.hostname) || + url.hostname.endsWith(".r2.cloudflarestorage.com") || + url.hostname.endsWith(".r2.dev")); + if ( + url.username || + url.password || + (!trusted && !host.mediaOrigins?.includes(url.origin)) + ) + throw new Error("Attachment origin is not allowed"); + const response = await (host.fetch ?? fetch)(url, { redirect: "manual" }); + if ( + response.status >= 300 && + response.status < 400 && + response.headers.has("location") + ) { + await response.body?.cancel(); + url = new URL(response.headers.get("location")!, url); + continue; + } + if (!response.ok || !response.body) + throw new Error("Attachment download failed"); + const reader = response.body.getReader(); + const pieces: Uint8Array[] = []; + let size = 0; + try { + for (;;) { + const { done, value } = await reader.read(); + if (done) break; + size += value.length; + if (size > 32 * 1024 * 1024) { + await reader.cancel(); + throw new Error("Attachment exceeds 32 MiB"); + } + pieces.push(value); + } + } finally { + reader.releaseLock(); + } + const content = new Uint8Array(size); + let offset = 0; + for (const piece of pieces) { + content.set(piece, offset); + offset += piece.length; + } + return { + content, + mediaType: + response.headers.get("content-type") ?? "application/octet-stream", + }; + } + throw new Error("Too many attachment redirects"); +} diff --git a/packages/sdk/examples/custom-chatkit/store.ts b/packages/sdk/examples/custom-chatkit/store.ts new file mode 100644 index 00000000..8a9034e8 --- /dev/null +++ b/packages/sdk/examples/custom-chatkit/store.ts @@ -0,0 +1,163 @@ +import { createCipheriv, createDecipheriv, randomBytes } from "node:crypto"; +import { chmodSync, mkdirSync } from "node:fs"; +import { dirname } from "node:path"; +import { DatabaseSync } from "node:sqlite"; +import type { + ProviderInboundMessage, + ProviderObject, +} from "@trytilde/sdk/chatkit-provider"; + +export type StoredConnection = { + orgId: string; + teamId: string; + runtimeToken: string; + configuration: ProviderObject; + secrets: ProviderObject; +}; + +/** Durable connection state and ingress drafts, encrypted using the host's key. */ +export class ProviderStore { + private readonly db: DatabaseSync; + constructor( + filename: string, + private readonly encryptionKey: Uint8Array, + ) { + if (encryptionKey.byteLength !== 32) + throw new Error("Provider store requires a 32-byte encryption key"); + if (filename !== ":memory:") + mkdirSync(dirname(filename), { recursive: true, mode: 0o700 }); + this.db = new DatabaseSync(filename); + if (filename !== ":memory:") chmodSync(filename, 0o600); + this.db.exec( + "PRAGMA journal_mode=WAL; PRAGMA busy_timeout=5000; CREATE TABLE IF NOT EXISTS provider_state (kind TEXT NOT NULL, id TEXT NOT NULL, payload TEXT NOT NULL, PRIMARY KEY(kind,id));", + ); + } + private encode(value: unknown): string { + const iv = randomBytes(12); + const cipher = createCipheriv("aes-256-gcm", this.encryptionKey, iv); + const body = Buffer.concat([ + cipher.update(JSON.stringify(value), "utf8"), + cipher.final(), + ]); + return Buffer.concat([iv, cipher.getAuthTag(), body]).toString("base64"); + } + private decode(payload: string): T { + const data = Buffer.from(payload, "base64"); + const decipher = createDecipheriv( + "aes-256-gcm", + this.encryptionKey, + data.subarray(0, 12), + ); + decipher.setAuthTag(data.subarray(12, 28)); + return JSON.parse( + Buffer.concat([ + decipher.update(data.subarray(28)), + decipher.final(), + ]).toString("utf8"), + ) as T; + } + getConnection(id: string): StoredConnection { + const row = this.db + .prepare( + "SELECT payload FROM provider_state WHERE kind='connection' AND id=?", + ) + .get(id); + if (!row) throw new Error("Provider connection not found"); + return this.decode(String(row.payload)); + } + findConnection(id: string): StoredConnection | undefined { + const row = this.db + .prepare( + "SELECT payload FROM provider_state WHERE kind='connection' AND id=?", + ) + .get(id); + return row ? this.decode(String(row.payload)) : undefined; + } + saveConnection(id: string, value: StoredConnection): void { + this.db + .prepare( + "INSERT INTO provider_state(kind,id,payload) VALUES('connection',?,?) ON CONFLICT(kind,id) DO UPDATE SET payload=excluded.payload", + ) + .run(id, this.encode(value)); + } + deleteConnection(id: string): void { + this.db + .prepare("DELETE FROM provider_state WHERE kind='connection' AND id=?") + .run(id); + } + getEvent( + connectionId: string, + eventId: string, + ): ProviderInboundMessage | undefined { + const row = this.db + .prepare("SELECT payload FROM provider_state WHERE kind='event' AND id=?") + .get(JSON.stringify([connectionId, eventId])); + return row + ? this.decode(String(row.payload)) + : undefined; + } + /** A concurrent webhook retry adopts the first durable normalized payload. */ + saveEvent( + connectionId: string, + value: ProviderInboundMessage, + ): ProviderInboundMessage { + const id = JSON.stringify([connectionId, value.eventId]); + this.db + .prepare( + "INSERT INTO provider_state(kind,id,payload) VALUES('event',?,?) ON CONFLICT(kind,id) DO NOTHING", + ) + .run(id, this.encode(value)); + const saved = this.getEvent(connectionId, value.eventId); + if (!saved) throw new Error("Event was not persisted"); + return saved; + } + getEffect( + connectionId: string, + executionId: string, + ): ProviderObject | undefined { + const row = this.db + .prepare( + "SELECT payload FROM provider_state WHERE kind='effect' AND id=?", + ) + .get(JSON.stringify([connectionId, executionId])); + return row ? this.decode(String(row.payload)) : undefined; + } + saveEffect( + connectionId: string, + executionId: string, + value: ProviderObject, + ): void { + this.db + .prepare( + "INSERT INTO provider_state(kind,id,payload) VALUES('effect',?,?) ON CONFLICT(kind,id) DO NOTHING", + ) + .run(JSON.stringify([connectionId, executionId]), this.encode(value)); + } + getDelivery( + id: string, + ): { startedAt: number; route: string; body: ProviderObject } | undefined { + const row = this.db + .prepare( + "SELECT payload FROM provider_state WHERE kind='delivery' AND id=?", + ) + .get(id); + return row ? this.decode(String(row.payload)) : undefined; + } + prepareDelivery( + id: string, + route: string, + body: ProviderObject, + ): { startedAt: number; route: string; body: ProviderObject } { + this.db + .prepare( + "INSERT INTO provider_state(kind,id,payload) VALUES('delivery',?,?) ON CONFLICT(kind,id) DO NOTHING", + ) + .run(id, this.encode({ startedAt: Date.now(), route, body })); + const saved = this.getDelivery(id); + if (!saved) throw new Error("Delivery intent was not persisted"); + return saved; + } + close(): void { + this.db.close(); + } +} diff --git a/packages/sdk/examples/custom-chatkit/streaming-chat.ts b/packages/sdk/examples/custom-chatkit/streaming-chat.ts new file mode 100644 index 00000000..2b086a03 --- /dev/null +++ b/packages/sdk/examples/custom-chatkit/streaming-chat.ts @@ -0,0 +1,104 @@ +import type { Client } from "@trytilde/sdk"; + +/** + * A custom SSE protocol over canonical ChatKit sessions. Authenticate must return + * a client bound to the requesting user, never a shared administrator credential. + * The API rechecks session membership and audience visibility throughout the stream. + */ +export function streamingChatTransport( + authenticate: (request: Request) => Promise, +) { + return async (request: Request): Promise => { + const client = await authenticate(request); + if (request.method === "POST") { + const input = (await request.json()) as { + agentId?: unknown; + sessionId?: unknown; + text?: unknown; + }; + if (typeof input.agentId !== "string" || typeof input.text !== "string") + return Response.json( + { error: "agentId and text are required" }, + { status: 400 }, + ); + return Response.json( + await client.chatkit.submitTurn({ + agentId: input.agentId, + text: input.text, + ...(typeof input.sessionId === "string" + ? { sessionId: input.sessionId } + : {}), + }), + ); + } + if (request.method !== "GET") return new Response(null, { status: 405 }); + const url = new URL(request.url); + const sessionId = url.searchParams.get("sessionId"); + if (!sessionId) + return Response.json({ error: "sessionId is required" }, { status: 400 }); + const after = + request.headers.get("Last-Event-ID") ?? + url.searchParams.get("afterRevision"); + if (after !== null && !/^\d+$/.test(after)) + return Response.json({ error: "Invalid cursor" }, { status: 400 }); + const abort = new AbortController(); + const stop = () => abort.abort(); + request.signal.addEventListener("abort", stop, { once: true }); + if (request.signal.aborted) stop(); + const encoder = new TextEncoder(); + const iterator = client.chatkit.streamSessionEvents({ + sessionId, + ...(after ? { afterRevision: Number(after) } : {}), + signal: abort.signal, + }); + // Fetch the first frame before returning HTTP 200 so authorization errors remain errors. + let first: Awaited>; + try { + first = await iterator.next(); + } catch (error) { + stop(); + request.signal.removeEventListener("abort", stop); + throw error; + } + let pending: typeof first | undefined = first; + const body = new ReadableStream({ + async pull(controller) { + try { + const frame = pending ?? (await iterator.next()); + pending = undefined; + if (frame.done) { + controller.close(); + stop(); + request.signal.removeEventListener("abort", stop); + return; + } + const value = frame.value; + const payload = + value.type === "event" + ? { kind: "conversationEvent", data: value.event } + : { kind: "cursor", revision: value.cursor }; + controller.enqueue( + encoder.encode( + `id: ${value.cursor}\ndata: ${JSON.stringify(payload)}\n\n`, + ), + ); + } catch (error) { + controller.error(error); + stop(); + request.signal.removeEventListener("abort", stop); + } + }, + async cancel() { + stop(); + request.signal.removeEventListener("abort", stop); + await iterator.return(undefined); + }, + }); + return new Response(body, { + headers: { + "Content-Type": "text/event-stream", + "Cache-Control": "no-cache", + }, + }); + }; +} diff --git a/packages/sdk/examples/custom-chatkit/tsconfig.json b/packages/sdk/examples/custom-chatkit/tsconfig.json new file mode 100644 index 00000000..99964206 --- /dev/null +++ b/packages/sdk/examples/custom-chatkit/tsconfig.json @@ -0,0 +1,5 @@ +{ + "extends": "../../../../tsconfig.node.json", + "compilerOptions": { "noEmit": true }, + "include": ["*.ts"] +} diff --git a/packages/sdk/package.json b/packages/sdk/package.json index eb72a414..3560cf4a 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -37,6 +37,11 @@ "types": "./src/proxy.ts", "development": "./src/proxy.ts", "import": "./dist/proxy.js" + }, + "./chatkit-provider": { + "types": "./src/chatkit-provider/index.ts", + "development": "./src/chatkit-provider/index.ts", + "import": "./dist/chatkit-provider/index.js" } }, "publishConfig": { @@ -56,6 +61,10 @@ "./proxy": { "types": "./dist/proxy.d.ts", "import": "./dist/proxy.js" + }, + "./chatkit-provider": { + "types": "./dist/chatkit-provider/index.d.ts", + "import": "./dist/chatkit-provider/index.js" } }, "access": "public" @@ -71,7 +80,8 @@ }, "dependencies": { "@trytilde/api-client": "workspace:*", - "nice-grpc": "2.1.16" + "nice-grpc": "2.1.16", + "ajv": "8.20.0" }, "devDependencies": { "@types/node": "24.3.0", diff --git a/packages/sdk/src/chatkit-provider/endpoint.ts b/packages/sdk/src/chatkit-provider/endpoint.ts new file mode 100644 index 00000000..52aba706 --- /dev/null +++ b/packages/sdk/src/chatkit-provider/endpoint.ts @@ -0,0 +1,493 @@ +import Ajv from "ajv"; +import type { + ChatKitProviderDefinition, + ProviderContext, + ProviderDelivery, + ProviderDeliveryOptions, + ProviderField, + ProviderObject, + ProviderSetupResult, +} from "./types"; + +const reserved = new Set([ + "sendMessage", + "listAgents", + "delegate", + "waitForResponse", + "listParticipants", +]); +const bound = new Set([ + "orgid", + "teamid", + "definitionid", + "connectionid", + "sessionid", + "agentinboxinstanceid", + "targetinboxinstanceid", + "triggermessageid", + "executionid", + "idempotencykey", +]); +const schemas = new Ajv({ strict: false, allErrors: true }); +const MAX_BODY_BYTES = 1024 * 1024; + +/** Protocol failures contain no request, credential, or provider exception payload. */ +export class ProviderProtocolError extends Error { + constructor( + message: string, + readonly status = 400, + ) { + super(message); + this.name = "ProviderProtocolError"; + } +} + +/** Validate a complete provider implementation before exposing discovery. */ +export function defineChatKitProvider(definition: T): T { + if (!definition.version.trim() || !definition.displayName.trim()) + throw new TypeError("Provider version and displayName are required"); + if (definition.configurationSchema.type !== "object") + throw new TypeError("configurationSchema must describe an object"); + schemas.compile(definition.configurationSchema); + if (definition.capabilities.delivery && !definition.messaging) + throw new TypeError("Delivery requires prepareSend, deliver, and reconcile handlers"); + if (definition.capabilities.identity && !definition.identity) + throw new TypeError("Identity capability requires identity handlers"); + if (definition.capabilities.toolkit && !definition.setup.toolkitConfigured) + throw new TypeError("Associated toolkits require a toolkitConfigured handler"); + const names = new Set(); + for (const tool of definition.sessionTools ?? []) { + if (!/^[A-Za-z0-9_]+$/.test(tool.name) || reserved.has(tool.name) || names.has(tool.name)) + throw new TypeError("Invalid, duplicate, or reserved session tool name"); + names.add(tool.name); + if (tool.inputSchema.type !== "object") + throw new TypeError("Session tool input schema must describe an object"); + for (const field of Object.keys(asObject(tool.inputSchema.properties ?? {}))) { + if (bound.has(field.replaceAll("_", "").toLowerCase())) + throw new TypeError("Tool schema exposes trusted context"); + } + schemas.compile(tool.inputSchema); + schemas.compile(tool.outputSchema); + if (!tool.readOnly && !tool.reconcile) + throw new TypeError(`Mutation ${tool.name} requires reconciliation`); + } + return definition; +} + +export type ChatKitProviderEndpointOptions = { + provider: ChatKitProviderDefinition; + signingKey: string; + /** Fixed registered endpoint; never derive the manifest target from Host headers. */ + endpointUrl: string; + /** Bind invocations to the registration that issued signingKey. */ + definitionId: string; + toleranceSeconds?: number; +}; + +/** Signed discovery and invocation handlers for any Fetch-compatible server. */ +export function chatKitProviderEndpoint(options: ChatKitProviderEndpointOptions): { + GET(request: Request): Promise; + POST(request: Request): Promise; +} { + const definition = defineChatKitProvider(options.provider); + const url = new URL(options.endpointUrl); + if (!["https:", "http:"].includes(url.protocol) || url.username || url.password || url.hash) + throw new TypeError("Invalid endpointUrl"); + if (!options.signingKey || !options.definitionId) + throw new TypeError("signingKey and definitionId are required"); + const tools = new Map((definition.sessionTools ?? []).map((tool) => [tool.name, tool])); + const manifest = { + protocol_version: 1, + version: definition.version, + display_name: definition.displayName, + description: definition.description, + invoke_url: url.toString(), + configuration_schema: definition.configurationSchema, + fields: (definition.fields ?? []).map(wireField), + auth_methods: (definition.authMethods ?? []).map((method) => ({ + id: method.id, + display_name: method.displayName, + description: method.description, + fields: method.fields.map(wireField), + })), + subscriptions: definition.subscriptions ?? [], + capabilities: { + toolkit: definition.capabilities.toolkit ?? false, + inbound: definition.capabilities.inbound ?? false, + delivery: definition.capabilities.delivery ?? false, + identity: definition.capabilities.identity ?? false, + streaming: definition.capabilities.streaming ?? false, + markdown: definition.capabilities.markdown ?? false, + html: definition.capabilities.html ?? false, + attachments: definition.capabilities.attachments ?? false, + max_length: definition.capabilities.maxLength ?? null, + }, + session_tools: [...tools.values()].map((tool) => ({ + name: tool.name, + description: tool.description, + input_schema: tool.inputSchema, + output_schema: tool.outputSchema, + read_only: tool.readOnly ?? false, + })), + }; + async function handle(request: Request, discovery: boolean): Promise { + try { + if (request.method !== (discovery ? "GET" : "POST")) + throw new ProviderProtocolError("Method not allowed", 405); + const body = await verify(request, options); + if (discovery) return Response.json(manifest); + let decoded: unknown; + try { + decoded = JSON.parse(new TextDecoder().decode(body)); + } catch { + throw new ProviderProtocolError("Invalid JSON"); + } + const envelope = asObject(decoded); + if (envelope.protocol_version !== 1 || envelope.manifest_version !== definition.version) + throw new ProviderProtocolError("Unsupported provider version", 409); + const scope = asObject(envelope.scope); + if (scope.definition_id !== options.definitionId) + throw new ProviderProtocolError("Incorrect provider registration", 403); + const context = decodeContext(envelope, request.signal); + const input = asObject(envelope.input ?? {}); + let result: unknown; + switch (envelope.operation) { + case "setup_start": + result = wireSetup(await definition.setup.start(input, context)); + break; + case "setup_resume": + result = wireSetup(await definition.setup.resume(input, context)); + break; + case "disconnect": + await definition.setup.disconnect(context); + result = {}; + break; + case "toolkit_configured": + if (!definition.setup.toolkitConfigured) + throw new ProviderProtocolError("Associated toolkit handler is unavailable", 422); + await definition.setup.toolkitConfigured( + { + toolGroupInstanceId: text(input.tool_group_instance_id), + signingKey: text(input.signing_key), + }, + context, + ); + result = { acknowledged: true }; + break; + case "runtime_credentials_updated": + if (!definition.setup.credentialsUpdated) + throw new ProviderProtocolError("Credential notification is unsupported", 422); + await definition.setup.credentialsUpdated( + { runtimeToken: text(input.runtime_token) }, + context, + ); + result = { acknowledged: true }; + break; + case "register_identity": { + if (!definition.identity) throw new ProviderProtocolError("Unsupported capability", 422); + result = wireIdentity(await definition.identity.register(input, context)); + break; + } + case "normalize_mentions": { + if (!definition.identity) throw new ProviderProtocolError("Unsupported capability", 422); + result = (await definition.identity.normalizeMentions(input, context)).map(wireIdentity); + break; + } + case "list_session_tools": { + requireSession(context); + const available: string[] = []; + for (const tool of tools.values()) + if (!tool.available || (await tool.available(context))) available.push(tool.name); + result = { tools: available }; + break; + } + case "invoke_session_tool": + case "reconcile_session_tool": { + requireSession(context); + const tool = tools.get(text(input.name)); + if (!tool || (tool.available && !(await tool.available(context)))) + throw new ProviderProtocolError("Session tool unavailable", 422); + const params = asObject(input.arguments); + for (const key of Object.keys(params)) + if (bound.has(key.replaceAll("_", "").toLowerCase())) + throw new ProviderProtocolError("Tool input contains trusted context"); + if (!schemas.validate(tool.inputSchema, params)) + throw new ProviderProtocolError("Invalid tool input"); + if (envelope.operation === "reconcile_session_tool") { + if (!tool.reconcile) throw new ProviderProtocolError("Reconciliation unavailable", 422); + const outcome = await tool.reconcile(params, context); + if ( + outcome.status === "applied" && + !schemas.validate(tool.outputSchema, outcome.result) + ) + throw new ProviderProtocolError("Invalid reconciled tool output", 502); + result = outcome; + } else { + result = await tool.execute(params, context); + if (!schemas.validate(tool.outputSchema, result)) + throw new ProviderProtocolError("Invalid tool output", 502); + } + break; + } + case "prepare_send": { + requireSession(context); + if (!definition.messaging) throw new ProviderProtocolError("Delivery unavailable", 422); + result = wireDeliveryOptions(await definition.messaging.prepareSend(input, context)); + break; + } + case "deliver": + case "reconcile_delivery": { + if (!definition.messaging) throw new ProviderProtocolError("Delivery unavailable", 422); + const delivery = decodeDelivery(input); + if (envelope.operation === "deliver") { + const outcome = await definition.messaging.deliver(delivery, context); + result = { external_message_id: outcome.externalMessageId ?? null }; + } else { + const outcome = await definition.messaging.reconcile(delivery, context); + result = + outcome.status === "applied" + ? { + status: "applied", + result: { + external_message_id: outcome.result.externalMessageId ?? null, + }, + } + : outcome; + } + break; + } + default: + throw new ProviderProtocolError("Unknown provider operation", 422); + } + return Response.json(result); + } catch (error) { + if (error instanceof ProviderProtocolError) + return Response.json({ error: error.message }, { status: error.status }); + // Provider exceptions often contain platform request headers and recipient data. + return Response.json({ error: "Provider operation failed" }, { status: 500 }); + } + } + return { + GET: (request) => handle(request, true), + POST: (request) => handle(request, false), + }; +} + +async function verify( + request: Request, + options: ChatKitProviderEndpointOptions, +): Promise { + const timestamp = request.headers.get("x-tilde-timestamp") ?? ""; + const signature = request.headers.get("x-tilde-signature") ?? ""; + if (!/^[0-9]+$/.test(timestamp) || !/^hmac-sha256=[0-9a-f]{64}$/.test(signature)) + throw new ProviderProtocolError("Invalid signature", 401); + const seconds = Number(timestamp); + if ( + !Number.isSafeInteger(seconds) || + Math.abs(Date.now() / 1000 - seconds) > (options.toleranceSeconds ?? 300) + ) + throw new ProviderProtocolError("Expired signature", 401); + const reader = request.body?.getReader(); + const chunks: Uint8Array[] = []; + let length = 0; + if (reader) { + try { + for (;;) { + const { done, value } = await reader.read(); + if (done) break; + length += value.length; + if (length > MAX_BODY_BYTES) { + await reader.cancel(); + throw new ProviderProtocolError("Request too large", 413); + } + chunks.push(value); + } + } finally { + reader.releaseLock(); + } + } + const body = new Uint8Array(length); + let offset = 0; + for (const chunk of chunks) { + body.set(chunk, offset); + offset += chunk.length; + } + const prefix = new TextEncoder().encode(`${timestamp}.`); + const signed = new Uint8Array(prefix.length + body.length); + signed.set(prefix); + signed.set(body, prefix.length); + const key = await crypto.subtle.importKey( + "raw", + new TextEncoder().encode(options.signingKey), + { name: "HMAC", hash: "SHA-256" }, + false, + ["verify"], + ); + const digest = Uint8Array.from(signature.slice(12).match(/../g) ?? [], (value) => + Number.parseInt(value, 16), + ); + if (!(await crypto.subtle.verify("HMAC", key, digest, signed))) + throw new ProviderProtocolError("Invalid signature", 401); + return body; +} +function asObject(value: unknown): ProviderObject { + if (value === null || typeof value !== "object" || Array.isArray(value)) + throw new ProviderProtocolError("Expected an object"); + return value as ProviderObject; +} +function text(value: unknown): string { + if (typeof value !== "string" || !value) + throw new ProviderProtocolError("Expected a nonempty string"); + return value; +} +function decodeContext(value: ProviderObject, signal: AbortSignal): ProviderContext { + const scope = asObject(value.scope); + const context: ProviderContext = { + requestId: text(value.request_id), + orgId: text(scope.org_id), + teamId: text(scope.team_id), + definitionId: text(scope.definition_id), + connectionId: text(scope.connection_id), + configuration: asObject(value.configuration ?? {}), + secrets: asObject(value.secrets ?? {}), + signal, + }; + if (value.context) { + const session = asObject(value.context); + context.session = { + participants: (Array.isArray(session.participants) ? session.participants : []).map( + (value) => { + const participant = asObject(value); + return { + instanceId: text(participant.instance_id), + displayName: text(participant.display_name), + externalId: + typeof participant.external_id === "string" ? participant.external_id : null, + isAgent: participant.is_agent === true, + }; + }, + ), + sessionId: text(session.session_id), + agentInboxInstanceId: text(session.agent_inbox_instance_id), + targetInboxInstanceId: text(session.target_inbox_instance_id), + triggerMessageId: text(session.trigger_message_id), + executionId: text(session.execution_id), + conversationKey: text(session.conversation_key), + externalMessageId: text(session.external_message_id), + providerMessage: session.provider_message ?? {}, + providerThread: session.provider_thread ?? {}, + }; + } + return context; +} +function requireSession(context: ProviderContext): void { + if (!context.session) throw new ProviderProtocolError("Session context required", 403); +} +function wireField(field: ProviderField): ProviderObject { + return { + name: field.name, + label: field.label, + field_type: field.fieldType, + required: field.required ?? false, + placeholder: field.placeholder ?? "", + }; +} +function wireIdentity(value: { + externalId: string; + displayName: string; + kind: string; +}): ProviderObject { + return { + external_id: value.externalId, + display_name: value.displayName, + kind: value.kind, + }; +} +function wireSetup(value: ProviderSetupResult): ProviderObject { + let action: ProviderObject; + switch (value.nextAction.type) { + case "submit_form": + action = { + type: "submit_form", + fields: value.nextAction.fields.map(wireField), + submit_label: value.nextAction.submitLabel, + }; + break; + case "render_instructions": + action = { + type: "render_instructions", + markdown: value.nextAction.markdown, + fields: (value.nextAction.fields ?? []).map(wireField), + }; + break; + case "redirect": + action = { type: "redirect", url: value.nextAction.url }; + break; + case "complete": + action = { type: "complete", message: value.nextAction.message ?? null }; + break; + } + return { + toolkit: value.toolkit ? { discovery_url: value.toolkit.discoveryUrl } : null, + next_action: action, + configuration: value.configuration ?? {}, + secrets: value.secrets ?? {}, + continuation: value.continuation ?? null, + }; +} +function wireDeliveryOptions(value: ProviderDeliveryOptions): ProviderObject { + return { + visible_recipients: (value.visibleRecipients ?? []).map(wireIdentity), + to: value.to ?? null, + cc: value.cc ?? null, + bcc: value.bcc ?? null, + subject: value.subject ?? null, + html: value.html ?? null, + reply_all: value.replyAll ?? null, + attachment_ids: value.attachmentIds ?? [], + provider_options: value.providerOptions ?? null, + }; +} +function decodeDelivery(value: ProviderObject): ProviderDelivery { + const options = asObject(value.options ?? {}); + const deliveryOptions: ProviderDeliveryOptions = {}; + for (const key of ["to", "cc", "bcc"] as const) + if (options[key] != null) { + if (!Array.isArray(options[key]) || !options[key].every((v) => typeof v === "string")) + throw new ProviderProtocolError("Invalid delivery recipients"); + deliveryOptions[key] = options[key] as string[]; + } + for (const key of ["subject", "html"] as const) + if (typeof options[key] === "string") deliveryOptions[key] = options[key]; + if (typeof options.reply_all === "boolean") deliveryOptions.replyAll = options.reply_all; + deliveryOptions.providerOptions = options.provider_options ?? null; + if (options.attachment_ids != null) { + if ( + !Array.isArray(options.attachment_ids) || + !options.attachment_ids.every((v) => typeof v === "string") + ) + throw new ProviderProtocolError("Invalid attachment IDs"); + deliveryOptions.attachmentIds = options.attachment_ids as string[]; + } + if (!Number.isSafeInteger(value.attempt) || Number(value.attempt) < 1) + throw new ProviderProtocolError("Invalid delivery attempt"); + return { + ...(typeof value.external_message_id === "string" + ? { externalMessageId: value.external_message_id } + : {}), + providerMessage: value.provider_message ?? null, + deliveryId: text(value.delivery_id), + attempt: Number(value.attempt), + body: typeof value.body === "string" ? value.body : "", + attachments: (Array.isArray(value.attachments) ? value.attachments : []).map((v) => { + const file = asObject(v); + return { + mediaType: text(file.media_type), + url: text(file.url), + ...(typeof file.filename === "string" ? { filename: file.filename } : {}), + }; + }), + options: deliveryOptions, + providerThread: value.provider_thread ?? {}, + }; +} diff --git a/packages/sdk/src/chatkit-provider/index.ts b/packages/sdk/src/chatkit-provider/index.ts new file mode 100644 index 00000000..a2b4a856 --- /dev/null +++ b/packages/sdk/src/chatkit-provider/index.ts @@ -0,0 +1,4 @@ +export type { ChatKitProviderEndpointOptions } from "./endpoint"; +export { chatKitProviderEndpoint, defineChatKitProvider, ProviderProtocolError } from "./endpoint"; +export { createProviderRuntimeClient } from "./runtime"; +export type * from "./types"; diff --git a/packages/sdk/src/chatkit-provider/runtime.ts b/packages/sdk/src/chatkit-provider/runtime.ts new file mode 100644 index 00000000..9509dd20 --- /dev/null +++ b/packages/sdk/src/chatkit-provider/runtime.ts @@ -0,0 +1,189 @@ +import { type Config, createConfig } from "../config"; +import { requestJson } from "../internal/fetch-client"; +import { teamPath } from "../internal/paths"; +import type { + ProviderExternalIdentity, + ProviderInboundMessage, + ProviderJson, + ProviderObject, +} from "./types"; + +/** A connection credential has no general team or user impersonation authority. */ +export function createProviderRuntimeClient( + options: Pick & { + connectionId: string; + token: string; + }, +) { + const config = createConfig({ ...options, bearerToken: options.token }); + const base = + teamPath(config, "/api/v1/team/{team_id}/chatkit/custom-connections") + + `/${encodeURIComponent(options.connectionId)}`; + const command = (body: ProviderObject) => + requestJson(config, { method: "POST", path: `${base}/runtime`, body }); + return { + async registerAgentIdentity(): Promise { + return command({ operation: "register_agent_identity" }); + }, + async normalizeMentions(input: { tags: string[] }): Promise { + return command({ operation: "normalize_mentions", tags: input.tags }); + }, + async ensureConversation(input: { + conversationKey: string; + title?: string; + providerThread?: ProviderJson; + }): Promise<{ sessionId: string }> { + const result = await command<{ session_id: string }>({ + operation: "ensure_conversation", + conversation_key: input.conversationKey, + title: input.title ?? null, + provider_thread: input.providerThread ?? {}, + }); + return { sessionId: result.session_id }; + }, + async upsertParticipant(input: { + sessionId: string; + identity: ProviderExternalIdentity; + }): Promise { + return command({ + operation: "upsert_participant", + session_id: input.sessionId, + identity: { + external_id: input.identity.externalId, + display_name: input.identity.displayName, + kind: input.identity.kind, + }, + }); + }, + async leaveParticipant(input: { sessionId: string; externalId: string }): Promise { + await command({ + operation: "leave_participant", + session_id: input.sessionId, + external_id: input.externalId, + }); + }, + async history(input: { + sessionId: string; + pageSize?: number; + nextPageToken?: string; + }): Promise<{ + messages: { + id: string; + role: string; + text: string; + senderDisplayName: string; + createdAt: string; + }[]; + nextPageToken?: string; + }> { + const result = await command<{ + messages: { + id: string; + role: string; + text: string; + sender_display_name: string; + created_at: string; + }[]; + next_page_token?: string; + }>({ + operation: "history", + session_id: input.sessionId, + page_size: input.pageSize ?? 100, + next_page_token: input.nextPageToken ?? null, + }); + return { + messages: result.messages.map((m) => ({ + id: m.id, + role: m.role, + text: m.text, + senderDisplayName: m.sender_display_name, + createdAt: m.created_at, + })), + ...(result.next_page_token ? { nextPageToken: result.next_page_token } : {}), + }; + }, + async uploadAttachment(input: { + sessionId: string; + content: Uint8Array; + mediaType: string; + filename?: string; + }): Promise<{ attachmentId: string }> { + const result = await command<{ + upload: { + attachment: { id: string }; + upload_url: string; + upload_headers: Record; + }; + }>({ + operation: "create_attachment_upload", + session_id: input.sessionId, + media_type: input.mediaType, + filename: input.filename ?? null, + size_bytes: input.content.byteLength, + }); + const upload = await (options.fetch ?? fetch)(result.upload.upload_url, { + method: "PUT", + headers: result.upload.upload_headers, + body: new Blob([Uint8Array.from(input.content)], { + type: input.mediaType, + }), + }); + if (!upload.ok) throw new Error(`Provider attachment upload failed: ${upload.status}`); + await command({ + operation: "complete_attachment_upload", + session_id: input.sessionId, + attachment_id: result.upload.attachment.id, + size_bytes: input.content.byteLength, + sha256: null, + }); + return { attachmentId: result.upload.attachment.id }; + }, + async attachmentDownload(input: { + sessionId: string; + attachmentId: string; + }): Promise<{ downloadUrl: string; expiresAt: string }> { + const result = await command<{ + download: { download_url: string; expires_at: string }; + }>({ + operation: "attachment_download", + session_id: input.sessionId, + attachment_id: input.attachmentId, + }); + return { + downloadUrl: result.download.download_url, + expiresAt: result.download.expires_at, + }; + }, + async ingest( + message: ProviderInboundMessage, + ): Promise<{ eventId: string; messageId: string; status: string }> { + const raw = await requestJson<{ + event_id: string; + message_id: string; + status: string; + }>(config, { + method: "POST", + path: `${base}/messages`, + body: { + event_id: message.eventId, + conversation_key: message.conversationKey, + external_message_id: message.externalMessageId, + sender: { + external_id: message.sender.externalId, + display_name: message.sender.displayName, + kind: message.sender.kind, + }, + text: message.text, + attachment_ids: message.attachmentIds ?? [], + provider_thread: message.providerThread ?? {}, + provider_metadata: message.providerMetadata ?? {}, + }, + }); + return { + eventId: raw.event_id, + messageId: raw.message_id, + status: raw.status, + }; + }, + }; +} diff --git a/packages/sdk/src/chatkit-provider/types.ts b/packages/sdk/src/chatkit-provider/types.ts new file mode 100644 index 00000000..6a08b506 --- /dev/null +++ b/packages/sdk/src/chatkit-provider/types.ts @@ -0,0 +1,171 @@ +/** JSON carried across the remote-provider boundary. */ +export type ProviderJson = + | null + | boolean + | number + | string + | ProviderJson[] + | { [key: string]: ProviderJson }; +export type ProviderObject = { [key: string]: ProviderJson }; +export type ProviderSchema = ProviderObject; + +/** Trusted context verified by Tilde and covered by the endpoint signature. */ +export type ProviderContext = { + requestId: string; + orgId: string; + teamId: string; + definitionId: string; + connectionId: string; + configuration: ProviderObject; + secrets: ProviderObject; + session?: { + participants: { + instanceId: string; + displayName: string; + externalId: string | null; + isAgent: boolean; + }[]; + sessionId: string; + agentInboxInstanceId: string; + targetInboxInstanceId: string; + triggerMessageId: string; + executionId: string; + conversationKey: string; + externalMessageId: string; + providerMessage: ProviderJson; + providerThread: ProviderJson; + }; + signal: AbortSignal; +}; + +export type ProviderField = { + name: string; + label: string; + fieldType: "text" | "password" | "textarea" | "number" | "checkbox"; + required?: boolean; + placeholder?: string; +}; +export type ProviderAuthMethod = { + id: string; + displayName: string; + description: string; + fields: ProviderField[]; +}; +export type ProviderCapabilities = { + toolkit?: boolean; + inbound?: boolean; + delivery?: boolean; + identity?: boolean; + streaming?: boolean; + markdown?: boolean; + html?: boolean; + attachments?: boolean; + maxLength?: number; +}; +export type ProviderSetupResult = { + toolkit?: { discoveryUrl: string }; + nextAction: + | { type: "submit_form"; fields: ProviderField[]; submitLabel: string } + | { type: "redirect"; url: string } + | { + type: "render_instructions"; + markdown: string; + fields?: ProviderField[]; + } + | { type: "complete"; message?: string }; + configuration?: ProviderObject; + secrets?: ProviderObject; + continuation?: ProviderJson; +}; +export type ProviderReconciliation = + | { status: "applied"; result: T } + | { status: "absent" } + | { status: "uncertain"; reason: string }; + +/** Private delivery options must never be copied to transcript or log payloads. */ +export type ProviderDeliveryOptions = { + visibleRecipients?: ProviderExternalIdentity[]; + to?: string[]; + cc?: string[]; + bcc?: string[]; + subject?: string; + html?: string; + replyAll?: boolean; + attachmentIds?: string[]; + providerOptions?: ProviderJson; +}; +export type ProviderDelivery = { + externalMessageId?: string; + providerMessage?: ProviderJson; + deliveryId: string; + attempt: number; + body: string; + attachments: { mediaType: string; filename?: string; url: string }[]; + options: ProviderDeliveryOptions; + providerThread: ProviderJson; +}; +export type ProviderDeliveryResult = { externalMessageId: string }; +export type ProviderExternalIdentity = { + externalId: string; + displayName: string; + kind: "email" | "mobile_number" | "username"; +}; +export type ProviderInboundMessage = { + eventId: string; + conversationKey: string; + externalMessageId: string; + sender: ProviderExternalIdentity; + text: string; + attachmentIds?: string[]; + providerThread?: ProviderJson; + providerMetadata?: ProviderJson; +}; + +/** Context is not a model argument; mutation handlers must reconcile retries. */ +export type ProviderSessionTool = { + name: string; + description: string; + inputSchema: ProviderSchema; + outputSchema: ProviderSchema; + readOnly?: boolean; + available?(context: ProviderContext): boolean | Promise; + execute(input: ProviderObject, context: ProviderContext): Promise; + reconcile?(input: ProviderObject, context: ProviderContext): Promise; +}; + +export type ChatKitProviderDefinition = { + version: string; + displayName: string; + description: string; + configurationSchema: ProviderSchema; + fields?: ProviderField[]; + authMethods?: ProviderAuthMethod[]; + subscriptions?: string[]; + capabilities: ProviderCapabilities; + sessionTools?: ProviderSessionTool[]; + setup: { + start(input: ProviderObject, context: ProviderContext): Promise; + resume(input: ProviderObject, context: ProviderContext): Promise; + disconnect(context: ProviderContext): Promise; + toolkitConfigured?( + input: { toolGroupInstanceId: string; signingKey: string }, + context: ProviderContext, + ): Promise; + credentialsUpdated?(input: { runtimeToken: string }, context: ProviderContext): Promise; + }; + identity?: { + register(input: ProviderObject, context: ProviderContext): Promise; + normalizeMentions( + input: ProviderObject, + context: ProviderContext, + ): Promise; + }; + messaging?: { + prepareSend(input: ProviderObject, context: ProviderContext): Promise; + deliver(input: ProviderDelivery, context: ProviderContext): Promise; + reconcile( + input: ProviderDelivery, + context: ProviderContext, + ): Promise>; + }; +}; diff --git a/packages/sdk/src/chatkit/custom-providers.ts b/packages/sdk/src/chatkit/custom-providers.ts new file mode 100644 index 00000000..2e05a983 --- /dev/null +++ b/packages/sdk/src/chatkit/custom-providers.ts @@ -0,0 +1,425 @@ +import type { ProviderJson, ProviderObject, ProviderSchema } from "../chatkit-provider/types"; +import type { NormalizedConfig } from "../config"; +import { requestJson } from "../internal/fetch-client"; +import { pathWithParams, teamPath } from "../internal/paths"; + +const BASE = "/api/v1/team/{team_id}/chatkit/custom-providers"; +export type CustomChatKitProvider = { + id: string; + orgId: string; + teamId: string; + displayName: string; + discoveryUrl: string; + enabled: boolean; + localRunningEndpoint: boolean; + revision: number; + manifest: ProviderObject | null; + lastDiscoveryError: string | null; + lastDiscoveryAt: string | null; + createdAt: string; + updatedAt: string; +}; +export type CustomChatKitConnection = { + setupId: string; + id: string; + orgId: string; + teamId: string; + definitionId: string; + displayName: string; + defaultAgentInboxId: string | null; + enabled: boolean; + status: string; + configuration: ProviderObject; + toolGroupInstanceId: string | null; + toolkitDiscoveryUrl: string | null; +}; +type WireConnection = { + setup_id: string; + id: string; + org_id: string; + team_id: string; + definition_id: string; + display_name: string; + default_agent_inbox_id: string | null; + enabled: boolean; + status: string; + configuration: ProviderObject; + tool_group_instance_id: string | null; + toolkit_discovery_url: string | null; +}; +function connection(raw: WireConnection): CustomChatKitConnection { + return { + setupId: raw.setup_id, + id: raw.id, + orgId: raw.org_id, + teamId: raw.team_id, + definitionId: raw.definition_id, + displayName: raw.display_name, + defaultAgentInboxId: raw.default_agent_inbox_id, + enabled: raw.enabled, + status: raw.status, + configuration: raw.configuration, + toolGroupInstanceId: raw.tool_group_instance_id, + toolkitDiscoveryUrl: raw.toolkit_discovery_url, + }; +} +/** Generic setup actions retain the server's schema so existing setup renderers can consume them. */ +export type CustomChatKitSetup = { + setupId: string | null; + resource: ProviderObject | null; + nextAction: import("../generated/schema").components["schemas"]["ProviderSetupNextAction"]; + /** May contain one-time secrets. Do not log or persist in shared application state. */ + outputs: ProviderObject | null; +}; +type WireSetup = { + setup_id: string | null; + resource: ProviderObject | null; + next_action: CustomChatKitSetup["nextAction"]; + outputs: ProviderObject | null; +}; +function setup(raw: WireSetup): CustomChatKitSetup { + return { + setupId: raw.setup_id, + resource: raw.resource, + nextAction: raw.next_action, + outputs: raw.outputs, + }; +} +export type CustomChatKitWork = { + workId: string; + kind: string; + status: string; + attempts: number; + lastError: string | null; + createdAt: string; + nextAttemptAt: string; +}; +export type CustomProviderInput = { + displayName: string; + discoveryUrl: string; + localRunningEndpoint?: boolean; +}; +type WireProvider = { + id: string; + org_id: string; + team_id: string; + display_name: string; + discovery_url: string; + enabled: boolean; + local_running_endpoint: boolean; + revision: number; + manifest: ProviderObject | null; + last_discovery_error: string | null; + last_discovery_at: string | null; + created_at: string; + updated_at: string; +}; +function provider(raw: WireProvider): CustomChatKitProvider { + return { + id: raw.id, + orgId: raw.org_id, + teamId: raw.team_id, + displayName: raw.display_name, + discoveryUrl: raw.discovery_url, + enabled: raw.enabled, + localRunningEndpoint: raw.local_running_endpoint, + revision: raw.revision, + manifest: raw.manifest, + lastDiscoveryError: raw.last_discovery_error, + lastDiscoveryAt: raw.last_discovery_at, + createdAt: raw.created_at, + updatedAt: raw.updated_at, + }; +} +function inputBody(input: CustomProviderInput): ProviderObject { + return { + display_name: input.displayName, + discovery_url: input.discoveryUrl, + local_running_endpoint: input.localRunningEndpoint ?? false, + }; +} + +/** Reusable backend definitions. Configured connections use the generic setup flow. */ +export class CustomChatKitProvidersClient { + constructor(private readonly config: NormalizedConfig) {} + private path(id?: string, suffix = ""): string { + return teamPath(this.config, BASE) + (id ? `/${encodeURIComponent(id)}` : "") + suffix; + } + async create( + input: CustomProviderInput, + ): Promise<{ provider: CustomChatKitProvider; signingKey: string }> { + const raw = await requestJson<{ + provider: WireProvider; + signing_key: string; + }>(this.config, { + method: "POST", + path: this.path(), + body: inputBody(input), + }); + return { provider: provider(raw.provider), signingKey: raw.signing_key }; + } + async get(input: { providerId: string }): Promise { + return provider( + await requestJson(this.config, { + path: this.path(input.providerId), + }), + ); + } + async list( + input: { pageSize?: number; nextPageToken?: string } = {}, + ): Promise<{ items: CustomChatKitProvider[]; nextPageToken?: string }> { + const raw = await requestJson<{ + items: WireProvider[]; + next_page_token: string | null; + }>(this.config, { + path: this.path(), + query: { + page_size: input.pageSize ?? 100, + next_page_token: input.nextPageToken, + }, + }); + return { + items: raw.items.map(provider), + ...(raw.next_page_token ? { nextPageToken: raw.next_page_token } : {}), + }; + } + async update( + input: CustomProviderInput & { providerId: string }, + ): Promise { + return provider( + await requestJson(this.config, { + method: "PUT", + path: this.path(input.providerId), + body: inputBody(input), + }), + ); + } + async refresh(input: { providerId: string }): Promise { + return provider( + await requestJson(this.config, { + method: "POST", + path: this.path(input.providerId, "/refresh"), + }), + ); + } + async setEnabled(input: { + providerId: string; + enabled: boolean; + }): Promise { + return provider( + await requestJson(this.config, { + method: "POST", + path: this.path(input.providerId, input.enabled ? "/enable" : "/disable"), + }), + ); + } + async delete(input: { providerId: string }): Promise { + await requestJson(this.config, { + method: "DELETE", + path: this.path(input.providerId), + }); + } + async rotateSigningKey(input: { + providerId: string; + }): Promise<{ provider: CustomChatKitProvider; signingKey: string }> { + const raw = await requestJson<{ + provider: WireProvider; + signing_key: string; + }>(this.config, { + method: "POST", + path: this.path(input.providerId, "/signing-key/rotate"), + }); + return { provider: provider(raw.provider), signingKey: raw.signing_key }; + } + async getConnection(input: { connectionId: string }): Promise { + return connection( + await requestJson(this.config, { + path: + teamPath(this.config, "/api/v1/team/{team_id}/chatkit/custom-connections") + + `/${encodeURIComponent(input.connectionId)}`, + }), + ); + } + async listConnections(input: { + providerId: string; + pageSize?: number; + nextPageToken?: string; + }): Promise<{ items: CustomChatKitConnection[]; nextPageToken?: string }> { + const raw = await requestJson<{ + items: WireConnection[]; + next_page_token?: string; + }>(this.config, { + path: this.path(input.providerId, "/connections"), + query: { + page_size: input.pageSize ?? 100, + next_page_token: input.nextPageToken, + }, + }); + return { + items: raw.items.map(connection), + ...(raw.next_page_token ? { nextPageToken: raw.next_page_token } : {}), + }; + } + async listConnectionWork(input: { + connectionId: string; + pageSize?: number; + nextPageToken?: string; + }): Promise<{ items: CustomChatKitWork[]; nextPageToken?: string }> { + const raw = await requestJson<{ + items: { + work_id: string; + kind: string; + status: string; + attempts: number; + last_error: string | null; + created_at: string; + next_attempt_at: string; + }[]; + next_page_token?: string; + }>(this.config, { + path: `${teamPath(this.config, "/api/v1/team/{team_id}/chatkit/custom-connections")}/${encodeURIComponent(input.connectionId)}/work`, + query: { + page_size: input.pageSize ?? 100, + next_page_token: input.nextPageToken, + }, + }); + return { + items: raw.items.map((row) => ({ + workId: row.work_id, + kind: row.kind, + status: row.status, + attempts: row.attempts, + lastError: row.last_error, + createdAt: row.created_at, + nextAttemptAt: row.next_attempt_at, + })), + ...(raw.next_page_token ? { nextPageToken: raw.next_page_token } : {}), + }; + } + async retryConnectionWork(input: { connectionId: string; workId: string }): Promise { + await requestJson(this.config, { + method: "POST", + path: `${teamPath(this.config, "/api/v1/team/{team_id}/chatkit/custom-connections")}/${encodeURIComponent(input.connectionId)}/work/retry`, + body: { work_id: input.workId }, + }); + } + async rotateConnectionCredentials(input: { + connectionId: string; + }): Promise<{ runtimeToken: string; backendNotified: boolean }> { + const raw = await requestJson<{ + runtime_token: string; + backend_notified: boolean; + }>(this.config, { + method: "POST", + path: + teamPath(this.config, "/api/v1/team/{team_id}/chatkit/custom-connections") + + `/${encodeURIComponent(input.connectionId)}/runtime-token/rotate`, + }); + return { + runtimeToken: raw.runtime_token, + backendNotified: raw.backend_notified, + }; + } + async startConnection(input: { + providerId: string; + displayName: string; + defaultAgentId?: string; + authMethodId?: string; + formValues?: ProviderObject; + returnUrl?: string; + }): Promise { + return setup( + await requestJson(this.config, { + method: "POST", + path: teamPath(this.config, "/api/v1/team/{team_id}/provider-setup/start"), + body: { + domain: "chatkit", + provider_id: input.providerId, + auth_method_id: input.authMethodId ?? null, + form_values: { + ...input.formValues, + displayName: input.displayName, + defaultAgentId: input.defaultAgentId ?? null, + }, + return_url: input.returnUrl ?? null, + }, + }), + ); + } + async resumeConnection(input: { + setupId: string; + input: ProviderObject; + returnUrl?: string; + }): Promise { + return setup( + await requestJson(this.config, { + method: "POST", + path: pathWithParams( + teamPath(this.config, "/api/v1/team/{team_id}/provider-setup/{setup_id}/resume"), + { setup_id: input.setupId }, + ), + body: { input: input.input, return_url: input.returnUrl ?? null }, + }), + ); + } +} + +export type BoundProviderTool = { + name: string; + description: string; + inputSchema: ProviderSchema; + outputSchema: ProviderSchema; + readOnly: boolean; + /** Keep the model's stable tool-call ID across retries; coordinates are server-bound. */ + execute(input: ProviderObject, execution: { toolCallId: string }): Promise; +}; + +/** Discover tools with immutable bindings to the authenticated agent's active turn. */ +export async function sessionProviderTools( + config: NormalizedConfig, + input: { sessionId: string }, +): Promise { + const base = pathWithParams( + teamPath(config, "/api/v1/team/{team_id}/chatkit/sessions/{session_id}"), + { session_id: input.sessionId }, + ); + const raw = await requestJson<{ + tools: { + name: string; + description: string; + input_schema: ProviderSchema; + output_schema: ProviderSchema; + read_only: boolean; + }[]; + context: ProviderObject | null; + }>(config, { path: `${base}/provider-tools` }); + const context = raw.context; + if (!context) return []; + return raw.tools.map((tool) => ({ + name: tool.name, + description: tool.description, + inputSchema: tool.input_schema, + outputSchema: tool.output_schema, + readOnly: tool.read_only, + execute: async (arguments_: ProviderObject, execution: { toolCallId: string }) => { + if (!execution.toolCallId) + throw new TypeError("toolCallId is required for session tool execution"); + const binding = { + agent_inbox_instance_id: context.agent_inbox_instance_id ?? null, + target_inbox_instance_id: context.target_inbox_instance_id ?? null, + trigger_message_id: context.trigger_message_id ?? null, + tool_call_id: execution.toolCallId, + }; + const request = { + method: "POST" as const, + path: `${base}/tools/${encodeURIComponent(tool.name)}`, + body: + tool.name === "sendMessage" + ? { ...arguments_, ...binding } + : { ...binding, input: arguments_ }, + }; + if (tool.name === "sendMessage") return requestJson(config, request); + return (await requestJson<{ result: ProviderJson }>(config, request)).result; + }, + })); +} diff --git a/packages/sdk/src/chatkit/index.ts b/packages/sdk/src/chatkit/index.ts index 1145f1c3..7ce919ff 100644 --- a/packages/sdk/src/chatkit/index.ts +++ b/packages/sdk/src/chatkit/index.ts @@ -2,12 +2,14 @@ import type { NormalizedConfig } from "../config"; import { requestJson } from "../internal/fetch-client"; import { buildUrl, pathWithParams, teamPath } from "../internal/paths"; import type { JsonObject, JsonValue } from "../tools"; +import { CustomChatKitProvidersClient, sessionProviderTools } from "./custom-providers"; import { MessagesClient } from "./messages"; import { ChatKitRoomsClient } from "./rooms"; export * from "./rooms"; import { AgentRunsClient } from "./runs"; import { ChatKitRoutinesClient } from "./routines"; import { ChatKitWorkClient } from "./work"; +import { type ChatKitSessionStreamOptions, streamSessionEvents } from "./session-stream"; export * from "./jobs"; export * from "./routines"; @@ -226,12 +228,65 @@ export type InvokeSessionProviderToolResult = { }; export class ChatKitClient { + readonly customProviders: CustomChatKitProvidersClient; + + /** Submit a caller-owned turn and retain its snapshot cursor for streaming recovery. */ + async submitTurn(input: { + agentId: string; + sessionId?: string; + title?: string; + text: string; + attachments?: { + attachmentId: string; + sizeBytes?: number; + sha256?: string; + }[]; + }): Promise<{ + sessionId: string; + snapshotRevision: number; + conversation: JsonObject; + }> { + const raw = await requestJson<{ + session: { id: string }; + conversation: JsonObject & { snapshot_revision: number }; + }>(this.#config, { + method: "POST", + path: pathWithParams( + teamPath(this.#config, "/api/v1/team/{team_id}/chatkit/workspace/agents/{agent_id}/turns"), + { agent_id: input.agentId }, + ), + body: { + session_id: input.sessionId ?? null, + title: input.title ?? null, + text: input.text, + attachments: (input.attachments ?? []).map((file) => ({ + attachment_id: file.attachmentId, + size_bytes: file.sizeBytes ?? null, + sha256: file.sha256 ?? null, + })), + }, + }); + return { + sessionId: raw.session.id, + snapshotRevision: raw.conversation.snapshot_revision, + conversation: raw.conversation, + }; + } + + streamSessionEvents(input: ChatKitSessionStreamOptions) { + return streamSessionEvents(this.#config, input); + } + + sessionTools(input: { sessionId: string }) { + return sessionProviderTools(this.#config, input); + } readonly #config: NormalizedConfig; readonly #messages: MessagesClient; readonly rooms: ChatKitRoomsClient; readonly runs: AgentRunsClient; constructor(config: NormalizedConfig, messages = new MessagesClient(config)) { + this.customProviders = new CustomChatKitProvidersClient(config); this.#config = config; this.#messages = messages; this.rooms = new ChatKitRoomsClient(config); diff --git a/packages/sdk/src/chatkit/session-stream.ts b/packages/sdk/src/chatkit/session-stream.ts new file mode 100644 index 00000000..e42e86d0 --- /dev/null +++ b/packages/sdk/src/chatkit/session-stream.ts @@ -0,0 +1,152 @@ +import type { NormalizedConfig } from "../config"; +import { configFetch, configHeaders } from "../config"; +import { errorFromResponse } from "../errors"; +import { buildUrl, pathWithParams, teamPath } from "../internal/paths"; +import type { JsonObject } from "../tools"; + +export type ChatKitSessionStreamFrame = + | { type: "ready" | "cursor"; cursor: number } + | { type: "event"; cursor: number; event: JsonObject }; +export type ChatKitSessionStreamOptions = { + sessionId: string; + afterRevision?: number; + signal?: AbortSignal; + reconnect?: boolean; +}; +export class ChatKitStreamProtocolError extends Error {} + +/** Parse incremental UTF-8 SSE frames, including split CRLF and multiline data. */ +export async function* parseSessionEventStream( + body: ReadableStream, +): AsyncGenerator { + const reader = body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + try { + for (;;) { + const { done, value } = await reader.read(); + buffer += done ? decoder.decode() : decoder.decode(value, { stream: true }); + for (;;) { + const boundary = /\r?\n\r?\n/.exec(buffer); + if (!boundary || boundary.index === undefined) break; + const block = buffer.slice(0, boundary.index); + buffer = buffer.slice(boundary.index + boundary[0].length); + const data = block + .split(/\r?\n/) + .filter((line) => line.startsWith("data:")) + .map((line) => line.slice(5).replace(/^ /, "")) + .join("\n"); + if (!data) continue; + let frame: unknown; + try { + frame = JSON.parse(data); + } catch { + throw new ChatKitStreamProtocolError("Invalid ChatKit event JSON"); + } + if (!frame || typeof frame !== "object") + throw new ChatKitStreamProtocolError("Invalid ChatKit event frame"); + const candidate = frame as { + type?: unknown; + cursor?: unknown; + event?: unknown; + }; + if ( + !["ready", "cursor", "event"].includes(String(candidate.type)) || + !Number.isSafeInteger(candidate.cursor) || + Number(candidate.cursor) < 0 + ) + throw new ChatKitStreamProtocolError("Invalid ChatKit event cursor or type"); + if ( + candidate.type === "event" && + (!candidate.event || + typeof candidate.event !== "object" || + Array.isArray(candidate.event)) + ) + throw new ChatKitStreamProtocolError("Invalid ChatKit event payload"); + yield frame as ChatKitSessionStreamFrame; + } + if (buffer.length > 8 * 1024 * 1024) + throw new ChatKitStreamProtocolError("ChatKit event exceeds stream buffer limit"); + if (done) break; + } + } finally { + await reader.cancel().catch(() => {}); + reader.releaseLock(); + } +} + +/** Resume from the last delivered revision; authentication failures require caller action. */ +export async function* streamSessionEvents( + config: NormalizedConfig, + options: ChatKitSessionStreamOptions, +): AsyncGenerator { + if ( + options.afterRevision !== undefined && + (!Number.isSafeInteger(options.afterRevision) || options.afterRevision < 0) + ) + throw new TypeError("afterRevision must be a nonnegative safe integer"); + let cursor = options.afterRevision; + let delay = 250; + const path = pathWithParams( + teamPath(config, "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/events/stream"), + { session_id: options.sessionId }, + ); + while (!options.signal?.aborted) { + const headers = configHeaders(config); + headers.set("Accept", "text/event-stream"); + let response: Response; + try { + response = await configFetch(config)(buildUrl(config, path, { after_revision: cursor }), { + headers, + ...(options.signal ? { signal: options.signal } : {}), + }); + } catch (error) { + if (options.signal?.aborted) return; + if (options.reconnect === false) throw error; + await reconnectDelay(delay, options.signal); + delay = Math.min(delay * 2, 10_000); + continue; + } + if (!response.ok) { + if ((response.status >= 500 || response.status === 429) && options.reconnect !== false) { + await response.body?.cancel(); + await reconnectDelay(delay, options.signal); + delay = Math.min(delay * 2, 10_000); + continue; + } + throw await errorFromResponse(response); + } + if (!response.body) throw new ChatKitStreamProtocolError("ChatKit stream omitted its body"); + try { + for await (const frame of parseSessionEventStream(response.body)) { + if (options.signal?.aborted) return; + if (frame.type === "event" && cursor !== undefined && frame.cursor <= cursor) continue; + if (cursor !== undefined && frame.cursor < cursor) + throw new ChatKitStreamProtocolError( + "ChatKit cursor moved backwards; fetch a fresh snapshot", + ); + cursor = frame.cursor; + delay = 250; + yield frame; + } + } catch (error) { + if (options.signal?.aborted) return; + if (error instanceof ChatKitStreamProtocolError || options.reconnect === false) throw error; + } + if (options.reconnect === false || options.signal?.aborted) return; + await reconnectDelay(delay, options.signal); + delay = Math.min(delay * 2, 10_000); + } +} +function reconnectDelay(milliseconds: number, signal?: AbortSignal): Promise { + if (signal?.aborted) return Promise.resolve(); + return new Promise((resolve) => { + const finish = () => { + clearTimeout(timer); + signal?.removeEventListener("abort", finish); + resolve(); + }; + const timer = setTimeout(finish, milliseconds); + signal?.addEventListener("abort", finish, { once: true }); + }); +} diff --git a/packages/sdk/src/generated/schema.d.ts b/packages/sdk/src/generated/schema.d.ts index 23b319de..f371ade6 100644 --- a/packages/sdk/src/generated/schema.d.ts +++ b/packages/sdk/src/generated/schema.d.ts @@ -24,40 +24,6 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/billing/accounts/{account_id}/enroll": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** An organization administrator explicitly assigns a Core seat to a linked login account. */ - post: operations["billing-enroll-account"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/billing/accounts/{account_id}/seat": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post?: never; - /** Revoke an account seat without deleting its runtime identity or organization membership. */ - delete: operations["billing-remove-account-seat"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; "/api/v1/billing/ai-credits/ensure": { parameters: { query?: never; @@ -193,7 +159,7 @@ export interface paths { put?: never; /** * Enroll current human in a product - * @description An organization administrator explicitly enrolls their login account in Core. Runtime identities never allocate seats. + * @description Creates one deduplicated human Core or Pay seat, synchronizes the exact organization quantity with Autumn, and never bills agent identities. */ post: operations["billing-product-enroll-current-human"]; delete?: never; @@ -574,178 +540,6 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/identity/identities": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * List identities - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - get: operations["list-identities"]; - put?: never; - /** - * Create identity - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - post: operations["create-identity"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/identity/identities/resolve": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Resolve identity - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - post: operations["resolve-identity"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/identity/identities/{identity_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get identity - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - get: operations["get-identity"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - /** - * Update identity - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - patch: operations["update-identity"]; - trace?: never; - }; - "/api/v1/identity/identities/{identity_id}/identifiers": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post?: never; - /** - * Remove identity identifier - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - delete: operations["remove-identity-identifier"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/identity/identities/{identity_id}/link-requests": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Create identity link - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - post: operations["create-identity-link"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/identity/identities/{identity_id}/team": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Provision identity team - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - post: operations["provision-identity-team"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/identity/identities/{identity_id}/teams": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * List identity teams - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - get: operations["list-identity-teams"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/identity/identities/{identity_id}/teams/{team_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - /** - * Add identity team - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - put: operations["add-identity-team"]; - post?: never; - /** - * Remove identity team - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - delete: operations["remove-identity-team"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; "/api/v1/identity/invitations/accept": { parameters: { query?: never; @@ -766,46 +560,6 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/identity/link-requests/complete": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Complete identity link - * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ - post: operations["complete-identity-link"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/identity/link-requests/preview": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Preview identity link - * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ - post: operations["preview-identity-link"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; "/api/v1/identity/local-runtime/tunnel-connector": { parameters: { query?: never; @@ -906,23 +660,6 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/identity/onboarding/organization": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** Create the account's first native organization and team */ - post: operations["onboard-organization"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; "/api/v1/identity/organizations": { parameters: { query?: never; @@ -1211,54 +948,6 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/identity/proxy-tokens": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * List proxy tokens - * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ - get: operations["list-proxy-tokens"]; - put?: never; - /** - * Create proxy token - * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ - post: operations["create-proxy-token"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/identity/proxy-tokens/{token_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post?: never; - /** - * Revoke proxy token - * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ - delete: operations["revoke-proxy-token"]; - options?: never; - head?: never; - /** - * Rename proxy token - * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. - */ - patch: operations["rename-proxy-token"]; - trace?: never; - }; "/api/v1/identity/team-groups": { parameters: { query?: never; @@ -2943,6 +2632,272 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get custom ChatKit connection + * @description Returns the definition reference and public connection configuration. + */ + get: operations["chatkit-get-custom-connection"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/messages": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Ingest custom provider message + * @description Accepts a normalized external event using only the owning connection runtime token. + */ + post: operations["chatkit-ingest-custom-provider-message"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/runtime": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Custom provider runtime operation + * @description Manage only conversations and attachments bound to the authenticated connection. + */ + post: operations["chatkit-custom-provider-runtime"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/runtime-token/rotate": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Rotate custom connection credentials + * @description Immediately revokes the old token and returns its replacement once. + */ + post: operations["chatkit-rotate-custom-connection-credentials"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/work": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Inspect durable normalized-event and cleanup work without exposing payloads. */ + get: operations["chatkit-list-custom-connection-work"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-connections/{connection_id}/work/retry": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** Retry a dead-letter item with its original deduplication identity. */ + post: operations["chatkit-retry-custom-connection-work"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-providers": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List custom ChatKit provider + * @description Manage a reusable tenant-scoped ChatKit implementation. + */ + get: operations["chatkit-list-custom-provider"]; + put?: never; + /** + * Create custom ChatKit provider + * @description Manage a reusable tenant-scoped ChatKit implementation. + */ + post: operations["chatkit-create-custom-provider"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get custom ChatKit provider + * @description Manage a reusable tenant-scoped ChatKit implementation. + */ + get: operations["chatkit-get-custom-provider"]; + /** + * Update custom ChatKit provider + * @description Manage a reusable tenant-scoped ChatKit implementation. + */ + put: operations["chatkit-update-custom-provider"]; + post?: never; + /** + * Delete custom ChatKit provider + * @description Manage a reusable tenant-scoped ChatKit implementation. + */ + delete: operations["chatkit-delete-custom-provider"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/connections": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List custom ChatKit connections + * @description Lists public connection configuration within a single team and definition. + */ + get: operations["chatkit-list-custom-connections"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/disable": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Disable custom ChatKit provider + * @description Manage a reusable tenant-scoped ChatKit implementation. + */ + post: operations["chatkit-disable-custom-provider"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/enable": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Enable custom ChatKit provider + * @description Manage a reusable tenant-scoped ChatKit implementation. + */ + post: operations["chatkit-enable-custom-provider"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/refresh": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Refresh custom ChatKit provider + * @description Manage a reusable tenant-scoped ChatKit implementation. + */ + post: operations["chatkit-refresh-custom-provider"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/chatkit/custom-providers/{provider_id}/signing-key/rotate": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Rotate custom ChatKit provider + * @description Manage a reusable tenant-scoped ChatKit implementation. + */ + post: operations["chatkit-rotate-custom-provider"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/team/{team_id}/chatkit/identities/link": { parameters: { query?: never; @@ -3655,6 +3610,26 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/events/stream": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Stream ChatKit session events + * @description Resumable SSE with canonical audience filtering and periodic authorization revalidation. Use after_revision or Last-Event-ID to reconnect. + */ + get: operations["chatkit-stream-session-events"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/invitations": { parameters: { query?: never; @@ -3823,6 +3798,26 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/provider-tools": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List session provider tools + * @description Returns server-bound invocation context and the authorized provider tool catalog. + */ + get: operations["chatkit-list-session-provider-tools"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/team/{team_id}/chatkit/sessions/{session_id}/tools/sendMessage": { parameters: { query?: never; @@ -5033,26 +5028,6 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/team/{team_id}/identity/realtime-ticket": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Issue proxy realtime ticket - * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. - */ - post: operations["issue-proxy-realtime-ticket"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; "/api/v1/team/{team_id}/managed-user-credential": { parameters: { query?: never; @@ -7725,110 +7700,6 @@ export interface paths { patch?: never; trace?: never; }; - "/api/v1/team/{team_id}/tilde-pay/onboarding": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Provision Tilde Pay - * @description Idempotently enroll billing, create a customer when details are supplied, create a wallet after KYC, configure the wallet MCP server and tools, and optionally configure browser tools when enabled. - */ - post: operations["tilde-pay-provision"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/tilde-pay/payments/mpp": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Make MPP payment - * @description Make an MPP payment from a Tilde Pay wallet. - */ - post: operations["tilde-pay-payment-mpp"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/tilde-pay/payments/x402": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Make x402 payment - * @description Make an x402 payment from a Tilde Pay wallet. - */ - post: operations["tilde-pay-payment-x402"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/tilde-pay/wallet": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Tilde Pay wallet summary - * @description Return wallet, balances, fiat deposit information, and crypto deposit information for Tilde Pay. - */ - get: operations["tilde-pay-wallet-summary"]; - put?: never; - /** - * Create Tilde Pay wallet - * @description Create a Tilde Pay wallet after KYC and return product-shaped wallet details. - */ - post: operations["tilde-pay-wallet-create"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/tilde-pay/wallet/wait-until-balance": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Wait for Tilde Pay balance - * @description Poll wallet balances until the requested asset reaches the requested minimum. - */ - post: operations["tilde-pay-wallet-wait-until-balance"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; "/api/v1/team/{team_id}/trusted-runtime": { parameters: { query?: never; @@ -7881,294 +7752,6 @@ export interface paths { patch: operations["update-trusted-runtime"]; trace?: never; }; - "/api/v1/team/{team_id}/wallet": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * List wallets - * @description List wallets for the current org/team. - */ - get: operations["wallet-list"]; - put?: never; - /** - * Create wallet - * @description Create a Tilde wallet by provisioning a Privy EVM wallet, Compose virtual IBAN, and Compose crypto deposit wallet. - */ - post: operations["wallet-create"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/customer": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * List wallet customers - * @description List wallet customers for the current org/team. - */ - get: operations["wallet-customer-list"]; - put?: never; - /** - * Create wallet customer - * @description Create a Compose customer and return a KYC verification link for wallet onboarding. - */ - post: operations["wallet-customer-create"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/customer/{customer_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get wallet customer - * @description Get a wallet customer by local id. - */ - get: operations["wallet-customer-get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/customer/{customer_id}/kyc": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get wallet customer KYC details - * @description Return the stored Compose KYC verification status and KYC flow URL for a wallet customer. - */ - get: operations["wallet-customer-kyc-get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/{wallet_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get wallet - * @description Get a wallet by id. - */ - get: operations["wallet-get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/{wallet_id}/balances": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get wallet balances - * @description Refresh and return Compose balances for this wallet. - */ - get: operations["wallet-get-balances"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/crypto": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get wallet crypto deposit information - * @description Return crypto deposit information for this wallet. - */ - get: operations["wallet-get-crypto-deposit-information"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/fiat": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get wallet fiat deposit information - * @description Refresh and return Compose fiat deposit information for this wallet. - */ - get: operations["wallet-get-fiat-deposit-information"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/{wallet_id}/payments/mpp": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Make MPP payment - * @description Make an MPP payment from the wallet using the configured payment adapter. - */ - post: operations["wallet-make-mpp-payment"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/{wallet_id}/payments/x402": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Make x402 payment - * @description Make an x402 payment from the wallet using the configured payment adapter. - */ - post: operations["wallet-make-x402-payment"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * List wallet transaction history - * @description Return cached transaction history for this wallet without scanning the chain. - */ - get: operations["wallet-transaction-history-list"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history/refresh": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Refresh wallet transaction history - * @description Scan configured chains for wallet-linked USDC transfers and upsert cached transaction history. - */ - post: operations["wallet-transaction-history-refresh"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/{wallet_id}/virtual-account": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Create wallet virtual account - * @description Create a currency-denominated Compose virtual account for an existing wallet. - */ - post: operations["wallet-virtual-account-create"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/api/v1/team/{team_id}/wallet/{wallet_id}/wait-until-balance": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Wait until wallet balance - * @description Poll the local wallet balance cache until an asset reaches the requested minimum. - */ - post: operations["wallet-wait-until-balance"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; "/api/v1/team/{team_id}/wiki-ontology-templates": { parameters: { query?: never; @@ -10577,20 +10160,6 @@ export interface components { invitation_id: string; password: string; }; - /** @description Canonical tenant destination after accepting an invitation with a login account. */ - AcceptInvitationResponse: { - identity_id: string; - invitation: components["schemas"]["UserInvitation"]; - org_id: string; - team_id: string; - }; - /** @description Explicit login-account membership, independent of runtime identity availability. */ - AccountOrganizationMembership: { - account_id: string; - name: string; - organization_id: string; - role: string; - }; /** @description Request body for adding a participant to a ChatKit session. */ AddChatKitParticipantRequestInner: { participant: components["schemas"]["ChatKitParticipantInput"]; @@ -10930,6 +10499,10 @@ export interface components { synthesizer_agent_id: string; synthesizer_team_id: string; }; + /** @description An optional toolkit backend materialized as an ordinary custom Tools provider. */ + AssociatedToolkit: { + discovery_url: string; + }; /** @description ChatKit-owned attachment metadata. */ Attachment: { bucket: string; @@ -10990,10 +10563,10 @@ export interface components { products: components["schemas"]["ProductBillingContext"][]; }; /** - * @description The Core subscription whose access is evaluated per organization. + * @description A separately billed Tilde product whose access is evaluated per organization. * @enum {string} */ - BillingProductId: "tilde_core"; + BillingProductId: "tilde_core" | "tilde_pay" | "ash"; BrokerAction: { Redirect: components["schemas"]["BrokerActionRedirect"]; } | "None"; @@ -11091,6 +10664,19 @@ export interface components { ChangeResourceOwnershipRequest: { ownership: components["schemas"]["ResourceOwnership"]; }; + /** @description Private send intent; never include this value in canonical public events. */ + ChannelDeliveryOptions: { + attachment_ids?: string[]; + bcc?: string[] | null; + cc?: string[] | null; + html?: string | null; + /** @description Opaque extension interpreted exclusively by the owning adapter. */ + provider_options?: unknown; + reply_all?: boolean | null; + subject?: string | null; + to?: string[] | null; + visible_recipients?: components["schemas"]["CustomExternalIdentity"][]; + }; /** @description Approval information in an HTTP agent tool invocation. */ ChatApproval: { decision: components["schemas"]["ChatApprovalDecision"]; @@ -11318,6 +10904,32 @@ export interface components { /** @enum {string} */ kind: "agent_job"; }); + /** @description A party that can appear in a ChatKit session. */ + ChatKitIdentity: { + /** @description Set when this address belongs to one of our agents. */ + agent_inbox_id?: string | null; + created_at: components["schemas"]["WrappedChronoDateTime"]; + display_name: string; + /** @description The address within that scheme. `None` only for [`ChatKitIdentityKind::TildeUser`]. */ + external_id?: string | null; + id: string; + kind: components["schemas"]["ChatKitIdentityKind"]; + metadata?: Record | null; + org_id: string; + /** + * @description Namespace that owns the address. Two GitHub organizations can both have + * a `dan`, so the scheme alone is never unique. + */ + provider_id?: string | null; + team_id: string; + /** + * @description Set only by a verified linking flow, or by us when registering an + * address for one of our own principals. `None` means no authority. + */ + tilde_user_id?: string | null; + updated_at: components["schemas"]["WrappedChronoDateTime"]; + verified_at?: null | components["schemas"]["WrappedChronoDateTime"]; + }; /** * @description Address scheme for a [`ChatKitIdentity`]. * @enum {string} @@ -11388,6 +11000,21 @@ export interface components { * @enum {string} */ ChatKitParticipantType: "human" | "agent"; + /** @description Discovery document served by the customer's SDK endpoint. */ + ChatKitProviderManifest: { + auth_methods?: components["schemas"]["CustomProviderAuthMethod"][]; + capabilities: components["schemas"]["CustomProviderCapabilities"]; + configuration_schema: unknown; + description: string; + display_name: string; + fields?: components["schemas"]["CustomProviderField"][]; + invoke_url: string; + /** Format: int32 */ + protocol_version: number; + session_tools?: components["schemas"]["CustomSessionTool"][]; + subscriptions?: string[]; + version: string; + }; ChatKitRealtimeSocketTicket: { expires_at: components["schemas"]["WrappedChronoDateTime"]; /** @description Stable subprotocol prefix. Append `.` and the returned ticket. */ @@ -11688,16 +11315,10 @@ export interface components { transferred_team_ids: string[]; }; CloudWhoamiResponse: { - account_organizations?: components["schemas"]["AccountOrganizationMembership"][]; groups: string[]; identity: components["schemas"]["Identity"]; local_runtime_tunnel_domain: string; local_runtime_tunnel_origin: string; - /** - * @description True after explicit first-organization creation, even if that org was removed. - * A membership-less completed account needs invitation/link recovery, not replay. - */ - organization_onboarding_completed?: boolean | null; organizations: components["schemas"]["UserOrganization"][]; teams: components["schemas"]["UserTeam"][]; }; @@ -12044,15 +11665,6 @@ export interface components { approval_url_path: string; token: string; }; - CreateIdentityLinkRequest: { - delivery?: null | components["schemas"]["IdentityLinkDelivery"]; - return_url?: string | null; - }; - CreateIdentityRequest: { - display_name?: string | null; - identifiers?: components["schemas"]["IdentityIdentifier"][]; - kind: components["schemas"]["UserType"]; - }; CreateManagedUserCredentialBody: { /** @description Allow Browser form filling to enumerate this credential. */ browser_password_manager_eligible?: boolean; @@ -12129,11 +11741,6 @@ export interface components { CreatePageTypeVersionBody: { schema: unknown; }; - CreatePayWalletRequest: { - name: string; - owner_id?: string | null; - wallet_customer_id: string; - }; CreatePersonalToolGroupInstanceBody: { authorization?: components["schemas"]["ResourceAuthorizationModes"]; credential_source_type_id: string; @@ -12146,12 +11753,6 @@ export interface components { tool_group_source_type_id: string; user_credential_id?: null | components["schemas"]["WrappedUuidV4"]; }; - CreateProxyTokenRequest: { - allowed_return_urls?: string[]; - capabilities?: string[]; - expires_at?: null | components["schemas"]["WrappedChronoDateTime"]; - name: string; - }; CreateRelationshipTypeBody: { description?: string; directionality: components["schemas"]["RelationshipDirectionality"]; @@ -12422,19 +12023,6 @@ export interface components { metadata?: null | components["schemas"]["Metadata"]; user_credential_configuration: components["schemas"]["WrappedJsonValue"]; }; - CreateWalletBody: { - name: string; - owner_id?: string | null; - wallet_customer_id: string; - }; - CreateWalletCustomerBody: { - account_type?: string; - name: string; - owner_id?: string | null; - }; - CreateWalletVirtualAccountBody: { - currency: string; - }; CreateWikiAssetBody: { alt_text?: string | null; checksum?: string | null; @@ -12454,15 +12042,6 @@ export interface components { memory_bank_ids?: components["schemas"]["WrappedUuidV4"][] | null; name: string; }; - CreatedIdentityLink: { - expires_at: components["schemas"]["WrappedChronoDateTime"]; - id: string; - url: string; - }; - CreatedProxyToken: { - secret: string; - token: components["schemas"]["OrgProxyToken"]; - }; /** @description Typed relationship established after a state-import credential is configured. */ CredentialSetupBinding: { desired_enabled?: boolean; @@ -12556,6 +12135,291 @@ export interface components { * @enum {string} */ CurrentSeatStatus: "active" | "not_assigned" | "not_billable"; + /** @description Stable registration, separate from any configured connection. */ + CustomChatKitProvider: { + created_at: components["schemas"]["WrappedChronoDateTime"]; + discovery_url: string; + display_name: string; + enabled: boolean; + id: string; + last_discovery_at?: null | components["schemas"]["WrappedChronoDateTime"]; + last_discovery_error?: string | null; + local_running_endpoint: boolean; + manifest?: null | components["schemas"]["ChatKitProviderManifest"]; + org_id: string; + /** Format: int64 */ + revision: number; + team_id: string; + updated_at: components["schemas"]["WrappedChronoDateTime"]; + }; + /** @description Returned once after rotation, with remote notification outcome for host recovery. */ + CustomConnectionCredentials: { + backend_notified: boolean; + runtime_token: string; + }; + /** @description Public connection configuration; runtime credentials and setup state are excluded. */ + CustomConnectionInfo: { + configuration: unknown; + default_agent_inbox_id?: string | null; + definition_id: string; + display_name: string; + enabled: boolean; + id: string; + org_id: string; + setup_id: string; + status: string; + team_id: string; + tool_group_instance_id?: string | null; + toolkit_discovery_url?: string | null; + }; + CustomConnectionInfoPaginatedResponse: { + items: components["schemas"]["CustomConnectionInfo"][]; + next_page_token?: string; + }; + /** @description Operational diagnostics omit normalized message bodies and credentials. */ + CustomConnectionWork: { + /** Format: int64 */ + attempts: number; + created_at: components["schemas"]["WrappedChronoDateTime"]; + kind: string; + last_error?: string | null; + next_attempt_at: components["schemas"]["WrappedChronoDateTime"]; + status: string; + work_id: string; + }; + CustomConnectionWorkPaginatedResponse: { + items: components["schemas"]["CustomConnectionWork"][]; + next_page_token?: string; + }; + /** @description One external address; callers cannot grant themselves principal authority. */ + CustomExternalIdentity: { + display_name: string; + external_id: string; + kind: components["schemas"]["ChatKitIdentityKind"]; + }; + /** @description Normalized event accepted using a single connection's runtime credential. */ + CustomInboundMessage: { + attachment_ids?: string[]; + conversation_key: string; + event_id: string; + external_message_id: string; + provider_metadata?: unknown; + provider_thread?: unknown; + sender: components["schemas"]["CustomExternalIdentity"]; + text: string; + }; + /** @description A durable ingestion acknowledgment, including replay of an existing event. */ + CustomIngressReceipt: { + event_id: string; + message_id: string; + status: string; + }; + /** @description Provider-owned authorization method; secret fields are never list outputs. */ + CustomProviderAuthMethod: { + description: string; + display_name: string; + fields: components["schemas"]["CustomProviderField"][]; + id: string; + }; + /** @description Content conversion and runtime features declared by a backend. */ + CustomProviderCapabilities: { + attachments?: boolean; + delivery?: boolean; + html?: boolean; + identity?: boolean; + inbound?: boolean; + markdown?: boolean; + max_length?: number | null; + streaming?: boolean; + toolkit?: boolean; + }; + /** @description Named schema-backed field rendered by the existing generic setup flow. */ + CustomProviderField: { + field_type: string; + label: string; + name: string; + placeholder?: string; + required?: boolean; + }; + /** @description Exact signed remote invocation. Secret-bearing payloads intentionally omit Debug. */ + CustomProviderInvocation: { + configuration: unknown; + context?: null | components["schemas"]["CustomSessionContext"]; + input: unknown; + manifest_version: string; + operation: components["schemas"]["CustomProviderOperation"]; + /** Format: int32 */ + protocol_version: number; + request_id: string; + scope: components["schemas"]["CustomProviderScope"]; + secrets: unknown; + }; + /** @description A paginated team catalog; continuation uses the existing timestamp cursor. */ + CustomProviderList: { + items: components["schemas"]["CustomChatKitProvider"][]; + next_page_token?: string | null; + }; + /** + * @description Tilde-owned protocol operations are typed independently of provider business inputs. + * @enum {string} + */ + CustomProviderOperation: "setup_start" | "setup_resume" | "disconnect" | "runtime_credentials_updated" | "toolkit_configured" | "register_identity" | "normalize_mentions" | "list_session_tools" | "invoke_session_tool" | "reconcile_session_tool" | "prepare_send" | "deliver" | "reconcile_delivery"; + /** @description Signing material is returned only by explicit create/rotate operations. */ + CustomProviderRegistration: { + provider: components["schemas"]["CustomChatKitProvider"]; + signing_key: string; + }; + /** @description Input for creating or editing a reusable backend registration. */ + CustomProviderRegistrationInput: { + discovery_url: string; + display_name: string; + local_running_endpoint?: boolean; + }; + /** @description Tenant-scoped coordinates recovered from persisted records. */ + CustomProviderScope: { + connection_id: string; + definition_id: string; + org_id: string; + team_id: string; + }; + /** @description Remote mutations must distinguish absence from an unresolved prior attempt. */ + CustomReconciliation: { + result: unknown; + /** @enum {string} */ + status: "applied"; + } | { + /** @enum {string} */ + status: "absent"; + } | { + reason: string; + /** @enum {string} */ + status: "uncertain"; + }; + /** @description Narrow operations a provider may perform inside its own bound conversations. */ + CustomRuntimeCommand: { + /** @enum {string} */ + operation: "register_agent_identity"; + } | { + /** @enum {string} */ + operation: "normalize_mentions"; + tags: string[]; + } | { + conversation_key: string; + /** @enum {string} */ + operation: "ensure_conversation"; + provider_thread?: unknown; + title?: string | null; + } | { + filename?: string | null; + media_type: string; + /** @enum {string} */ + operation: "create_attachment_upload"; + session_id: string; + /** Format: int64 */ + size_bytes?: number | null; + } | { + attachment_id: string; + /** @enum {string} */ + operation: "complete_attachment_upload"; + session_id: string; + sha256?: string | null; + /** Format: int64 */ + size_bytes?: number | null; + } | { + attachment_id: string; + /** @enum {string} */ + operation: "attachment_download"; + session_id: string; + } | { + identity: components["schemas"]["CustomExternalIdentity"]; + /** @enum {string} */ + operation: "upsert_participant"; + session_id: string; + } | { + external_id: string; + /** @enum {string} */ + operation: "leave_participant"; + session_id: string; + } | { + next_page_token?: string | null; + /** @enum {string} */ + operation: "history"; + /** Format: int64 */ + page_size?: number | null; + session_id: string; + }; + /** @description Runtime responses deliberately expose no general team resource operations. */ + CustomRuntimeResponse: { + identity: components["schemas"]["ChatKitIdentity"]; + /** @enum {string} */ + type: "identity"; + } | { + identities: components["schemas"]["ChatKitIdentity"][]; + /** @enum {string} */ + type: "mentions"; + } | { + session_id: string; + /** @enum {string} */ + type: "conversation"; + } | { + /** @enum {string} */ + type: "upload"; + upload: components["schemas"]["CreateAttachmentUploadResponse"]; + } | { + attachment: components["schemas"]["Attachment"]; + /** @enum {string} */ + type: "attachment"; + } | { + download: components["schemas"]["GetAttachmentDownloadUrlResponse"]; + /** @enum {string} */ + type: "download"; + } | { + participant: components["schemas"]["ChatKitParticipant"]; + /** @enum {string} */ + type: "participant"; + } | { + /** @enum {string} */ + type: "left"; + } | { + messages: components["schemas"]["CustomVisibleMessage"][]; + next_page_token?: string | null; + /** @enum {string} */ + type: "history"; + }; + /** @description Coordinates verified against the active turn before invoking a session tool. */ + CustomSessionContext: { + agent_inbox_instance_id: string; + conversation_key: string; + execution_id: string; + external_message_id: string; + participants?: components["schemas"]["CustomSessionParticipant"][]; + provider_message: unknown; + /** @description Only the provider adapter interprets this external reply handle. */ + provider_thread: unknown; + session_id: string; + target_inbox_instance_id: string; + trigger_message_id: string; + }; + /** @description Active delivery roster, excluding Tilde authorization principals and other connections' addresses. */ + CustomSessionParticipant: { + display_name: string; + external_id?: string | null; + instance_id: string; + is_agent: boolean; + }; + /** @description Tool schemas describe business inputs only. Context travels separately. */ + CustomSessionTool: { + description: string; + input_schema: unknown; + name: string; + output_schema: unknown; + read_only?: boolean; + }; + /** @description Server-bound tool catalog for the authenticated agent's current turn. */ + CustomSessionToolCatalog: { + context?: null | components["schemas"]["CustomSessionContext"]; + tools: components["schemas"]["CustomSessionTool"][]; + }; CustomSkillSpec: { content: string; description: string; @@ -12597,6 +12461,13 @@ export interface components { tool_group_source_type_id: string; updated_at: components["schemas"]["WrappedChronoDateTime"]; }; + CustomVisibleMessage: { + created_at: components["schemas"]["WrappedChronoDateTime"]; + id: string; + role: components["schemas"]["MessageRole"]; + sender_display_name: string; + text: string; + }; /** @description Data UI part - represents custom data parts */ DataUIPart: { data: components["schemas"]["WrappedJsonValue"]; @@ -12629,19 +12500,6 @@ export interface components { model_id?: string | null; objective: string; }; - /** - * @description A runtime actor authenticated by an organization application credential. - * Credential authority remains separate from the actor's own groups. - */ - DelegatedIdentity: { - email?: string | null; - groups: string[]; - kind: components["schemas"]["UserType"]; - org_id: string; - proxy_token_id: string; - sub: string; - team_id?: string | null; - }; DeleteChatKitAgentTurnQueueItemResponse: { deleted: boolean; }; @@ -12681,16 +12539,6 @@ export interface components { contents: string; filename: string; }; - DirectTokenPayment: { - amount: string; - asset?: string; - chain?: string; - destination_address: string; - destination_asset?: string | null; - destination_chain?: string | null; - /** Format: int64 */ - slippage_bps?: number | null; - }; /** @description Selects one package file for a lazy download URL. */ DownloadSkillPackageFileRequest: { path: string; @@ -12820,25 +12668,6 @@ export interface components { download_url: string; expires_at: components["schemas"]["WrappedChronoDateTime"]; }; - GetBalancesResponse: { - balances: components["schemas"]["WrappedJsonValue"]; - wallet_id: string; - }; - GetCryptoDepositInformationResponse: { - crypto: components["schemas"]["WrappedJsonValue"]; - wallet_id: string; - }; - GetFiatDepositInformationResponse: { - currency: string; - fiat: components["schemas"]["WrappedJsonValue"]; - wallet_id: string; - }; - GetWalletCustomerKycResponse: { - compose_customer_id: string; - kyc_flow_link?: string | null; - kyc_verified: boolean; - wallet_customer_id: string; - }; /** @description Durable desired outcome owned by one explicit agent in one conversation. */ Goal: { agent_id: string; @@ -13102,10 +12931,6 @@ export interface components { * Represents a real user that authenticated via STS/OAuth token. */ Human: { - /** @description Administrative account roles, separate from the runtime actor's resource groups. */ - account_groups?: string[]; - /** @description Login account that authenticated this runtime actor. Human-owned API keys have no account session. */ - account_id?: string | null; /** @description Email address of the user (if available from token) */ email?: string | null; /** @description Group IDs the user belongs to */ @@ -13243,10 +13068,7 @@ export interface components { * This is the result of authentication and is used throughout the system * for authorization decisions. */ - Identity: (components["schemas"]["DelegatedIdentity"] & { - /** @enum {string} */ - type: "delegated"; - }) | (components["schemas"]["Agent"] & { + Identity: (components["schemas"]["Agent"] & { /** @enum {string} */ type: "agent"; }) | (components["schemas"]["Human"] & { @@ -13256,25 +13078,6 @@ export interface components { /** @enum {string} */ type: "unauthenticated"; }; - IdentityClaimRequest: { - claim: string; - }; - IdentityIdentifier: { - namespace: string; - value: string; - }; - IdentityLinkDelivery: { - address: string; - type: string; - }; - IdentityLinkPreview: { - account_email?: string | null; - application_name: string; - display_name?: string | null; - expires_at: components["schemas"]["WrappedChronoDateTime"]; - identity_id: string; - org_id: string; - }; /** @description Tenant a linked address routes to when it arrives on a shared channel. */ IdentityLinkRoute: { /** @description ChatKit chat provider (channel inbox) that owns the conversation. */ @@ -13282,22 +13085,6 @@ export interface components { org_id: string; team_id: string; }; - IdentityTeam: { - identity_id: string; - org_id: string; - team_id: string; - }; - /** @description Runtime membership only; this record never grants a login-account role. */ - IdentityTeamMembership: { - identity_id: string; - org_id: string; - role: string; - team_id: string; - }; - IdentityTeamMembershipPaginatedResponse: { - items: components["schemas"]["IdentityTeamMembership"][]; - next_page_token?: string; - }; /** @description One pending or completed challenge. The code hash is never on the wire. */ IdentityVerification: { /** Format: int32 */ @@ -13578,11 +13365,6 @@ export interface components { /** @description Team member to link the address to. */ user_id: string; }; - LinkedIdentity: { - identity_id: string; - org_id: string; - return_url?: string | null; - }; ListApiKeysResponse: { items: components["schemas"]["HashedApiKey"][]; next_page_token?: string | null; @@ -13633,82 +13415,6 @@ export interface components { /** @enum {string} */ type: "custom_oidc"; }; - MakeMppPaymentRequest: { - body?: unknown; - headers?: { - [key: string]: string; - }; - max_amount?: string | null; - max_amount_atomic?: string | null; - method?: string | null; - payment?: null | components["schemas"]["DirectTokenPayment"]; - preferred_assets?: string[]; - /** - * @description Payment-channel contract addresses the caller explicitly permits. - * Stateful methods that sign a server-selected channel, such as the - * Stellar `channel` intent, require this pin on their first use. A - * validated `session_snapshot` pins subsequent requests. - */ - preferred_channels?: string[]; - preferred_networks?: string[]; - preferred_recipients?: string[]; - /** - * @description Session lifecycle action (`open`, `voucher`, `commit`, `topUp`, or - * `close`). Omit to open when no snapshot is supplied and voucher - * otherwise. - */ - session_action?: string | null; - /** - * @description Incremental session amount in atomic units. Required for voucher and - * commit actions unless the challenge pins an increment. - */ - session_amount_atomic?: string | null; - /** @description Delivery identifier required by a metered `commit` action. */ - session_delivery_id?: string | null; - session_snapshot?: null | components["schemas"]["PaymentSessionSnapshot"]; - /** - * @description Preferred method-specific settlement mode. Methods that negotiate - * client versus server broadcast currently accept `push` or `pull`. - */ - settlement_mode?: string | null; - /** - * @description Payment transport. Defaults to `http`; use `mcp` for MCP's nested - * payment metadata or `jsonrpc` for the generic root `_meta` binding. - * Tempo session challenges also support `sse` and `websocket` (`ws`) for - * metered streaming with in-band voucher and receipt handling. - */ - transport?: string | null; - url: string; - wallet_id: string; - }; - MakeX402PaymentRequest: { - body?: unknown; - headers?: { - [key: string]: string; - }; - max_amount?: string | null; - max_amount_atomic?: string | null; - method?: string | null; - payment?: null | components["schemas"]["DirectTokenPayment"]; - preferred_assets?: string[]; - preferred_networks?: string[]; - preferred_recipients?: string[]; - /** - * @description Stateful scheme action (`open`, `voucher`, or `refund`). Omit to open - * when no snapshot is supplied and voucher otherwise. - */ - session_action?: string | null; - /** @description Incremental amount for voucher/close actions, in atomic units. */ - session_amount_atomic?: string | null; - session_snapshot?: null | components["schemas"]["PaymentSessionSnapshot"]; - /** - * @description Payment transport. Defaults to `http`; use `mcp` when `body` is the - * JSON-RPC MCP tool-call request that should be retried with x402 metadata. - */ - transport?: string | null; - url: string; - wallet_id: string; - }; ManagedSkillSelection: { provider_id: string; skill_ids: string[]; @@ -14138,15 +13844,6 @@ export interface components { expected_revision: number; path: string; }; - OnboardOrganizationRequest: { - name: string; - team_name: string; - }; - OnboardOrganizationResponse: { - identity_id: string; - org_id: string; - team_id: string; - }; /** @description A page type bundled by an ontology template. */ OntologyPageTypeDefinition: { description: string; @@ -14220,23 +13917,6 @@ export interface components { }; /** @enum {string} */ OrgOidcProviderStatus: "draft" | "pending_verification" | "active" | "disabled"; - OrgProxyToken: { - allowed_return_urls: string[]; - capabilities: string[]; - created_at: components["schemas"]["WrappedChronoDateTime"]; - created_by_account_id: string; - expires_at?: null | components["schemas"]["WrappedChronoDateTime"]; - id: string; - last_used_at?: null | components["schemas"]["WrappedChronoDateTime"]; - name: string; - org_id: string; - revoked_at?: null | components["schemas"]["WrappedChronoDateTime"]; - token_prefix: string; - }; - OrgProxyTokenPaginatedResponse: { - items: components["schemas"]["OrgProxyToken"][]; - next_page_token?: string; - }; Organization: { /** * @description Browser app origin (for example `https://heyash.ai/app`) that owns links Tilde generates @@ -14267,8 +13947,6 @@ export interface components { topup_remaining_microusd: number; }; OrganizationMemberWithUser: { - /** @description Enabled Tilde login account linked to this runtime identity, when present. */ - account_id?: string | null; membership: components["schemas"]["UserOrganization"]; user: components["schemas"]["User"]; }; @@ -14304,65 +13982,6 @@ export interface components { * @enum {string} */ PartState: "streaming" | "done"; - /** @enum {string} */ - PayOnboardingStep: "enter_details" | "complete_kyc" | "ready"; - PayPaymentRequest: { - body?: unknown; - headers?: { - [key: string]: string; - }; - max_amount?: string | null; - max_amount_atomic?: string | null; - method?: string | null; - payment?: null | components["schemas"]["DirectTokenPayment"]; - preferred_assets?: string[]; - preferred_channels?: string[]; - preferred_networks?: string[]; - preferred_recipients?: string[]; - session_action?: string | null; - session_amount_atomic?: string | null; - session_delivery_id?: string | null; - session_snapshot?: null | components["schemas"]["PaymentSessionSnapshot"]; - settlement_mode?: string | null; - transport?: string | null; - url: string; - wallet_id: string; - }; - PayWalletSummaryError: { - field: string; - message: string; - }; - PayWalletSummaryResponse: { - balances?: null | components["schemas"]["GetBalancesResponse"]; - crypto_deposit?: null | components["schemas"]["GetCryptoDepositInformationResponse"]; - fiat_deposit?: null | components["schemas"]["GetFiatDepositInformationResponse"]; - summary_errors?: components["schemas"]["PayWalletSummaryError"][]; - wallet?: null | components["schemas"]["Wallet"]; - }; - PaymentResponse: { - protocol: string; - response: components["schemas"]["WrappedJsonValue"]; - wallet_id: string; - }; - /** - * @description Opaque-enough client state needed to safely resume a stateful payment - * scheme after a process restart. Every field is authenticated again against - * the next server challenge before it is used. - */ - PaymentSessionSnapshot: { - authorized_signer: string; - channel_id: string; - cumulative_amount: string; - deposit_amount: string; - /** Format: int64 */ - expires_at: number; - metadata?: unknown; - method: string; - network: string; - /** Format: int64 */ - nonce: number; - protocol: string; - }; PersonalMcpServerInstanceSerialized: { agent_id?: string | null; authorization?: components["schemas"]["ResourceAuthorizationModes"]; @@ -14747,26 +14366,6 @@ export interface components { memory?: null | components["schemas"]["MemorySpec"]; skill_registry?: null | components["schemas"]["SkillRegistrySpec"]; }; - ProvisionIdentityTeamRequest: { - name: string; - }; - ProvisionPayBrowserResponse: { - browser_definition_id: string; - enabled_tool_ids: string[]; - }; - ProvisionTildePayRequest: { - account_type?: string | null; - name?: string | null; - owner_id?: string | null; - }; - ProvisionTildePayResponse: { - browser?: null | components["schemas"]["ProvisionPayBrowserResponse"]; - customer?: null | components["schemas"]["WalletCustomer"]; - kyc?: null | components["schemas"]["GetWalletCustomerKycResponse"]; - mcp?: null | components["schemas"]["SetupPayMcpResponse"]; - next_step: components["schemas"]["PayOnboardingStep"]; - wallet?: null | components["schemas"]["Wallet"]; - }; /** @description App credentials and metadata created by a provider provisioner. */ ProvisionedProviderApp: { created_resource_server_credential_ids: components["schemas"]["WrappedUuidV4"][]; @@ -14960,12 +14559,6 @@ export interface components { /** @description The refresh token. If not provided, will be read from cookie. */ refresh_token?: string | null; }; - RefreshWalletTransactionHistoryResponse: { - inserted_or_updated: number; - linked_transactions: number; - scanned_chains: string[]; - wallet_id: string; - }; RegisterAgentTool: { display_name: string; identity_snapshot?: null | components["schemas"]["WrappedJsonValue"]; @@ -15102,9 +14695,6 @@ export interface components { RenameChatKitWorkspaceThreadRequestInner: { title: string; }; - RenameProxyTokenRequest: { - name: string; - }; ReorderChatKitAgentTurnQueueItemRequestInner: { /** Format: int64 */ queue_position: number; @@ -15321,6 +14911,9 @@ export interface components { RetainMemoryBody: { document: components["schemas"]["MemoryDocument"]; }; + RetryConnectionWork: { + work_id: string; + }; RetryMemorySourceBody: { source_id: string; source_kind: components["schemas"]["MemorySourceKind"]; @@ -15464,24 +15057,12 @@ export interface components { debug_auth_profiles_enabled: boolean; org_context_in_header: boolean; posthog_api_host: string; - posthog_product: string; + posthog_product: components["schemas"]["BillingProductId"]; posthog_project_id: string; posthog_project_key: string; sentry_dsn: string; sentry_react_dsn?: string | null; }; - RuntimeIdentity: { - disabled: boolean; - display_name?: string | null; - id: string; - identifiers: components["schemas"]["IdentityIdentifier"][]; - kind: components["schemas"]["UserType"]; - org_id: string; - }; - RuntimeIdentityPaginatedResponse: { - items: components["schemas"]["RuntimeIdentity"][]; - next_page_token?: string; - }; SelectDebugAuthProfileRequest: { profile: string; }; @@ -15580,10 +15161,12 @@ export interface components { }; /** @description Model-visible parameters for the session-bound communication tool. */ SendSessionMessageInput: { + attachment_ids?: components["schemas"]["WrappedUuidV4"][]; bcc?: string[] | null; cc?: string[] | null; content: string; html?: string | null; + provider_options?: null | components["schemas"]["WrappedJsonValue"]; reply_all?: boolean | null; subject?: string | null; to?: string[] | null; @@ -15674,12 +15257,6 @@ export interface components { SetResourceAccessModeRequest: { mode: components["schemas"]["ResourceAccessMode"]; }; - SetupPayMcpResponse: { - enabled_tool_ids: string[]; - mcp_path: string; - mcp_server_id: string; - tool_group_instance_id: string; - }; SignalAction: { agent_inbox_id: string; agent_inbox_instance_id?: string | null; @@ -16632,11 +16209,6 @@ export interface components { /** Format: int64 */ timeout_ms?: number | null; }; - UpdateIdentityRequest: { - disabled?: boolean | null; - display_name?: string | null; - identifiers?: components["schemas"]["IdentityIdentifier"][]; - }; UpdateManagedUserCredentialBody: { /** @description Allow Browser form filling to enumerate this credential. */ browser_password_manager_eligible?: boolean | null; @@ -16998,130 +16570,6 @@ export interface components { * @enum {string} */ VerifiedIdentityLinkSource: "provider_attested" | "challenge" | "admin"; - WaitForPayBalanceRequest: { - asset: string; - /** Format: double */ - minimum_amount: number; - /** Format: int64 */ - poll_interval_secs?: number | null; - /** Format: int64 */ - timeout_secs?: number | null; - wallet_id: string; - }; - WaitUntilBalanceRequest: { - asset: string; - /** Format: double */ - minimum_amount: number; - /** Format: int64 */ - poll_interval_secs?: number; - /** Format: int64 */ - timeout_secs?: number; - wallet_id: string; - }; - WaitUntilBalanceResponse: { - /** Format: double */ - observed_amount: number; - satisfied: boolean; - wallet_id: string; - }; - Wallet: { - cached_compose_balances?: null | components["schemas"]["WrappedJsonValue"]; - compose_customer_id: string; - compose_deposit_chain: string; - compose_deposit_currency: string; - compose_deposit_wallet_id?: string | null; - created_at: components["schemas"]["WrappedChronoDateTime"]; - id: string; - last_compose_sync_at?: null | components["schemas"]["WrappedChronoDateTime"]; - name: string; - org_id: string; - owner_id?: string | null; - privy_evm_address: string; - privy_wallet_id: string; - status: string; - team_id: string; - updated_at: components["schemas"]["WrappedChronoDateTime"]; - wallet_customer_id: string; - }; - WalletCustomer: { - account_type: string; - compose_customer_id: string; - compose_customer_payload: components["schemas"]["WrappedJsonValue"]; - compose_kyc_payload?: null | components["schemas"]["WrappedJsonValue"]; - created_at: components["schemas"]["WrappedChronoDateTime"]; - id: string; - kyc_flow_link?: string | null; - kyc_verified: boolean; - name: string; - org_id: string; - owner_id?: string | null; - team_id: string; - updated_at: components["schemas"]["WrappedChronoDateTime"]; - }; - WalletCustomerPaginatedResponse: { - items: components["schemas"]["WalletCustomer"][]; - next_page_token?: string; - }; - WalletMerchant: { - created_at: components["schemas"]["WrappedChronoDateTime"]; - favicon_url?: string | null; - icon_fetched_at?: null | components["schemas"]["WrappedChronoDateTime"]; - icon_media_type?: string | null; - icon_sha256?: string | null; - id: string; - merchant_url: string; - name?: string | null; - org_id: string; - origin: string; - raw_metadata: components["schemas"]["WrappedJsonValue"]; - team_id: string; - updated_at: components["schemas"]["WrappedChronoDateTime"]; - }; - WalletPaginatedResponse: { - items: components["schemas"]["Wallet"][]; - next_page_token?: string; - }; - WalletTransactionHistoryItem: { - amount?: string | null; - /** Format: int32 */ - amount_decimals?: number | null; - amount_raw?: string | null; - asset?: string | null; - chain?: string | null; - counterparty_address?: string | null; - created_at: components["schemas"]["WrappedChronoDateTime"]; - direction: string; - id: string; - item_type: string; - merchant?: null | components["schemas"]["WalletMerchant"]; - merchant_id?: string | null; - occurred_at: components["schemas"]["WrappedChronoDateTime"]; - org_id: string; - raw_payload: components["schemas"]["WrappedJsonValue"]; - scanned_at?: null | components["schemas"]["WrappedChronoDateTime"]; - status: string; - team_id: string; - updated_at: components["schemas"]["WrappedChronoDateTime"]; - wallet_id: string; - }; - WalletTransactionHistoryItemPaginatedResponse: { - items: components["schemas"]["WalletTransactionHistoryItem"][]; - next_page_token?: string; - }; - WalletVirtualAccount: { - cached_compose_deposit_info?: null | components["schemas"]["WrappedJsonValue"]; - compose_customer_id: string; - compose_virtual_account_id: string; - created_at: components["schemas"]["WrappedChronoDateTime"]; - currency: string; - id: string; - org_id: string; - status?: string | null; - team_id: string; - updated_at: components["schemas"]["WrappedChronoDateTime"]; - wallet_customer_id: string; - wallet_id: string; - }; /** @description Safe public metadata for a webhook signing key. Secret material is omitted. */ WebhookSigningKeyMetadata: { created_at: components["schemas"]["WrappedChronoDateTime"]; @@ -17426,17 +16874,16 @@ export interface operations { }; }; }; - "billing-enroll-account": { + "billing-ai-gateway-ensure": { parameters: { query?: never; header?: never; - path: { - account_id: string; - }; + path?: never; cookie?: never; }; requestBody?: never; responses: { + /** @description Organization billing and AI Gateway are ready */ 200: { headers: { [name: string]: unknown; @@ -17445,7 +16892,131 @@ export interface operations { "application/json": components["schemas"]["BillingContext"]; }; }; - 402: { + /** @description Authentication failed */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Organization membership required */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "billing-ai-credit-receipt-commit": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CommitAiCreditReceiptBody"]; + }; + }; + responses: { + /** @description Updated AI-credit balance */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["OrganizationAiCreditContext"]; + }; + }; + }; + }; + "billing-ai-credit-reserve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ReserveAiCreditsBody"]; + }; + }; + responses: { + /** @description Reserved AI credits */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AiCreditReservation"]; + }; + }; + }; + }; + "billing-ai-credit-reservation-release": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ReleaseAiCreditReservationBody"]; + }; + }; + responses: { + /** @description Updated AI-credit balance */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["OrganizationAiCreditContext"]; + }; + }; + }; + }; + "billing-ai-credit-topup-create": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateAiCreditTopupBody"]; + }; + }; + responses: { + /** @description AI-credit checkout */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AiCreditTopup"]; + }; + }; + /** @description Invalid amount or idempotency key */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Authentication failed */ + 401: { headers: { [name: string]: unknown; }; @@ -17453,6 +17024,7 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; + /** @description Organization administrator required */ 403: { headers: { [name: string]: unknown; @@ -17463,23 +17035,49 @@ export interface operations { }; }; }; - "billing-remove-account-seat": { + "billing-autumn-bridge-post": { parameters: { query?: never; header?: never; path: { - account_id: string; + /** @description autumn-js RPC name (e.g. `getOrCreateCustomer`, `attach`, `listPlans`) */ + operation: string; }; cookie?: never; }; - requestBody?: never; + /** @description Opaque JSON forwarded to Autumn */ + requestBody: { + content: { + "application/json": unknown; + }; + }; responses: { - 204: { + /** @description Upstream Autumn response body — see https://docs.useautumn.com/api-reference */ + 200: { headers: { [name: string]: unknown; }; content?: never; }; + /** @description Invalid request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Authentication failed */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Forbidden */ 403: { headers: { [name: string]: unknown; @@ -17488,9 +17086,27 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; + /** @description Unknown autumn-js operation */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Upstream Autumn error */ + 502: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; }; }; - "billing-ai-gateway-ensure": { + "billing-context-get": { parameters: { query?: never; header?: never; @@ -17499,239 +17115,7 @@ export interface operations { }; requestBody?: never; responses: { - /** @description Organization billing and AI Gateway are ready */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["BillingContext"]; - }; - }; - /** @description Authentication failed */ - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Organization membership required */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "billing-ai-credit-receipt-commit": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CommitAiCreditReceiptBody"]; - }; - }; - responses: { - /** @description Updated AI-credit balance */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["OrganizationAiCreditContext"]; - }; - }; - }; - }; - "billing-ai-credit-reserve": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ReserveAiCreditsBody"]; - }; - }; - responses: { - /** @description Reserved AI credits */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AiCreditReservation"]; - }; - }; - }; - }; - "billing-ai-credit-reservation-release": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ReleaseAiCreditReservationBody"]; - }; - }; - responses: { - /** @description Updated AI-credit balance */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["OrganizationAiCreditContext"]; - }; - }; - }; - }; - "billing-ai-credit-topup-create": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateAiCreditTopupBody"]; - }; - }; - responses: { - /** @description AI-credit checkout */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AiCreditTopup"]; - }; - }; - /** @description Invalid amount or idempotency key */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Authentication failed */ - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Organization administrator required */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "billing-autumn-bridge-post": { - parameters: { - query?: never; - header?: never; - path: { - /** @description autumn-js RPC name (e.g. `getOrCreateCustomer`, `attach`, `listPlans`) */ - operation: string; - }; - cookie?: never; - }; - /** @description Opaque JSON forwarded to Autumn */ - requestBody: { - content: { - "application/json": unknown; - }; - }; - responses: { - /** @description Upstream Autumn response body — see https://docs.useautumn.com/api-reference */ - 200: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Invalid request */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Authentication failed */ - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Unknown autumn-js operation */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Upstream Autumn error */ - 502: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "billing-context-get": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Organization billing context */ + /** @description Organization billing context */ 200: { headers: { [name: string]: unknown; @@ -17765,7 +17149,7 @@ export interface operations { query?: never; header?: never; path: { - /** @description tilde_core */ + /** @description tilde_core or tilde_pay */ product_id: string; }; cookie?: never; @@ -18611,406 +17995,6 @@ export interface operations { }; }; }; - "list-identities": { - parameters: { - query?: { - /** @description Page size; defaults to 50 and is clamped to 1..100 */ - page_size?: number; - /** @description Opaque cursor returned by the previous page */ - next_page_token?: string; - }; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["RuntimeIdentityPaginatedResponse"]; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "create-identity": { - parameters: { - query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateIdentityRequest"]; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["RuntimeIdentity"]; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "resolve-identity": { - parameters: { - query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["IdentityIdentifier"]; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["RuntimeIdentity"]; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "get-identity": { - parameters: { - query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path: { - /** @description Identity id */ - identity_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["RuntimeIdentity"]; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "update-identity": { - parameters: { - query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path: { - /** @description Identity id */ - identity_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateIdentityRequest"]; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["RuntimeIdentity"]; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "remove-identity-identifier": { - parameters: { - query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path: { - /** @description Identity id */ - identity_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["IdentityIdentifier"]; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["RuntimeIdentity"]; - }; - }; - }; - }; - "create-identity-link": { - parameters: { - query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path: { - /** @description Identity id */ - identity_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateIdentityLinkRequest"]; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["CreatedIdentityLink"]; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "provision-identity-team": { - parameters: { - query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path: { - /** @description Identity id */ - identity_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ProvisionIdentityTeamRequest"]; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["IdentityTeam"]; - }; - }; - }; - }; - "list-identity-teams": { - parameters: { - query?: { - /** @description Page size; defaults to 50 and is clamped to 1..100 */ - page_size?: number; - /** @description Opaque cursor returned by the previous page */ - next_page_token?: string; - }; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path: { - /** @description Identity id */ - identity_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["IdentityTeamMembershipPaginatedResponse"]; - }; - }; - }; - }; - "add-identity-team": { - parameters: { - query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path: { - /** @description Identity id */ - identity_id: string; - /** @description Team id */ - team_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["IdentityTeamMembership"]; - }; - }; - }; - }; - "remove-identity-team": { - parameters: { - query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path: { - /** @description Identity id */ - identity_id: string; - /** @description Team id */ - team_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - }; - }; "accept-invitation": { parameters: { query?: never; @@ -19029,7 +18013,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["AcceptInvitationResponse"]; + "application/json": components["schemas"]["UserInvitation"]; }; }; 403: { @@ -19042,55 +18026,6 @@ export interface operations { }; }; }; - "complete-identity-link": { - parameters: { - query?: never; - header: { - /** @description Hosted Tilde confirmation origin */ - Origin: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["IdentityClaimRequest"]; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["LinkedIdentity"]; - }; - }; - }; - }; - "preview-identity-link": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["IdentityClaimRequest"]; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["IdentityLinkPreview"]; - }; - }; - }; - }; get_local_runtime_tunnel_connector: { parameters: { query?: never; @@ -19289,45 +18224,6 @@ export interface operations { }; }; }; - "onboard-organization": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["OnboardOrganizationRequest"]; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["OnboardOrganizationResponse"]; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - 409: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; "list-organizations": { parameters: { query?: { @@ -19942,208 +18838,38 @@ export interface operations { }; }; }; - "delete-org-oidc-provider": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Organization ID */ - organization_id: string; - /** @description OIDC provider ID */ - provider_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Organization OIDC provider deleted */ - 200: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "update-org-oidc-provider": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Organization ID */ - organization_id: string; - /** @description OIDC provider ID */ - provider_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateOrgOidcProviderRequest"]; - }; - }; - responses: { - /** @description Organization OIDC provider updated */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["OrgOidcProvider"]; - }; - }; - /** @description Invalid request */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "verify-org-oidc-provider-domain": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Organization ID */ - organization_id: string; - /** @description OIDC provider ID */ - provider_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Organization OIDC provider domain verified */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["OrgOidcProvider"]; - }; - }; - /** @description DNS TXT record is missing or invalid */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "list-teams": { + "delete-org-oidc-provider": { parameters: { - query?: { - page_size?: number; - next_page_token?: string; - }; + query?: never; header?: never; path: { /** @description Organization ID */ organization_id: string; + /** @description OIDC provider ID */ + provider_id: string; }; cookie?: never; }; requestBody?: never; responses: { - /** @description List of teams */ + /** @description Organization OIDC provider deleted */ 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Unauthorized */ + 401: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["TeamPaginatedResponse"]; + "application/json": components["schemas"]["Error"]; }; }; - /** @description Bad Request */ - 400: { + /** @description Forbidden */ + 403: { headers: { [name: string]: unknown; }; @@ -20151,8 +18877,8 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Internal Server Error */ - 500: { + /** @description Not found */ + 404: { headers: { [name: string]: unknown; }; @@ -20162,32 +18888,34 @@ export interface operations { }; }; }; - "create-team": { + "update-org-oidc-provider": { parameters: { query?: never; header?: never; path: { /** @description Organization ID */ organization_id: string; + /** @description OIDC provider ID */ + provider_id: string; }; cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CreateTeamRequest"]; + "application/json": components["schemas"]["UpdateOrgOidcProviderRequest"]; }; }; responses: { - /** @description Team created */ + /** @description Organization OIDC provider updated */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["Team"]; + "application/json": components["schemas"]["OrgOidcProvider"]; }; }; - /** @description Bad Request */ + /** @description Invalid request */ 400: { headers: { [name: string]: unknown; @@ -20196,8 +18924,8 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Internal Server Error */ - 500: { + /** @description Unauthorized */ + 401: { headers: { [name: string]: unknown; }; @@ -20205,26 +18933,17 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - }; - }; - "get-self-profile": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { + /** @description Forbidden */ + 403: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["SelfProfileResponse"]; + "application/json": components["schemas"]["Error"]; }; }; - 401: { + /** @description Not found */ + 404: { headers: { [name: string]: unknown; }; @@ -20234,27 +18953,30 @@ export interface operations { }; }; }; - "update-self-profile": { + "verify-org-oidc-provider-domain": { parameters: { query?: never; header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateSelfProfileRequest"]; + path: { + /** @description Organization ID */ + organization_id: string; + /** @description OIDC provider ID */ + provider_id: string; }; + cookie?: never; }; + requestBody?: never; responses: { + /** @description Organization OIDC provider domain verified */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["SelfProfileResponse"]; + "application/json": components["schemas"]["OrgOidcProvider"]; }; }; + /** @description DNS TXT record is missing or invalid */ 400: { headers: { [name: string]: unknown; @@ -20263,6 +18985,7 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; + /** @description Unauthorized */ 401: { headers: { [name: string]: unknown; @@ -20271,26 +18994,61 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; + /** @description Forbidden */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Not found */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; }; }; - "get-self-avatar": { + "list-teams": { parameters: { - query?: never; + query?: { + page_size?: number; + next_page_token?: string; + }; header?: never; - path?: never; + path: { + /** @description Organization ID */ + organization_id: string; + }; cookie?: never; }; requestBody?: never; responses: { + /** @description List of teams */ 200: { headers: { [name: string]: unknown; }; content: { - "application/octet-stream": number[]; + "application/json": components["schemas"]["TeamPaginatedResponse"]; }; }; - 404: { + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Internal Server Error */ + 500: { headers: { [name: string]: unknown; }; @@ -20300,27 +19058,32 @@ export interface operations { }; }; }; - "upload-self-avatar": { + "create-team": { parameters: { query?: never; header?: never; - path?: never; + path: { + /** @description Organization ID */ + organization_id: string; + }; cookie?: never; }; requestBody: { content: { - "application/octet-stream": number[]; + "application/json": components["schemas"]["CreateTeamRequest"]; }; }; responses: { + /** @description Team created */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["SelfProfileAvatarResponse"]; + "application/json": components["schemas"]["Team"]; }; }; + /** @description Bad Request */ 400: { headers: { [name: string]: unknown; @@ -20329,9 +19092,18 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; + /** @description Internal Server Error */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; }; }; - "delete-self-avatar": { + "get-self-profile": { parameters: { query?: never; header?: never; @@ -20344,9 +19116,11 @@ export interface operations { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json": components["schemas"]["SelfProfileResponse"]; + }; }; - 404: { + 401: { headers: { [name: string]: unknown; }; @@ -20356,7 +19130,7 @@ export interface operations { }; }; }; - "set-self-openbot-avatar": { + "update-self-profile": { parameters: { query?: never; header?: never; @@ -20365,7 +19139,7 @@ export interface operations { }; requestBody: { content: { - "application/json": components["schemas"]["SetOpenBotAvatarRequest"]; + "application/json": components["schemas"]["UpdateSelfProfileRequest"]; }; }; responses: { @@ -20374,7 +19148,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["SelfProfileAvatarResponse"]; + "application/json": components["schemas"]["SelfProfileResponse"]; }; }; 400: { @@ -20385,20 +19159,20 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; }; }; - "list-proxy-tokens": { + "get-self-avatar": { parameters: { - query?: { - /** @description Page size; defaults to 50 and is clamped to 1..100 */ - page_size?: number; - /** @description Opaque cursor returned by the previous page */ - next_page_token?: string; - }; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; + query?: never; + header?: never; path?: never; cookie?: never; }; @@ -20409,18 +19183,10 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["OrgProxyTokenPaginatedResponse"]; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; + "application/octet-stream": number[]; }; }; - 403: { + 404: { headers: { [name: string]: unknown; }; @@ -20430,19 +19196,16 @@ export interface operations { }; }; }; - "create-proxy-token": { + "upload-self-avatar": { parameters: { query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; + header?: never; path?: never; cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CreateProxyTokenRequest"]; + "application/octet-stream": number[]; }; }; responses: { @@ -20451,18 +19214,10 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["CreatedProxyToken"]; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; + "application/json": components["schemas"]["SelfProfileAvatarResponse"]; }; }; - 403: { + 400: { headers: { [name: string]: unknown; }; @@ -20472,17 +19227,11 @@ export interface operations { }; }; }; - "revoke-proxy-token": { + "delete-self-avatar": { parameters: { query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path: { - /** @description Token id */ - token_id: string; - }; + header?: never; + path?: never; cookie?: never; }; requestBody?: never; @@ -20491,19 +19240,9 @@ export interface operations { headers: { [name: string]: unknown; }; - content: { - "application/json": unknown; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; + content?: never; }; - 403: { + 404: { headers: { [name: string]: unknown; }; @@ -20513,22 +19252,16 @@ export interface operations { }; }; }; - "rename-proxy-token": { + "set-self-openbot-avatar": { parameters: { query?: never; - header?: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - }; - path: { - /** @description Token id */ - token_id: string; - }; + header?: never; + path?: never; cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["RenameProxyTokenRequest"]; + "application/json": components["schemas"]["SetOpenBotAvatarRequest"]; }; }; responses: { @@ -20537,18 +19270,10 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": unknown; - }; - }; - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; + "application/json": components["schemas"]["SelfProfileAvatarResponse"]; }; }; - 403: { + 400: { headers: { [name: string]: unknown; }; @@ -21911,6 +20636,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -21932,6 +20658,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -21962,6 +20689,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -21996,6 +20724,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -22022,6 +20751,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -22044,6 +20774,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -22070,6 +20801,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -22096,6 +20828,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -22122,6 +20855,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; plane: components["schemas"]["ResourceGrantPlane"]; @@ -22145,6 +20879,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; plane: components["schemas"]["ResourceGrantPlane"]; @@ -22172,6 +20907,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; plane: components["schemas"]["ResourceGrantPlane"]; @@ -22678,6 +21414,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -22708,6 +21445,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -22750,6 +21488,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -22780,6 +21519,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -22822,6 +21562,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -22925,6 +21666,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -22947,6 +21689,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -22973,6 +21716,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -23054,6 +21798,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23077,6 +21822,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23104,6 +21850,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23128,6 +21875,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23160,6 +21908,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23183,6 +21932,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23210,6 +21960,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23234,6 +21985,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23258,6 +22010,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23286,6 +22039,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23314,6 +22068,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23342,6 +22097,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23369,6 +22125,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23392,6 +22149,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23419,6 +22177,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23443,6 +22202,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23471,6 +22231,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23502,6 +22263,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23526,6 +22288,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23554,6 +22317,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23582,6 +22346,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23615,6 +22380,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23638,6 +22404,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23665,6 +22432,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23689,6 +22457,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -23770,6 +22539,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -23812,6 +22582,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -23854,6 +22625,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; tool_id: string; @@ -23897,6 +22669,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -23939,6 +22712,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; plane: string; @@ -23970,6 +22744,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; plane: string; @@ -24013,6 +22788,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; plane: string; @@ -24134,32 +22910,499 @@ export interface operations { }; }; }; - "chatkit-auto-provision-slack-channel-installation": { + "chatkit-auto-provision-slack-channel-installation": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["AutoProvisionSlackChannelInstallationRequestInner"]; + }; + }; + responses: { + /** @description Auto-provision Slack chat provider installation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AutoProvisionSlackChannelInstallationResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Internal Server Error */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-create-slack-channel-installation": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateSlackChannelInstallationRequestInner"]; + }; + }; + responses: { + /** @description Create pending Slack installation */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CreateSlackChannelInstallationResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Internal Server Error */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-start-slack-oauth": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Pending Slack chat provider ID */ + chat_provider_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["StartSlackOauthRequestInner"]; + }; + }; + responses: { + /** @description Start Slack OAuth */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CreateSlackChannelInstallationResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Internal Server Error */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-complete-slack-self-managed-setup": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Pending Slack chat provider ID */ + chat_provider_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CompleteSlackSelfManagedSetupRequestInner"]; + }; + }; + responses: { + /** @description Complete self-managed Slack setup */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RegisterChatKitChatProviderResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Internal Server Error */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-register-vercel-ui-chat-provider": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["RegisterVercelUiChatProviderRequestInner"]; + }; + }; + responses: { + /** @description Register Vercel UI chat provider */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Inbox"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Internal Server Error */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-register-chat-provider": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description ChatKit chat provider ID */ + channel_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["RegisterChatKitChatProviderRequestInner"]; + }; + }; + responses: { + /** @description Register ChatKit chat provider */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RegisterChatKitChatProviderResponse"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Internal Server Error */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-delete-chat-provider": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description ChatKit chat provider inbox ID */ + channel_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Delete ChatKit chat provider */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["DeleteInboxResponse"]; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-update-chat-provider": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description ChatKit chat provider inbox ID */ + channel_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateChatKitChatProviderRequestInner"]; + }; + }; + responses: { + /** @description Update ChatKit chat provider */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RegisterChatKitChatProviderResponse"]; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-set-chat-provider-status": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description ChatKit chat provider inbox ID */ + channel_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["SetChatKitResourceStatusRequest"]; + }; + }; + responses: { + /** @description Update ChatKit chat provider status */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RegisterChatKitChatProviderResponse"]; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-list-available-chat-channels": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description List available ChatKit chat channels */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Vec"]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Internal Server Error */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-get-custom-connection": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; + connection_id: string; }; cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["AutoProvisionSlackChannelInstallationRequestInner"]; - }; - }; + requestBody?: never; responses: { - /** @description Auto-provision Slack chat provider installation */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["AutoProvisionSlackChannelInstallationResponse"]; + "application/json": components["schemas"]["CustomConnectionInfo"]; }; }; - /** @description Bad Request */ 400: { headers: { [name: string]: unknown; @@ -24168,43 +23411,33 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Internal Server Error */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; }; }; - "chatkit-create-slack-channel-installation": { + "chatkit-ingest-custom-provider-message": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; + connection_id: string; }; cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CreateSlackChannelInstallationRequestInner"]; + "application/json": components["schemas"]["CustomInboundMessage"]; }; }; responses: { - /** @description Create pending Slack installation */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["CreateSlackChannelInstallationResponse"]; + "application/json": components["schemas"]["CustomIngressReceipt"]; }; }; - /** @description Bad Request */ 400: { headers: { [name: string]: unknown; @@ -24213,45 +23446,33 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Internal Server Error */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; }; }; - "chatkit-start-slack-oauth": { + "chatkit-custom-provider-runtime": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; - /** @description Pending Slack chat provider ID */ - chat_provider_id: string; + connection_id: string; }; cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["StartSlackOauthRequestInner"]; + "application/json": components["schemas"]["CustomRuntimeCommand"]; }; }; responses: { - /** @description Start Slack OAuth */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["CreateSlackChannelInstallationResponse"]; + "application/json": components["schemas"]["CustomRuntimeResponse"]; }; }; - /** @description Bad Request */ 400: { headers: { [name: string]: unknown; @@ -24260,45 +23481,29 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Internal Server Error */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; }; }; - "chatkit-complete-slack-self-managed-setup": { + "chatkit-rotate-custom-connection-credentials": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; - /** @description Pending Slack chat provider ID */ - chat_provider_id: string; + connection_id: string; }; cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["CompleteSlackSelfManagedSetupRequestInner"]; - }; - }; + requestBody?: never; responses: { - /** @description Complete self-managed Slack setup */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["RegisterChatKitChatProviderResponse"]; + "application/json": components["schemas"]["CustomConnectionCredentials"]; }; }; - /** @description Bad Request */ 400: { headers: { [name: string]: unknown; @@ -24307,8 +23512,30 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Internal Server Error */ - 500: { + }; + }; + "chatkit-list-custom-connection-work": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + connection_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CustomConnectionWorkPaginatedResponse"]; + }; + }; + 400: { headers: { [name: string]: unknown; }; @@ -24318,32 +23545,31 @@ export interface operations { }; }; }; - "chatkit-register-vercel-ui-chat-provider": { + "chatkit-retry-custom-connection-work": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; + connection_id: string; }; cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["RegisterVercelUiChatProviderRequestInner"]; + "application/json": components["schemas"]["RetryConnectionWork"]; }; }; responses: { - /** @description Register Vercel UI chat provider */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["Inbox"]; + "application/json": components["schemas"]["DeleteInboxResponse"]; }; }; - /** @description Bad Request */ 400: { headers: { [name: string]: unknown; @@ -24352,8 +23578,29 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Internal Server Error */ - 500: { + }; + }; + "chatkit-list-custom-provider": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CustomProviderList"]; + }; + }; + 400: { headers: { [name: string]: unknown; }; @@ -24363,34 +23610,30 @@ export interface operations { }; }; }; - "chatkit-register-chat-provider": { + "chatkit-create-custom-provider": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; - /** @description ChatKit chat provider ID */ - channel_id: string; }; cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["RegisterChatKitChatProviderRequestInner"]; + "application/json": components["schemas"]["CustomProviderRegistrationInput"]; }; }; responses: { - /** @description Register ChatKit chat provider */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["RegisterChatKitChatProviderResponse"]; + "application/json": components["schemas"]["CustomProviderRegistration"]; }; }; - /** @description Bad Request */ 400: { headers: { [name: string]: unknown; @@ -24399,38 +23642,27 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Internal Server Error */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; }; }; - "chatkit-delete-chat-provider": { + "chatkit-get-custom-provider": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; - /** @description ChatKit chat provider inbox ID */ - channel_id: string; + provider_id: string; }; cookie?: never; }; requestBody?: never; responses: { - /** @description Delete ChatKit chat provider */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["DeleteInboxResponse"]; + "application/json": components["schemas"]["CustomChatKitProvider"]; }; }; 400: { @@ -24441,15 +23673,34 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - 404: { + }; + }; + "chatkit-update-custom-provider": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + provider_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CustomProviderRegistrationInput"]; + }; + }; + responses: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["Error"]; + "application/json": components["schemas"]["CustomChatKitProvider"]; }; }; - 500: { + 400: { headers: { [name: string]: unknown; }; @@ -24459,31 +23710,25 @@ export interface operations { }; }; }; - "chatkit-update-chat-provider": { + "chatkit-delete-custom-provider": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; - /** @description ChatKit chat provider inbox ID */ - channel_id: string; + provider_id: string; }; cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateChatKitChatProviderRequestInner"]; - }; - }; + requestBody?: never; responses: { - /** @description Update ChatKit chat provider */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["RegisterChatKitChatProviderResponse"]; + "application/json": components["schemas"]["DeleteInboxResponse"]; }; }; 400: { @@ -24494,15 +23739,30 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - 404: { + }; + }; + "chatkit-list-custom-connections": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + provider_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["Error"]; + "application/json": components["schemas"]["CustomConnectionInfoPaginatedResponse"]; }; }; - 500: { + 400: { headers: { [name: string]: unknown; }; @@ -24512,31 +23772,25 @@ export interface operations { }; }; }; - "chatkit-set-chat-provider-status": { + "chatkit-disable-custom-provider": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; - /** @description ChatKit chat provider inbox ID */ - channel_id: string; + provider_id: string; }; cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["SetChatKitResourceStatusRequest"]; - }; - }; + requestBody?: never; responses: { - /** @description Update ChatKit chat provider status */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["RegisterChatKitChatProviderResponse"]; + "application/json": components["schemas"]["CustomChatKitProvider"]; }; }; 400: { @@ -24547,15 +23801,30 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - 404: { + }; + }; + "chatkit-enable-custom-provider": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + provider_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["Error"]; + "application/json": components["schemas"]["CustomChatKitProvider"]; }; }; - 500: { + 400: { headers: { [name: string]: unknown; }; @@ -24565,28 +23834,27 @@ export interface operations { }; }; }; - "chatkit-list-available-chat-channels": { + "chatkit-refresh-custom-provider": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; + provider_id: string; }; cookie?: never; }; requestBody?: never; responses: { - /** @description List available ChatKit chat channels */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["Vec"]; + "application/json": components["schemas"]["CustomChatKitProvider"]; }; }; - /** @description Bad Request */ 400: { headers: { [name: string]: unknown; @@ -24595,8 +23863,30 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Internal Server Error */ - 500: { + }; + }; + "chatkit-rotate-custom-provider": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + provider_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CustomProviderRegistration"]; + }; + }; + 400: { headers: { [name: string]: unknown; }; @@ -24611,6 +23901,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -24795,6 +24086,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -24816,6 +24108,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -24841,6 +24134,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24863,6 +24157,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24885,6 +24180,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24907,6 +24203,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24933,6 +24230,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24955,6 +24253,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24977,6 +24276,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -25889,6 +25189,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; message_id: components["schemas"]["WrappedUuidV4"]; @@ -25971,6 +25272,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: string; }; @@ -26013,6 +25315,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: string; }; @@ -26055,6 +25358,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: string; plane: string; @@ -26086,6 +25390,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: string; plane: string; @@ -26129,6 +25434,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: string; plane: string; @@ -26260,6 +25566,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -26320,6 +25627,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -26353,6 +25661,40 @@ export interface operations { }; }; }; + "chatkit-stream-session-events": { + parameters: { + query?: { + after_revision?: number | null; + }; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + session_id: components["schemas"]["WrappedUuidV4"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Canonical session event stream */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "text/event-stream": unknown; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; "chatkit-list-room-invitations": { parameters: { query?: { @@ -26361,6 +25703,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -26399,6 +25742,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -26441,6 +25785,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; invitation_id: components["schemas"]["WrappedUuidV4"]; @@ -26480,6 +25825,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; invitation_id: components["schemas"]["WrappedUuidV4"]; @@ -26574,17 +25920,161 @@ export interface operations { }; }; }; - "chatkit-list-message-history": { + "chatkit-list-message-history": { + parameters: { + query?: { + page_size?: number; + next_page_token?: string | null; + channel_inbox_id?: string | null; + participant_inbox_instance_id?: string | null; + user_external_id?: string | null; + created_after?: null | components["schemas"]["WrappedChronoDateTime"]; + created_before?: null | components["schemas"]["WrappedChronoDateTime"]; + }; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Session ID */ + session_id: components["schemas"]["WrappedUuidV4"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description List ChatKit message history */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["MessagePaginatedResponse"]; + }; + }; + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-get-compacted-history": { + parameters: { + query: { + agent_id: string; + page_size?: number; + next_page_token?: string | null; + }; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + session_id: components["schemas"]["WrappedUuidV4"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ChatKitCompactedHistoryResponse"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-list-session-participants": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Session ID */ + session_id: components["schemas"]["WrappedUuidV4"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description List ChatKit participants */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ChatKitParticipant"][]; + }; + }; + /** @description Bad Request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Not Found */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Internal Server Error */ + 500: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "chatkit-add-session-participant": { parameters: { - query?: { - page_size?: number; - next_page_token?: string | null; - channel_inbox_id?: string | null; - participant_inbox_instance_id?: string | null; - user_external_id?: string | null; - created_after?: null | components["schemas"]["WrappedChronoDateTime"]; - created_before?: null | components["schemas"]["WrappedChronoDateTime"]; - }; + query?: never; header?: never; path: { /** @description Team ID */ @@ -26594,106 +26084,19 @@ export interface operations { }; cookie?: never; }; - requestBody?: never; - responses: { - /** @description List ChatKit message history */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["MessagePaginatedResponse"]; - }; - }; - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "chatkit-get-compacted-history": { - parameters: { - query: { - agent_id: string; - page_size?: number; - next_page_token?: string | null; - }; - header?: never; - path: { - team_id: string; - session_id: components["schemas"]["WrappedUuidV4"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ChatKitCompactedHistoryResponse"]; - }; - }; - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "chatkit-list-session-participants": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Session ID */ - session_id: components["schemas"]["WrappedUuidV4"]; + requestBody: { + content: { + "application/json": components["schemas"]["AddChatKitParticipantRequestInner"]; }; - cookie?: never; }; - requestBody?: never; responses: { - /** @description List ChatKit participants */ + /** @description Add ChatKit participant */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["ChatKitParticipant"][]; + "application/json": components["schemas"]["ChatKitParticipant"]; }; }; /** @description Bad Request */ @@ -26725,7 +26128,7 @@ export interface operations { }; }; }; - "chatkit-add-session-participant": { + "chatkit-remove-session-participant": { parameters: { query?: never; header?: never; @@ -26734,22 +26137,20 @@ export interface operations { team_id: string; /** @description Session ID */ session_id: components["schemas"]["WrappedUuidV4"]; + /** @description Participant inbox instance ID */ + participant_instance_id: string; }; cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["AddChatKitParticipantRequestInner"]; - }; - }; + requestBody?: never; responses: { - /** @description Add ChatKit participant */ + /** @description Remove ChatKit participant */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["ChatKitParticipant"]; + "application/json": components["schemas"]["RemoveChatKitParticipantResponse"]; }; }; /** @description Bad Request */ @@ -26781,32 +26182,27 @@ export interface operations { }; }; }; - "chatkit-remove-session-participant": { + "chatkit-list-session-provider-tools": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; - /** @description Session ID */ - session_id: components["schemas"]["WrappedUuidV4"]; - /** @description Participant inbox instance ID */ - participant_instance_id: string; + session_id: string; }; cookie?: never; }; requestBody?: never; responses: { - /** @description Remove ChatKit participant */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["RemoveChatKitParticipantResponse"]; + "application/json": components["schemas"]["CustomSessionToolCatalog"]; }; }; - /** @description Bad Request */ 400: { headers: { [name: string]: unknown; @@ -26815,24 +26211,6 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Not Found */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Internal Server Error */ - 500: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; }; }; "chatkit-send-session-message": { @@ -26893,6 +26271,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; tool_name: string; @@ -27306,6 +26685,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; broker_state_id: string; }; @@ -27336,6 +26716,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -27357,6 +26738,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -27379,6 +26761,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -27405,6 +26788,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -27427,6 +26811,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -27453,6 +26838,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; principal_type: string; @@ -27475,6 +26861,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -27501,6 +26888,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -27523,6 +26911,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -27549,6 +26938,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; principal_type: string; @@ -27571,6 +26961,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -27593,6 +26984,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -27619,6 +27011,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; state_id: string; }; @@ -27642,6 +27035,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; state_id: string; }; @@ -27672,6 +27066,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -27694,6 +27089,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -27717,6 +27113,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -27738,6 +27135,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -27765,6 +27163,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27791,6 +27190,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27813,6 +27213,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27839,6 +27240,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -27861,6 +27263,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27887,6 +27290,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27909,6 +27313,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27935,6 +27340,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -27961,6 +27367,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -27983,6 +27390,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -28006,6 +27414,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -28033,6 +27442,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -28060,6 +27470,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -28087,6 +27498,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; credential_source_type_id: string; }; @@ -28114,6 +27526,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; credential_source_type_id: string; }; @@ -28139,6 +27552,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; credential_source_type_id: string; }; @@ -28166,6 +27580,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; credential_source_type_id: string; }; @@ -28193,6 +27608,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; credential_source_type_id: string; }; @@ -28221,6 +27637,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -28243,6 +27660,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -28266,6 +27684,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -28287,6 +27706,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -28314,6 +27734,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -28340,6 +27761,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -28362,6 +27784,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -28388,6 +27811,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -28410,6 +27834,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -28436,6 +27861,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -28458,6 +27884,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -28484,6 +27911,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -28506,6 +27934,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -28556,7 +27985,7 @@ export interface operations { query?: never; header?: never; path: { - /** @description Tilde team ID */ + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -28601,7 +28030,7 @@ export interface operations { query?: never; header?: never; path: { - /** @description Tilde team ID */ + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -28646,7 +28075,7 @@ export interface operations { query?: never; header?: never; path: { - /** @description Tilde team ID */ + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -28687,7 +28116,7 @@ export interface operations { query?: never; header?: never; path: { - /** @description Tilde team ID */ + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -28732,6 +28161,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; }; @@ -28762,6 +28192,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; }; @@ -28796,6 +28227,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; }; @@ -28830,6 +28262,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; }; @@ -28869,6 +28302,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; }; @@ -28903,6 +28337,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; release_id: string; @@ -28934,6 +28369,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; release_id: string; @@ -28970,6 +28406,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; release_id: string; @@ -28996,37 +28433,6 @@ export interface operations { }; }; }; - "issue-proxy-realtime-ticket": { - parameters: { - query?: never; - header: { - /** @description Organization routing when not selected by host */ - "X-Tilde-Org-Id"?: string | null; - /** @description Enabled runtime identity acting in the route team */ - "X-Tilde-Identity-Id": string; - }; - path: { - /** @description Team id */ - team_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["IssueChatKitRealtimeSocketTicketRequest"]; - }; - }; - responses: { - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ChatKitRealtimeSocketTicket"]; - }; - }; - }; - }; list_managed_user_credentials: { parameters: { query?: { @@ -29035,6 +28441,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -29057,6 +28464,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; type_id: string; }; @@ -29086,6 +28494,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; type_id: string; id: components["schemas"]["WrappedUuidV4"]; @@ -29110,6 +28519,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; type_id: string; id: components["schemas"]["WrappedUuidV4"]; @@ -29138,6 +28548,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -32093,6 +31504,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32114,6 +31526,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32142,6 +31555,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32163,6 +31577,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32185,6 +31600,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32205,6 +31621,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32231,6 +31648,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32253,6 +31671,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32275,6 +31694,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32305,6 +31725,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32327,6 +31748,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32351,6 +31773,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; document_id: string; @@ -32374,6 +31797,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32396,6 +31820,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32422,6 +31847,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32444,6 +31870,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32470,6 +31897,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; principal_type: components["schemas"]["ResourcePrincipalType"]; @@ -32492,6 +31920,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32518,6 +31947,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32544,6 +31974,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32570,6 +32001,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32592,6 +32024,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32618,6 +32051,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32644,6 +32078,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32666,6 +32101,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32692,6 +32128,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; principal_type: components["schemas"]["ResourcePrincipalType"]; @@ -32714,6 +32151,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; memory_bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32739,6 +32177,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32760,6 +32199,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32785,6 +32225,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32810,6 +32251,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32834,6 +32276,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32860,6 +32303,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32886,6 +32330,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32911,6 +32356,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; agent_id: string; }; @@ -32937,6 +32383,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32960,6 +32407,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32982,6 +32430,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33008,6 +32457,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; setup_id: string; }; @@ -33149,6 +32599,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; profile_id: string; }; @@ -33224,6 +32675,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; profile_id: string; }; @@ -33250,6 +32702,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; profile_id: string; }; @@ -33272,6 +32725,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; profile_id: string; }; @@ -33298,6 +32752,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; profile_id: string; principal_type: components["schemas"]["ResourcePrincipalType"]; @@ -33320,6 +32775,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; profile_id: string; }; @@ -33346,6 +32802,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; profile_id: string; }; @@ -33368,6 +32825,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; profile_id: string; }; @@ -33394,6 +32852,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; profile_id: string; principal_type: components["schemas"]["ResourcePrincipalType"]; @@ -33516,6 +32975,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; delivery_id: components["schemas"]["WrappedUuidV4"]; }; @@ -33538,6 +32998,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; delivery_id: components["schemas"]["WrappedUuidV4"]; }; @@ -33587,6 +33048,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33612,6 +33074,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -33638,6 +33101,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -33664,6 +33128,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; plane: components["schemas"]["ResourceGrantPlane"]; @@ -33687,6 +33152,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; plane: components["schemas"]["ResourceGrantPlane"]; @@ -33714,6 +33180,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; plane: components["schemas"]["ResourceGrantPlane"]; @@ -33737,6 +33204,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; }; @@ -33759,6 +33227,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; }; @@ -33781,6 +33250,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; }; @@ -33807,6 +33277,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; instance_id: string; }; @@ -33863,6 +33334,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33894,6 +33366,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33929,6 +33402,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33951,6 +33425,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33995,6 +33470,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; provider_id: string; }; @@ -34031,6 +33507,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -34062,6 +33539,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -34097,6 +33575,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34138,6 +33617,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34177,6 +33657,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34222,6 +33703,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34248,6 +33730,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34270,6 +33753,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34296,6 +33780,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -34318,6 +33803,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34363,6 +33849,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34413,6 +33900,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34454,6 +33942,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; title: string; @@ -34496,6 +33985,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; skill_id: string; @@ -34538,6 +34028,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; skill_id: string; @@ -34580,6 +34071,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34606,6 +34098,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34628,6 +34121,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34654,6 +34148,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -34676,6 +34171,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34717,6 +34213,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34756,6 +34253,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34801,6 +34299,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34827,6 +34326,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34849,6 +34349,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34875,6 +34376,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -34897,6 +34399,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34938,6 +34441,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: string; }; @@ -34983,6 +34487,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -35009,6 +34514,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -35031,6 +34537,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -35057,6 +34564,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -35328,164 +34836,6 @@ export interface operations { }; }; }; - "tilde-pay-provision": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ProvisionTildePayRequest"]; - }; - }; - responses: { - /** @description Fully reconciled Tilde Pay onboarding state */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ProvisionTildePayResponse"]; - }; - }; - }; - }; - "tilde-pay-payment-mpp": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["PayPaymentRequest"]; - }; - }; - responses: { - /** @description Tilde Pay payment response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["PaymentResponse"]; - }; - }; - }; - }; - "tilde-pay-payment-x402": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["PayPaymentRequest"]; - }; - }; - responses: { - /** @description Tilde Pay payment response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["PaymentResponse"]; - }; - }; - }; - }; - "tilde-pay-wallet-summary": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Tilde Pay wallet summary */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["PayWalletSummaryResponse"]; - }; - }; - }; - }; - "tilde-pay-wallet-create": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreatePayWalletRequest"]; - }; - }; - responses: { - /** @description Tilde Pay wallet summary */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["PayWalletSummaryResponse"]; - }; - }; - }; - }; - "tilde-pay-wallet-wait-until-balance": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["WaitForPayBalanceRequest"]; - }; - }; - responses: { - /** @description Tilde Pay balance wait result */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["WaitUntilBalanceResponse"]; - }; - }; - }; - }; "list-trusted-runtimes": { parameters: { query?: { @@ -35494,6 +34844,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -35525,6 +34876,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -35560,6 +34912,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -35596,142 +34949,27 @@ export interface operations { }; }; }; - "delete-trusted-runtime": { - parameters: { - query?: never; - header?: never; - path: { - team_id: string; - id: components["schemas"]["WrappedUuidV4"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Deleted trusted runtime */ - 200: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "update-trusted-runtime": { - parameters: { - query?: never; - header?: never; - path: { - team_id: string; - id: components["schemas"]["WrappedUuidV4"]; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UpdateTrustedRuntimeBody"]; - }; - }; - responses: { - /** @description Updated trusted runtime */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["TrustedRuntime"]; - }; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "wallet-list": { - parameters: { - query?: { - page_size?: number; - owner_id?: string | null; - }; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description List wallets */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["WalletPaginatedResponse"]; - }; - }; - }; - }; - "wallet-create": { + "delete-trusted-runtime": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; + id: components["schemas"]["WrappedUuidV4"]; }; cookie?: never; }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateWalletBody"]; - }; - }; + requestBody?: never; responses: { - /** @description Created wallet */ + /** @description Deleted trusted runtime */ 200: { headers: { [name: string]: unknown; }; - content: { - "application/json": components["schemas"]["Wallet"]; - }; - }; - /** @description Invalid request */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; + content?: never; }; - /** @description Authentication failed */ + /** @description Unauthorized */ 401: { headers: { [name: string]: unknown; @@ -35740,379 +34978,35 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Upstream provider error */ - 502: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "wallet-customer-list": { - parameters: { - query?: { - page_size?: number; - owner_id?: string | null; - }; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description List wallet customers */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["WalletCustomerPaginatedResponse"]; - }; - }; - }; - }; - "wallet-customer-create": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateWalletCustomerBody"]; - }; - }; - responses: { - /** @description Created wallet customer */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["WalletCustomer"]; - }; - }; - }; - }; - "wallet-customer-get": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet customer ID */ - customer_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Wallet customer */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["WalletCustomer"]; - }; - }; - }; - }; - "wallet-customer-kyc-get": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet customer ID */ - customer_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Wallet customer KYC details */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetWalletCustomerKycResponse"]; - }; - }; - }; - }; - "wallet-get": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet ID */ - wallet_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Wallet */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Wallet"]; - }; - }; - }; - }; - "wallet-get-balances": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet ID */ - wallet_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Wallet balances */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetBalancesResponse"]; - }; - }; - }; - }; - "wallet-get-crypto-deposit-information": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet ID */ - wallet_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Wallet crypto deposit information */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetCryptoDepositInformationResponse"]; - }; - }; }; }; - "wallet-get-fiat-deposit-information": { - parameters: { - query?: { - currency?: string | null; - }; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet ID */ - wallet_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Wallet fiat deposit information */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetFiatDepositInformationResponse"]; - }; - }; - }; - }; - "wallet-make-mpp-payment": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet ID */ - wallet_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["MakeMppPaymentRequest"]; - }; - }; - responses: { - /** @description Payment response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["PaymentResponse"]; - }; - }; - }; - }; - "wallet-make-x402-payment": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet ID */ - wallet_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["MakeX402PaymentRequest"]; - }; - }; - responses: { - /** @description Payment response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["PaymentResponse"]; - }; - }; - }; - }; - "wallet-transaction-history-list": { - parameters: { - query?: { - page_size?: number; - next_page_token?: string | null; - }; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet ID */ - wallet_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Wallet transaction history */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["WalletTransactionHistoryItemPaginatedResponse"]; - }; - }; - }; - }; - "wallet-transaction-history-refresh": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet ID */ - wallet_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Wallet transaction history refresh result */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["RefreshWalletTransactionHistoryResponse"]; - }; - }; - }; - }; - "wallet-virtual-account-create": { + "update-trusted-runtime": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; - /** @description Wallet ID */ - wallet_id: string; + id: components["schemas"]["WrappedUuidV4"]; }; cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["CreateWalletVirtualAccountBody"]; + "application/json": components["schemas"]["UpdateTrustedRuntimeBody"]; }; }; responses: { - /** @description Created wallet virtual account */ + /** @description Updated trusted runtime */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["WalletVirtualAccount"]; - }; - }; - /** @description Invalid request */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; + "application/json": components["schemas"]["TrustedRuntime"]; }; }; - /** @description Authentication failed */ + /** @description Unauthorized */ 401: { headers: { [name: string]: unknown; @@ -36121,17 +35015,8 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Upstream provider error */ - 502: { + /** @description Not found */ + 404: { headers: { [name: string]: unknown; }; @@ -36141,40 +35026,12 @@ export interface operations { }; }; }; - "wallet-wait-until-balance": { - parameters: { - query?: never; - header?: never; - path: { - /** @description Team ID */ - team_id: string; - /** @description Wallet ID */ - wallet_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["WaitUntilBalanceRequest"]; - }; - }; - responses: { - /** @description Wait result */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["WaitUntilBalanceResponse"]; - }; - }; - }; - }; "list-wiki-ontology-templates": { parameters: { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -36199,6 +35056,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -36220,6 +35078,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; }; cookie?: never; @@ -36245,6 +35104,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36267,6 +35127,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36287,6 +35148,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36318,6 +35180,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36340,6 +35203,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36366,6 +35230,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -36394,6 +35259,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -36421,6 +35287,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -36444,6 +35311,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -36474,6 +35342,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -36513,6 +35382,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -36536,6 +35406,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -36566,6 +35437,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36588,6 +35460,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36610,6 +35483,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; template_key: string; @@ -36633,6 +35507,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36659,6 +35534,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36681,6 +35557,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36707,6 +35584,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; principal_type: components["schemas"]["ResourcePrincipalType"]; @@ -36731,6 +35609,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36753,6 +35632,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36779,6 +35659,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -36802,6 +35683,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -36830,6 +35712,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -36864,6 +35747,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -36891,6 +35775,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -36914,6 +35799,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -36948,6 +35834,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -36972,6 +35859,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -37001,6 +35889,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -37036,6 +35925,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37058,6 +35948,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37084,6 +35975,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37110,6 +36002,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -37133,6 +36026,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -37167,6 +36061,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -37199,6 +36094,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -37224,6 +36120,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -37247,6 +36144,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -37281,6 +36179,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -37321,6 +36220,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -37347,6 +36247,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -37370,6 +36271,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37392,6 +36294,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37418,6 +36321,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -37441,6 +36345,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -37469,6 +36374,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -37503,6 +36409,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -37526,6 +36433,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -37560,6 +36468,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -37587,6 +36496,7 @@ export interface operations { }; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37609,6 +36519,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37642,6 +36553,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; relationship_id: components["schemas"]["WrappedUuidV4"]; @@ -37665,6 +36577,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; relationship_id: components["schemas"]["WrappedUuidV4"]; @@ -37686,6 +36599,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; relationship_id: components["schemas"]["WrappedUuidV4"]; @@ -37713,6 +36627,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37735,6 +36650,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37761,6 +36677,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37787,6 +36704,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37809,6 +36727,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -37835,6 +36754,7 @@ export interface operations { query?: never; header?: never; path: { + /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; principal_type: components["schemas"]["ResourcePrincipalType"]; diff --git a/packages/sdk/src/index.ts b/packages/sdk/src/index.ts index 565445bc..1001deb4 100644 --- a/packages/sdk/src/index.ts +++ b/packages/sdk/src/index.ts @@ -67,6 +67,19 @@ export { type TaskStatus, type ToolExecutionState, } from "./chatkit"; +export type { + BoundProviderTool, + CustomChatKitConnection, + CustomChatKitProvider, + CustomChatKitSetup, + CustomChatKitWork, + CustomProviderInput, +} from "./chatkit/custom-providers"; +export { + type ChatKitSessionStreamFrame, + type ChatKitSessionStreamOptions, + ChatKitStreamProtocolError, +} from "./chatkit/session-stream"; export { Client, createClient } from "./client"; export { type CapabilityChangeApproval, diff --git a/packages/sdk/test/chatkit-provider-parity.test.ts b/packages/sdk/test/chatkit-provider-parity.test.ts new file mode 100644 index 00000000..64c6c11d --- /dev/null +++ b/packages/sdk/test/chatkit-provider-parity.test.ts @@ -0,0 +1,535 @@ +import { createHmac } from "node:crypto"; +import { afterEach, describe, expect, it, vi } from "vite-plus/test"; +import { agentMailProvider } from "../examples/custom-chatkit/agentmail"; +import { linqProvider } from "../examples/custom-chatkit/linq"; +import { ProviderStore } from "../examples/custom-chatkit/store"; +import { chatKitProviderEndpoint } from "../src/chatkit-provider"; + +const key = "test-tilde-signing-key"; +const stores: ProviderStore[] = []; +afterEach(() => { + for (const store of stores.splice(0)) store.close(); +}); +function store() { + const store = new ProviderStore(":memory:", new Uint8Array(32).fill(7)); + stores.push(store); + return store; +} +const session = { + session_id: "session", + agent_inbox_instance_id: "agent", + target_inbox_instance_id: "human", + trigger_message_id: "trigger", + execution_id: "execution", + conversation_key: "conversation", + external_message_id: "exact-message", + provider_message: {}, + provider_thread: { + chat_id: "chat", + thread_id: "thread", + message_id: "old-message", + }, +}; +function invoke( + operation: string, + input: unknown, + options: { configuration?: unknown; secrets?: unknown } = {}, +) { + const body = JSON.stringify({ + protocol_version: 1, + manifest_version: "1", + request_id: "request", + operation, + input, + context: session, + scope: { + org_id: "org", + team_id: "team", + definition_id: "definition", + connection_id: "connection", + }, + configuration: options.configuration ?? {}, + secrets: options.secrets ?? {}, + }); + const timestamp = Math.floor(Date.now() / 1000); + return new Request("https://provider.example/endpoint", { + method: "POST", + body, + headers: { + "x-tilde-timestamp": String(timestamp), + "x-tilde-signature": `hmac-sha256=${createHmac("sha256", key).update(`${timestamp}.${body}`).digest("hex")}`, + }, + }); +} +function platformWebhook(payload: unknown, family: "svix" | "webhook", secret: string) { + const body = JSON.stringify(payload); + const timestamp = Math.floor(Date.now() / 1000); + const signature = createHmac("sha256", Buffer.from(secret.replace("whsec_", ""), "base64")) + .update(`event.${timestamp}.${body}`) + .digest("base64"); + return new Request("https://provider.example/webhooks/connection", { + method: "POST", + body, + headers: { + [`${family}-id`]: "event", + [`${family}-timestamp`]: String(timestamp), + [`${family}-signature`]: `v1,${signature}`, + }, + }); +} + +describe("Linq provider parity", () => { + it("configures subscriptions and exposes the complete session action set", async () => { + const fetcher = vi.fn(async () => + Response.json({ id: "subscription", signing_secret: "whsec_c2VjcmV0" }), + ); + const adapter = linqProvider({ + store: store(), + apiBaseUrl: "https://tilde.example", + webhookBaseUrl: "https://provider.example/webhooks", + fetch: fetcher, + }); + const endpoint = chatKitProviderEndpoint({ + provider: adapter.definition, + definitionId: "definition", + signingKey: key, + endpointUrl: "https://provider.example/endpoint", + }); + const setup = await endpoint.POST( + invoke("setup_start", { + runtime_token: "runtime", + form_values: { + configFields: { + api_token: "linq-token", + phone_numbers: "+12025551234", + }, + }, + }), + ); + expect(setup.status).toBe(200); + const request = JSON.parse(fetcher.mock.calls[0]![1]!.body as string); + expect(request).toMatchObject({ + target_url: "https://provider.example/webhooks/connection", + subscribed_events: ["message.received"], + phone_numbers: ["+12025551234"], + }); + expect(adapter.definition.sessionTools.map((t) => t.name)).toEqual([ + "addReaction", + "removeReaction", + "getThread", + "createPoll", + "addPollOptions", + "votePoll", + ]); + }); + it("reconciles a lost poll response with the original idempotency key", async () => { + let effects = 0; + let loseResponse = true; + const receipts = new Map(); + const fetcher = vi.fn(async (_url, init) => { + const id = new Headers(init?.headers).get("idempotency-key")!; + if (!receipts.has(id)) { + effects++; + receipts.set(id, { message_id: "poll" }); + } + if (loseResponse) { + loseResponse = false; + throw new Error("Response lost after platform commit"); + } + return Response.json(receipts.get(id)); + }); + const adapter = linqProvider({ + store: store(), + apiBaseUrl: "https://tilde.example", + webhookBaseUrl: "https://provider.example/webhooks", + fetch: fetcher, + }); + const endpoint = chatKitProviderEndpoint({ + provider: adapter.definition, + definitionId: "definition", + signingKey: key, + endpointUrl: "https://provider.example/endpoint", + }); + const input = { name: "createPoll", arguments: { options: ["A", "B"] } }; + const context = { secrets: { api_token: "linq-token" } }; + expect((await endpoint.POST(invoke("invoke_session_tool", input, context))).status).toBe(500); + expect( + await (await endpoint.POST(invoke("reconcile_session_tool", input, context))).json(), + ).toEqual({ status: "applied", result: { message_id: "poll" } }); + expect(effects).toBe(1); + expect( + fetcher.mock.calls.map(([, init]) => new Headers(init?.headers).get("idempotency-key")), + ).toEqual(["execution", "execution"]); + expect(JSON.parse(fetcher.mock.calls[0]![1]!.body as string).poll.idempotency_key).toBe( + "execution", + ); + }); + it("targets reactions at the bound triggering message and refuses an unprovable retry", async () => { + const fetcher = vi.fn(async () => Response.json({ applied: true })); + const adapter = linqProvider({ + store: store(), + apiBaseUrl: "https://tilde.example", + webhookBaseUrl: "https://provider.example/webhooks", + fetch: fetcher, + }); + const endpoint = chatKitProviderEndpoint({ + provider: adapter.definition, + definitionId: "definition", + signingKey: key, + endpointUrl: "https://provider.example/endpoint", + }); + const input = { name: "addReaction", arguments: { emoji: "👍" } }; + expect( + ( + await endpoint.POST( + invoke("reconcile_session_tool", input, { + secrets: { api_token: "token" }, + }), + ) + ).status, + ).toBe(200); + expect(fetcher).toHaveBeenCalledOnce(); + expect(fetcher.mock.calls[0]![1]?.method).toBe("GET"); + expect( + ( + await endpoint.POST( + invoke("invoke_session_tool", input, { + secrets: { api_token: "token" }, + }), + ) + ).status, + ).toBe(200); + expect(requestUrl(fetcher.mock.calls[1]![0])).toContain("/messages/exact-message/reactions"); + expect(JSON.parse(fetcher.mock.calls[1]![1]!.body as string)).toEqual({ + operation: "add", + type: "like", + }); + }); +}); + +describe("AgentMail provider parity", () => { + it("keeps BCC private while preparing visible To/CC participants", async () => { + const adapter = agentMailProvider({ + store: store(), + apiBaseUrl: "https://tilde.example", + webhookBaseUrl: "https://provider.example/webhooks", + }); + const endpoint = chatKitProviderEndpoint({ + provider: adapter.definition, + definitionId: "definition", + signingKey: key, + endpointUrl: "https://provider.example/endpoint", + }); + const response = await endpoint.POST( + invoke("prepare_send", { + content: "hello", + to: ["visible@example.com"], + cc: ["copy@example.com"], + bcc: ["hidden@example.com"], + subject: "Subject", + html: "

hello

", + reply_all: false, + }), + ); + const result = (await response.json()) as { + bcc: string[]; + visible_recipients: { external_id: string }[]; + reply_all: boolean; + }; + expect(result.bcc).toEqual(["hidden@example.com"]); + expect(result.visible_recipients.map((p: { external_id: string }) => p.external_id)).toEqual([ + "visible@example.com", + "copy@example.com", + ]); + expect(result.reply_all).toBe(false); + }); + it("delivers rich replies to the exact source message with URL-backed attachments", async () => { + const fetcher = vi.fn(async () => Response.json({ message_id: "sent" })); + const adapter = agentMailProvider({ + store: store(), + apiBaseUrl: "https://tilde.example", + webhookBaseUrl: "https://provider.example/webhooks", + fetch: fetcher, + }); + const endpoint = chatKitProviderEndpoint({ + provider: adapter.definition, + definitionId: "definition", + signingKey: key, + endpointUrl: "https://provider.example/endpoint", + }); + const response = await endpoint.POST( + invoke( + "deliver", + { + delivery_id: "delivery", + attempt: 1, + body: "hello", + external_message_id: "latest", + provider_thread: session.provider_thread, + options: { + to: ["visible@example.com"], + bcc: ["hidden@example.com"], + html: "

hello

", + subject: "Subject", + reply_all: true, + }, + attachments: [ + { + media_type: "application/pdf", + filename: "report.pdf", + url: "https://storage.example/signed", + }, + ], + }, + { + configuration: { inbox_id: "agent@example.com" }, + secrets: { api_key: "mail-token" }, + }, + ), + ); + expect(await response.json()).toEqual({ external_message_id: "sent" }); + expect(requestUrl(fetcher.mock.calls[0]![0])).toContain("/messages/latest/reply-all"); + const sent = JSON.parse(fetcher.mock.calls[0]![1]!.body as string); + expect(sent).toMatchObject({ + bcc: ["hidden@example.com"], + attachments: [ + { + url: "https://storage.example/signed", + filename: "report.pdf", + content_type: "application/pdf", + }, + ], + }); + expect(new Headers(fetcher.mock.calls[0]![1]?.headers).get("idempotency-key")).toBe("delivery"); + }); + it("redacts hidden recipients from thread tool output", async () => { + const fetcher = vi.fn(async () => + Response.json({ + messages: [{ text: "hello", bcc: ["hidden@example.com"] }], + }), + ); + const adapter = agentMailProvider({ + store: store(), + apiBaseUrl: "https://tilde.example", + webhookBaseUrl: "https://provider.example/webhooks", + fetch: fetcher, + }); + const endpoint = chatKitProviderEndpoint({ + provider: adapter.definition, + definitionId: "definition", + signingKey: key, + endpointUrl: "https://provider.example/endpoint", + }); + const response = await endpoint.POST( + invoke( + "invoke_session_tool", + { name: "getThread", arguments: {} }, + { + configuration: { inbox_id: "agent@example.com" }, + secrets: { api_key: "token" }, + }, + ), + ); + expect(await response.text()).not.toContain("hidden@example.com"); + }); + it("verifies webhooks and reuses the durable normalized draft on replay", async () => { + const state = store(); + const secret = "whsec_c2VjcmV0"; + state.saveConnection("connection", { + orgId: "org", + teamId: "team", + runtimeToken: "scoped", + configuration: { inbox_id: "agent@example.com" }, + secrets: { webhook_secret: secret, api_key: "token" }, + }); + const bodies: object[] = []; + const fetcher = vi.fn(async (_url, init) => { + const body = JSON.parse(init?.body as string); + if (body.operation === "ensure_conversation") + return Response.json({ type: "conversation", session_id: "session" }); + bodies.push(body); + return Response.json({ + event_id: "event", + message_id: "message", + status: "pending", + }); + }); + const adapter = agentMailProvider({ + store: state, + apiBaseUrl: "https://tilde.example", + webhookBaseUrl: "https://provider.example/webhooks", + fetch: fetcher, + }); + const event = { + event_id: "event", + event_type: "message.received", + message: { + inbox_id: "agent@example.com", + thread_id: "thread", + message_id: "source", + from: "Person ", + text: "hello", + bcc: ["hidden@example.com"], + }, + }; + expect( + (await adapter.webhook("connection", platformWebhook(event, "svix", secret))).status, + ).toBe(202); + expect( + (await adapter.webhook("connection", platformWebhook(event, "svix", secret))).status, + ).toBe(202); + expect(bodies).toHaveLength(2); + expect(bodies[0]).toEqual(bodies[1]); + expect(JSON.stringify(bodies)).not.toContain("hidden@example.com"); + const invalid = platformWebhook(event, "svix", secret); + invalid.headers.set("svix-signature", "v1,ZmFrZQ=="); + await expect(adapter.webhook("connection", invalid)).rejects.toThrow(/signature/); + }); +}); + +describe("AgentMail durable delivery recovery", () => { + it("recovers a post-effect crash by finding its marker on a later page", async () => { + let sends = 0; + const fetcher = vi.fn(async (url, init) => { + if (init?.method === "POST") { + sends++; + throw new Error("Lost response after email was sent"); + } + return Response.json( + requestUrl(url).includes("page_token=second") + ? { + messages: [{ message_id: "sent", labels: ["tilde-delivery-mail-send"] }], + } + : { messages: [], next_page_token: "second" }, + ); + }); + const adapter = agentMailProvider({ + store: store(), + apiBaseUrl: "https://tilde.example", + webhookBaseUrl: "https://provider.example/webhooks", + fetch: fetcher, + }); + const endpoint = chatKitProviderEndpoint({ + provider: adapter.definition, + definitionId: "definition", + signingKey: key, + endpointUrl: "https://provider.example/endpoint", + }); + const input = { + delivery_id: "mail-send", + attempt: 1, + body: "hello", + options: {}, + attachments: [], + provider_thread: session.provider_thread, + }; + const context = { + configuration: { inbox_id: "agent@example.com" }, + secrets: { api_key: "token" }, + }; + expect((await endpoint.POST(invoke("deliver", input, context))).status).toBe(500); + expect( + await (await endpoint.POST(invoke("reconcile_delivery", input, context))).json(), + ).toEqual({ status: "applied", result: { external_message_id: "sent" } }); + expect(sends).toBe(1); + }); + it("does not repeat an unknown email after the platform forgets its idempotency key", async () => { + const state = store(); + state.prepareDelivery(JSON.stringify(["connection", "old-send"]), "/original", { text: "old" }); + const fetcher = vi.fn(async () => Response.json({ messages: [] })); + const adapter = agentMailProvider({ + store: state, + apiBaseUrl: "https://tilde.example", + webhookBaseUrl: "https://provider.example/webhooks", + fetch: fetcher, + }); + const endpoint = chatKitProviderEndpoint({ + provider: adapter.definition, + definitionId: "definition", + signingKey: key, + endpointUrl: "https://provider.example/endpoint", + }); + const now = Date.now(); + const clock = vi.spyOn(Date, "now").mockReturnValue(now + 25 * 60 * 60 * 1000); + try { + const input = { + delivery_id: "old-send", + attempt: 2, + body: "old", + options: {}, + attachments: [], + provider_thread: session.provider_thread, + }; + const response = await endpoint.POST( + invoke("reconcile_delivery", input, { + configuration: { inbox_id: "agent@example.com" }, + secrets: { api_key: "token" }, + }), + ); + expect(await response.json()).toMatchObject({ status: "uncertain" }); + expect(fetcher.mock.calls.every(([, init]) => init?.method === "GET")).toBe(true); + } finally { + clock.mockRestore(); + } + }); +}); + +describe("Linq setup recovery", () => { + it("replaces only its own orphan subscription when a create response is lost", async () => { + const state = store(); + let createCount = 0; + const removed: string[] = []; + const fetcher = vi.fn(async (url, init) => { + if (init?.method === "POST") { + createCount++; + if (createCount === 1) throw new Error("Lost signing secret"); + return Response.json({ + id: "replacement", + signing_secret: "whsec_c2VjcmV0", + }); + } + if (init?.method === "DELETE") { + removed.push(requestUrl(url)); + return new Response(null, { status: 204 }); + } + return Response.json({ + subscriptions: [ + { + id: "orphan", + target_url: "https://provider.example/webhooks/connection", + }, + { + id: "unrelated", + target_url: "https://provider.example/webhooks/other", + }, + ], + }); + }); + const adapter = linqProvider({ + store: state, + apiBaseUrl: "https://tilde.example", + webhookBaseUrl: "https://provider.example/webhooks", + fetch: fetcher, + }); + const endpoint = chatKitProviderEndpoint({ + provider: adapter.definition, + definitionId: "definition", + signingKey: key, + endpointUrl: "https://provider.example/endpoint", + }); + const input = { + runtime_token: "runtime", + form_values: { api_token: "token", phone_numbers: "+12025551234" }, + }; + expect((await endpoint.POST(invoke("setup_start", input))).status).toBe(500); + expect((await endpoint.POST(invoke("setup_start", input))).status).toBe(200); + expect(removed).toEqual([ + "https://api.linqapp.com/api/partner/v3/webhook-subscriptions/orphan", + ]); + expect(state.getConnection("connection").configuration.subscription_id).toBe("replacement"); + }); +}); + +function requestUrl(value: Parameters[0]): string { + return typeof value === "string" ? value : value instanceof URL ? value.href : value.url; +} diff --git a/packages/sdk/test/chatkit-provider.test.ts b/packages/sdk/test/chatkit-provider.test.ts new file mode 100644 index 00000000..8b838a06 --- /dev/null +++ b/packages/sdk/test/chatkit-provider.test.ts @@ -0,0 +1,345 @@ +import { createHmac } from "node:crypto"; +import { readFileSync } from "node:fs"; +import Ajv2020 from "ajv/dist/2020.js"; +import { describe, expect, it, vi } from "vite-plus/test"; +import { createClient } from "../src"; +import type { ChatKitProviderDefinition, ProviderObject } from "../src/chatkit-provider"; +import { + chatKitProviderEndpoint, + createProviderRuntimeClient, + defineChatKitProvider, +} from "../src/chatkit-provider"; + +const key = "provider-test-signing-key"; +const context = { + session_id: "session-1", + agent_inbox_instance_id: "agent-1", + target_inbox_instance_id: "human-1", + trigger_message_id: "message-1", + execution_id: "execution-1", + conversation_key: "thread-1", + external_message_id: "platform-message-1", + provider_message: {}, + provider_thread: {}, +}; +function envelope(operation: string, input: ProviderObject = {}) { + return { + protocol_version: 1, + manifest_version: "1", + request_id: "request-1", + scope: { + org_id: "org-1", + team_id: "team-1", + definition_id: "provider-1", + connection_id: "connection-1", + }, + operation, + context, + input, + configuration: {}, + secrets: {}, + }; +} +function signed(body?: unknown, timestamp = Math.floor(Date.now() / 1000)) { + const raw = body === undefined ? "" : JSON.stringify(body); + return new Request("https://provider.example/chatkit", { + method: body === undefined ? "GET" : "POST", + headers: { + "x-tilde-timestamp": String(timestamp), + "x-tilde-signature": `hmac-sha256=${createHmac("sha256", key).update(`${timestamp}.${raw}`).digest("hex")}`, + }, + ...(body === undefined ? {} : { body: raw }), + }); +} +function fixture() { + const execute = vi.fn(async () => ({ reacted: true })); + const reconcile = vi.fn(async () => ({ + status: "applied" as const, + result: { reacted: true }, + })); + const provider: ChatKitProviderDefinition = { + version: "1", + displayName: "Complex provider", + description: "Parity fixture", + configurationSchema: { type: "object" }, + capabilities: { inbound: true }, + setup: { + start: async () => ({ nextAction: { type: "complete" } }), + resume: async () => ({ nextAction: { type: "complete" } }), + disconnect: async () => {}, + }, + sessionTools: [ + { + name: "addReaction", + description: "React to the triggering message", + inputSchema: { + type: "object", + properties: { emoji: { type: "string" } }, + required: ["emoji"], + additionalProperties: false, + }, + outputSchema: { + type: "object", + properties: { reacted: { type: "boolean" } }, + required: ["reacted"], + }, + execute, + reconcile, + }, + ], + }; + const endpoint = chatKitProviderEndpoint({ + provider, + signingKey: key, + definitionId: "provider-1", + endpointUrl: "https://provider.example/chatkit", + }); + return { provider, endpoint, execute, reconcile }; +} + +describe("ChatKit provider contract", () => { + it("serves authenticated discovery and never reflects a forged Host into invoke_url", async () => { + const { endpoint } = fixture(); + const request = signed(); + request.headers.set("host", "attacker.example"); + const response = await endpoint.GET(request); + expect(response.status).toBe(200); + expect(((await response.json()) as { invoke_url: string }).invoke_url).toBe( + "https://provider.example/chatkit", + ); + expect((await endpoint.GET(new Request("https://provider.example/chatkit"))).status).toBe(401); + }); + it("rejects expired signatures and signed cross-definition scopes before executing", async () => { + const { endpoint, execute } = fixture(); + const body = envelope("invoke_session_tool", { + name: "addReaction", + arguments: { emoji: "like" }, + }); + expect((await endpoint.POST(signed(body, 1))).status).toBe(401); + body.scope.definition_id = "another-provider"; + expect((await endpoint.POST(signed(body))).status).toBe(403); + expect(execute).not.toHaveBeenCalled(); + }); + it("keeps routing outside model inputs and passes exact message context", async () => { + const { endpoint, execute } = fixture(); + const payload = envelope("invoke_session_tool", { + name: "addReaction", + arguments: { emoji: "like" }, + }); + expect((await endpoint.POST(signed(payload))).status).toBe(200); + expect(execute).toHaveBeenCalledWith( + { emoji: "like" }, + expect.objectContaining({ + connectionId: "connection-1", + session: expect.objectContaining({ + externalMessageId: "platform-message-1", + executionId: "execution-1", + }), + }), + ); + payload.input.arguments = { emoji: "like", sessionId: "other-session" }; + expect((await endpoint.POST(signed(payload))).status).toBe(400); + expect(execute).toHaveBeenCalledTimes(1); + }); + it("rechecks contextual availability on direct invocation", async () => { + const { provider, execute } = fixture(); + provider.sessionTools![0]!.available = () => false; + const endpoint = chatKitProviderEndpoint({ + provider, + signingKey: key, + definitionId: "provider-1", + endpointUrl: "https://provider.example/chatkit", + }); + expect(await (await endpoint.POST(signed(envelope("list_session_tools")))).json()).toEqual({ + tools: [], + }); + expect( + ( + await endpoint.POST( + signed( + envelope("invoke_session_tool", { + name: "addReaction", + arguments: { emoji: "like" }, + }), + ), + ) + ).status, + ).toBe(422); + expect(execute).not.toHaveBeenCalled(); + }); + it("reconciles without calling the mutation handler", async () => { + const { endpoint, execute, reconcile } = fixture(); + const response = await endpoint.POST( + signed( + envelope("reconcile_session_tool", { + name: "addReaction", + arguments: { emoji: "like" }, + }), + ), + ); + expect(await response.json()).toEqual({ + status: "applied", + result: { reacted: true }, + }); + expect(reconcile).toHaveBeenCalledOnce(); + expect(execute).not.toHaveBeenCalled(); + }); + it("rejects missing reconciliation and reserved tool names at definition time", () => { + const { provider } = fixture(); + delete provider.sessionTools![0]!.reconcile; + expect(() => defineChatKitProvider(provider)).toThrow(/reconciliation/); + provider.sessionTools![0]!.name = "sendMessage"; + expect(() => defineChatKitProvider(provider)).toThrow(/reserved/); + }); + it("does not expose provider exception payloads", async () => { + const { endpoint, execute } = fixture(); + execute.mockRejectedValueOnce(new Error("Authorization: SECRET; BCC: hidden@example.com")); + const response = await endpoint.POST( + signed( + envelope("invoke_session_tool", { + name: "addReaction", + arguments: { emoji: "like" }, + }), + ), + ); + expect(response.status).toBe(500); + expect(await response.text()).not.toContain("hidden@example.com"); + }); +}); + +describe("provider SDK clients", () => { + it("maps registration paths, auth, and one-time credentials", async () => { + const fetchMock = vi.fn(async () => + Response.json({ + provider: { + id: "p", + org_id: "org", + team_id: "team", + display_name: "Mine", + discovery_url: "https://provider.example", + enabled: true, + revision: 0, + manifest: null, + }, + signing_key: "secret", + }), + ); + const client = createClient({ + baseUrl: "https://api.example", + orgId: "org", + orgSubdomain: false, + teamId: "team", + apiKey: "admin", + fetch: fetchMock, + }); + const result = await client.chatkit.customProviders.create({ + displayName: "Mine", + discoveryUrl: "https://provider.example", + }); + expect(result.signingKey).toBe("secret"); + expect(result.provider.displayName).toBe("Mine"); + const [url, init] = fetchMock.mock.calls[0]! as unknown as [URL, RequestInit]; + expect(requestUrl(url)).toContain("/api/v1/team/team/chatkit/custom-providers"); + expect(new Headers(init.headers).get("authorization")).toBe("Bearer admin"); + expect(JSON.parse(init.body as string)).toEqual({ + display_name: "Mine", + discovery_url: "https://provider.example", + local_running_endpoint: false, + }); + }); + it("uses only the connection credential for normalized ingress", async () => { + const fetchMock = vi.fn(async () => + Response.json({ event_id: "e", message_id: "m", status: "pending" }), + ); + const runtime = createProviderRuntimeClient({ + baseUrl: "https://api.example", + orgId: "org", + orgSubdomain: false, + teamId: "team", + connectionId: "connection/1", + token: "scoped", + fetch: fetchMock, + }); + expect( + await runtime.ingest({ + eventId: "e", + externalMessageId: "external", + conversationKey: "thread", + sender: { externalId: "human", displayName: "Human", kind: "username" }, + text: "hello", + }), + ).toEqual({ eventId: "e", messageId: "m", status: "pending" }); + const [url, init] = fetchMock.mock.calls[0]! as unknown as [URL, RequestInit]; + expect(requestUrl(url)).toContain("connection%2F1/messages"); + expect(new Headers(init.headers).get("authorization")).toBe("Bearer scoped"); + expect(JSON.parse(init.body as string).sender).toEqual({ + external_id: "human", + display_name: "Human", + kind: "username", + }); + }); +}); + +describe("Rust and TypeScript protocol conformance", () => { + it("validates discovery and invocation against generated Rust OpenAPI schemas", async () => { + const spec = JSON.parse( + readFileSync(new URL("../../api-client/specs/openapi.cloud.json", import.meta.url), "utf8"), + ); + const ajv = new Ajv2020({ strict: false, validateFormats: false }); + const validate = (name: string, value: unknown) => { + const schema = { + components: spec.components, + $ref: `#/components/schemas/${name}`, + }; + const check = ajv.compile(schema); + expect(check(value), JSON.stringify(check.errors)).toBe(true); + }; + const { endpoint } = fixture(); + const registration = spec.components.schemas.CustomChatKitProvider; + const manifestName = registration.properties.manifest.oneOf + .find((entry: { $ref?: string }) => entry.$ref) + .$ref.split("/") + .at(-1); + validate(manifestName, await (await endpoint.GET(signed())).json()); + const invocation = envelope("invoke_session_tool", { + name: "addReaction", + arguments: { emoji: "like" }, + }); + validate("CustomProviderInvocation", invocation); + expect((await endpoint.POST(signed(invocation))).status).toBe(200); + }); +}); + +describe("Associated toolkit lifecycle", () => { + it("requires a credential callback and keeps child signing material outside model arguments", async () => { + const { provider } = fixture(); + provider.capabilities.toolkit = true; + expect(() => defineChatKitProvider(provider)).toThrow(/toolkit/i); + const configured = vi.fn(async () => {}); + provider.setup.toolkitConfigured = configured; + const endpoint = chatKitProviderEndpoint({ + provider, + definitionId: "provider-1", + signingKey: key, + endpointUrl: "https://provider.example/chatkit", + }); + const response = await endpoint.POST( + signed( + envelope("toolkit_configured", { + tool_group_instance_id: "tools-1", + signing_key: "child-test-key", + }), + ), + ); + expect(response.status).toBe(200); + expect(configured).toHaveBeenCalledWith( + { toolGroupInstanceId: "tools-1", signingKey: "child-test-key" }, + expect.objectContaining({ connectionId: "connection-1" }), + ); + expect(await response.text()).not.toContain("child-test-key"); + }); +}); + +function requestUrl(value: Parameters[0]): string { + return typeof value === "string" ? value : value instanceof URL ? value.href : value.url; +} diff --git a/packages/sdk/test/chatkit-session-stream.test.ts b/packages/sdk/test/chatkit-session-stream.test.ts new file mode 100644 index 00000000..a0347a16 --- /dev/null +++ b/packages/sdk/test/chatkit-session-stream.test.ts @@ -0,0 +1,88 @@ +import { describe, expect, it, vi } from "vite-plus/test"; +import { createClient } from "../src"; +import { parseSessionEventStream } from "../src/chatkit/session-stream"; + +function chunks(parts: string[]): ReadableStream { + const encoder = new TextEncoder(); + return new ReadableStream({ + start(controller) { + for (const part of parts) controller.enqueue(encoder.encode(part)); + controller.close(); + }, + }); +} +describe("custom streaming transports", () => { + it("parses split CRLF delimiters and multiline data without dropping events", async () => { + const frames = []; + for await (const frame of parseSessionEventStream( + chunks([ + 'event: event\r\ndata: {"type":"event",\r', + '\ndata: "cursor":12,"event":{"text":"hello"}}\r\n\r', + "\n", + ]), + )) + frames.push(frame); + expect(frames).toEqual([{ type: "event", cursor: 12, event: { text: "hello" } }]); + }); + it("reconnects using the last event cursor and retains caller authorization", async () => { + const abort = new AbortController(); + const fetcher = vi.fn(); + fetcher.mockResolvedValueOnce( + new Response( + chunks([ + 'data: {"type":"ready","cursor":10}\n\ndata: {"type":"event","cursor":11,"event":{"text":"first"}}\n\n', + ]), + ), + ); + fetcher.mockResolvedValueOnce( + new Response( + chunks([ + 'data: {"type":"ready","cursor":11}\n\ndata: {"type":"event","cursor":12,"event":{"text":"second"}}\n\n', + ]), + ), + ); + const client = createClient({ + baseUrl: "https://api.example", + orgSubdomain: false, + orgId: "org", + teamId: "team", + bearerToken: "caller", + fetch: fetcher, + }); + const events: string[] = []; + for await (const frame of client.chatkit.streamSessionEvents({ + sessionId: "session", + signal: abort.signal, + })) { + if (frame.type === "event") { + events.push(typeof frame.event.text === "string" ? frame.event.text : ""); + if (events.length === 2) abort.abort(); + } + } + expect(events).toEqual(["first", "second"]); + expect(requestUrl(fetcher.mock.calls[1]![0])).toContain("after_revision=11"); + expect(new Headers(fetcher.mock.calls[1]![1]?.headers).get("authorization")).toBe( + "Bearer caller", + ); + }); + it("stops reconnecting when session access is revoked", async () => { + const fetcher = vi.fn(async () => + Response.json({ msg: "Session access revoked" }, { status: 403 }), + ); + const client = createClient({ + baseUrl: "https://api.example", + orgSubdomain: false, + teamId: "team", + bearerToken: "caller", + fetch: fetcher, + }); + await expect( + client.chatkit.streamSessionEvents({ sessionId: "session" }).next(), + ).rejects.toMatchObject({ status: 403 }); + expect(fetcher).toHaveBeenCalledOnce(); + }); +}); + +function requestUrl(value: Parameters[0]): string { + return typeof value === "string" ? value : value instanceof URL ? value.href : value.url; +} diff --git a/packages/sdk/tsconfig.json b/packages/sdk/tsconfig.json index d3b4ca32..2892167a 100644 --- a/packages/sdk/tsconfig.json +++ b/packages/sdk/tsconfig.json @@ -1,7 +1,11 @@ { "extends": "../../tsconfig.node.json", "compilerOptions": { - "outDir": "dist" + "outDir": "dist", + "rootDir": "../.." }, - "include": ["src", "test"] + "include": [ + "src", + "test" + ] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 411d52a6..12358143 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -859,6 +859,9 @@ importers: '@trytilde/api-client': specifier: workspace:* version: link:../api-client + ajv: + specifier: 8.20.0 + version: 8.20.0 nice-grpc: specifier: 2.1.16 version: 2.1.16 @@ -12942,18 +12945,6 @@ snapshots: - utf-8-validate - vite - '@vitest/browser-preview@4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3))': - dependencies: - '@testing-library/dom': 10.4.1 - '@testing-library/user-event': 14.6.4(@testing-library/dom@10.4.1) - '@vitest/browser': 4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3)) - vitest: 4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3) - transitivePeerDependencies: - - bufferutil - - msw - - utf-8-validate - - vite - '@vitest/browser-preview@4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10)': dependencies: '@testing-library/dom': 10.4.1 @@ -12965,7 +12956,6 @@ snapshots: - msw - utf-8-validate - vite - optional: true '@vitest/browser-preview@4.1.10(vite@8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(yaml@2.9.0))(vitest@4.1.10)': dependencies: @@ -13038,23 +13028,6 @@ snapshots: - utf-8-validate - vite - '@vitest/browser@4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3))': - dependencies: - '@blazediff/core': 1.9.1 - '@vitest/mocker': 4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0)) - '@vitest/utils': 4.1.10 - magic-string: 0.30.21 - pngjs: 7.0.0 - sirv: 3.0.2 - tinyrainbow: 3.1.1 - vitest: 4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3) - ws: 8.21.3 - transitivePeerDependencies: - - bufferutil - - msw - - utf-8-validate - - vite - '@vitest/browser@4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10)': dependencies: '@blazediff/core': 1.9.1 @@ -13071,7 +13044,6 @@ snapshots: - msw - utf-8-validate - vite - optional: true '@vitest/browser@4.1.10(vite@8.2.1(@types/node@24.13.3)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(yaml@2.9.0))(vitest@4.1.10)': dependencies: @@ -18027,8 +17999,8 @@ snapshots: dependencies: '@oxc-project/types': 0.143.0 '@oxlint/plugins': 1.73.0 - '@vitest/browser': 4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3)) - '@vitest/browser-preview': 4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3)) + '@vitest/browser': 4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10) + '@vitest/browser-preview': 4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10) '@vitest/expect': 4.1.10 '@vitest/mocker': 4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0)) '@vitest/pretty-format': 4.1.10 @@ -18040,7 +18012,7 @@ snapshots: oxfmt: 0.62.0(vite-plus@0.2.9(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(esbuild@0.28.2)(happy-dom@20.10.3)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0)) oxlint: 1.77.0(oxlint-tsgolint@7.0.2001)(vite-plus@0.2.9(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(esbuild@0.28.2)(happy-dom@20.10.3)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0)) oxlint-tsgolint: 7.0.2001 - vitest: 4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10))(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3) + vitest: 4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3) optionalDependencies: '@voidzero-dev/vite-plus-darwin-arm64': 0.2.9 '@voidzero-dev/vite-plus-darwin-x64': 0.2.9 @@ -18249,37 +18221,6 @@ snapshots: transitivePeerDependencies: - msw - vitest@4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10))(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3): - dependencies: - '@vitest/expect': 4.1.10 - '@vitest/mocker': 4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0)) - '@vitest/pretty-format': 4.1.10 - '@vitest/runner': 4.1.10 - '@vitest/snapshot': 4.1.10 - '@vitest/spy': 4.1.10 - '@vitest/utils': 4.1.10 - es-module-lexer: 2.3.1 - expect-type: 1.4.0 - magic-string: 0.30.21 - obug: 2.1.4 - pathe: 2.0.3 - picomatch: 4.0.5 - std-env: 4.2.0 - tinybench: 2.9.0 - tinyexec: 1.3.0 - tinyglobby: 0.2.17 - tinyrainbow: 3.1.1 - vite: '@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.21.0)(typescript@5.9.2)(yaml@2.9.0)' - why-is-node-running: 2.3.0 - optionalDependencies: - '@edge-runtime/vm': 3.2.0 - '@opentelemetry/api': 1.9.1 - '@types/node': 24.3.0 - '@vitest/browser-preview': 4.1.10(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(vitest@4.1.10) - happy-dom: 20.10.3 - transitivePeerDependencies: - - msw - vitest@4.1.10(@edge-runtime/vm@3.2.0)(@opentelemetry/api@1.9.1)(@types/node@24.3.0)(@vitest/browser-preview@4.1.10)(@voidzero-dev/vite-plus-core@0.2.9(@types/node@24.3.0)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.50.0)(tsx@4.20.4)(typescript@5.9.2)(yaml@2.9.0))(happy-dom@20.10.3): dependencies: '@vitest/expect': 4.1.10 From 7a6262c7087720d6556e69c5bdc0a505c63ae023 Mon Sep 17 00:00:00 2001 From: Daniel Blignaut Date: Mon, 7 Sep 2026 21:21:10 +0200 Subject: [PATCH 2/3] docs: link custom ChatKit SDK PR and validation record --- docs/updates/{pending/custom-chatkit-providers.md => 154.md} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename docs/updates/{pending/custom-chatkit-providers.md => 154.md} (95%) diff --git a/docs/updates/pending/custom-chatkit-providers.md b/docs/updates/154.md similarity index 95% rename from docs/updates/pending/custom-chatkit-providers.md rename to docs/updates/154.md index 33b9c6a4..b1ac5933 100644 --- a/docs/updates/pending/custom-chatkit-providers.md +++ b/docs/updates/154.md @@ -1,6 +1,6 @@ # Customer-hosted ChatKit SDK -PR: Pending +PR: https://github.com/trytilde/dispatch/pull/154 (draft) ## Intent of the change @@ -10,7 +10,7 @@ packages so customers can host complete transports and contextual tools using ## Architecture changes -See [ADR-0043](../../adrs/0043-custom-chatkit-provider-sdk.md), extending ADR-0030, +See [ADR-0043](../adrs/0043-custom-chatkit-provider-sdk.md), extending ADR-0030, ADR-0038, and ADR-0042. Tilde owns authorization and canonical durable execution; customer backends own platform behavior. SDK, connection-runtime, and user-client credentials remain separate. From fecc495b78684b997d4146bb31439086b68c0252 Mon Sep 17 00:00:00 2001 From: Daniel Blignaut Date: Mon, 7 Sep 2026 21:51:49 +0200 Subject: [PATCH 3/3] chore(sdk): sync final rebased API contract --- docs/updates/154.md | 5 +- packages/api-client/specs/openapi.cloud.json | 13178 ++++++++-------- packages/api-client/src/generated/index.ts | 4 +- packages/api-client/src/generated/sdk.gen.ts | 608 +- .../api-client/src/generated/types.gen.ts | 4375 ++--- packages/sdk/src/generated/schema.d.ts | 3350 +++- 6 files changed, 12730 insertions(+), 8790 deletions(-) diff --git a/docs/updates/154.md b/docs/updates/154.md index b1ac5933..5f2725dd 100644 --- a/docs/updates/154.md +++ b/docs/updates/154.md @@ -41,8 +41,7 @@ flowchart LR external service or global tool install is required; the existing Node 24 toolchain is used and Ajv reuses the repository's current dependency version. - Validation on Dispatch `fcee72c`: `openbot sdk refresh` regenerated the client, - validated 689 operations, built all SDK packages, and passed 315 SDK tests. - A subsequent custom endpoint test brings the validated aggregate to 316: + validated 732 operations, built all SDK packages, and passed all 316 SDK tests against the final rebased API contract: core SDK 150, Vercel Node 152, and other SDK packages 14. `openbot sdk validate` passed package/export validation; the final changed SDK packages were rebuilt. - Focused typechecking, example typechecking, formatting, and lint pass. Existing @@ -59,3 +58,5 @@ custom providers. Consumers use `@trytilde/sdk/chatkit-provider` and configure backend signing keys, per-connection runtime tokens, and durable backend state. The reference host's setup guide covers the manually provisioned AgentMail webhook. No publication, deployment, or live-platform/browser e2e is included. + +Record refreshed after final wallet-preserving contract refresh: 2026-09-07T19:51:48+00:00. diff --git a/packages/api-client/specs/openapi.cloud.json b/packages/api-client/specs/openapi.cloud.json index a0ff10b5..c81a9b82 100644 --- a/packages/api-client/specs/openapi.cloud.json +++ b/packages/api-client/specs/openapi.cloud.json @@ -37,15 +37,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -101,6 +92,93 @@ ] } }, + "/api/v1/billing/accounts/{account_id}/enroll": { + "post": { + "tags": [ + "billing", + "v1" + ], + "summary": "An organization administrator explicitly assigns a Core seat to a linked login account.", + "operationId": "billing-enroll-account", + "parameters": [ + { + "name": "account_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BillingContext" + } + } + } + }, + "402": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/api/v1/billing/accounts/{account_id}/seat": { + "delete": { + "tags": [ + "billing", + "v1" + ], + "summary": "Revoke an account seat without deleting its runtime identity or organization membership.", + "operationId": "billing-remove-account-seat", + "parameters": [ + { + "name": "account_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "" + }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, "/api/v1/billing/ai-credits/ensure": { "post": { "tags": [ @@ -440,13 +518,13 @@ "v1" ], "summary": "Enroll current human in a product", - "description": "Creates one deduplicated human Core or Pay seat, synchronizes the exact organization quantity with Autumn, and never bills agent identities.", + "description": "An organization administrator explicitly enrolls their login account in Core. Runtime identities never allocate seats.", "operationId": "billing-product-enroll-current-human", "parameters": [ { "name": "product_id", "in": "path", - "description": "tilde_core or tilde_pay", + "description": "tilde_core", "required": true, "schema": { "type": "string" @@ -1716,32 +1794,64 @@ } } }, - "/api/v1/identity/invitations/accept": { - "post": { + "/api/v1/identity/identities": { + "get": { "tags": [ - "identity", - "v1" + "identity" ], - "summary": "Accept invitation", - "description": "Accept an invitation after verifying the authenticated email and invitation password", - "operationId": "accept-invitation", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AcceptInvitationRequest" - } + "summary": "List identities", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "list-identities", + "parameters": [ + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] } }, - "required": true - }, + { + "name": "page_size", + "in": "query", + "description": "Page size; defaults to 50 and is clamped to 1..100", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "description": "Opaque cursor returned by the previous page", + "required": false, + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserInvitation" + "$ref": "#/components/schemas/RuntimeIdentityPaginatedResponse" + } + } + } + }, + "401": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -1756,31 +1866,63 @@ } } } - } - } - }, - "/api/v1/identity/local-runtime/tunnel-connector": { - "get": { + }, + "security": [ + { + "org_proxy_token": [] + }, + { + "bearer_token": [] + }, + { + "login_cookie": [] + } + ] + }, + "post": { "tags": [ - "identity", - "v1" + "identity" ], - "summary": "Get local runtime tunnel connector", - "description": "Validates the caller's Tilde credentials and returns their Cloudflare tunnel connector token for cloudflared.", - "operationId": "get_local_runtime_tunnel_connector", + "summary": "Create identity", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "create-identity", + "parameters": [ + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateIdentityRequest" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Cloudflare tunnel connector token", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LocalRuntimeTunnelConnector" + "$ref": "#/components/schemas/RuntimeIdentity" } } } }, "401": { - "description": "Unauthorized", + "description": "", "content": { "application/json": { "schema": { @@ -1789,8 +1931,8 @@ } } }, - "503": { - "description": "Local runtime tunnels unavailable", + "403": { + "description": "", "content": { "application/json": { "schema": { @@ -1802,38 +1944,62 @@ }, "security": [ { - "api_key": [] + "org_proxy_token": [] }, { "bearer_token": [] + }, + { + "login_cookie": [] } ] } }, - "/api/v1/identity/oauth/device/authorize": { - "get": { + "/api/v1/identity/identities/resolve": { + "post": { "tags": [ "identity" ], - "summary": "Authorize OAuth device code", - "description": "Approves a pending OAuth device-code request for the authenticated user.", - "operationId": "authorize_oauth_device_code", + "summary": "Resolve identity", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "resolve-identity", "parameters": [ { - "name": "user_code", - "in": "query", - "required": true, + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityIdentifier" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Device authorization approved" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RuntimeIdentity" + } + } + } }, "401": { - "description": "Authentication failed", + "description": "", "content": { "application/json": { "schema": { @@ -1842,8 +2008,8 @@ } } }, - "404": { - "description": "Device code not found", + "403": { + "description": "", "content": { "application/json": { "schema": { @@ -1854,43 +2020,62 @@ } }, "security": [ + { + "org_proxy_token": [] + }, { "bearer_token": [] + }, + { + "login_cookie": [] } ] } }, - "/api/v1/identity/oauth/device/code": { - "post": { + "/api/v1/identity/identities/{identity_id}": { + "get": { "tags": [ "identity" ], - "summary": "Start OAuth device authorization", - "description": "Starts OAuth 2.0 Device Authorization Grant for first-party CLI clients.", - "operationId": "start_oauth_device_code", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StartOAuthDeviceCodeBody" - } + "summary": "Get identity", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "get-identity", + "parameters": [ + { + "name": "identity_id", + "in": "path", + "description": "Identity id", + "required": true, + "schema": { + "type": "string" } }, - "required": true - }, + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], "responses": { "200": { - "description": "Device authorization created", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StartOAuthDeviceCodeResult" + "$ref": "#/components/schemas/RuntimeIdentity" } } } }, - "400": { - "description": "Invalid request", + "401": { + "description": "", "content": { "application/json": { "schema": { @@ -1899,8 +2084,8 @@ } } }, - "401": { - "description": "Unsupported client", + "403": { + "description": "", "content": { "application/json": { "schema": { @@ -1911,41 +2096,70 @@ } }, "security": [ - {} + { + "org_proxy_token": [] + }, + { + "bearer_token": [] + }, + { + "login_cookie": [] + } ] - } - }, - "/api/v1/identity/oauth/register": { - "post": { + }, + "patch": { "tags": [ "identity" ], - "summary": "Register OAuth client", - "description": "Register a public PKCE OAuth client through Dynamic Client Registration. The registration must be scoped to a Tilde org/team by explicit org_id/team_id fields, the x-tilde-org-id header plus team_id, or a Tilde MCP resource URL.", - "operationId": "register_oauth_client", + "summary": "Update identity", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "update-identity", + "parameters": [ + { + "name": "identity_id", + "in": "path", + "description": "Identity id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RegisterOAuthClientRequest" + "$ref": "#/components/schemas/UpdateIdentityRequest" } } }, "required": true }, "responses": { - "201": { - "description": "OAuth client registered", + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RegisterOAuthClientResponse" + "$ref": "#/components/schemas/RuntimeIdentity" } } } }, - "400": { - "description": "Invalid registration request", + "401": { + "description": "", "content": { "application/json": { "schema": { @@ -1954,8 +2168,8 @@ } } }, - "500": { - "description": "Internal server error", + "403": { + "description": "", "content": { "application/json": { "schema": { @@ -1966,23 +2180,54 @@ } }, "security": [ - {} + { + "org_proxy_token": [] + }, + { + "bearer_token": [] + }, + { + "login_cookie": [] + } ] } }, - "/api/v1/identity/oauth/token": { - "post": { + "/api/v1/identity/identities/{identity_id}/identifiers": { + "delete": { "tags": [ "identity" ], - "summary": "Exchange PKCE authorization code for tokens", - "description": "Exchange a short-lived PKCE authorization code for a fresh access token and refresh token. Requires code_verifier, client_id, and redirect_uri to match the original authorization request. Body may be either `application/x-www-form-urlencoded` (RFC 6749 §3.2 — preferred for external OAuth clients) or `application/json`.", - "operationId": "exchange_oauth_code", + "summary": "Remove identity identifier", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "remove-identity-identifier", + "parameters": [ + { + "name": "identity_id", + "in": "path", + "description": "Identity id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], "requestBody": { "content": { - "application/x-www-form-urlencoded": { + "application/json": { "schema": { - "$ref": "#/components/schemas/ExchangeOAuthCodeBody" + "$ref": "#/components/schemas/IdentityIdentifier" } } }, @@ -1990,93 +2235,65 @@ }, "responses": { "200": { - "description": "Tokens issued", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ExchangeOAuthCodeResult" + "$ref": "#/components/schemas/RuntimeIdentity" } } } + } + }, + "security": [ + { + "org_proxy_token": [] }, - "400": { - "description": "Invalid request" + { + "bearer_token": [] }, - "401": { - "description": "Invalid or expired code" + { + "login_cookie": [] } - } + ] } }, - "/api/v1/identity/organizations": { - "get": { + "/api/v1/identity/identities/{identity_id}/link-requests": { + "post": { "tags": [ - "identity", - "v1" + "identity" ], - "summary": "List organizations", - "description": "List organizations with pagination", - "operationId": "list-organizations", + "summary": "Create identity link", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "create-identity-link", "parameters": [ { - "name": "page_size", - "in": "query", - "required": false, + "name": "identity_id", + "in": "path", + "description": "Identity id", + "required": true, "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" + "type": "string" + } }, { - "name": "next_page_token", - "in": "query", + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", "required": false, "schema": { - "type": "string" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "List of organizations" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + "type": [ + "string", + "null" + ] } } - } - }, - "post": { - "tags": [ - "identity", - "v1" ], - "summary": "Create organization", - "description": "Create a new organization", - "operationId": "create-organization", "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateOrganizationRequest" + "$ref": "#/components/schemas/CreateIdentityLinkRequest" } } }, @@ -2084,17 +2301,17 @@ }, "responses": { "200": { - "description": "Organization created", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Organization" + "$ref": "#/components/schemas/CreatedIdentityLink" } } } }, - "400": { - "description": "Bad Request", + "401": { + "description": "", "content": { "application/json": { "schema": { @@ -2103,8 +2320,8 @@ } } }, - "500": { - "description": "Internal Server Error", + "403": { + "description": "", "content": { "application/json": { "schema": { @@ -2113,34 +2330,50 @@ } } } - } + }, + "security": [ + { + "org_proxy_token": [] + } + ] } }, - "/api/v1/identity/organizations/{org_id}/openbot/deployments": { + "/api/v1/identity/identities/{identity_id}/team": { "post": { "tags": [ - "identity", - "v1" + "identity" ], - "summary": "Create a hosted OpenBot instance", - "description": "Creates an isolated Tilde team and OAuth registration, then provisions the requested target. `target: vercel` (default) creates one Vercel runtime project containing the web app, control API, and agent functions plus a persistent Vercel Sandbox, and starts deployment; deprecated control and agent project response fields mirror the runtime project for compatibility. `target: exe` creates one exe.dev VM backed by a Tilde-owned Code Storage repository; the VM redeems a single-use bootstrap bundle and the instance becomes active once its runtime serves /healthz. Custom Cloudflare DNS is a follow-up.", - "operationId": "create_hosted_openbot_deployment", + "summary": "Provision identity team", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "provision-identity-team", "parameters": [ { - "name": "org_id", + "name": "identity_id", "in": "path", - "description": "Owning Tilde organization ID", + "description": "Identity id", "required": true, "schema": { "type": "string" } + }, + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateHostedOpenBotDeploymentRequest" + "$ref": "#/components/schemas/ProvisionIdentityTeamRequest" } } }, @@ -2148,33 +2381,841 @@ }, "responses": { "200": { - "description": "Hosted OpenBot provisioning started", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/HostedOpenBotDeployment" + "$ref": "#/components/schemas/IdentityTeam" } } } + } + }, + "security": [ + { + "org_proxy_token": [] }, - "400": { - "description": "Invalid title or slug", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + { + "bearer_token": [] }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } + { + "login_cookie": [] + } + ] + } + }, + "/api/v1/identity/identities/{identity_id}/teams": { + "get": { + "tags": [ + "identity" + ], + "summary": "List identity teams", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "list-identity-teams", + "parameters": [ + { + "name": "identity_id", + "in": "path", + "description": "Identity id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "page_size", + "in": "query", + "description": "Page size; defaults to 50 and is clamped to 1..100", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "description": "Opaque cursor returned by the previous page", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityTeamMembershipPaginatedResponse" + } + } + } + } + }, + "security": [ + { + "org_proxy_token": [] + }, + { + "bearer_token": [] + }, + { + "login_cookie": [] + } + ] + } + }, + "/api/v1/identity/identities/{identity_id}/teams/{team_id}": { + "put": { + "tags": [ + "identity" + ], + "summary": "Add identity team", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "add-identity-team", + "parameters": [ + { + "name": "identity_id", + "in": "path", + "description": "Identity id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityTeamMembership" + } + } + } + } + }, + "security": [ + { + "org_proxy_token": [] + }, + { + "bearer_token": [] + }, + { + "login_cookie": [] + } + ] + }, + "delete": { + "tags": [ + "identity" + ], + "summary": "Remove identity team", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "remove-identity-team", + "parameters": [ + { + "name": "identity_id", + "in": "path", + "description": "Identity id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_id", + "in": "path", + "description": "Team id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "default": null + } + } + } + } + }, + "security": [ + { + "org_proxy_token": [] + }, + { + "bearer_token": [] + }, + { + "login_cookie": [] + } + ] + } + }, + "/api/v1/identity/invitations/accept": { + "post": { + "tags": [ + "identity", + "v1" + ], + "summary": "Accept invitation", + "description": "Accept an invitation after verifying the authenticated email and invitation password", + "operationId": "accept-invitation", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AcceptInvitationRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AcceptInvitationResponse" + } + } + } + }, + "403": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/api/v1/identity/link-requests/complete": { + "post": { + "tags": [ + "identity" + ], + "summary": "Complete identity link", + "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", + "operationId": "complete-identity-link", + "parameters": [ + { + "name": "Origin", + "in": "header", + "description": "Hosted Tilde confirmation origin", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityClaimRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LinkedIdentity" + } + } + } + } + }, + "security": [ + { + "bearer_token": [] + }, + { + "login_cookie": [] + } + ] + } + }, + "/api/v1/identity/link-requests/preview": { + "post": { + "tags": [ + "identity" + ], + "summary": "Preview identity link", + "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", + "operationId": "preview-identity-link", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityClaimRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IdentityLinkPreview" + } + } + } + } + }, + "security": [ + { + "bearer_token": [] + }, + { + "login_cookie": [] + } + ] + } + }, + "/api/v1/identity/local-runtime/tunnel-connector": { + "get": { + "tags": [ + "identity", + "v1" + ], + "summary": "Get local runtime tunnel connector", + "description": "Validates the caller's Tilde credentials and returns their Cloudflare tunnel connector token for cloudflared.", + "operationId": "get_local_runtime_tunnel_connector", + "responses": { + "200": { + "description": "Cloudflare tunnel connector token", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LocalRuntimeTunnelConnector" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "503": { + "description": "Local runtime tunnels unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/identity/oauth/device/authorize": { + "get": { + "tags": [ + "identity" + ], + "summary": "Authorize OAuth device code", + "description": "Approves a pending OAuth device-code request for the authenticated user.", + "operationId": "authorize_oauth_device_code", + "parameters": [ + { + "name": "user_code", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Device authorization approved" + }, + "401": { + "description": "Authentication failed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Device code not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/identity/oauth/device/code": { + "post": { + "tags": [ + "identity" + ], + "summary": "Start OAuth device authorization", + "description": "Starts OAuth 2.0 Device Authorization Grant for first-party CLI clients.", + "operationId": "start_oauth_device_code", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartOAuthDeviceCodeBody" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Device authorization created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartOAuthDeviceCodeResult" + } + } + } + }, + "400": { + "description": "Invalid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unsupported client", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + {} + ] + } + }, + "/api/v1/identity/oauth/register": { + "post": { + "tags": [ + "identity" + ], + "summary": "Register OAuth client", + "description": "Register a public PKCE OAuth client through Dynamic Client Registration. The registration must be scoped to a Tilde org/team by explicit org_id/team_id fields, the x-tilde-org-id header plus team_id, or a Tilde MCP resource URL.", + "operationId": "register_oauth_client", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RegisterOAuthClientRequest" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "OAuth client registered", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RegisterOAuthClientResponse" + } + } + } + }, + "400": { + "description": "Invalid registration request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + {} + ] + } + }, + "/api/v1/identity/oauth/token": { + "post": { + "tags": [ + "identity" + ], + "summary": "Exchange PKCE authorization code for tokens", + "description": "Exchange a short-lived PKCE authorization code for a fresh access token and refresh token. Requires code_verifier, client_id, and redirect_uri to match the original authorization request. Body may be either `application/x-www-form-urlencoded` (RFC 6749 §3.2 — preferred for external OAuth clients) or `application/json`.", + "operationId": "exchange_oauth_code", + "requestBody": { + "content": { + "application/x-www-form-urlencoded": { + "schema": { + "$ref": "#/components/schemas/ExchangeOAuthCodeBody" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Tokens issued", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ExchangeOAuthCodeResult" + } + } + } + }, + "400": { + "description": "Invalid request" + }, + "401": { + "description": "Invalid or expired code" + } + } + } + }, + "/api/v1/identity/onboarding/organization": { + "post": { + "tags": [ + "identity" + ], + "summary": "Create the account's first native organization and team", + "operationId": "onboard-organization", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OnboardOrganizationRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OnboardOrganizationResponse" + } + } + } + }, + "401": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "409": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + { + "bearer_token": [] + }, + { + "login_cookie": [] + } + ] + } + }, + "/api/v1/identity/organizations": { + "get": { + "tags": [ + "identity", + "v1" + ], + "summary": "List organizations", + "description": "List organizations with pagination", + "operationId": "list-organizations", + "parameters": [ + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "List of organizations" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "tags": [ + "identity", + "v1" + ], + "summary": "Create organization", + "description": "Create a new organization", + "operationId": "create-organization", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateOrganizationRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Organization created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Organization" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/api/v1/identity/organizations/{org_id}/openbot/deployments": { + "post": { + "tags": [ + "identity", + "v1" + ], + "summary": "Create a hosted OpenBot instance", + "description": "Creates an isolated Tilde team and OAuth registration, then provisions the requested target. `target: vercel` (default) creates one Vercel runtime project containing the web app, control API, and agent functions plus a persistent Vercel Sandbox, and starts deployment; deprecated control and agent project response fields mirror the runtime project for compatibility. `target: exe` creates one exe.dev VM backed by a Tilde-owned Code Storage repository; the VM redeems a single-use bootstrap bundle and the instance becomes active once its runtime serves /healthz. Custom Cloudflare DNS is a follow-up.", + "operationId": "create_hosted_openbot_deployment", + "parameters": [ + { + "name": "org_id", + "in": "path", + "description": "Owning Tilde organization ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateHostedOpenBotDeploymentRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Hosted OpenBot provisioning started", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HostedOpenBotDeployment" + } + } + } + }, + "400": { + "description": "Invalid title or slug", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, "403": { @@ -3532,92 +4573,19 @@ } } }, - "/api/v1/identity/team-groups": { - "get": { - "tags": [ - "identity", - "v1" - ], - "summary": "List organization team groups", - "description": "List user-managed groups across every team in the current organization; requires organization administration", - "operationId": "list-organization-team-groups", - "parameters": [ - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "user_type", - "in": "query", - "description": "Filter to `human` or `agent` users.", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - } - ], - "responses": { - "200": { - "description": "User-managed groups across organization teams", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TeamGroupSummaryPaginatedResponse" - } - } - } - } - } - } - }, - "/api/v1/identity/team/{team_id}/api-key": { + "/api/v1/identity/proxy-tokens": { "get": { "tags": [ - "identity", - "v1" + "identity" ], - "operationId": "route_list_api_keys", + "summary": "List proxy tokens", + "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", + "operationId": "list-proxy-tokens", "parameters": [ { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": [ - "integer", - "null" - ], - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", "required": false, "schema": { "type": [ @@ -3627,32 +4595,20 @@ } }, { - "name": "user_id", + "name": "page_size", "in": "query", + "description": "Page size; defaults to 50 and is clamped to 1..100", "required": false, "schema": { - "type": [ - "string", - "null" - ] + "type": "integer", + "format": "int64" } }, { - "name": "user_type", + "name": "next_page_token", "in": "query", + "description": "Opaque cursor returned by the previous page", "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, "schema": { "type": "string" } @@ -3660,17 +4616,17 @@ ], "responses": { "200": { - "description": "List of API keys", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListApiKeysResponse" + "$ref": "#/components/schemas/OrgProxyTokenPaginatedResponse" } } } }, "401": { - "description": "Unauthorized", + "description": "", "content": { "application/json": { "schema": { @@ -3680,17 +4636,7 @@ } }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal server error", + "description": "", "content": { "application/json": { "schema": { @@ -3702,36 +4648,31 @@ }, "security": [ { - "api_key": [] + "bearer_token": [] }, { - "bearer_token": [] + "login_cookie": [] } ] }, "post": { "tags": [ - "identity", - "v1" + "identity" ], - "operationId": "route_create_api_key", + "summary": "Create proxy token", + "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", + "operationId": "create-proxy-token", "parameters": [ { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } } ], @@ -3739,35 +4680,25 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateApiKeyInner" + "$ref": "#/components/schemas/CreateProxyTokenRequest" } } }, "required": true }, "responses": { - "201": { - "description": "API key created successfully", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateApiKeyResponse" - } - } - } - }, - "400": { - "description": "Invalid request", + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/CreatedProxyToken" } } } }, "401": { - "description": "Unauthorized", + "description": "", "content": { "application/json": { "schema": { @@ -3777,17 +4708,7 @@ } }, "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal server error", + "description": "", "content": { "application/json": { "schema": { @@ -3799,63 +4720,58 @@ }, "security": [ { - "api_key": [] + "bearer_token": [] }, { - "bearer_token": [] + "login_cookie": [] } ] } }, - "/api/v1/identity/team/{team_id}/api-key/{id}": { + "/api/v1/identity/proxy-tokens/{token_id}": { "delete": { "tags": [ - "identity", - "v1" + "identity" ], - "operationId": "route_delete_api_key", + "summary": "Revoke proxy token", + "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", + "operationId": "revoke-proxy-token", "parameters": [ { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", + "name": "token_id", "in": "path", - "description": "ID of the API key to delete", + "description": "Token id", "required": true, "schema": { "type": "string" } }, { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } } ], "responses": { "200": { - "description": "API key deleted successfully", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TupleUnit" + "default": null } } } }, "401": { - "description": "Unauthorized", + "description": "", "content": { "application/json": { "schema": { @@ -3865,7 +4781,7 @@ } }, "403": { - "description": "Forbidden", + "description": "", "content": { "application/json": { "schema": { @@ -3873,9 +4789,70 @@ } } } + } + }, + "security": [ + { + "bearer_token": [] }, - "404": { - "description": "API key not found", + { + "login_cookie": [] + } + ] + }, + "patch": { + "tags": [ + "identity" + ], + "summary": "Rename proxy token", + "description": "Requires directly authenticated account authority; proxy tokens cannot perform this operation.", + "operationId": "rename-proxy-token", + "parameters": [ + { + "name": "token_id", + "in": "path", + "description": "Token id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RenameProxyTokenRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "default": null + } + } + } + }, + "401": { + "description": "", "content": { "application/json": { "schema": { @@ -3884,8 +4861,8 @@ } } }, - "500": { - "description": "Internal server error", + "403": { + "description": "", "content": { "application/json": { "schema": { @@ -3897,33 +4874,76 @@ }, "security": [ { - "api_key": [] + "bearer_token": [] }, { - "bearer_token": [] + "login_cookie": [] } ] } }, - "/api/v1/identity/team/{team_id}/local-runtime/api-key": { + "/api/v1/identity/team-groups": { "get": { "tags": [ "identity", "v1" ], - "summary": "Get dev tunnel API key metadata", - "description": "Returns whether the authenticated human user has a dev tunnel API key for the selected team. The secret value is never returned.", - "operationId": "get_local_runtime_tunnel_api_key", + "summary": "List organization team groups", + "description": "List user-managed groups across every team in the current organization; requires organization administration", + "operationId": "list-organization-team-groups", "parameters": [ { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, "schema": { "type": "string" - } + }, + "style": "form" }, + { + "name": "user_type", + "in": "query", + "description": "Filter to `human` or `agent` users.", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "User-managed groups across organization teams", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TeamGroupSummaryPaginatedResponse" + } + } + } + } + } + } + }, + "/api/v1/identity/team/{team_id}/api-key": { + "get": { + "tags": [ + "identity", + "v1" + ], + "operationId": "route_list_api_keys", + "parameters": [ { "name": "team_id", "in": "path", @@ -3932,15 +4952,60 @@ "schema": { "type": "string" } + }, + { + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": [ + "integer", + "null" + ], + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "user_id", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "user_type", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } } ], "responses": { "200": { - "description": "Dev tunnel API key metadata", + "description": "List of API keys", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LocalRuntimeTunnelApiKey" + "$ref": "#/components/schemas/ListApiKeysResponse" } } } @@ -3964,6 +5029,16 @@ } } } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } }, "security": [ @@ -3980,9 +5055,7 @@ "identity", "v1" ], - "summary": "Generate dev tunnel API key", - "description": "Generates or regenerates the authenticated human user's dev tunnel API key for the selected team and returns the one-time secret value.", - "operationId": "generate_local_runtime_tunnel_api_key", + "operationId": "route_create_api_key", "parameters": [ { "name": "team_id", @@ -3992,7 +5065,88 @@ "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateApiKeyInner" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "API key created successfully", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateApiKeyResponse" + } + } + } + }, + "400": { + "description": "Invalid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + { + "api_key": [] }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/identity/team/{team_id}/api-key/{id}": { + "delete": { + "tags": [ + "identity", + "v1" + ], + "operationId": "route_delete_api_key", + "parameters": [ { "name": "team_id", "in": "path", @@ -4001,15 +5155,24 @@ "schema": { "type": "string" } + }, + { + "name": "id", + "in": "path", + "description": "ID of the API key to delete", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Dev tunnel API key generated", + "description": "API key deleted successfully", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GenerateLocalRuntimeTunnelApiKeyResponse" + "$ref": "#/components/schemas/TupleUnit" } } } @@ -4034,8 +5197,80 @@ } } }, - "503": { - "description": "Local runtime tunnels unavailable", + "404": { + "description": "API key not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/identity/team/{team_id}/local-runtime/api-key": { + "get": { + "tags": [ + "identity", + "v1" + ], + "summary": "Get dev tunnel API key metadata", + "description": "Returns whether the authenticated human user has a dev tunnel API key for the selected team. The secret value is never returned.", + "operationId": "get_local_runtime_tunnel_api_key", + "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Dev tunnel API key metadata", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LocalRuntimeTunnelApiKey" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4054,14 +5289,14 @@ } ] }, - "delete": { + "post": { "tags": [ "identity", "v1" ], - "summary": "Revoke dev tunnel API key", - "description": "Revokes the authenticated human user's dev tunnel API key for the selected team.", - "operationId": "revoke_local_runtime_tunnel_api_key", + "summary": "Generate dev tunnel API key", + "description": "Generates or regenerates the authenticated human user's dev tunnel API key for the selected team and returns the one-time secret value.", + "operationId": "generate_local_runtime_tunnel_api_key", "parameters": [ { "name": "team_id", @@ -4071,7 +5306,68 @@ "schema": { "type": "string" } + } + ], + "responses": { + "200": { + "description": "Dev tunnel API key generated", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GenerateLocalRuntimeTunnelApiKeyResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "503": { + "description": "Local runtime tunnels unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + { + "api_key": [] }, + { + "bearer_token": [] + } + ] + }, + "delete": { + "tags": [ + "identity", + "v1" + ], + "summary": "Revoke dev tunnel API key", + "description": "Revokes the authenticated human user's dev tunnel API key for the selected team.", + "operationId": "revoke_local_runtime_tunnel_api_key", + "parameters": [ { "name": "team_id", "in": "path", @@ -5689,15 +6985,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -5747,15 +7034,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -5813,15 +7091,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -5889,15 +7158,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -5978,15 +7238,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -6036,15 +7287,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -6104,15 +7346,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -6172,15 +7405,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -6248,15 +7472,6 @@ "schema": { "$ref": "#/components/schemas/ResourceGrantPlane" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -6315,15 +7530,6 @@ "schema": { "$ref": "#/components/schemas/ResourceGrantPlane" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -6407,15 +7613,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -6470,15 +7667,6 @@ "type": "string" }, "style": "form" - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -6603,15 +7791,6 @@ } ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -6684,15 +7863,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -6775,15 +7945,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -6876,15 +8037,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -6978,15 +8130,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -7042,15 +8185,6 @@ "description": "Registers an HTTP Vercel AI SDK-compatible ChatKit agent, creates an identity API key returned once, and stores only ChatKit webhook signing material plus safe key metadata.", "operationId": "chatkit-register-http-vercel-ai-sdk-agent", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -7141,15 +8275,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -7230,15 +8355,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -7292,120 +8408,20 @@ "bearer_token": [] } ] - }, - "patch": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Update ChatKit agent", - "description": "Updates non-secret ChatKit HTTP agent metadata and endpoint configuration.", - "operationId": "chatkit-update-agent", - "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "agent_id", - "in": "path", - "description": "ChatKit agent inbox ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateHttpVercelAiSdkAgentRequestInner" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Update ChatKit agent", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ChatKitAgent" - } - } - } - }, - "400": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/avatar": { - "get": { + }, + "patch": { "tags": [ "chatkit", "v1" ], - "summary": "Download a ChatKit agent avatar", - "description": "Returns the canonical avatar bytes from the stable agent-user profile.", - "operationId": "chatkit-get-agent-avatar", + "summary": "Update ChatKit agent", + "description": "Updates non-secret ChatKit HTTP agent metadata and endpoint configuration.", + "operationId": "chatkit-update-agent", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -7414,15 +8430,97 @@ { "name": "agent_id", "in": "path", + "description": "ChatKit agent inbox ID", "required": true, "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateHttpVercelAiSdkAgentRequestInner" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Update ChatKit agent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChatKitAgent" + } + } + } + }, + "400": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + {}, + { + "api_key": [] }, + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/avatar": { + "get": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Download a ChatKit agent avatar", + "description": "Returns the canonical avatar bytes from the stable agent-user profile.", + "operationId": "chatkit-get-agent-avatar", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "agent_id", + "in": "path", "required": true, "schema": { "type": "string" @@ -7490,15 +8588,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -7584,15 +8673,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -7651,15 +8731,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -7740,15 +8811,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -7831,15 +8893,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -7940,15 +8993,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -7988,15 +9032,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -8048,15 +9083,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -8109,15 +9135,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -8247,15 +9264,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -8303,15 +9311,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -8379,79 +9378,61 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Goal" - } - } - } - } - } - }, - "patch": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Update an agent goal", - "description": "Updates progress or terminal state for one agent-owned goal.", - "operationId": "chatkit-update-goal", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "agent_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "goal_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Goal" + } + } + } + } + } + }, + "patch": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Update an agent goal", + "description": "Updates progress or terminal state for one agent-owned goal.", + "operationId": "chatkit-update-goal", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } + }, + { + "name": "agent_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "goal_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } } ], "requestBody": { @@ -8546,15 +9527,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -8602,15 +9574,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -8678,15 +9641,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -8744,15 +9698,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -8810,15 +9755,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -8886,15 +9822,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -8962,15 +9889,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -9030,15 +9948,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -9098,15 +10007,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -9163,15 +10063,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -9242,15 +10133,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -9308,15 +10190,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -9384,15 +10257,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -9476,15 +10340,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -9549,15 +10404,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -9625,91 +10471,73 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppendAgentRunStepInner" + } + } }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AgentRun" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/transition": { + "post": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Transition an AgentRun", + "description": "Pauses, resumes, stalls, completes, fails, or cancels a run durably.", + "operationId": "chatkit-transition-agent-run", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppendAgentRunStepInner" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AgentRun" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/chatkit/agents/{agent_id}/sessions/{session_id}/runs/{run_id}/transition": { - "post": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Transition an AgentRun", - "description": "Pauses, resumes, stalls, completes, fails, or cancels a run durably.", - "operationId": "chatkit-transition-agent-run", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "agent_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "run_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } + }, + { + "name": "agent_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "session_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "run_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } } ], "requestBody": { @@ -9819,15 +10647,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -9875,15 +10694,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -9951,15 +10761,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -10015,15 +10816,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -10077,15 +10869,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -10176,15 +10959,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -10265,15 +11039,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -10362,15 +11127,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -10451,15 +11207,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -10548,15 +11295,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -10626,15 +11364,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -10739,15 +11468,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -10803,15 +11523,6 @@ "description": "Lists ChatKit chat providers that can be configured for this team.", "operationId": "chatkit-list-available-chat-providers", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -10903,15 +11614,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -10967,15 +11669,6 @@ "description": "Creates a pending Slack ChatKit provider, provisions a Slack app from a manifest, attaches generated app credentials, and starts Slack OAuth.", "operationId": "chatkit-auto-provision-slack-channel-installation", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -11049,15 +11742,6 @@ "description": "Creates a pending Slack chat provider installation and returns the next setup action.", "operationId": "chatkit-create-slack-channel-installation", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -11148,15 +11832,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -11239,15 +11914,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -11313,15 +11979,6 @@ "description": "Registers a Vercel AI SDK-compatible ChatKit chat provider.", "operationId": "chatkit-register-vercel-ui-chat-provider", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -11412,15 +12069,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -11501,15 +12149,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -11590,15 +12229,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -11691,15 +12321,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -11775,15 +12396,6 @@ "description": "Lists product-facing ChatKit chat channels and grouped provider setup options.", "operationId": "chatkit-list-available-chat-channels", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -11861,15 +12473,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -11920,15 +12523,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -11989,15 +12583,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -12058,15 +12643,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -12116,15 +12692,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -12174,15 +12741,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -12235,15 +12793,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -12284,15 +12833,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -12353,15 +12893,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -12410,15 +12941,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -12477,15 +12999,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -12536,15 +13049,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -12595,15 +13099,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -12654,15 +13149,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -12713,15 +13199,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -12772,15 +13249,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -12825,15 +13293,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -12951,15 +13410,6 @@ } ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -13015,15 +13465,6 @@ "description": "Persists JSON-safe agent-facing representations for ChatKit messages.", "operationId": "chatkit-cache-converted-messages", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -13097,15 +13538,6 @@ "description": "Loads JSON-safe cached agent-facing representations for ChatKit messages.", "operationId": "chatkit-hydrate-converted-messages", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -13211,15 +13643,6 @@ "type": "integer", "format": "int64" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -13254,15 +13677,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -13314,15 +13728,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -13364,15 +13769,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -13414,15 +13810,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -13464,15 +13851,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -13524,15 +13902,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -13574,15 +13943,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -13624,15 +13984,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -13701,15 +14052,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -13763,15 +14105,6 @@ "description": "Create a new chat session. Optionally include inbox_instances to register participants.", "operationId": "create-session", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -13862,15 +14195,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -13962,15 +14286,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -14062,15 +14377,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -14172,15 +14478,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -14275,15 +14572,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -14390,15 +14678,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -14481,15 +14760,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -14606,15 +14876,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -14687,15 +14948,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -14771,15 +15023,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -14843,15 +15086,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -14933,15 +15167,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -15087,15 +15312,6 @@ } ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -15176,15 +15392,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -15286,7 +15493,69 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + } + ], + "responses": { + "200": { + "description": "Get message", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Message" + } + } + } }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "security": [ + {}, + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] + }, + "delete": { + "tags": [ + "chatkit", + "v1" + ], + "summary": "Delete message", + "description": "Delete a message by its ID", + "operationId": "delete-message", + "parameters": [ { "name": "team_id", "in": "path", @@ -15295,104 +15564,24 @@ "schema": { "type": "string" } - } - ], - "responses": { - "200": { - "description": "Get message", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Message" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "security": [ - {}, - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] - }, - "delete": { - "tags": [ - "chatkit", - "v1" - ], - "summary": "Delete message", - "description": "Delete a message by its ID", - "operationId": "delete-message", - "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "session_id", - "in": "path", - "description": "Session ID", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "message_id", - "in": "path", - "description": "Message ID", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } + }, + { + "name": "session_id", + "in": "path", + "description": "Session ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "message_id", + "in": "path", + "description": "Message ID", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } } ], "responses": { @@ -15481,15 +15670,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -15578,15 +15758,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -15650,15 +15821,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -15739,15 +15901,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -15836,15 +15989,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -15914,15 +16058,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -16027,15 +16162,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -16130,15 +16256,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -16192,15 +16309,6 @@ "description": "Creates a ChatKit session with explicit participants, or wires the session to agent_id and its registered Vercel UI channel when agent_id is provided.", "operationId": "chatkit-create-session", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -16289,15 +16397,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -16406,15 +16505,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -16503,15 +16593,6 @@ ], "format": "int64" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -16579,15 +16660,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -16656,15 +16728,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -16753,15 +16816,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -16840,15 +16894,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -16931,15 +16976,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -17115,15 +17151,6 @@ } ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -17232,15 +17259,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -17313,15 +17331,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -17405,15 +17414,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -17515,15 +17515,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -17603,15 +17594,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -17665,15 +17647,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -17772,15 +17745,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -17905,15 +17869,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -17964,15 +17919,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -18044,15 +17990,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -18115,15 +18052,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -18272,15 +18200,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -18367,15 +18286,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -18448,15 +18358,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -18529,15 +18430,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -18590,15 +18482,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -18661,15 +18544,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -18750,15 +18624,6 @@ "type": "integer", "format": "int64" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -18897,15 +18762,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -18951,15 +18807,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -19023,15 +18870,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19073,15 +18911,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19123,15 +18952,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -19183,15 +19003,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19234,15 +19045,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -19310,15 +19112,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19353,15 +19146,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -19413,15 +19197,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19464,15 +19239,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -19540,15 +19306,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19571,15 +19328,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19609,15 +19357,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -19665,15 +19404,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19711,15 +19441,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -19775,15 +19496,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19820,15 +19532,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19863,15 +19566,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -19899,15 +19593,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -19956,15 +19641,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20013,15 +19689,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -20061,15 +19728,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20134,15 +19792,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -20174,15 +19823,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20231,15 +19871,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -20279,15 +19910,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20352,15 +19974,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -20417,15 +20030,6 @@ } ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -20462,15 +20066,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -20507,15 +20102,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20562,15 +20148,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20617,15 +20194,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20672,15 +20240,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20728,15 +20287,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20776,15 +20326,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20831,15 +20372,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20886,15 +20418,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -20943,15 +20466,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -20988,15 +20502,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -21031,15 +20536,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -21067,15 +20563,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -21124,15 +20611,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -21181,15 +20659,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -21229,15 +20698,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -21302,15 +20762,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -21342,15 +20793,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -21399,15 +20841,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -21447,15 +20880,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -21520,15 +20944,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -21554,15 +20969,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -21636,15 +21042,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -21713,15 +21110,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -21791,15 +21179,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -21860,15 +21239,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -21948,15 +21318,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -22016,15 +21377,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -22094,15 +21446,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -22172,15 +21515,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -22247,15 +21581,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -22333,15 +21658,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -22417,15 +21733,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -22508,15 +21815,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -22551,6 +21849,75 @@ ] } }, + "/api/v1/team/{team_id}/identity/realtime-ticket": { + "post": { + "tags": [ + "identity" + ], + "summary": "Issue proxy realtime ticket", + "description": "Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped.", + "operationId": "issue-proxy-realtime-ticket", + "parameters": [ + { + "name": "team_id", + "in": "path", + "description": "Team id", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "X-Tilde-Org-Id", + "in": "header", + "description": "Organization routing when not selected by host", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "X-Tilde-Identity-Id", + "in": "header", + "description": "Enabled runtime identity acting in the route team", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IssueChatKitRealtimeSocketTicketRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ChatKitRealtimeSocketTicket" + } + } + } + } + }, + "security": [ + { + "org_proxy_token": [] + } + ] + } + }, "/api/v1/team/{team_id}/managed-user-credential": { "get": { "summary": "List typed managed user credentials", @@ -22584,15 +21951,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -22630,15 +21988,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -22706,15 +22055,6 @@ ], "format": "int64" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -22758,15 +22098,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -22814,15 +22145,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -22887,15 +22209,6 @@ "type": "boolean" }, "style": "form" - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -22994,15 +22307,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -23111,15 +22415,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -23231,15 +22526,6 @@ "type": "string" }, "style": "form" - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -23272,15 +22558,6 @@ "description": "Create a custom HTTP tool provider from its discovery manifest", "operationId": "create-custom-tool-provider", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -23350,15 +22627,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -23408,15 +22676,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -23459,15 +22718,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -23529,15 +22779,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -23589,15 +22830,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -23649,15 +22881,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -23709,15 +22932,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -23778,15 +22992,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -23876,15 +23081,6 @@ "type": "string" }, "style": "form" - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -23947,15 +23143,6 @@ "description": "Create a new MCP server instance with a user-provided ID", "operationId": "create-mcp-server-instance", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -24065,15 +23252,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -24163,15 +23341,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -24254,15 +23423,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -24364,15 +23524,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -24521,15 +23672,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -24646,15 +23788,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -24766,15 +23899,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -24884,15 +24008,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -25004,15 +24119,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -25095,15 +24201,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -25186,15 +24283,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -25279,15 +24367,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -25401,15 +24480,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -25498,15 +24568,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -25571,15 +24632,6 @@ "description": "List server-authored remote MCP provider descriptors and their generic connection methods", "operationId": "list-mcp-provider-catalog", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -25669,15 +24721,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -25809,15 +24852,6 @@ "type": "boolean" }, "style": "form" - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -25880,15 +24914,6 @@ "description": "Connect to an upstream MCP server, discover its tools, and persist them as a local tool group deployment", "operationId": "connect-proxied-mcp-server", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -25981,15 +25006,6 @@ "description": "Create a pending proxied MCP server and start generic OAuth authorization-code brokering. Tool discovery completes after the OAuth callback stores the user credential.", "operationId": "start-proxied-mcp-server-oauth", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -26099,15 +25115,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -26197,15 +25204,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -26290,15 +25288,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -26390,15 +25379,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -26490,15 +25470,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -26618,15 +25589,6 @@ "type": "boolean" }, "style": "form" - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -26735,15 +25697,6 @@ "type": "boolean" }, "style": "form" - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -26872,15 +25825,6 @@ "type": "boolean" }, "style": "form" - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -26972,15 +25916,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -27070,15 +26005,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -27190,15 +26116,6 @@ "minimum": 0 }, "style": "form" - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -27309,15 +26226,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -27438,15 +26346,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -27547,15 +26446,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -27666,15 +26556,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -27776,15 +26657,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -27924,15 +26796,6 @@ "type": "boolean" }, "style": "form" - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -28007,15 +26870,6 @@ "description": "Get the OpenAPI specification for all tool instances", "operationId": "get-tools-openapi-spec", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -28106,23 +26960,14 @@ } }, { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "next_page_token", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } } ], @@ -28155,15 +27000,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -28227,15 +27063,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -28277,15 +27104,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -28325,15 +27143,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -28366,15 +27175,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -28426,15 +27226,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -28474,15 +27265,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -28522,15 +27304,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -28611,11 +27384,93 @@ "null" ] } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MemoryBankDocumentList" + } + } + } + } + } + }, + "delete": { + "tags": [ + "memory", + "v1" + ], + "summary": "Delete a memory document", + "description": "Delete a stable document and its extracted memories from the selected bank.", + "operationId": "delete-memory-document", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteMemoryDocumentBody" + } + } }, + "required": true + }, + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/documents/{document_id}": { + "get": { + "tags": [ + "memory", + "v1" + ], + "summary": "Get memory bank document", + "description": "Get retained document content, typed provenance and provider state.", + "operationId": "get-memory-bank-document", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "document_id", + "in": "path", "required": true, "schema": { "type": "string" @@ -28628,21 +27483,258 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankDocumentList" + "$ref": "#/components/schemas/StoredMemoryDocument" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/health": { + "get": { + "tags": [ + "memory", + "v1" + ], + "summary": "Check memory bank health", + "description": "Check Tilde provisioning state and HelixDB reachability.", + "operationId": "check-memory-bank-health", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MemoryBankHealth" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership": { + "post": { + "tags": [ + "memory", + "v1" + ], + "summary": "Set memory-bank ownership", + "description": "Set the memory bank administration plane to team or private. Requires current ownership-plane authority.", + "operationId": "set-memory-bank-ownership-mode", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceAuthorization" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants": { + "get": { + "tags": [ + "memory", + "v1" + ], + "summary": "List memory-bank ownership grants", + "description": "List users and groups admitted to private memory-bank administration.", + "operationId": "list-memory-bank-ownership-grants", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } }, + "post": { + "tags": [ + "memory", + "v1" + ], + "summary": "Add a memory-bank ownership grant", + "description": "Idempotently grant a same-team Identity user or group private administration.", + "operationId": "add-memory-bank-ownership-grant", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ "memory", "v1" ], - "summary": "Delete a memory document", - "description": "Delete a stable document and its extracted memories from the selected bank.", - "operationId": "delete-memory-document", + "summary": "Remove a memory-bank ownership grant", + "description": "Idempotently remove one ownership grant while retaining at least one owner for a private plane.", + "operationId": "remove-memory-bank-ownership-grant", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourcePrincipalType" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/recall": { + "post": { + "tags": [ + "memory", + "v1" + ], + "summary": "Recall memory", + "description": "Semantically recall relevant content from the selected memory bank.", + "operationId": "recall-memory", "parameters": [ { "name": "team_id", @@ -28659,22 +27751,115 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RecallMemoryBody" + } + } }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MemoryOperationResponse" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/reflect": { + "post": { + "tags": [ + "memory", + "v1" + ], + "summary": "Reflect on memory", + "description": "Generate a contextual answer from the selected memory bank.", + "operationId": "reflect-memory", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReflectMemoryBody" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MemoryOperationResponse" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/memory/banks/{bank_id}/retain": { + "post": { + "tags": [ + "memory", + "v1" + ], + "summary": "Retain a memory document", + "description": "Upsert a provider-neutral document into the selected memory bank.", + "operationId": "retain-memory-document", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } + }, + { + "name": "bank_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteMemoryDocumentBody" + "$ref": "#/components/schemas/RetainMemoryBody" } } }, @@ -28682,20 +27867,27 @@ }, "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MemoryOperationResponse" + } + } + } } } } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/documents/{document_id}": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/template": { "get": { "tags": [ "memory", "v1" ], - "summary": "Get memory bank document", - "description": "Get retained document content, typed provenance and provider state.", - "operationId": "get-memory-bank-document", + "summary": "Export memory bank template", + "description": "Export portable configuration overrides, mental models, and directives.", + "operationId": "export-memory-bank-template", "parameters": [ { "name": "team_id", @@ -28712,23 +27904,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "document_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -28737,23 +27912,21 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StoredMemoryDocument" + "$ref": "#/components/schemas/MemoryBankTemplate" } } } } } - } - }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/health": { - "get": { + }, + "post": { "tags": [ "memory", "v1" ], - "summary": "Check memory bank health", - "description": "Check Tilde provisioning state and HelixDB reachability.", - "operationId": "check-memory-bank-health", + "summary": "Import memory bank template", + "description": "Validate or apply portable configuration, mental models, and directives.", + "operationId": "import-memory-bank-template", "parameters": [ { "name": "team_id", @@ -28770,24 +27943,25 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportMemoryBankTemplateBody" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankHealth" + "$ref": "#/components/schemas/ImportMemoryBankTemplateResponse" } } } @@ -28795,15 +27969,15 @@ } } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility": { "post": { "tags": [ "memory", "v1" ], - "summary": "Set memory-bank ownership", - "description": "Set the memory bank administration plane to team or private. Requires current ownership-plane authority.", - "operationId": "set-memory-bank-ownership-mode", + "summary": "Set memory-bank visibility", + "description": "Set the memory bank discovery and content-use plane to team or private. Requires ownership-plane authority.", + "operationId": "set-memory-bank-visibility", "parameters": [ { "name": "team_id", @@ -28820,15 +27994,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -28855,15 +28020,15 @@ } } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants": { "get": { "tags": [ "memory", "v1" ], - "summary": "List memory-bank ownership grants", - "description": "List users and groups admitted to private memory-bank administration.", - "operationId": "list-memory-bank-ownership-grants", + "summary": "List memory-bank visibility grants", + "description": "List users and groups admitted to private memory-bank visibility. Requires ownership-plane authority.", + "operationId": "list-memory-bank-visibility-grants", "parameters": [ { "name": "team_id", @@ -28880,15 +28045,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -28912,9 +28068,9 @@ "memory", "v1" ], - "summary": "Add a memory-bank ownership grant", - "description": "Idempotently grant a same-team Identity user or group private administration.", - "operationId": "add-memory-bank-ownership-grant", + "summary": "Add a memory-bank visibility grant", + "description": "Idempotently grant a same-team Identity user or group private visibility.", + "operationId": "add-memory-bank-visibility-grant", "parameters": [ { "name": "team_id", @@ -28931,15 +28087,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -28966,15 +28113,15 @@ } } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/ownership/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ "memory", "v1" ], - "summary": "Remove a memory-bank ownership grant", - "description": "Idempotently remove one ownership grant while retaining at least one owner for a private plane.", - "operationId": "remove-memory-bank-ownership-grant", + "summary": "Remove a memory-bank visibility grant", + "description": "Idempotently remove one private visibility grant.", + "operationId": "remove-memory-bank-visibility-grant", "parameters": [ { "name": "team_id", @@ -29007,15 +28154,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -29025,15 +28163,15 @@ } } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/recall": { - "post": { + "/api/v1/team/{team_id}/memory/banks/{memory_bank_id}/source-bindings": { + "get": { "tags": [ "memory", "v1" ], - "summary": "Recall memory", - "description": "Semantically recall relevant content from the selected memory bank.", - "operationId": "recall-memory", + "summary": "List memory-bank sources", + "description": "Inspect all active source bindings and synchronization state for one memory bank.", + "operationId": "list-memory-bank-source-bindings", "parameters": [ { "name": "team_id", @@ -29044,40 +28182,24 @@ } }, { - "name": "bank_id", + "name": "memory_bank_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RecallMemoryBody" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } } } } @@ -29085,15 +28207,15 @@ } } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/reflect": { - "post": { + "/api/v1/team/{team_id}/memory/source-bindings": { + "get": { "tags": [ "memory", "v1" ], - "summary": "Reflect on memory", - "description": "Generate a contextual answer from the selected memory bank.", - "operationId": "reflect-memory", + "summary": "List source memory-bank bindings", + "description": "Inspect the selected banks and synchronization state for one source.", + "operationId": "list-memory-source-bindings", "parameters": [ { "name": "team_id", @@ -29104,56 +28226,46 @@ } }, { - "name": "bank_id", - "in": "path", + "name": "source_kind", + "in": "query", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "$ref": "#/components/schemas/MemorySourceKind" } }, { - "name": "team_id", - "in": "path", - "description": "Team ID", + "name": "source_id", + "in": "query", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReflectMemoryBody" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } } } } } } - } - }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/retain": { - "post": { + }, + "put": { "tags": [ "memory", "v1" ], - "summary": "Retain a memory document", - "description": "Upsert a provider-neutral document into the selected memory bank.", - "operationId": "retain-memory-document", + "summary": "Replace source memory-bank bindings", + "description": "Atomically replace a source's selected banks and durably queue a full backfill.", + "operationId": "replace-memory-source-bindings", "parameters": [ { "name": "team_id", @@ -29162,30 +28274,13 @@ "schema": { "type": "string" } - }, - { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RetainMemoryBody" + "$ref": "#/components/schemas/ReplaceMemoryBankBindingsBody" } } }, @@ -29197,7 +28292,10 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } } } } @@ -29205,15 +28303,15 @@ } } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/template": { - "get": { + "/api/v1/team/{team_id}/memory/source-bindings/retry": { + "post": { "tags": [ "memory", "v1" ], - "summary": "Export memory bank template", - "description": "Export portable configuration overrides, mental models, and directives.", - "operationId": "export-memory-bank-template", + "summary": "Retry source synchronization", + "description": "Retry every memory-bank binding for a source.", + "operationId": "retry-memory-source-sync", "parameters": [ { "name": "team_id", @@ -29222,46 +28320,44 @@ "schema": { "type": "string" } - }, - { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RetryMemorySourceBody" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryBankTemplate" + "type": "array", + "items": { + "$ref": "#/components/schemas/MemorySourceBinding" + } } } } } } - }, - "post": { + } + }, + "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/documents": { + "delete": { "tags": [ "memory", "v1" ], - "summary": "Import memory bank template", - "description": "Validate or apply portable configuration, mental models, and directives.", - "operationId": "import-memory-bank-template", + "summary": "Delete memory during background synthesis", + "description": "Deletes an unprotected memory only when the assigned synthesizer supplies the exact active batch, evidence set, and issuing worker lease. Successful deletion records a durable per-operation idempotency receipt.", + "operationId": "delete-synthesis-session-memory", "parameters": [ { "name": "team_id", @@ -29272,56 +28368,38 @@ } }, { - "name": "bank_id", + "name": "session_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportMemoryBankTemplateBody" + "$ref": "#/components/schemas/DeleteSynthesisMemoryDocumentBody" } } }, "required": true }, "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImportMemoryBankTemplateResponse" - } - } - } + "204": { + "description": "" } } } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility": { + "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/recall": { "post": { "tags": [ "memory", "v1" ], - "summary": "Set memory-bank visibility", - "description": "Set the memory bank discovery and content-use plane to team or private. Requires ownership-plane authority.", - "operationId": "set-memory-bank-visibility", + "operationId": "recall-synthesis-session-memory", "parameters": [ { "name": "team_id", @@ -29332,28 +28410,19 @@ } }, { - "name": "bank_id", + "name": "session_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/RecallMemoryBody" } } }, @@ -29365,7 +28434,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/MemoryOperationResponse" } } } @@ -29373,15 +28442,13 @@ } } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants": { - "get": { + "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/retain": { + "post": { "tags": [ "memory", "v1" ], - "summary": "List memory-bank visibility grants", - "description": "List users and groups admitted to private memory-bank visibility. Requires ownership-plane authority.", - "operationId": "list-memory-bank-visibility-grants", + "operationId": "retain-synthesis-session-memory", "parameters": [ { "name": "team_id", @@ -29392,47 +28459,47 @@ } }, { - "name": "bank_id", + "name": "session_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SynthesisSessionRetainMemoryBody" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/MemoryOperationResponse" } } } } } - }, + } + }, + "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/validate-batch": { "post": { "tags": [ "memory", "v1" ], - "summary": "Add a memory-bank visibility grant", - "description": "Idempotently grant a same-team Identity user or group private visibility.", - "operationId": "add-memory-bank-visibility-grant", + "summary": "Validate an active synthesis batch", + "description": "Authenticates the bank's assigned synthesizer and verifies that the supplied batch digest, complete evidence-ID set, and worker lease exactly match the session's current unexpired Postgres claim. This read-only check does not mutate memory or lease state.", + "operationId": "validate-synthesis-session-batch", "parameters": [ { "name": "team_id", @@ -29443,56 +28510,40 @@ } }, { - "name": "bank_id", + "name": "session_id", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/ValidateSynthesisBatchBody" } } }, "required": true }, "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResourceGrant" - } - } - } + "204": { + "description": "The complete evidence set is owned by the exact active worker lease" } } } }, - "/api/v1/team/{team_id}/memory/banks/{bank_id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/openbot/agents/{agent_id}/bundle": { + "put": { "tags": [ - "memory", + "openbot", "v1" ], - "summary": "Remove a memory-bank visibility grant", - "description": "Idempotently remove one private visibility grant.", - "operationId": "remove-memory-bank-visibility-grant", + "summary": "Reconcile OpenBot agent bundle", + "description": "Idempotently reconciles the agent, ChatKit workspace channel, authored skills and registry, MCP server, and tool-group bindings in one request.", + "operationId": "reconcile-openbot-agent-bundle", "parameters": [ { "name": "team_id", @@ -29503,55 +28554,55 @@ } }, { - "name": "bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "principal_type", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" - } - }, - { - "name": "principal_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", + "name": "agent_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReconcileOpenBotAgentBundleBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReconcileOpenBotAgentBundleResponse" + } + } + } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/banks/{memory_bank_id}/source-bindings": { + "/api/v1/team/{team_id}/openbot/plugins/catalog": { "get": { "tags": [ - "memory", + "openbot", "v1" ], - "summary": "List memory-bank sources", - "description": "Inspect all active source bindings and synchronization state for one memory bank.", - "operationId": "list-memory-bank-source-bindings", + "summary": "Get the OpenBot plugins catalog", + "description": "Returns the MCP providers, accounts, servers, skills, providers, and registries needed by the OpenBot plugins screen in one request.", + "operationId": "get-openbot-plugins-catalog", "parameters": [ { "name": "team_id", @@ -29560,23 +28611,6 @@ "schema": { "type": "string" } - }, - { - "name": "memory_bank_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -29585,26 +28619,27 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } + "$ref": "#/components/schemas/OpenBotPluginsCatalogResponse" } } } } - } + }, + "security": [ + { + "api_key": [] + }, + { + "bearer_token": [] + } + ] } }, - "/api/v1/team/{team_id}/memory/source-bindings": { + "/api/v1/team/{team_id}/provider-setup/catalog": { "get": { - "tags": [ - "memory", - "v1" - ], - "summary": "List source memory-bank bindings", - "description": "Inspect the selected banks and synchronization state for one source.", - "operationId": "list-memory-source-bindings", + "summary": "List generic provider setup descriptors", + "description": "Returns server-authored provider setup descriptors for a product domain.", + "operationId": "provider_setup_catalog", "parameters": [ { "name": "team_id", @@ -29615,55 +28650,33 @@ } }, { - "name": "source_kind", - "in": "query", - "required": true, - "schema": { - "$ref": "#/components/schemas/MemorySourceKind" - } - }, - { - "name": "source_id", + "name": "domain", "in": "query", "required": true, "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { "200": { - "description": "", + "description": "Provider setup catalog", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } + "$ref": "#/components/schemas/ListProviderSetupCatalogResponse" } } } } } - }, - "put": { - "tags": [ - "memory", - "v1" - ], - "summary": "Replace source memory-bank bindings", - "description": "Atomically replace a source's selected banks and durably queue a full backfill.", - "operationId": "replace-memory-source-bindings", + } + }, + "/api/v1/team/{team_id}/provider-setup/start": { + "post": { + "summary": "Start generic provider setup", + "description": "Starts a server-authored provider setup workflow and returns the next generic UI action.", + "operationId": "provider_setup_start", "parameters": [ { "name": "team_id", @@ -29672,22 +28685,13 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReplaceMemoryBankBindingsBody" + "$ref": "#/components/schemas/StartProviderSetupBody" } } }, @@ -29695,14 +28699,11 @@ }, "responses": { "200": { - "description": "", + "description": "Provider setup response", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } + "$ref": "#/components/schemas/ProviderSetupResponse" } } } @@ -29710,15 +28711,11 @@ } } }, - "/api/v1/team/{team_id}/memory/source-bindings/retry": { + "/api/v1/team/{team_id}/provider-setup/{setup_id}/resume": { "post": { - "tags": [ - "memory", - "v1" - ], - "summary": "Retry source synchronization", - "description": "Retry every memory-bank binding for a source.", - "operationId": "retry-memory-source-sync", + "summary": "Resume generic provider setup", + "description": "Resumes a server-authored provider setup workflow after user input or a provider callback.", + "operationId": "provider_setup_resume", "parameters": [ { "name": "team_id", @@ -29729,9 +28726,8 @@ } }, { - "name": "team_id", + "name": "setup_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -29742,7 +28738,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RetryMemorySourceBody" + "$ref": "#/components/schemas/ResumeProviderSetupBody" } } }, @@ -29750,14 +28746,11 @@ }, "responses": { "200": { - "description": "", + "description": "Provider setup response", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MemorySourceBinding" - } + "$ref": "#/components/schemas/ProviderSetupResponse" } } } @@ -29765,83 +28758,78 @@ } } }, - "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/documents": { - "delete": { + "/api/v1/team/{team_id}/reverse-proxy/profile": { + "get": { "tags": [ - "memory", + "reverse-proxy", "v1" ], - "summary": "Delete memory during background synthesis", - "description": "Deletes an unprotected memory only when the assigned synthesizer supplies the exact active batch, evidence set, and issuing worker lease. Successful deletion records a durable per-operation idempotency receipt.", - "operationId": "delete-synthesis-session-memory", + "summary": "List reverse proxy profiles", + "description": "Paginated list of reverse proxy profiles for the given team.", + "operationId": "reverse_proxy_list_profiles", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "integer", + "format": "int64" } }, { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "next_page_token", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeleteSynthesisMemoryDocumentBody" + "responses": { + "200": { + "description": "Paginated reverse proxy profiles", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReverseProxyProfilePaginatedResponse" + } } } }, - "required": true - }, - "responses": { - "204": { - "description": "" + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } } - } - }, - "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/recall": { + }, "post": { "tags": [ - "memory", + "reverse-proxy", "v1" ], - "operationId": "recall-synthesis-session-memory", + "summary": "Create reverse proxy profile", + "description": "Create a reverse proxy profile binding a credential, base_url, and template.", + "operationId": "reverse_proxy_create_profile", "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, { "name": "team_id", "in": "path", @@ -29856,7 +28844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RecallMemoryBody" + "$ref": "#/components/schemas/CreateReverseProxyProfileInner" } } }, @@ -29864,11 +28852,31 @@ }, "responses": { "200": { - "description": "", + "description": "Created reverse proxy profile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "$ref": "#/components/schemas/ReverseProxyProfile" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -29876,73 +28884,66 @@ } } }, - "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/retain": { - "post": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}": { + "get": { "tags": [ - "memory", + "reverse-proxy", "v1" ], - "operationId": "retain-synthesis-session-memory", + "summary": "Get reverse proxy profile", + "description": "Retrieve a reverse proxy profile by id.", + "operationId": "reverse_proxy_get_profile", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "team_id", + "name": "profile_id", "in": "path", - "description": "Team ID", + "description": "Profile slug", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SynthesisSessionRetainMemoryBody" + "responses": { + "200": { + "description": "The reverse proxy profile", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReverseProxyProfile" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "404": { + "description": "Profile not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MemoryOperationResponse" + "$ref": "#/components/schemas/Error" } } } } } - } - }, - "/api/v1/team/{team_id}/memory/synthesis-sessions/{session_id}/validate-batch": { - "post": { + }, + "delete": { "tags": [ - "memory", + "reverse-proxy", "v1" ], - "summary": "Validate an active synthesis batch", - "description": "Authenticates the bank's assigned synthesizer and verifies that the supplied batch digest, complete evidence-ID set, and worker lease exactly match the session's current unexpired Postgres claim. This read-only check does not mutate memory or lease state.", - "operationId": "validate-synthesis-session-batch", + "summary": "Delete reverse proxy profile", + "description": "Delete a profile. Requires ownership-plane access.", + "operationId": "reverse_proxy_delete_profile", "parameters": [ { "name": "team_id", @@ -29953,70 +28954,52 @@ } }, { - "name": "session_id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "team_id", + "name": "profile_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidateSynthesisBatchBody" + "responses": { + "200": { + "description": "" + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } - }, - "required": true - }, - "responses": { - "204": { - "description": "The complete evidence set is owned by the exact active worker lease" } } - } - }, - "/api/v1/team/{team_id}/openbot/agents/{agent_id}/bundle": { - "put": { + }, + "patch": { "tags": [ - "openbot", + "reverse-proxy", "v1" ], - "summary": "Reconcile OpenBot agent bundle", - "description": "Idempotently reconciles the agent, ChatKit workspace channel, authored skills and registry, MCP server, and tool-group bindings in one request.", - "operationId": "reconcile-openbot-agent-bundle", + "summary": "Update reverse proxy profile", + "description": "Partial update of a reverse proxy profile. Only fields supplied as Some are written.", + "operationId": "reverse_proxy_update_profile", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "agent_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", + "name": "profile_id", "in": "path", - "description": "Team ID", + "description": "Profile slug", "required": true, "schema": { "type": "string" @@ -30027,7 +29010,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReconcileOpenBotAgentBundleBody" + "$ref": "#/components/schemas/UpdateReverseProxyProfileInner" } } }, @@ -30035,35 +29018,47 @@ }, "responses": { "200": { - "description": "", + "description": "Updated reverse proxy profile", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReconcileOpenBotAgentBundleResponse" + "$ref": "#/components/schemas/ReverseProxyProfile" } } } - } - }, - "security": [ - { - "api_key": [] }, - { - "bearer_token": [] + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Profile not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } - ] + } } }, - "/api/v1/team/{team_id}/openbot/plugins/catalog": { - "get": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership": { + "post": { "tags": [ - "openbot", + "reverse-proxy", "v1" ], - "summary": "Get the OpenBot plugins catalog", - "description": "Returns the MCP providers, accounts, servers, skills, providers, and registries needed by the OpenBot plugins screen in one request.", - "operationId": "get-openbot-plugins-catalog", + "summary": "Set reverse proxy profile ownership", + "description": "Set one reverse proxy profile authorization plane.", + "operationId": "reverse_proxy_set_profile_ownership", "parameters": [ { "name": "team_id", @@ -30074,42 +29069,47 @@ } }, { - "name": "team_id", + "name": "profile_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/OpenBotPluginsCatalogResponse" + "$ref": "#/components/schemas/ResourceAuthorization" } } } } - }, - "security": [ - { - "api_key": [] - }, - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/provider-setup/catalog": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants": { "get": { - "summary": "List generic provider setup descriptors", - "description": "Returns server-authored provider setup descriptors for a product domain.", - "operationId": "provider_setup_catalog", + "tags": [ + "reverse-proxy", + "v1" + ], + "summary": "List reverse proxy ownership grants", + "description": "List grants. Requires ownership-plane access.", + "operationId": "reverse_proxy_list_profile_ownership_grants", "parameters": [ { "name": "team_id", @@ -30120,17 +29120,8 @@ } }, { - "name": "domain", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", + "name": "profile_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30139,23 +29130,28 @@ ], "responses": { "200": { - "description": "Provider setup catalog", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListProviderSetupCatalogResponse" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } } } - } - }, - "/api/v1/team/{team_id}/provider-setup/start": { + }, "post": { - "summary": "Start generic provider setup", - "description": "Starts a server-authored provider setup workflow and returns the next generic UI action.", - "operationId": "provider_setup_start", + "tags": [ + "reverse-proxy", + "v1" + ], + "summary": "Add reverse proxy ownership grant", + "description": "Add a same-team user or group grant.", + "operationId": "reverse_proxy_add_profile_ownership_grant", "parameters": [ { "name": "team_id", @@ -30166,9 +29162,8 @@ } }, { - "name": "team_id", + "name": "profile_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30179,7 +29174,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StartProviderSetupBody" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -30187,11 +29182,11 @@ }, "responses": { "200": { - "description": "Provider setup response", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProviderSetupResponse" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -30199,11 +29194,15 @@ } } }, - "/api/v1/team/{team_id}/provider-setup/{setup_id}/resume": { - "post": { - "summary": "Resume generic provider setup", - "description": "Resumes a server-authored provider setup workflow after user input or a provider callback.", - "operationId": "provider_setup_resume", + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants/{principal_type}/{principal_id}": { + "delete": { + "tags": [ + "reverse-proxy", + "v1" + ], + "summary": "Remove reverse proxy ownership grant", + "description": "Remove a grant idempotently.", + "operationId": "reverse_proxy_remove_profile_ownership_grant", "parameters": [ { "name": "team_id", @@ -30214,7 +29213,49 @@ } }, { - "name": "setup_id", + "name": "profile_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourcePrincipalType" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility": { + "post": { + "tags": [ + "reverse-proxy", + "v1" + ], + "summary": "Set reverse proxy profile visibility", + "description": "Set one reverse proxy profile authorization plane.", + "operationId": "reverse_proxy_set_profile_visibility", + "parameters": [ + { + "name": "team_id", "in": "path", "required": true, "schema": { @@ -30222,9 +29263,8 @@ } }, { - "name": "team_id", + "name": "profile_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30235,7 +29275,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResumeProviderSetupBody" + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, @@ -30243,11 +29283,11 @@ }, "responses": { "200": { - "description": "Provider setup response", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProviderSetupResponse" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -30255,49 +29295,27 @@ } } }, - "/api/v1/team/{team_id}/reverse-proxy/profile": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants": { "get": { "tags": [ "reverse-proxy", "v1" ], - "summary": "List reverse proxy profiles", - "description": "Paginated list of reverse proxy profiles for the given team.", - "operationId": "reverse_proxy_list_profiles", + "summary": "List reverse proxy visibility grants", + "description": "List grants. Requires ownership-plane access.", + "operationId": "reverse_proxy_list_profile_visibility_grants", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "team_id", + "name": "profile_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30306,21 +29324,14 @@ ], "responses": { "200": { - "description": "Paginated reverse proxy profiles", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReverseProxyProfilePaginatedResponse" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } @@ -30332,23 +29343,21 @@ "reverse-proxy", "v1" ], - "summary": "Create reverse proxy profile", - "description": "Create a reverse proxy profile binding a credential, base_url, and template.", - "operationId": "reverse_proxy_create_profile", + "summary": "Add reverse proxy visibility grant", + "description": "Add a same-team user or group grant.", + "operationId": "reverse_proxy_add_profile_visibility_grant", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "team_id", + "name": "profile_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30359,7 +29368,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateReverseProxyProfileInner" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -30367,31 +29376,11 @@ }, "responses": { "200": { - "description": "Created reverse proxy profile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReverseProxyProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -30399,20 +29388,19 @@ } } }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}": { - "get": { + "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants/{principal_type}/{principal_id}": { + "delete": { "tags": [ "reverse-proxy", "v1" ], - "summary": "Get reverse proxy profile", - "description": "Retrieve a reverse proxy profile by id.", - "operationId": "reverse_proxy_get_profile", + "summary": "Remove reverse proxy visibility grant", + "description": "Remove a grant idempotently.", + "operationId": "reverse_proxy_remove_profile_visibility_grant", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30421,12 +29409,45 @@ { "name": "profile_id", "in": "path", - "description": "Profile slug", "required": true, "schema": { "type": "string" } }, + { + "name": "principal_type", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/ResourcePrincipalType" + } + }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/team/{team_id}/reverse-proxy/provider": { + "get": { + "tags": [ + "reverse-proxy", + "v1" + ], + "summary": "List reverse proxy providers", + "description": "Providers registered with the reverse-proxy. Driven by the in-process `ReverseProxyProviderRegistry`; transport-only templates (no model catalogue).", + "operationId": "reverse_proxy_list_providers", + "parameters": [ { "name": "team_id", "in": "path", @@ -30439,39 +29460,31 @@ ], "responses": { "200": { - "description": "The reverse proxy profile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReverseProxyProfile" - } - } - } - }, - "404": { - "description": "Profile not found", + "description": "Registered reverse proxy providers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ListReverseProxyProvidersResponse" } } } } } - }, - "delete": { + } + }, + "/api/v1/team/{team_id}/reverse-proxy/{profile_id}/{*rest}": { + "get": { "tags": [ - "reverse-proxy", - "v1" + "reverse-proxy" ], - "summary": "Delete reverse proxy profile", - "description": "Delete a profile. Requires ownership-plane access.", - "operationId": "reverse_proxy_delete_profile", + "summary": "Proxy GET through profile", + "description": "Forward a GET to the profile's upstream with materialized credential headers.", + "operationId": "reverse_proxy_proxy_get", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30480,15 +29493,16 @@ { "name": "profile_id", "in": "path", + "description": "Profile slug", "required": true, "schema": { "type": "string" } }, { - "name": "team_id", + "name": "rest", "in": "path", - "description": "Team ID", + "description": "Path tail forwarded to upstream", "required": true, "schema": { "type": "string" @@ -30497,28 +29511,17 @@ ], "responses": { "200": { - "description": "" - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + "description": "Upstream response (streamed)" } } }, - "patch": { + "post": { "tags": [ - "reverse-proxy", - "v1" + "reverse-proxy" ], - "summary": "Update reverse proxy profile", - "description": "Partial update of a reverse proxy profile. Only fields supplied as Some are written.", - "operationId": "reverse_proxy_update_profile", + "summary": "Proxy POST through profile", + "description": "Forward a POST to the profile's upstream with materialized credential headers.", + "operationId": "reverse_proxy_proxy_post", "parameters": [ { "name": "team_id", @@ -30539,112 +29542,86 @@ } }, { - "name": "team_id", + "name": "rest", "in": "path", - "description": "Team ID", + "description": "Path tail forwarded to upstream", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UpdateReverseProxyProfileInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Updated reverse proxy profile", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReverseProxyProfile" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Profile not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + "description": "Upstream response (streamed)" } } } }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership": { - "post": { + "/api/v1/team/{team_id}/signals/deliveries": { + "get": { "tags": [ - "reverse-proxy", + "signals", "v1" ], - "summary": "Set reverse proxy profile ownership", - "description": "Set one reverse proxy profile authorization plane.", - "operationId": "reverse_proxy_set_profile_ownership", + "summary": "List signal deliveries", + "description": "List signal deliveries.", + "operationId": "signals-list-deliveries", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "profile_id", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, "schema": { "type": "string" - } + }, + "style": "form" }, { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "instance_id", + "in": "query", + "required": false, "schema": { "type": "string" - } + }, + "style": "form" + }, + { + "name": "status", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" - } - } - }, - "required": true - }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/SignalDeliveryPaginatedResponse" } } } @@ -30652,15 +29629,15 @@ } } }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants": { + "/api/v1/team/{team_id}/signals/deliveries/{delivery_id}": { "get": { "tags": [ - "reverse-proxy", + "signals", "v1" ], - "summary": "List reverse proxy ownership grants", - "description": "List grants. Requires ownership-plane access.", - "operationId": "reverse_proxy_list_profile_ownership_grants", + "summary": "Get signal delivery", + "description": "Get signal delivery.", + "operationId": "signals-get-delivery", "parameters": [ { "name": "team_id", @@ -30671,21 +29648,53 @@ } }, { - "name": "profile_id", + "name": "delivery_id", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignalDelivery" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/signals/deliveries/{delivery_id}/retry": { + "post": { + "tags": [ + "signals", + "v1" + ], + "summary": "Retry signal delivery", + "description": "Retry signal delivery.", + "operationId": "signals-retry-delivery", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } + }, + { + "name": "delivery_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } } ], "responses": { @@ -30694,45 +29703,96 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/SignalDelivery" } } } } } - }, - "post": { + } + }, + "/api/v1/team/{team_id}/signals/instances": { + "get": { "tags": [ - "reverse-proxy", + "signals", "v1" ], - "summary": "Add reverse proxy ownership grant", - "description": "Add a same-team user or group grant.", - "operationId": "reverse_proxy_add_profile_ownership_grant", + "summary": "List signal provider instances", + "description": "List configured signal provider instances.", + "operationId": "signals-list-provider-instances", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "profile_id", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, "schema": { "type": "string" - } + }, + "style": "form" + }, + { + "name": "status", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" }, + { + "name": "provider_type", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "style": "form" + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignalProviderInstancePaginatedResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "signals", + "v1" + ], + "summary": "Create signal provider instance", + "description": "Create a team-scoped signal provider instance.", + "operationId": "signals-create-provider-instance", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30743,7 +29803,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/CreateSignalProviderInstanceRequestInner" } } }, @@ -30755,7 +29815,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/SignalProviderInstance" } } } @@ -30763,15 +29823,13 @@ } } }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/ownership/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/signals/instances/{id}/ownership": { + "post": { "tags": [ - "reverse-proxy", + "signals", "v1" ], - "summary": "Remove reverse proxy ownership grant", - "description": "Remove a grant idempotently.", - "operationId": "reverse_proxy_remove_profile_ownership_grant", + "operationId": "set-signal-provider-ownership", "parameters": [ { "name": "team_id", @@ -30782,55 +29840,45 @@ } }, { - "name": "profile_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "principal_type", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" - } - }, - { - "name": "principal_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", + "name": "id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceAuthorization" + } + } + } } } } }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility": { + "/api/v1/team/{team_id}/signals/instances/{id}/visibility": { "post": { "tags": [ - "reverse-proxy", + "signals", "v1" ], - "summary": "Set reverse proxy profile visibility", - "description": "Set one reverse proxy profile authorization plane.", - "operationId": "reverse_proxy_set_profile_visibility", + "operationId": "set-signal-provider-visibility", "parameters": [ { "name": "team_id", @@ -30841,17 +29889,8 @@ } }, { - "name": "profile_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", + "name": "id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -30882,15 +29921,13 @@ } } }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants": { + "/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants": { "get": { "tags": [ - "reverse-proxy", + "signals", "v1" ], - "summary": "List reverse proxy visibility grants", - "description": "List grants. Requires ownership-plane access.", - "operationId": "reverse_proxy_list_profile_visibility_grants", + "operationId": "list-signal-provider-grants", "parameters": [ { "name": "team_id", @@ -30901,7 +29938,7 @@ } }, { - "name": "profile_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -30909,12 +29946,11 @@ } }, { - "name": "team_id", + "name": "plane", "in": "path", - "description": "Team ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/ResourceGrantPlane" } } ], @@ -30936,12 +29972,10 @@ }, "post": { "tags": [ - "reverse-proxy", + "signals", "v1" ], - "summary": "Add reverse proxy visibility grant", - "description": "Add a same-team user or group grant.", - "operationId": "reverse_proxy_add_profile_visibility_grant", + "operationId": "add-signal-provider-grant", "parameters": [ { "name": "team_id", @@ -30952,7 +29986,7 @@ } }, { - "name": "profile_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -30960,12 +29994,11 @@ } }, { - "name": "team_id", + "name": "plane", "in": "path", - "description": "Team ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/ResourceGrantPlane" } } ], @@ -30993,15 +30026,13 @@ } } }, - "/api/v1/team/{team_id}/reverse-proxy/profile/{profile_id}/visibility/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "reverse-proxy", + "signals", "v1" ], - "summary": "Remove reverse proxy visibility grant", - "description": "Remove a grant idempotently.", - "operationId": "reverse_proxy_remove_profile_visibility_grant", + "operationId": "remove-signal-provider-grant", "parameters": [ { "name": "team_id", @@ -31012,7 +30043,7 @@ } }, { - "name": "profile_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -31020,25 +30051,24 @@ } }, { - "name": "principal_type", + "name": "plane", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" + "$ref": "#/components/schemas/ResourceGrantPlane" } }, { - "name": "principal_id", + "name": "principal_type", "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/ResourcePrincipalType" } }, { - "name": "team_id", + "name": "principal_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -31052,29 +30082,27 @@ } } }, - "/api/v1/team/{team_id}/reverse-proxy/provider": { + "/api/v1/team/{team_id}/signals/instances/{instance_id}": { "get": { "tags": [ - "reverse-proxy", + "signals", "v1" ], - "summary": "List reverse proxy providers", - "description": "Providers registered with the reverse-proxy. Driven by the in-process `ReverseProxyProviderRegistry`; transport-only templates (no model catalogue).", - "operationId": "reverse_proxy_list_providers", + "summary": "Get signal provider instance", + "description": "Get a configured signal provider instance.", + "operationId": "signals-get-provider-instance", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "team_id", + "name": "instance_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -31083,136 +30111,223 @@ ], "responses": { "200": { - "description": "Registered reverse proxy providers", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ListReverseProxyProvidersResponse" + "$ref": "#/components/schemas/SignalProviderInstance" } } } } } - } - }, - "/api/v1/team/{team_id}/reverse-proxy/{profile_id}/{*rest}": { - "get": { + }, + "delete": { "tags": [ - "reverse-proxy" + "signals", + "v1" ], - "summary": "Proxy GET through profile", - "description": "Forward a GET to the profile's upstream with materialized credential headers.", - "operationId": "reverse_proxy_proxy_get", + "summary": "Delete signal provider instance", + "description": "Delete a configured signal provider instance.", + "operationId": "signals-delete-provider-instance", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "profile_id", + "name": "instance_id", "in": "path", - "description": "Profile slug", "required": true, "schema": { "type": "string" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteSignalResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "signals", + "v1" + ], + "summary": "Update signal provider instance", + "description": "Update a configured signal provider instance.", + "operationId": "signals-update-provider-instance", + "parameters": [ { - "name": "rest", + "name": "team_id", "in": "path", - "description": "Path tail forwarded to upstream", "required": true, "schema": { "type": "string" } }, { - "name": "team_id", + "name": "instance_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateSignalProviderInstanceRequestInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Upstream response (streamed)" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignalProviderInstance" + } + } + } } } - }, + } + }, + "/api/v1/team/{team_id}/signals/instances/{instance_id}/test": { "post": { "tags": [ - "reverse-proxy" + "signals", + "v1" ], - "summary": "Proxy POST through profile", - "description": "Forward a POST to the profile's upstream with materialized credential headers.", - "operationId": "reverse_proxy_proxy_post", + "summary": "Trigger fake signal", + "description": "Trigger a fake signal for testing.", + "operationId": "signals-trigger-fake", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "profile_id", + "name": "instance_id", "in": "path", - "description": "Profile slug", "required": true, "schema": { "type": "string" } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TriggerFakeSignalRequest" + } + } }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IngestSignalResponse" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/signals/providers": { + "get": { + "tags": [ + "signals", + "v1" + ], + "summary": "List available signal providers", + "description": "List registered signal provider source types.", + "operationId": "signals-list-available-providers", + "parameters": [ { - "name": "rest", + "name": "team_id", "in": "path", - "description": "Path tail forwarded to upstream", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "page_size", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int64" + }, + "style": "form" + }, + { + "name": "next_page_token", + "in": "query", + "required": false, "schema": { "type": "string" - } + }, + "style": "form" } ], "responses": { "200": { - "description": "Upstream response (streamed)" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SignalProviderSourceSerializedPaginatedResponse" + } + } + } } } } }, - "/api/v1/team/{team_id}/signals/deliveries": { + "/api/v1/team/{team_id}/skill": { "get": { "tags": [ - "signals", + "skills", "v1" ], - "summary": "List signal deliveries", - "description": "List signal deliveries.", - "operationId": "signals-list-deliveries", + "summary": "List skills", + "description": "List skills in the current workspace.", + "operationId": "list-skills", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -31225,53 +30340,114 @@ "schema": { "type": "integer", "format": "int64" - }, - "style": "form" + } }, { "name": "next_page_token", "in": "query", "required": false, "schema": { - "type": "string" - }, - "style": "form" + "type": [ + "string", + "null" + ] + } }, { - "name": "instance_id", + "name": "name_prefix", "in": "query", "required": false, "schema": { - "type": "string" - }, - "style": "form" + "type": [ + "string", + "null" + ] + } }, { - "name": "status", + "name": "skill_registry_id", "in": "query", "required": false, "schema": { - "type": "string" - }, - "style": "form" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedUuidV4" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Skills", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SkillPaginatedResponse" + } + } + } }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "tags": [ + "skills", + "v1" + ], + "summary": "Create a skill", + "description": "Create a skill in the current workspace.", + "operationId": "create-skill", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSkillInner" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "", + "description": "Created skill", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalDeliveryPaginatedResponse" + "$ref": "#/components/schemas/Skill" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -31279,15 +30455,15 @@ } } }, - "/api/v1/team/{team_id}/signals/deliveries/{delivery_id}": { + "/api/v1/team/{team_id}/skill-providers": { "get": { "tags": [ - "signals", + "skills", "v1" ], - "summary": "Get signal delivery", - "description": "Get signal delivery.", - "operationId": "signals-get-delivery", + "summary": "List proxied skill providers", + "description": "List trusted Git-backed skill providers compiled into the Tilde backend.", + "operationId": "list-proxied-skill-providers", "parameters": [ { "name": "team_id", @@ -31296,19 +30472,106 @@ "schema": { "type": "string" } - }, + } + ], + "responses": { + "200": { + "description": "Trusted proxied skill providers", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ListProxiedSkillProvidersResponse" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/skill-providers/trusted": { + "post": { + "tags": [ + "skills", + "v1" + ], + "summary": "Create a trusted skill provider", + "description": "Create or update a trusted GitHub-backed skill provider row.", + "operationId": "create-trusted-skill-provider", + "parameters": [ { - "name": "delivery_id", + "name": "team_id", "in": "path", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateTrustedSkillProviderRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Created trusted skill provider", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProxiedSkillProvider" + } + } + } + }, + "400": { + "description": "Invalid provider URL", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/skill-providers/{provider_id}": { + "get": { + "tags": [ + "skills", + "v1" + ], + "summary": "Get a proxied skill provider", + "description": "Fetch one trusted proxied skill provider and its available skills.", + "operationId": "get-proxied-skill-provider", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "provider_id", + "in": "path", "required": true, "schema": { "type": "string" @@ -31317,11 +30580,21 @@ ], "responses": { "200": { - "description": "", + "description": "Trusted proxied skill provider", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalDelivery" + "$ref": "#/components/schemas/ProxiedSkillProvider" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -31329,15 +30602,15 @@ } } }, - "/api/v1/team/{team_id}/signals/deliveries/{delivery_id}/retry": { - "post": { + "/api/v1/team/{team_id}/skill-registry": { + "get": { "tags": [ - "signals", + "skills", "v1" ], - "summary": "Retry signal delivery", - "description": "Retry signal delivery.", - "operationId": "signals-retry-delivery", + "summary": "List skill registries", + "description": "List skill registries in the current workspace.", + "operationId": "list-skill-registries", "parameters": [ { "name": "team_id", @@ -31348,30 +30621,105 @@ } }, { - "name": "delivery_id", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "integer", + "format": "int64" + } + }, + { + "name": "next_page_token", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + }, + { + "name": "name_prefix", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } + } + ], + "responses": { + "200": { + "description": "Skill registries", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SkillRegistryPaginatedResponse" + } + } } }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "post": { + "tags": [ + "skills", + "v1" + ], + "summary": "Create a skill registry", + "description": "Create a named group of skills that can be attached to runtime agents.", + "operationId": "create-skill-registry", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateSkillRegistryBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "", + "description": "Created skill registry", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalDelivery" + "$ref": "#/components/schemas/SkillRegistry" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -31379,66 +30727,27 @@ } } }, - "/api/v1/team/{team_id}/signals/instances": { + "/api/v1/team/{team_id}/skill-registry/{id}": { "get": { "tags": [ - "signals", + "skills", "v1" ], - "summary": "List signal provider instances", - "description": "List configured signal provider instances.", - "operationId": "signals-list-provider-instances", + "summary": "Get a skill registry", + "description": "Fetch a skill registry by id.", + "operationId": "get-skill-registry", "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "provider_type", - "in": "query", - "required": false, - "schema": { - "type": "string" - }, - "style": "form" - }, - { - "name": "team_id", + "name": "id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -31447,25 +30756,45 @@ ], "responses": { "200": { - "description": "", + "description": "Skill registry", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderInstancePaginatedResponse" + "$ref": "#/components/schemas/SkillRegistry" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } } } }, - "post": { + "delete": { "tags": [ - "signals", + "skills", "v1" ], - "summary": "Create signal provider instance", - "description": "Create a team-scoped signal provider instance.", - "operationId": "signals-create-provider-instance", + "summary": "Delete a skill registry", + "description": "Delete a skill registry by id.", + "operationId": "delete-skill-registry", "parameters": [ { "name": "team_id", @@ -31476,46 +30805,48 @@ } }, { - "name": "team_id", + "name": "id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSignalProviderInstanceRequestInner" + "responses": { + "200": { + "description": "Deleted" + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "404": { + "description": "Not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderInstance" + "$ref": "#/components/schemas/Error" } } } } } - } - }, - "/api/v1/team/{team_id}/signals/instances/{id}/ownership": { - "post": { + }, + "patch": { "tags": [ - "signals", + "skills", "v1" ], - "operationId": "set-signal-provider-ownership", + "summary": "Update a skill registry", + "description": "Apply a partial update to a skill registry.", + "operationId": "update-skill-registry", "parameters": [ { "name": "team_id", @@ -31532,22 +30863,13 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/UpdateSkillRegistryBody" } } }, @@ -31555,11 +30877,31 @@ }, "responses": { "200": { - "description": "", + "description": "Skill registry", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/SkillRegistry" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -31567,13 +30909,15 @@ } } }, - "/api/v1/team/{team_id}/signals/instances/{id}/visibility": { + "/api/v1/team/{team_id}/skill-registry/{id}/ownership": { "post": { "tags": [ - "signals", + "skills", "v1" ], - "operationId": "set-signal-provider-visibility", + "summary": "Set a skill-registry authorization mode", + "description": "Change one registry plane after ownership authorization.", + "operationId": "set_skill_registry_ownership_mode", "parameters": [ { "name": "team_id", @@ -31588,16 +30932,7 @@ "in": "path", "required": true, "schema": { - "type": "string" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } } ], @@ -31625,13 +30960,15 @@ } } }, - "/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants": { + "/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants": { "get": { "tags": [ - "signals", + "skills", "v1" ], - "operationId": "list-signal-provider-grants", + "summary": "List skill-registry grants", + "description": "List grants for one registry authorization plane.", + "operationId": "list_skill_registry_ownership_grants", "parameters": [ { "name": "team_id", @@ -31646,24 +30983,7 @@ "in": "path", "required": true, "schema": { - "type": "string" - } - }, - { - "name": "plane", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } } ], @@ -31685,10 +31005,12 @@ }, "post": { "tags": [ - "signals", + "skills", "v1" ], - "operationId": "add-signal-provider-grant", + "summary": "Add a skill-registry grant", + "description": "Idempotently add one registry-plane principal.", + "operationId": "add_skill_registry_ownership_grant", "parameters": [ { "name": "team_id", @@ -31703,24 +31025,7 @@ "in": "path", "required": true, "schema": { - "type": "string" - } - }, - { - "name": "plane", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } } ], @@ -31748,13 +31053,15 @@ } } }, - "/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ - "signals", + "skills", "v1" ], - "operationId": "remove-signal-provider-grant", + "summary": "Remove a skill-registry grant", + "description": "Remove a registry grant while preserving a private owner.", + "operationId": "remove_skill_registry_ownership_grant", "parameters": [ { "name": "team_id", @@ -31769,37 +31076,20 @@ "in": "path", "required": true, "schema": { - "type": "string" - } - }, - { - "name": "plane", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/ResourceGrantPlane" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { "name": "principal_type", "in": "path", "required": true, - "schema": { - "$ref": "#/components/schemas/ResourcePrincipalType" - } - }, - { - "name": "principal_id", - "in": "path", - "required": true, "schema": { "type": "string" } }, { - "name": "team_id", + "name": "principal_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -31813,111 +31103,15 @@ } } }, - "/api/v1/team/{team_id}/signals/instances/{instance_id}": { - "get": { - "tags": [ - "signals", - "v1" - ], - "summary": "Get signal provider instance", - "description": "Get a configured signal provider instance.", - "operationId": "signals-get-provider-instance", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "instance_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SignalProviderInstance" - } - } - } - } - } - }, - "delete": { - "tags": [ - "signals", - "v1" - ], - "summary": "Delete signal provider instance", - "description": "Delete a configured signal provider instance.", - "operationId": "signals-delete-provider-instance", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "instance_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeleteSignalResponse" - } - } - } - } - } - }, - "patch": { + "/api/v1/team/{team_id}/skill-registry/{id}/provider-skills": { + "post": { "tags": [ - "signals", + "skills", "v1" ], - "summary": "Update signal provider instance", - "description": "Update a configured signal provider instance.", - "operationId": "signals-update-provider-instance", + "summary": "Add provider skills to a registry", + "description": "Create or reuse selected proxied provider skills and add them to a skill registry.", + "operationId": "add-provider-skills-to-skill-registry", "parameters": [ { "name": "team_id", @@ -31928,17 +31122,8 @@ } }, { - "name": "instance_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", + "name": "id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -31949,7 +31134,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateSignalProviderInstanceRequestInner" + "$ref": "#/components/schemas/AddProviderSkillsToRegistryRequest" } } }, @@ -31957,71 +31142,31 @@ }, "responses": { "200": { - "description": "", + "description": "Updated skill registry", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderInstance" + "$ref": "#/components/schemas/SkillRegistry" } } } - } - } - } - }, - "/api/v1/team/{team_id}/signals/instances/{instance_id}/test": { - "post": { - "tags": [ - "signals", - "v1" - ], - "summary": "Trigger fake signal", - "description": "Trigger a fake signal for testing.", - "operationId": "signals-trigger-fake", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "instance_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TriggerFakeSignalRequest" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } } } }, - "required": true - }, - "responses": { - "200": { - "description": "", + "404": { + "description": "Not found", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IngestSignalResponse" + "$ref": "#/components/schemas/Error" } } } @@ -32029,61 +31174,70 @@ } } }, - "/api/v1/team/{team_id}/signals/providers": { - "get": { + "/api/v1/team/{team_id}/skill-registry/{id}/search": { + "post": { "tags": [ - "signals", + "skills", "v1" ], - "summary": "List available signal providers", - "description": "List registered signal provider source types.", - "operationId": "signals-list-available-providers", - "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - }, - "style": "form" - }, + "summary": "Search a skill registry", + "description": "Search titles, descriptions, and skill bodies within a registry and return progressive-discovery summaries.", + "operationId": "search-skill-registry", + "parameters": [ { - "name": "next_page_token", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "required": true, "schema": { "type": "string" - }, - "style": "form" + } }, { - "name": "team_id", + "name": "id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SkillDiscoverySearchRequest" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "", + "description": "Search results", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SignalProviderSourceSerializedPaginatedResponse" + "$ref": "#/components/schemas/SkillDiscoverySearchResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -32091,15 +31245,15 @@ } } }, - "/api/v1/team/{team_id}/skill": { + "/api/v1/team/{team_id}/skill-registry/{id}/skill-summary": { "get": { "tags": [ "skills", "v1" ], - "summary": "List skills", - "description": "List skills in the current workspace.", - "operationId": "list-skills", + "summary": "List skill summaries", + "description": "List titles, descriptions, and versions for skills in a registry for progressive discovery.", + "operationId": "list-skill-registry-skill-summaries", "parameters": [ { "name": "team_id", @@ -32109,6 +31263,14 @@ "type": "string" } }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, { "name": "page_size", "in": "query", @@ -32154,24 +31316,15 @@ } ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { "200": { - "description": "Skills", + "description": "Skill summaries", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillPaginatedResponse" + "$ref": "#/components/schemas/SkillSummaryPaginatedResponse" } } } @@ -32185,17 +31338,29 @@ } } } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } } - }, - "post": { + } + }, + "/api/v1/team/{team_id}/skill-registry/{id}/skill/by-title/{title}": { + "get": { "tags": [ "skills", "v1" ], - "summary": "Create a skill", - "description": "Create a skill in the current workspace.", - "operationId": "create-skill", + "summary": "Read a skill from a registry by title", + "description": "Return the full skill body for one registry skill selected by exact title.", + "operationId": "get-skill-registry-skill-by-title", "parameters": [ { "name": "team_id", @@ -32206,28 +31371,25 @@ } }, { - "name": "team_id", + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "title", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateSkillInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Created skill", + "description": "Skill", "content": { "application/json": { "schema": { @@ -32245,19 +31407,29 @@ } } } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } } } }, - "/api/v1/team/{team_id}/skill-providers": { + "/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}": { "get": { "tags": [ "skills", "v1" ], - "summary": "List proxied skill providers", - "description": "List trusted Git-backed skill providers compiled into the Tilde backend.", - "operationId": "list-proxied-skill-providers", + "summary": "Read a skill from a registry", + "description": "Return the full skill body only after a caller selects a specific registry skill.", + "operationId": "get-skill-registry-skill", "parameters": [ { "name": "team_id", @@ -32268,41 +31440,7 @@ } }, { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Trusted proxied skill providers", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ListProxiedSkillProvidersResponse" - } - } - } - } - } - } - }, - "/api/v1/team/{team_id}/skill-providers/trusted": { - "post": { - "tags": [ - "skills", - "v1" - ], - "summary": "Create a trusted skill provider", - "description": "Create or update a trusted GitHub-backed skill provider row.", - "operationId": "create-trusted-skill-provider", - "parameters": [ - { - "name": "team_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -32310,38 +31448,27 @@ } }, { - "name": "team_id", + "name": "skill_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTrustedSkillProviderRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Created trusted skill provider", + "description": "Skill", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProxiedSkillProvider" + "$ref": "#/components/schemas/Skill" } } } }, - "400": { - "description": "Invalid provider URL", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -32350,8 +31477,8 @@ } } }, - "401": { - "description": "Unauthorized", + "404": { + "description": "Not found", "content": { "application/json": { "schema": { @@ -32363,15 +31490,15 @@ } } }, - "/api/v1/team/{team_id}/skill-providers/{provider_id}": { + "/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}/description": { "get": { "tags": [ "skills", "v1" ], - "summary": "Get a proxied skill provider", - "description": "Fetch one trusted proxied skill provider and its available skills.", - "operationId": "get-proxied-skill-provider", + "summary": "Read a skill description from a registry", + "description": "Return only the title, description, and version for one registry skill.", + "operationId": "get-skill-registry-skill-description", "parameters": [ { "name": "team_id", @@ -32382,7 +31509,7 @@ } }, { - "name": "provider_id", + "name": "id", "in": "path", "required": true, "schema": { @@ -32390,9 +31517,8 @@ } }, { - "name": "team_id", + "name": "skill_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -32401,11 +31527,21 @@ ], "responses": { "200": { - "description": "Trusted proxied skill provider", + "description": "Skill description", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProxiedSkillProvider" + "$ref": "#/components/schemas/SkillDescriptionResponse" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -32423,15 +31559,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry": { - "get": { + "/api/v1/team/{team_id}/skill-registry/{id}/visibility": { + "post": { "tags": [ "skills", "v1" ], - "summary": "List skill registries", - "description": "List skill registries in the current workspace.", - "operationId": "list-skill-registries", + "summary": "Set a skill-registry authorization mode", + "description": "Change one registry plane after ownership authorization.", + "operationId": "set_skill_registry_visibility", "parameters": [ { "name": "team_id", @@ -32442,63 +31578,75 @@ } }, { - "name": "page_size", - "in": "query", - "required": false, + "name": "id", + "in": "path", + "required": true, "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" + } } }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResourceAuthorization" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants": { + "get": { + "tags": [ + "skills", + "v1" + ], + "summary": "List skill-registry grants", + "description": "List grants for one registry authorization plane.", + "operationId": "list_skill_registry_visibility_grants", + "parameters": [ { - "name": "name_prefix", - "in": "query", - "required": false, + "name": "team_id", + "in": "path", + "required": true, "schema": { - "type": [ - "string", - "null" - ] + "type": "string" } }, { - "name": "team_id", + "name": "id", "in": "path", - "description": "Team ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } } ], "responses": { "200": { - "description": "Skill registries", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillRegistryPaginatedResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } } } } @@ -32510,9 +31658,9 @@ "skills", "v1" ], - "summary": "Create a skill registry", - "description": "Create a named group of skills that can be attached to runtime agents.", - "operationId": "create-skill-registry", + "summary": "Add a skill-registry grant", + "description": "Idempotently add one registry-plane principal.", + "operationId": "add_skill_registry_visibility_grant", "parameters": [ { "name": "team_id", @@ -32523,12 +31671,11 @@ } }, { - "name": "team_id", + "name": "id", "in": "path", - "description": "Team ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } } ], @@ -32536,7 +31683,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateSkillRegistryBody" + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, @@ -32544,21 +31691,11 @@ }, "responses": { "200": { - "description": "Created skill registry", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillRegistry" - } - } - } - }, - "401": { - "description": "Unauthorized", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -32566,15 +31703,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}": { - "get": { + "/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants/{principal_type}/{principal_id}": { + "delete": { "tags": [ "skills", "v1" ], - "summary": "Get a skill registry", - "description": "Fetch a skill registry by id.", - "operationId": "get-skill-registry", + "summary": "Remove a skill-registry grant", + "description": "Remove a registry grant while preserving a private owner.", + "operationId": "remove_skill_registry_visibility_grant", "parameters": [ { "name": "team_id", @@ -32588,14 +31725,55 @@ "name": "id", "in": "path", "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } + }, + { + "name": "principal_type", + "in": "path", + "required": true, "schema": { "type": "string" } }, + { + "name": "principal_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "" + } + } + } + }, + "/api/v1/team/{team_id}/skill/{id}": { + "get": { + "tags": [ + "skills", + "v1" + ], + "summary": "Get a skill", + "description": "Fetch a skill by id.", + "operationId": "get-skill", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "path", "required": true, "schema": { "type": "string" @@ -32604,11 +31782,11 @@ ], "responses": { "200": { - "description": "Skill registry", + "description": "Skill", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillRegistry" + "$ref": "#/components/schemas/Skill" } } } @@ -32640,9 +31818,9 @@ "skills", "v1" ], - "summary": "Delete a skill registry", - "description": "Delete a skill registry by id.", - "operationId": "delete-skill-registry", + "summary": "Delete a skill", + "description": "Delete a skill by id.", + "operationId": "delete-skill", "parameters": [ { "name": "team_id", @@ -32659,15 +31837,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -32701,9 +31870,9 @@ "skills", "v1" ], - "summary": "Update a skill registry", - "description": "Apply a partial update to a skill registry.", - "operationId": "update-skill-registry", + "summary": "Update a skill", + "description": "Apply a partial update to a skill.", + "operationId": "update-skill", "parameters": [ { "name": "team_id", @@ -32720,22 +31889,13 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateSkillRegistryBody" + "$ref": "#/components/schemas/UpdateSkillBody" } } }, @@ -32743,11 +31903,11 @@ }, "responses": { "200": { - "description": "Skill registry", + "description": "Skill", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillRegistry" + "$ref": "#/components/schemas/Skill" } } } @@ -32775,15 +31935,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/ownership": { + "/api/v1/team/{team_id}/skill/{id}/ownership": { "post": { "tags": [ "skills", "v1" ], - "summary": "Set a skill-registry authorization mode", - "description": "Change one registry plane after ownership authorization.", - "operationId": "set_skill_registry_ownership_mode", + "summary": "Set a skill authorization mode", + "description": "Change one skill authorization plane after ownership authorization.", + "operationId": "set_skill_ownership_mode", "parameters": [ { "name": "team_id", @@ -32800,15 +31960,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -32835,15 +31986,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants": { + "/api/v1/team/{team_id}/skill/{id}/ownership/grants": { "get": { "tags": [ "skills", "v1" ], - "summary": "List skill-registry grants", - "description": "List grants for one registry authorization plane.", - "operationId": "list_skill_registry_ownership_grants", + "summary": "List skill grants", + "description": "List grants for one skill authorization plane.", + "operationId": "list_skill_ownership_grants", "parameters": [ { "name": "team_id", @@ -32860,15 +32011,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -32892,9 +32034,9 @@ "skills", "v1" ], - "summary": "Add a skill-registry grant", - "description": "Idempotently add one registry-plane principal.", - "operationId": "add_skill_registry_ownership_grant", + "summary": "Add a skill grant", + "description": "Idempotently add a principal to one skill authorization plane.", + "operationId": "add_skill_ownership_grant", "parameters": [ { "name": "team_id", @@ -32911,15 +32053,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -32946,15 +32079,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants/{principal_type}/{principal_id}": { + "/api/v1/team/{team_id}/skill/{id}/ownership/grants/{principal_type}/{principal_id}": { "delete": { "tags": [ "skills", "v1" ], - "summary": "Remove a skill-registry grant", - "description": "Remove a registry grant while preserving a private owner.", - "operationId": "remove_skill_registry_ownership_grant", + "summary": "Remove a skill grant", + "description": "Idempotently remove a principal grant while preserving a private owner.", + "operationId": "remove_skill_ownership_grant", "parameters": [ { "name": "team_id", @@ -32987,15 +32120,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -33005,15 +32129,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/provider-skills": { - "post": { + "/api/v1/team/{team_id}/skill/{id}/package": { + "get": { "tags": [ "skills", "v1" ], - "summary": "Add provider skills to a registry", - "description": "Create or reuse selected proxied provider skills and add them to a skill registry.", - "operationId": "add-provider-skills-to-skill-registry", + "summary": "Get a skill package manifest", + "description": "List all files and Git provenance for an imported managed skill package without downloading its assets.", + "operationId": "get-skill-package", "parameters": [ { "name": "team_id", @@ -33030,34 +32154,15 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AddProviderSkillsToRegistryRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Updated skill registry", + "description": "Immutable skill package manifest", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillRegistry" + "$ref": "#/components/schemas/SkillPackageManifest" } } } @@ -33073,7 +32178,7 @@ } }, "404": { - "description": "Not found", + "description": "Package not found", "content": { "application/json": { "schema": { @@ -33085,15 +32190,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/search": { + "/api/v1/team/{team_id}/skill/{id}/package/download": { "post": { "tags": [ "skills", "v1" ], - "summary": "Search a skill registry", - "description": "Search titles, descriptions, and skill bodies within a registry and return progressive-discovery summaries.", - "operationId": "search-skill-registry", + "summary": "Download a skill package file", + "description": "Create a short-lived R2 download URL for one file selected from an immutable skill package manifest.", + "operationId": "download-skill-package-file", "parameters": [ { "name": "team_id", @@ -33110,22 +32215,13 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillDiscoverySearchRequest" + "$ref": "#/components/schemas/DownloadSkillPackageFileRequest" } } }, @@ -33133,11 +32229,11 @@ }, "responses": { "200": { - "description": "Search results", + "description": "Short-lived package file download", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillDiscoverySearchResponse" + "$ref": "#/components/schemas/SkillPackageFileDownload" } } } @@ -33153,7 +32249,7 @@ } }, "404": { - "description": "Not found", + "description": "Package file not found", "content": { "application/json": { "schema": { @@ -33165,15 +32261,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/skill-summary": { - "get": { + "/api/v1/team/{team_id}/skill/{id}/visibility": { + "post": { "tags": [ "skills", "v1" ], - "summary": "List skill summaries", - "description": "List titles, descriptions, and versions for skills in a registry for progressive discovery.", - "operationId": "list-skill-registry-skill-summaries", + "summary": "Set a skill authorization mode", + "description": "Change one skill authorization plane after ownership authorization.", + "operationId": "set_skill_visibility", "parameters": [ { "name": "team_id", @@ -33188,92 +32284,27 @@ "in": "path", "required": true, "schema": { - "type": "string" - } - }, - { - "name": "page_size", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64" - } - }, - { - "name": "next_page_token", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "name_prefix", - "in": "query", - "required": false, - "schema": { - "type": [ - "string", - "null" - ] - } - }, - { - "name": "skill_registry_id", - "in": "query", - "required": false, - "schema": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/WrappedUuidV4" - } - ] - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } } ], - "responses": { - "200": { - "description": "Skill summaries", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillSummaryPaginatedResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetResourceAccessModeRequest" } } }, - "404": { - "description": "Not found", + "required": true + }, + "responses": { + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceAuthorization" } } } @@ -33281,15 +32312,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/skill/by-title/{title}": { + "/api/v1/team/{team_id}/skill/{id}/visibility/grants": { "get": { "tags": [ "skills", "v1" ], - "summary": "Read a skill from a registry by title", - "description": "Return the full skill body for one registry skill selected by exact title.", - "operationId": "get-skill-registry-skill-by-title", + "summary": "List skill grants", + "description": "List grants for one skill authorization plane.", + "operationId": "list_skill_visibility_grants", "parameters": [ { "name": "team_id", @@ -33304,11 +32335,37 @@ "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } - }, + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ResourceGrant" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "skills", + "v1" + ], + "summary": "Add a skill grant", + "description": "Idempotently add a principal to one skill authorization plane.", + "operationId": "add_skill_visibility_grant", + "parameters": [ { - "name": "title", + "name": "team_id", "in": "path", "required": true, "schema": { @@ -33316,42 +32373,31 @@ } }, { - "name": "team_id", + "name": "id", "in": "path", - "description": "Team ID", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } } ], - "responses": { - "200": { - "description": "Skill", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Skill" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" } } }, - "404": { - "description": "Not found", + "required": true + }, + "responses": { + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ResourceGrant" } } } @@ -33359,15 +32405,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}": { - "get": { + "/api/v1/team/{team_id}/skill/{id}/visibility/grants/{principal_type}/{principal_id}": { + "delete": { "tags": [ "skills", "v1" ], - "summary": "Read a skill from a registry", - "description": "Return the full skill body only after a caller selects a specific registry skill.", - "operationId": "get-skill-registry-skill", + "summary": "Remove a skill grant", + "description": "Idempotently remove a principal grant while preserving a private owner.", + "operationId": "remove_skill_visibility_grant", "parameters": [ { "name": "team_id", @@ -33382,11 +32428,11 @@ "in": "path", "required": true, "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } }, { - "name": "skill_id", + "name": "principal_type", "in": "path", "required": true, "schema": { @@ -33394,9 +32440,8 @@ } }, { - "name": "team_id", + "name": "principal_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" @@ -33405,95 +32450,44 @@ ], "responses": { "200": { - "description": "Skill", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Skill" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } + "description": "" } } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}/description": { + "/api/v1/team/{team_id}/state/export": { "get": { "tags": [ - "skills", + "state", "v1" ], - "summary": "Read a skill description from a registry", - "description": "Return only the title, description, and version for one registry skill.", - "operationId": "get-skill-registry-skill-description", + "summary": "Export team state", + "operationId": "state-export", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "skill_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "format", + "in": "query", + "required": false, "schema": { - "type": "string" + "$ref": "#/components/schemas/StateDocumentFormat" } } ], "responses": { "200": { - "description": "Skill description", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SkillDescriptionResponse" - } - } - } + "description": "Exported team state" }, - "401": { - "description": "Unauthorized", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -33502,8 +32496,8 @@ } } }, - "404": { - "description": "Not found", + "500": { + "description": "Internal Server Error", "content": { "application/json": { "schema": { @@ -33515,32 +32509,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/visibility": { + "/api/v1/team/{team_id}/state/import": { "post": { "tags": [ - "skills", + "state", "v1" ], - "summary": "Set a skill-registry authorization mode", - "description": "Change one registry plane after ownership authorization.", - "operationId": "set_skill_registry_visibility", + "summary": "Start team state import", + "operationId": "state-import", "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, { "name": "team_id", "in": "path", @@ -33555,7 +32532,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/ImportStateRequest" } } }, @@ -33567,7 +32544,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/ImportStateResponse" } } } @@ -33575,36 +32552,28 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants": { + "/api/v1/team/{team_id}/state/import/{import_id}": { "get": { "tags": [ - "skills", + "state", "v1" ], - "summary": "List skill-registry grants", - "description": "List grants for one registry authorization plane.", - "operationId": "list_skill_registry_visibility_grants", + "summary": "Get team state import summary", + "operationId": "state-get-import", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "team_id", + "name": "import_id", "in": "path", - "description": "Team ID", + "description": "Import run ID", "required": true, "schema": { "type": "string" @@ -33617,41 +32586,58 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/ImportRunSummary" } } } } } - }, - "post": { + } + }, + "/api/v1/team/{team_id}/state/import/{import_id}/events": { + "get": { "tags": [ - "skills", + "state", "v1" ], - "summary": "Add a skill-registry grant", - "description": "Idempotently add one registry-plane principal.", - "operationId": "add_skill_registry_visibility_grant", + "summary": "Stream team state import events", + "operationId": "state-import-events", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", + "name": "import_id", "in": "path", + "description": "Import run ID", "required": true, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "string" } - }, + } + ], + "responses": { + "200": { + "description": "SSE stream of import events" + } + } + } + }, + "/api/v1/team/{team_id}/state/plan": { + "post": { + "tags": [ + "state", + "v1" + ], + "summary": "Plan team state import", + "operationId": "state-plan", + "parameters": [ { "name": "team_id", "in": "path", @@ -33666,7 +32652,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/PlanStateRequest" } } }, @@ -33678,7 +32664,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/StatePlan" } } } @@ -33686,48 +32672,15 @@ } } }, - "/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/state/schema": { + "get": { "tags": [ - "skills", + "state", "v1" ], - "summary": "Remove a skill-registry grant", - "description": "Remove a registry grant while preserving a private owner.", - "operationId": "remove_skill_registry_visibility_grant", + "summary": "Get team state JSON schema", + "operationId": "state-schema", "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "principal_type", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "principal_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -33740,37 +32693,54 @@ ], "responses": { "200": { - "description": "" + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StateSchema" + } + } + } } } } }, - "/api/v1/team/{team_id}/skill/{id}": { + "/api/v1/team/{team_id}/state/schema.json": { "get": { "tags": [ - "skills", + "state", "v1" ], - "summary": "Get a skill", - "description": "Fetch a skill by id.", - "operationId": "get-skill", + "summary": "Get hosted team state JSON schema", + "operationId": "state-schema-json", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, + } + ], + "responses": { + "200": { + "description": "Team state JSON schema" + } + } + } + }, + "/api/v1/team/{team_id}/state/source/resolve": { + "post": { + "tags": [ + "state", + "v1" + ], + "summary": "Resolve a deployable state source", + "description": "Fetches a public GitHub repository state document, validates its source coordinates, and returns the exact reviewed bytes plus a content digest.", + "operationId": "state-resolve-source", + "parameters": [ { "name": "team_id", "in": "path", @@ -33781,19 +32751,29 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResolveStateSourceRequest" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Skill", + "description": "Resolved immutable state source", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Skill" + "$ref": "#/components/schemas/ResolveStateSourceResponse" } } } }, - "401": { - "description": "Unauthorized", + "400": { + "description": "Invalid source", "content": { "application/json": { "schema": { @@ -33802,8 +32782,8 @@ } } }, - "404": { - "description": "Not found", + "401": { + "description": "Authentication required", "content": { "application/json": { "schema": { @@ -33812,33 +32792,23 @@ } } } - } - }, - "delete": { + }, + "security": [ + { + "bearer_token": [] + } + ] + } + }, + "/api/v1/team/{team_id}/state/validate": { + "post": { "tags": [ - "skills", + "state", "v1" ], - "summary": "Delete a skill", - "description": "Delete a skill by id.", - "operationId": "delete-skill", + "summary": "Validate team state", + "operationId": "state-validate", "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -33849,57 +32819,40 @@ } } ], - "responses": { - "200": { - "description": "Deleted" - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidateStateRequest" } } }, - "404": { - "description": "Not found", + "required": true + }, + "responses": { + "200": { + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ValidateStateResponse" } } } } } - }, - "patch": { + } + }, + "/api/v1/team/{team_id}/tilde-pay/onboarding": { + "post": { "tags": [ - "skills", + "tilde-pay", "v1" ], - "summary": "Update a skill", - "description": "Apply a partial update to a skill.", - "operationId": "update-skill", + "summary": "Provision Tilde Pay", + "description": "Idempotently enroll billing, create a customer when details are supplied, create a wallet after KYC, configure the wallet MCP server and tools, and optionally configure browser tools when enabled.", + "operationId": "tilde-pay-provision", "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -33914,7 +32867,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateSkillBody" + "$ref": "#/components/schemas/ProvisionTildePayRequest" } } }, @@ -33922,31 +32875,11 @@ }, "responses": { "200": { - "description": "Skill", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Skill" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not found", + "description": "Fully reconciled Tilde Pay onboarding state", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/ProvisionTildePayResponse" } } } @@ -33954,32 +32887,60 @@ } } }, - "/api/v1/team/{team_id}/skill/{id}/ownership": { + "/api/v1/team/{team_id}/tilde-pay/payments/mpp": { "post": { "tags": [ - "skills", + "tilde-pay", "v1" ], - "summary": "Set a skill authorization mode", - "description": "Change one skill authorization plane after ownership authorization.", - "operationId": "set_skill_ownership_mode", + "summary": "Make MPP payment", + "description": "Make an MPP payment from a Tilde Pay wallet.", + "operationId": "tilde-pay-payment-mpp", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PayPaymentRequest" + } } }, + "required": true + }, + "responses": { + "200": { + "description": "Tilde Pay payment response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PaymentResponse" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/tilde-pay/payments/x402": { + "post": { + "tags": [ + "tilde-pay", + "v1" + ], + "summary": "Make x402 payment", + "description": "Make an x402 payment from a Tilde Pay wallet.", + "operationId": "tilde-pay-payment-x402", + "parameters": [ { "name": "team_id", "in": "path", @@ -33994,7 +32955,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/PayPaymentRequest" } } }, @@ -34002,11 +32963,11 @@ }, "responses": { "200": { - "description": "", + "description": "Tilde Pay payment response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/PaymentResponse" } } } @@ -34014,32 +32975,16 @@ } } }, - "/api/v1/team/{team_id}/skill/{id}/ownership/grants": { + "/api/v1/team/{team_id}/tilde-pay/wallet": { "get": { "tags": [ - "skills", + "tilde-pay", "v1" ], - "summary": "List skill grants", - "description": "List grants for one skill authorization plane.", - "operationId": "list_skill_ownership_grants", + "summary": "Get Tilde Pay wallet summary", + "description": "Return wallet, balances, fiat deposit information, and crypto deposit information for Tilde Pay.", + "operationId": "tilde-pay-wallet-summary", "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, { "name": "team_id", "in": "path", @@ -34052,14 +32997,11 @@ ], "responses": { "200": { - "description": "", + "description": "Tilde Pay wallet summary", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "$ref": "#/components/schemas/PayWalletSummaryResponse" } } } @@ -34068,29 +33010,13 @@ }, "post": { "tags": [ - "skills", + "tilde-pay", "v1" ], - "summary": "Add a skill grant", - "description": "Idempotently add a principal to one skill authorization plane.", - "operationId": "add_skill_ownership_grant", + "summary": "Create Tilde Pay wallet", + "description": "Create a Tilde Pay wallet after KYC and return product-shaped wallet details.", + "operationId": "tilde-pay-wallet-create", "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, { "name": "team_id", "in": "path", @@ -34105,7 +33031,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/CreatePayWalletRequest" } } }, @@ -34113,11 +33039,11 @@ }, "responses": { "200": { - "description": "", + "description": "Tilde Pay wallet summary", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/PayWalletSummaryResponse" } } } @@ -34125,48 +33051,16 @@ } } }, - "/api/v1/team/{team_id}/skill/{id}/ownership/grants/{principal_type}/{principal_id}": { - "delete": { + "/api/v1/team/{team_id}/tilde-pay/wallet/wait-until-balance": { + "post": { "tags": [ - "skills", + "tilde-pay", "v1" ], - "summary": "Remove a skill grant", - "description": "Idempotently remove a principal grant while preserving a private owner.", - "operationId": "remove_skill_ownership_grant", + "summary": "Wait for Tilde Pay balance", + "description": "Poll wallet balances until the requested asset reaches the requested minimum.", + "operationId": "tilde-pay-wallet-wait-until-balance", "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "principal_type", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "principal_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -34177,22 +33071,39 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WaitForPayBalanceRequest" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "" + "description": "Tilde Pay balance wait result", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WaitUntilBalanceResponse" + } + } + } } } } }, - "/api/v1/team/{team_id}/skill/{id}/package": { + "/api/v1/team/{team_id}/trusted-runtime": { "get": { "tags": [ - "skills", + "trusted-runtime", "v1" ], - "summary": "Get a skill package manifest", - "description": "List all files and Git provenance for an imported managed skill package without downloading its assets.", - "operationId": "get-skill-package", + "summary": "List trusted runtimes", + "description": "List trusted runtimes in the current team.", + "operationId": "list-trusted-runtimes", "parameters": [ { "name": "team_id", @@ -34203,30 +33114,33 @@ } }, { - "name": "id", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": "integer", + "format": "int64" } }, { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "next_page_token", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } } ], "responses": { "200": { - "description": "Immutable skill package manifest", + "description": "Trusted runtimes", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillPackageManifest" + "$ref": "#/components/schemas/TrustedRuntimePaginatedResponse" } } } @@ -34240,9 +33154,50 @@ } } } + } + } + }, + "post": { + "tags": [ + "trusted-runtime", + "v1" + ], + "summary": "Create a trusted runtime", + "description": "Register a trusted runtime public key for managed credential secret delivery.", + "operationId": "create-trusted-runtime", + "parameters": [ + { + "name": "team_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateTrustedRuntimeInner" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Created trusted runtime", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TrustedRuntime" + } + } + } }, - "404": { - "description": "Package not found", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -34254,15 +33209,15 @@ } } }, - "/api/v1/team/{team_id}/skill/{id}/package/download": { - "post": { + "/api/v1/team/{team_id}/trusted-runtime/{id}": { + "get": { "tags": [ - "skills", + "trusted-runtime", "v1" ], - "summary": "Download a skill package file", - "description": "Create a short-lived R2 download URL for one file selected from an immutable skill package manifest.", - "operationId": "download-skill-package-file", + "summary": "Get a trusted runtime", + "description": "Fetch one trusted runtime by id.", + "operationId": "get-trusted-runtime", "parameters": [ { "name": "team_id", @@ -34277,36 +33232,17 @@ "in": "path", "required": true, "schema": { - "type": "string" - } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" + "$ref": "#/components/schemas/WrappedUuidV4" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DownloadSkillPackageFileRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Short-lived package file download", + "description": "Trusted runtime", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SkillPackageFileDownload" + "$ref": "#/components/schemas/TrustedRuntime" } } } @@ -34322,7 +33258,7 @@ } }, "404": { - "description": "Package file not found", + "description": "Not found", "content": { "application/json": { "schema": { @@ -34332,17 +33268,15 @@ } } } - } - }, - "/api/v1/team/{team_id}/skill/{id}/visibility": { - "post": { + }, + "delete": { "tags": [ - "skills", + "trusted-runtime", "v1" ], - "summary": "Set a skill authorization mode", - "description": "Change one skill authorization plane after ownership authorization.", - "operationId": "set_skill_visibility", + "summary": "Delete a trusted runtime", + "description": "Soft-revoke a trusted runtime.", + "operationId": "delete-trusted-runtime", "parameters": [ { "name": "team_id", @@ -34359,22 +33293,55 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } + } + ], + "responses": { + "200": { + "description": "Deleted trusted runtime" }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + } + }, + "patch": { + "tags": [ + "trusted-runtime", + "v1" + ], + "summary": "Update a trusted runtime", + "description": "Patch trusted runtime metadata or status.", + "operationId": "update-trusted-runtime", + "parameters": [ { "name": "team_id", "in": "path", - "description": "Team ID", "required": true, "schema": { "type": "string" } + }, + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/WrappedUuidV4" + } } ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetResourceAccessModeRequest" + "$ref": "#/components/schemas/UpdateTrustedRuntimeBody" } } }, @@ -34382,11 +33349,31 @@ }, "responses": { "200": { - "description": "", + "description": "Updated trusted runtime", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceAuthorization" + "$ref": "#/components/schemas/TrustedRuntime" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } } @@ -34394,52 +33381,53 @@ } } }, - "/api/v1/team/{team_id}/skill/{id}/visibility/grants": { + "/api/v1/team/{team_id}/wallet": { "get": { "tags": [ - "skills", + "wallet", "v1" ], - "summary": "List skill grants", - "description": "List grants for one skill authorization plane.", - "operationId": "list_skill_visibility_grants", + "summary": "List wallets", + "description": "List wallets for the current org/team.", + "operationId": "wallet-list", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", - "in": "path", - "required": true, + "name": "page_size", + "in": "query", + "required": false, "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "type": "integer", + "format": "int64" } }, { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "owner_id", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } } ], "responses": { "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ResourceGrant" - } + "description": "List wallets", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WalletPaginatedResponse" } } } @@ -34448,29 +33436,13 @@ }, "post": { "tags": [ - "skills", + "wallet", "v1" ], - "summary": "Add a skill grant", - "description": "Idempotently add a principal to one skill authorization plane.", - "operationId": "add_skill_visibility_grant", + "summary": "Create wallet", + "description": "Create a Tilde wallet by provisioning a Privy EVM wallet, Compose virtual IBAN, and Compose crypto deposit wallet.", + "operationId": "wallet-create", "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, { "name": "team_id", "in": "path", @@ -34485,7 +33457,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateResourcePlaneGrantRequest" + "$ref": "#/components/schemas/CreateWalletBody" } } }, @@ -34493,85 +33465,67 @@ }, "responses": { "200": { - "description": "", + "description": "Created wallet", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResourceGrant" + "$ref": "#/components/schemas/Wallet" } } } - } - } - } - }, - "/api/v1/team/{team_id}/skill/{id}/visibility/grants/{principal_type}/{principal_id}": { - "delete": { - "tags": [ - "skills", - "v1" - ], - "summary": "Remove a skill grant", - "description": "Idempotently remove a principal grant while preserving a private owner.", - "operationId": "remove_skill_visibility_grant", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" + "400": { + "description": "Invalid request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "principal_type", - "in": "path", - "required": true, - "schema": { - "type": "string" + "401": { + "description": "Authentication failed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "principal_id", - "in": "path", - "required": true, - "schema": { - "type": "string" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" + "502": { + "description": "Upstream provider error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } } - ], - "responses": { - "200": { - "description": "" - } } } }, - "/api/v1/team/{team_id}/state/export": { + "/api/v1/team/{team_id}/wallet/customer": { "get": { "tags": [ - "state", + "wallet", "v1" ], - "summary": "Export team state", - "operationId": "state-export", + "summary": "List wallet customers", + "description": "List wallet customers for the current org/team.", + "operationId": "wallet-customer-list", "parameters": [ { "name": "team_id", @@ -34583,68 +33537,48 @@ } }, { - "name": "format", + "name": "page_size", "in": "query", "required": false, "schema": { - "$ref": "#/components/schemas/StateDocumentFormat" + "type": "integer", + "format": "int64" } }, { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, + "name": "owner_id", + "in": "query", + "required": false, "schema": { - "type": "string" + "type": [ + "string", + "null" + ] } } ], "responses": { "200": { - "description": "Exported team state" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "500": { - "description": "Internal Server Error", + "description": "List wallet customers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/WalletCustomerPaginatedResponse" } } } } } - } - }, - "/api/v1/team/{team_id}/state/import": { + }, "post": { "tags": [ - "state", + "wallet", "v1" ], - "summary": "Start team state import", - "operationId": "state-import", + "summary": "Create wallet customer", + "description": "Create a Compose customer and return a KYC verification link for wallet onboarding.", + "operationId": "wallet-customer-create", "parameters": [ - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } - }, { "name": "team_id", "in": "path", @@ -34659,7 +33593,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportStateRequest" + "$ref": "#/components/schemas/CreateWalletCustomerBody" } } }, @@ -34667,11 +33601,11 @@ }, "responses": { "200": { - "description": "", + "description": "Created wallet customer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportStateResponse" + "$ref": "#/components/schemas/WalletCustomer" } } } @@ -34679,14 +33613,15 @@ } } }, - "/api/v1/team/{team_id}/state/import/{import_id}": { + "/api/v1/team/{team_id}/wallet/customer/{customer_id}": { "get": { "tags": [ - "state", + "wallet", "v1" ], - "summary": "Get team state import summary", - "operationId": "state-get-import", + "summary": "Get wallet customer", + "description": "Get a wallet customer by local id.", + "operationId": "wallet-customer-get", "parameters": [ { "name": "team_id", @@ -34698,18 +33633,9 @@ } }, { - "name": "import_id", - "in": "path", - "description": "Import run ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_id", + "name": "customer_id", "in": "path", - "description": "Team ID", + "description": "Wallet customer ID", "required": true, "schema": { "type": "string" @@ -34718,11 +33644,11 @@ ], "responses": { "200": { - "description": "", + "description": "Wallet customer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportRunSummary" + "$ref": "#/components/schemas/WalletCustomer" } } } @@ -34730,14 +33656,15 @@ } } }, - "/api/v1/team/{team_id}/state/import/{import_id}/events": { + "/api/v1/team/{team_id}/wallet/customer/{customer_id}/kyc": { "get": { "tags": [ - "state", + "wallet", "v1" ], - "summary": "Stream team state import events", - "operationId": "state-import-events", + "summary": "Get wallet customer KYC details", + "description": "Return the stored Compose KYC verification status and KYC flow URL for a wallet customer.", + "operationId": "wallet-customer-kyc-get", "parameters": [ { "name": "team_id", @@ -34749,14 +33676,39 @@ } }, { - "name": "import_id", + "name": "customer_id", "in": "path", - "description": "Import run ID", + "description": "Wallet customer ID", "required": true, "schema": { "type": "string" } - }, + } + ], + "responses": { + "200": { + "description": "Wallet customer KYC details", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetWalletCustomerKycResponse" + } + } + } + } + } + } + }, + "/api/v1/team/{team_id}/wallet/{wallet_id}": { + "get": { + "tags": [ + "wallet", + "v1" + ], + "summary": "Get wallet", + "description": "Get a wallet by id.", + "operationId": "wallet-get", + "parameters": [ { "name": "team_id", "in": "path", @@ -34765,23 +33717,40 @@ "schema": { "type": "string" } + }, + { + "name": "wallet_id", + "in": "path", + "description": "Wallet ID", + "required": true, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "SSE stream of import events" + "description": "Wallet", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Wallet" + } + } + } } } } }, - "/api/v1/team/{team_id}/state/plan": { - "post": { + "/api/v1/team/{team_id}/wallet/{wallet_id}/balances": { + "get": { "tags": [ - "state", + "wallet", "v1" ], - "summary": "Plan team state import", - "operationId": "state-plan", + "summary": "Get wallet balances", + "description": "Refresh and return Compose balances for this wallet.", + "operationId": "wallet-get-balances", "parameters": [ { "name": "team_id", @@ -34793,32 +33762,22 @@ } }, { - "name": "team_id", + "name": "wallet_id", "in": "path", - "description": "Team ID", + "description": "Wallet ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PlanStateRequest" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "", + "description": "Wallet balances", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StatePlan" + "$ref": "#/components/schemas/GetBalancesResponse" } } } @@ -34826,14 +33785,15 @@ } } }, - "/api/v1/team/{team_id}/state/schema": { + "/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/crypto": { "get": { "tags": [ - "state", + "wallet", "v1" ], - "summary": "Get team state JSON schema", - "operationId": "state-schema", + "summary": "Get wallet crypto deposit information", + "description": "Return crypto deposit information for this wallet.", + "operationId": "wallet-get-crypto-deposit-information", "parameters": [ { "name": "team_id", @@ -34845,9 +33805,9 @@ } }, { - "name": "team_id", + "name": "wallet_id", "in": "path", - "description": "Team ID", + "description": "Wallet ID", "required": true, "schema": { "type": "string" @@ -34856,11 +33816,11 @@ ], "responses": { "200": { - "description": "", + "description": "Wallet crypto deposit information", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/StateSchema" + "$ref": "#/components/schemas/GetCryptoDepositInformationResponse" } } } @@ -34868,14 +33828,15 @@ } } }, - "/api/v1/team/{team_id}/state/schema.json": { + "/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/fiat": { "get": { "tags": [ - "state", + "wallet", "v1" ], - "summary": "Get hosted team state JSON schema", - "operationId": "state-schema-json", + "summary": "Get wallet fiat deposit information", + "description": "Refresh and return Compose fiat deposit information for this wallet.", + "operationId": "wallet-get-fiat-deposit-information", "parameters": [ { "name": "team_id", @@ -34887,31 +33848,49 @@ } }, { - "name": "team_id", + "name": "wallet_id", "in": "path", - "description": "Team ID", + "description": "Wallet ID", "required": true, "schema": { "type": "string" } + }, + { + "name": "currency", + "in": "query", + "required": false, + "schema": { + "type": [ + "string", + "null" + ] + } } ], "responses": { "200": { - "description": "Team state JSON schema" + "description": "Wallet fiat deposit information", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetFiatDepositInformationResponse" + } + } + } } } } }, - "/api/v1/team/{team_id}/state/source/resolve": { + "/api/v1/team/{team_id}/wallet/{wallet_id}/payments/mpp": { "post": { "tags": [ - "state", + "wallet", "v1" ], - "summary": "Resolve a deployable state source", - "description": "Fetches a public GitHub repository state document, validates its source coordinates, and returns the exact reviewed bytes plus a content digest.", - "operationId": "state-resolve-source", + "summary": "Make MPP payment", + "description": "Make an MPP payment from the wallet using the configured payment adapter.", + "operationId": "wallet-make-mpp-payment", "parameters": [ { "name": "team_id", @@ -34923,9 +33902,9 @@ } }, { - "name": "team_id", + "name": "wallet_id", "in": "path", - "description": "Team ID", + "description": "Wallet ID", "required": true, "schema": { "type": "string" @@ -34936,7 +33915,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResolveStateSourceRequest" + "$ref": "#/components/schemas/MakeMppPaymentRequest" } } }, @@ -34944,51 +33923,27 @@ }, "responses": { "200": { - "description": "Resolved immutable state source", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ResolveStateSourceResponse" - } - } - } - }, - "400": { - "description": "Invalid source", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "401": { - "description": "Authentication required", + "description": "Payment response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/PaymentResponse" } } } } - }, - "security": [ - { - "bearer_token": [] - } - ] + } } }, - "/api/v1/team/{team_id}/state/validate": { + "/api/v1/team/{team_id}/wallet/{wallet_id}/payments/x402": { "post": { "tags": [ - "state", + "wallet", "v1" ], - "summary": "Validate team state", - "operationId": "state-validate", + "summary": "Make x402 payment", + "description": "Make an x402 payment from the wallet using the configured payment adapter.", + "operationId": "wallet-make-x402-payment", "parameters": [ { "name": "team_id", @@ -35000,9 +33955,9 @@ } }, { - "name": "team_id", + "name": "wallet_id", "in": "path", - "description": "Team ID", + "description": "Wallet ID", "required": true, "schema": { "type": "string" @@ -35013,7 +33968,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ValidateStateRequest" + "$ref": "#/components/schemas/MakeX402PaymentRequest" } } }, @@ -35021,11 +33976,11 @@ }, "responses": { "200": { - "description": "", + "description": "Payment response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ValidateStateResponse" + "$ref": "#/components/schemas/PaymentResponse" } } } @@ -35033,19 +33988,29 @@ } } }, - "/api/v1/team/{team_id}/trusted-runtime": { + "/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history": { "get": { "tags": [ - "trusted-runtime", + "wallet", "v1" ], - "summary": "List trusted runtimes", - "description": "List trusted runtimes in the current team.", - "operationId": "list-trusted-runtimes", + "summary": "List wallet transaction history", + "description": "Return cached transaction history for this wallet without scanning the chain.", + "operationId": "wallet-transaction-history-list", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "wallet_id", + "in": "path", + "description": "Wallet ID", "required": true, "schema": { "type": "string" @@ -35070,94 +34035,58 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { "200": { - "description": "Trusted runtimes", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TrustedRuntimePaginatedResponse" - } - } - } - }, - "401": { - "description": "Unauthorized", + "description": "Wallet transaction history", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/WalletTransactionHistoryItemPaginatedResponse" } } } } } - }, + } + }, + "/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history/refresh": { "post": { "tags": [ - "trusted-runtime", + "wallet", "v1" ], - "summary": "Create a trusted runtime", - "description": "Register a trusted runtime public key for managed credential secret delivery.", - "operationId": "create-trusted-runtime", + "summary": "Refresh wallet transaction history", + "description": "Scan configured chains for wallet-linked USDC transfers and upsert cached transaction history.", + "operationId": "wallet-transaction-history-refresh", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "team_id", + "name": "wallet_id", "in": "path", - "description": "Team ID", + "description": "Wallet ID", "required": true, "schema": { "type": "string" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateTrustedRuntimeInner" - } - } - }, - "required": true - }, "responses": { "200": { - "description": "Created trusted runtime", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TrustedRuntime" - } - } - } - }, - "401": { - "description": "Unauthorized", + "description": "Wallet transaction history refresh result", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/RefreshWalletTransactionHistoryResponse" } } } @@ -35165,55 +34094,58 @@ } } }, - "/api/v1/team/{team_id}/trusted-runtime/{id}": { - "get": { + "/api/v1/team/{team_id}/wallet/{wallet_id}/virtual-account": { + "post": { "tags": [ - "trusted-runtime", + "wallet", "v1" ], - "summary": "Get a trusted runtime", - "description": "Fetch one trusted runtime by id.", - "operationId": "get-trusted-runtime", + "summary": "Create wallet virtual account", + "description": "Create a currency-denominated Compose virtual account for an existing wallet.", + "operationId": "wallet-virtual-account-create", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "team_id", + "name": "wallet_id", "in": "path", - "description": "Team ID", + "description": "Wallet ID", "required": true, "schema": { "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateWalletVirtualAccountBody" + } + } + }, + "required": true + }, "responses": { "200": { - "description": "Trusted runtime", + "description": "Created wallet virtual account", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TrustedRuntime" + "$ref": "#/components/schemas/WalletVirtualAccount" } } } }, - "401": { - "description": "Unauthorized", + "400": { + "description": "Invalid request", "content": { "application/json": { "schema": { @@ -35222,8 +34154,8 @@ } } }, - "404": { - "description": "Not found", + "401": { + "description": "Authentication failed", "content": { "application/json": { "schema": { @@ -35231,50 +34163,19 @@ } } } - } - } - }, - "delete": { - "tags": [ - "trusted-runtime", - "v1" - ], - "summary": "Delete a trusted runtime", - "description": "Soft-revoke a trusted runtime.", - "operationId": "delete-trusted-runtime", - "parameters": [ - { - "name": "team_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } - } - ], - "responses": { - "200": { - "description": "Deleted trusted runtime" }, - "401": { - "description": "Unauthorized", + "502": { + "description": "Upstream provider error", "content": { "application/json": { "schema": { @@ -35284,36 +34185,31 @@ } } } - }, - "patch": { + } + }, + "/api/v1/team/{team_id}/wallet/{wallet_id}/wait-until-balance": { + "post": { "tags": [ - "trusted-runtime", + "wallet", "v1" ], - "summary": "Update a trusted runtime", - "description": "Patch trusted runtime metadata or status.", - "operationId": "update-trusted-runtime", + "summary": "Wait until wallet balance", + "description": "Poll the local wallet balance cache until an asset reaches the requested minimum.", + "operationId": "wallet-wait-until-balance", "parameters": [ { "name": "team_id", "in": "path", + "description": "Team ID", "required": true, "schema": { "type": "string" } }, { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$ref": "#/components/schemas/WrappedUuidV4" - } - }, - { - "name": "team_id", + "name": "wallet_id", "in": "path", - "description": "Team ID", + "description": "Wallet ID", "required": true, "schema": { "type": "string" @@ -35324,7 +34220,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateTrustedRuntimeBody" + "$ref": "#/components/schemas/WaitUntilBalanceRequest" } } }, @@ -35332,31 +34228,11 @@ }, "responses": { "200": { - "description": "Updated trusted runtime", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TrustedRuntime" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - }, - "404": { - "description": "Not found", + "description": "Wait result", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Error" + "$ref": "#/components/schemas/WaitUntilBalanceResponse" } } } @@ -35381,15 +34257,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -35446,15 +34313,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -35486,15 +34344,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -35546,15 +34395,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -35594,15 +34434,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -35635,15 +34466,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -35737,15 +34559,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -35785,15 +34598,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -35853,15 +34657,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -35905,15 +34700,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -35973,15 +34759,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36031,15 +34808,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36086,15 +34854,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -36158,15 +34917,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36216,15 +34966,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36327,15 +35068,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36377,15 +35109,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36438,15 +35161,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36488,15 +35202,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -36548,15 +35253,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36599,15 +35295,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -36675,15 +35362,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36726,15 +35404,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36777,15 +35446,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -36845,15 +35505,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36901,15 +35552,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -36953,15 +35595,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -37024,15 +35657,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -37092,15 +35716,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -37151,15 +35766,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -37230,15 +35836,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -37294,15 +35891,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -37356,15 +35944,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -37440,15 +36019,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -37488,15 +36058,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -37548,15 +36109,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -37616,15 +36168,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -37672,15 +36215,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -37741,15 +36275,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -37805,15 +36330,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -37881,15 +36397,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -37942,15 +36449,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -38013,15 +36511,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -38137,15 +36626,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -38215,15 +36695,6 @@ "null" ] } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -38265,15 +36736,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -38316,15 +36778,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -38384,15 +36837,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -38440,15 +36884,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -38492,15 +36927,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -38563,15 +36989,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -38622,15 +37039,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -38701,15 +37109,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -38781,15 +37180,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -38832,15 +37222,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -38903,15 +37284,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -38959,15 +37331,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -39008,15 +37371,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -39068,15 +37422,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -39116,15 +37461,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -39176,15 +37512,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -39236,15 +37563,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -39287,15 +37605,6 @@ "schema": { "$ref": "#/components/schemas/WrappedUuidV4" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "requestBody": { @@ -39363,15 +37672,6 @@ "schema": { "type": "string" } - }, - { - "name": "team_id", - "in": "path", - "description": "Team ID", - "required": true, - "schema": { - "type": "string" - } } ], "responses": { @@ -45576,6 +43876,54 @@ } } }, + "AcceptInvitationResponse": { + "type": "object", + "description": "Canonical tenant destination after accepting an invitation with a login account.", + "required": [ + "invitation", + "org_id", + "team_id", + "identity_id" + ], + "properties": { + "identity_id": { + "type": "string" + }, + "invitation": { + "$ref": "#/components/schemas/UserInvitation" + }, + "org_id": { + "type": "string" + }, + "team_id": { + "type": "string" + } + } + }, + "AccountOrganizationMembership": { + "type": "object", + "description": "Explicit login-account membership, independent of runtime identity availability.", + "required": [ + "account_id", + "organization_id", + "name", + "role" + ], + "properties": { + "account_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "organization_id": { + "type": "string" + }, + "role": { + "type": "string" + } + } + }, "AddChatKitParticipantRequestInner": { "type": "object", "description": "Request body for adding a participant to a ChatKit session.", @@ -47053,11 +45401,9 @@ }, "BillingProductId": { "type": "string", - "description": "A separately billed Tilde product whose access is evaluated per organization.", + "description": "The Core subscription whose access is evaluated per organization.", "enum": [ - "tilde_core", - "tilde_pay", - "ash" + "tilde_core" ] }, "BrokerAction": { @@ -49822,6 +48168,12 @@ "local_runtime_tunnel_origin" ], "properties": { + "account_organizations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AccountOrganizationMembership" + } + }, "groups": { "type": "array", "items": { @@ -49837,6 +48189,13 @@ "local_runtime_tunnel_origin": { "type": "string" }, + "organization_onboarding_completed": { + "type": [ + "boolean", + "null" + ], + "description": "True after explicit first-organization creation, even if that org was removed.\nA membership-less completed account needs invitation/link recovery, not replay." + }, "organizations": { "type": "array", "items": { @@ -51184,6 +49543,50 @@ } } }, + "CreateIdentityLinkRequest": { + "type": "object", + "properties": { + "delivery": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/IdentityLinkDelivery" + } + ] + }, + "return_url": { + "type": [ + "string", + "null" + ] + } + } + }, + "CreateIdentityRequest": { + "type": "object", + "required": [ + "kind" + ], + "properties": { + "display_name": { + "type": [ + "string", + "null" + ] + }, + "identifiers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityIdentifier" + } + }, + "kind": { + "$ref": "#/components/schemas/UserType" + } + } + }, "CreateManagedUserCredentialBody": { "type": "object", "required": [ @@ -51507,6 +49910,27 @@ "schema": {} } }, + "CreatePayWalletRequest": { + "type": "object", + "required": [ + "name", + "wallet_customer_id" + ], + "properties": { + "name": { + "type": "string" + }, + "owner_id": { + "type": [ + "string", + "null" + ] + }, + "wallet_customer_id": { + "type": "string" + } + } + }, "CreatePersonalToolGroupInstanceBody": { "type": "object", "required": [ @@ -51570,6 +49994,39 @@ } } }, + "CreateProxyTokenRequest": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "allowed_return_urls": { + "type": "array", + "items": { + "type": "string" + } + }, + "capabilities": { + "type": "array", + "items": { + "type": "string" + } + }, + "expires_at": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + }, + "name": { + "type": "string" + } + } + }, "CreateRelationshipTypeBody": { "type": "object", "required": [ @@ -52774,6 +51231,58 @@ } } }, + "CreateWalletBody": { + "type": "object", + "required": [ + "name", + "wallet_customer_id" + ], + "properties": { + "name": { + "type": "string" + }, + "owner_id": { + "type": [ + "string", + "null" + ] + }, + "wallet_customer_id": { + "type": "string" + } + } + }, + "CreateWalletCustomerBody": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "account_type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "owner_id": { + "type": [ + "string", + "null" + ] + } + } + }, + "CreateWalletVirtualAccountBody": { + "type": "object", + "required": [ + "currency" + ], + "properties": { + "currency": { + "type": "string" + } + } + }, "CreateWikiAssetBody": { "type": "object", "required": [ @@ -52863,6 +51372,40 @@ } } }, + "CreatedIdentityLink": { + "type": "object", + "required": [ + "id", + "url", + "expires_at" + ], + "properties": { + "expires_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "id": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "CreatedProxyToken": { + "type": "object", + "required": [ + "token", + "secret" + ], + "properties": { + "secret": { + "type": "string" + }, + "token": { + "$ref": "#/components/schemas/OrgProxyToken" + } + } + }, "CredentialSetupBinding": { "type": "object", "description": "Typed relationship established after a state-import credential is configured.", @@ -54689,6 +53232,49 @@ } } }, + "DelegatedIdentity": { + "type": "object", + "description": "A runtime actor authenticated by an organization application credential.\nCredential authority remains separate from the actor's own groups.", + "required": [ + "sub", + "org_id", + "proxy_token_id", + "kind", + "groups" + ], + "properties": { + "email": { + "type": [ + "string", + "null" + ] + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "kind": { + "$ref": "#/components/schemas/UserType" + }, + "org_id": { + "type": "string" + }, + "proxy_token_id": { + "type": "string" + }, + "sub": { + "type": "string" + }, + "team_id": { + "type": [ + "string", + "null" + ] + } + } + }, "DeleteChatKitAgentTurnQueueItemResponse": { "type": "object", "required": [ @@ -54804,6 +53390,46 @@ } } }, + "DirectTokenPayment": { + "type": "object", + "required": [ + "destination_address", + "amount" + ], + "properties": { + "amount": { + "type": "string" + }, + "asset": { + "type": "string" + }, + "chain": { + "type": "string" + }, + "destination_address": { + "type": "string" + }, + "destination_asset": { + "type": [ + "string", + "null" + ] + }, + "destination_chain": { + "type": [ + "string", + "null" + ] + }, + "slippage_bps": { + "type": [ + "integer", + "null" + ], + "format": "int64" + } + } + }, "DownloadSkillPackageFileRequest": { "type": "object", "description": "Selects one package file for a lazy download URL.", @@ -55280,6 +53906,80 @@ } } }, + "GetBalancesResponse": { + "type": "object", + "required": [ + "wallet_id", + "balances" + ], + "properties": { + "balances": { + "$ref": "#/components/schemas/WrappedJsonValue" + }, + "wallet_id": { + "type": "string" + } + } + }, + "GetCryptoDepositInformationResponse": { + "type": "object", + "required": [ + "wallet_id", + "crypto" + ], + "properties": { + "crypto": { + "$ref": "#/components/schemas/WrappedJsonValue" + }, + "wallet_id": { + "type": "string" + } + } + }, + "GetFiatDepositInformationResponse": { + "type": "object", + "required": [ + "wallet_id", + "currency", + "fiat" + ], + "properties": { + "currency": { + "type": "string" + }, + "fiat": { + "$ref": "#/components/schemas/WrappedJsonValue" + }, + "wallet_id": { + "type": "string" + } + } + }, + "GetWalletCustomerKycResponse": { + "type": "object", + "required": [ + "wallet_customer_id", + "compose_customer_id", + "kyc_verified" + ], + "properties": { + "compose_customer_id": { + "type": "string" + }, + "kyc_flow_link": { + "type": [ + "string", + "null" + ] + }, + "kyc_verified": { + "type": "boolean" + }, + "wallet_customer_id": { + "type": "string" + } + } + }, "Goal": { "type": "object", "description": "Durable desired outcome owned by one explicit agent in one conversation.", @@ -56056,6 +54756,20 @@ "groups" ], "properties": { + "account_groups": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Administrative account roles, separate from the runtime actor's resource groups." + }, + "account_id": { + "type": [ + "string", + "null" + ], + "description": "Login account that authenticated this runtime actor. Human-owned API keys have no account session." + }, "email": { "type": [ "string", @@ -56617,6 +55331,29 @@ }, "Identity": { "oneOf": [ + { + "allOf": [ + { + "$ref": "#/components/schemas/DelegatedIdentity", + "description": "Application-authenticated runtime identity; never a login account." + }, + { + "type": "object", + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "delegated" + ] + } + } + } + ], + "description": "Application-authenticated runtime identity; never a login account." + }, { "allOf": [ { @@ -56681,6 +55418,82 @@ ], "description": "Authenticated identity representing the caller of a request.\n\nThis is the result of authentication and is used throughout the system\nfor authorization decisions." }, + "IdentityClaimRequest": { + "type": "object", + "required": [ + "claim" + ], + "properties": { + "claim": { + "type": "string" + } + } + }, + "IdentityIdentifier": { + "type": "object", + "required": [ + "namespace", + "value" + ], + "properties": { + "namespace": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "IdentityLinkDelivery": { + "type": "object", + "required": [ + "type", + "address" + ], + "properties": { + "address": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "IdentityLinkPreview": { + "type": "object", + "required": [ + "application_name", + "org_id", + "identity_id", + "expires_at" + ], + "properties": { + "account_email": { + "type": [ + "string", + "null" + ] + }, + "application_name": { + "type": "string" + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "expires_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "identity_id": { + "type": "string" + }, + "org_id": { + "type": "string" + } + } + }, "IdentityLinkRoute": { "type": "object", "description": "Tenant a linked address routes to when it arrives on a shared channel.", @@ -56702,6 +55515,66 @@ } } }, + "IdentityTeam": { + "type": "object", + "required": [ + "org_id", + "team_id", + "identity_id" + ], + "properties": { + "identity_id": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "team_id": { + "type": "string" + } + } + }, + "IdentityTeamMembership": { + "type": "object", + "description": "Runtime membership only; this record never grants a login-account role.", + "required": [ + "identity_id", + "org_id", + "team_id", + "role" + ], + "properties": { + "identity_id": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "role": { + "type": "string" + }, + "team_id": { + "type": "string" + } + } + }, + "IdentityTeamMembershipPaginatedResponse": { + "type": "object", + "required": [ + "items" + ], + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityTeamMembership" + } + }, + "next_page_token": { + "type": "string" + } + } + }, "IdentityVerification": { "type": "object", "description": "One pending or completed challenge. The code hash is never on the wire.", @@ -57599,6 +56472,27 @@ } } }, + "LinkedIdentity": { + "type": "object", + "required": [ + "org_id", + "identity_id" + ], + "properties": { + "identity_id": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "return_url": { + "type": [ + "string", + "null" + ] + } + } + }, "ListApiKeysResponse": { "type": "object", "required": [ @@ -57818,6 +56712,233 @@ } ] }, + "MakeMppPaymentRequest": { + "type": "object", + "required": [ + "wallet_id", + "url" + ], + "properties": { + "body": {}, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + } + }, + "max_amount": { + "type": [ + "string", + "null" + ] + }, + "max_amount_atomic": { + "type": [ + "string", + "null" + ] + }, + "method": { + "type": [ + "string", + "null" + ] + }, + "payment": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/DirectTokenPayment" + } + ] + }, + "preferred_assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "preferred_channels": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Payment-channel contract addresses the caller explicitly permits.\nStateful methods that sign a server-selected channel, such as the\nStellar `channel` intent, require this pin on their first use. A\nvalidated `session_snapshot` pins subsequent requests." + }, + "preferred_networks": { + "type": "array", + "items": { + "type": "string" + } + }, + "preferred_recipients": { + "type": "array", + "items": { + "type": "string" + } + }, + "session_action": { + "type": [ + "string", + "null" + ], + "description": "Session lifecycle action (`open`, `voucher`, `commit`, `topUp`, or\n`close`). Omit to open when no snapshot is supplied and voucher\notherwise." + }, + "session_amount_atomic": { + "type": [ + "string", + "null" + ], + "description": "Incremental session amount in atomic units. Required for voucher and\ncommit actions unless the challenge pins an increment." + }, + "session_delivery_id": { + "type": [ + "string", + "null" + ], + "description": "Delivery identifier required by a metered `commit` action." + }, + "session_snapshot": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/PaymentSessionSnapshot", + "description": "Previously returned client session state for restart-safe continuation." + } + ] + }, + "settlement_mode": { + "type": [ + "string", + "null" + ], + "description": "Preferred method-specific settlement mode. Methods that negotiate\nclient versus server broadcast currently accept `push` or `pull`." + }, + "transport": { + "type": [ + "string", + "null" + ], + "description": "Payment transport. Defaults to `http`; use `mcp` for MCP's nested\npayment metadata or `jsonrpc` for the generic root `_meta` binding.\nTempo session challenges also support `sse` and `websocket` (`ws`) for\nmetered streaming with in-band voucher and receipt handling." + }, + "url": { + "type": "string" + }, + "wallet_id": { + "type": "string" + } + } + }, + "MakeX402PaymentRequest": { + "type": "object", + "required": [ + "wallet_id", + "url" + ], + "properties": { + "body": {}, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + } + }, + "max_amount": { + "type": [ + "string", + "null" + ] + }, + "max_amount_atomic": { + "type": [ + "string", + "null" + ] + }, + "method": { + "type": [ + "string", + "null" + ] + }, + "payment": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/DirectTokenPayment" + } + ] + }, + "preferred_assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "preferred_networks": { + "type": "array", + "items": { + "type": "string" + } + }, + "preferred_recipients": { + "type": "array", + "items": { + "type": "string" + } + }, + "session_action": { + "type": [ + "string", + "null" + ], + "description": "Stateful scheme action (`open`, `voucher`, or `refund`). Omit to open\nwhen no snapshot is supplied and voucher otherwise." + }, + "session_amount_atomic": { + "type": [ + "string", + "null" + ], + "description": "Incremental amount for voucher/close actions, in atomic units." + }, + "session_snapshot": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/PaymentSessionSnapshot", + "description": "Previously returned client session state for restart-safe continuation." + } + ] + }, + "transport": { + "type": [ + "string", + "null" + ], + "description": "Payment transport. Defaults to `http`; use `mcp` when `body` is the\nJSON-RPC MCP tool-call request that should be retried with x402 metadata." + }, + "url": { + "type": "string" + }, + "wallet_id": { + "type": "string" + } + } + }, "ManagedSkillSelection": { "type": "object", "required": [ @@ -59530,6 +58651,41 @@ } } }, + "OnboardOrganizationRequest": { + "type": "object", + "required": [ + "name", + "team_name" + ], + "properties": { + "name": { + "type": "string" + }, + "team_name": { + "type": "string" + } + }, + "additionalProperties": false + }, + "OnboardOrganizationResponse": { + "type": "object", + "required": [ + "org_id", + "team_id", + "identity_id" + ], + "properties": { + "identity_id": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "team_id": { + "type": "string" + } + } + }, "OntologyPageTypeDefinition": { "type": "object", "description": "A page type bundled by an ontology template.", @@ -59856,6 +59012,98 @@ "disabled" ] }, + "OrgProxyToken": { + "type": "object", + "required": [ + "id", + "org_id", + "name", + "token_prefix", + "capabilities", + "allowed_return_urls", + "created_by_account_id", + "created_at" + ], + "properties": { + "allowed_return_urls": { + "type": "array", + "items": { + "type": "string" + } + }, + "capabilities": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "created_by_account_id": { + "type": "string" + }, + "expires_at": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + }, + "id": { + "type": "string" + }, + "last_used_at": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + }, + "name": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "revoked_at": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + }, + "token_prefix": { + "type": "string" + } + } + }, + "OrgProxyTokenPaginatedResponse": { + "type": "object", + "required": [ + "items" + ], + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OrgProxyToken" + } + }, + "next_page_token": { + "type": "string" + } + } + }, "Organization": { "type": "object", "required": [ @@ -59953,6 +59201,13 @@ "user" ], "properties": { + "account_id": { + "type": [ + "string", + "null" + ], + "description": "Enabled Tilde login account linked to this runtime identity, when present." + }, "membership": { "$ref": "#/components/schemas/UserOrganization" }, @@ -60074,6 +59329,264 @@ "done" ] }, + "PayOnboardingStep": { + "type": "string", + "enum": [ + "enter_details", + "complete_kyc", + "ready" + ] + }, + "PayPaymentRequest": { + "type": "object", + "required": [ + "wallet_id", + "url" + ], + "properties": { + "body": {}, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "propertyNames": { + "type": "string" + } + }, + "max_amount": { + "type": [ + "string", + "null" + ] + }, + "max_amount_atomic": { + "type": [ + "string", + "null" + ] + }, + "method": { + "type": [ + "string", + "null" + ] + }, + "payment": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/DirectTokenPayment" + } + ] + }, + "preferred_assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "preferred_channels": { + "type": "array", + "items": { + "type": "string" + } + }, + "preferred_networks": { + "type": "array", + "items": { + "type": "string" + } + }, + "preferred_recipients": { + "type": "array", + "items": { + "type": "string" + } + }, + "session_action": { + "type": [ + "string", + "null" + ] + }, + "session_amount_atomic": { + "type": [ + "string", + "null" + ] + }, + "session_delivery_id": { + "type": [ + "string", + "null" + ] + }, + "session_snapshot": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/PaymentSessionSnapshot" + } + ] + }, + "settlement_mode": { + "type": [ + "string", + "null" + ] + }, + "transport": { + "type": [ + "string", + "null" + ] + }, + "url": { + "type": "string" + }, + "wallet_id": { + "type": "string" + } + } + }, + "PayWalletSummaryError": { + "type": "object", + "required": [ + "field", + "message" + ], + "properties": { + "field": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "PayWalletSummaryResponse": { + "type": "object", + "properties": { + "balances": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/GetBalancesResponse" + } + ] + }, + "crypto_deposit": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/GetCryptoDepositInformationResponse" + } + ] + }, + "fiat_deposit": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/GetFiatDepositInformationResponse" + } + ] + }, + "summary_errors": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PayWalletSummaryError" + } + }, + "wallet": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Wallet" + } + ] + } + } + }, + "PaymentResponse": { + "type": "object", + "required": [ + "wallet_id", + "protocol", + "response" + ], + "properties": { + "protocol": { + "type": "string" + }, + "response": { + "$ref": "#/components/schemas/WrappedJsonValue" + }, + "wallet_id": { + "type": "string" + } + } + }, + "PaymentSessionSnapshot": { + "type": "object", + "description": "Opaque-enough client state needed to safely resume a stateful payment\nscheme after a process restart. Every field is authenticated again against\nthe next server challenge before it is used.", + "required": [ + "protocol", + "method", + "network", + "channel_id", + "cumulative_amount", + "nonce", + "expires_at", + "deposit_amount", + "authorized_signer" + ], + "properties": { + "authorized_signer": { + "type": "string" + }, + "channel_id": { + "type": "string" + }, + "cumulative_amount": { + "type": "string" + }, + "deposit_amount": { + "type": "string" + }, + "expires_at": { + "type": "integer", + "format": "int64" + }, + "metadata": {}, + "method": { + "type": "string" + }, + "network": { + "type": "string" + }, + "nonce": { + "type": "integer", + "format": "int64", + "minimum": 0 + }, + "protocol": { + "type": "string" + } + } + }, "PersonalMcpServerInstanceSerialized": { "type": "object", "required": [ @@ -61687,6 +61200,119 @@ } } }, + "ProvisionIdentityTeamRequest": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, + "ProvisionPayBrowserResponse": { + "type": "object", + "required": [ + "browser_definition_id", + "enabled_tool_ids" + ], + "properties": { + "browser_definition_id": { + "type": "string" + }, + "enabled_tool_ids": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ProvisionTildePayRequest": { + "type": "object", + "properties": { + "account_type": { + "type": [ + "string", + "null" + ] + }, + "name": { + "type": [ + "string", + "null" + ] + }, + "owner_id": { + "type": [ + "string", + "null" + ] + } + } + }, + "ProvisionTildePayResponse": { + "type": "object", + "required": [ + "next_step" + ], + "properties": { + "browser": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/ProvisionPayBrowserResponse" + } + ] + }, + "customer": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WalletCustomer" + } + ] + }, + "kyc": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/GetWalletCustomerKycResponse" + } + ] + }, + "mcp": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/SetupPayMcpResponse" + } + ] + }, + "next_step": { + "$ref": "#/components/schemas/PayOnboardingStep" + }, + "wallet": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/Wallet" + } + ] + } + } + }, "ProvisionedProviderApp": { "type": "object", "description": "App credentials and metadata created by a provider provisioner.", @@ -62438,6 +62064,34 @@ } } }, + "RefreshWalletTransactionHistoryResponse": { + "type": "object", + "required": [ + "wallet_id", + "scanned_chains", + "inserted_or_updated", + "linked_transactions" + ], + "properties": { + "inserted_or_updated": { + "type": "integer", + "minimum": 0 + }, + "linked_transactions": { + "type": "integer", + "minimum": 0 + }, + "scanned_chains": { + "type": "array", + "items": { + "type": "string" + } + }, + "wallet_id": { + "type": "string" + } + } + }, "RegisterAgentTool": { "type": "object", "required": [ @@ -63010,6 +62664,17 @@ } } }, + "RenameProxyTokenRequest": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + } + } + }, "ReorderChatKitAgentTurnQueueItemRequestInner": { "type": "object", "required": [ @@ -64473,7 +64138,7 @@ "type": "string" }, "posthog_product": { - "$ref": "#/components/schemas/BillingProductId" + "type": "string" }, "posthog_project_id": { "type": "string" @@ -64492,6 +64157,59 @@ } } }, + "RuntimeIdentity": { + "type": "object", + "required": [ + "id", + "org_id", + "kind", + "disabled", + "identifiers" + ], + "properties": { + "disabled": { + "type": "boolean" + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "string" + }, + "identifiers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityIdentifier" + } + }, + "kind": { + "$ref": "#/components/schemas/UserType" + }, + "org_id": { + "type": "string" + } + } + }, + "RuntimeIdentityPaginatedResponse": { + "type": "object", + "required": [ + "items" + ], + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RuntimeIdentity" + } + }, + "next_page_token": { + "type": "string" + } + } + }, "SelectDebugAuthProfileRequest": { "type": "object", "required": [ @@ -65282,6 +65000,32 @@ } } }, + "SetupPayMcpResponse": { + "type": "object", + "required": [ + "mcp_server_id", + "tool_group_instance_id", + "enabled_tool_ids", + "mcp_path" + ], + "properties": { + "enabled_tool_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "mcp_path": { + "type": "string" + }, + "mcp_server_id": { + "type": "string" + }, + "tool_group_instance_id": { + "type": "string" + } + } + }, "SignalAction": { "oneOf": [ { @@ -69444,6 +69188,29 @@ } } }, + "UpdateIdentityRequest": { + "type": "object", + "properties": { + "disabled": { + "type": [ + "boolean", + "null" + ] + }, + "display_name": { + "type": [ + "string", + "null" + ] + }, + "identifiers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IdentityIdentifier" + } + } + } + }, "UpdateManagedUserCredentialBody": { "type": "object", "required": [ @@ -70892,6 +70659,553 @@ "admin" ] }, + "WaitForPayBalanceRequest": { + "type": "object", + "required": [ + "wallet_id", + "asset", + "minimum_amount" + ], + "properties": { + "asset": { + "type": "string" + }, + "minimum_amount": { + "type": "number", + "format": "double" + }, + "poll_interval_secs": { + "type": [ + "integer", + "null" + ], + "format": "int64", + "minimum": 0 + }, + "timeout_secs": { + "type": [ + "integer", + "null" + ], + "format": "int64", + "minimum": 0 + }, + "wallet_id": { + "type": "string" + } + } + }, + "WaitUntilBalanceRequest": { + "type": "object", + "required": [ + "wallet_id", + "asset", + "minimum_amount" + ], + "properties": { + "asset": { + "type": "string" + }, + "minimum_amount": { + "type": "number", + "format": "double" + }, + "poll_interval_secs": { + "type": "integer", + "format": "int64", + "minimum": 0 + }, + "timeout_secs": { + "type": "integer", + "format": "int64", + "minimum": 0 + }, + "wallet_id": { + "type": "string" + } + } + }, + "WaitUntilBalanceResponse": { + "type": "object", + "required": [ + "wallet_id", + "satisfied", + "observed_amount" + ], + "properties": { + "observed_amount": { + "type": "number", + "format": "double" + }, + "satisfied": { + "type": "boolean" + }, + "wallet_id": { + "type": "string" + } + } + }, + "Wallet": { + "type": "object", + "required": [ + "id", + "org_id", + "team_id", + "name", + "status", + "wallet_customer_id", + "privy_wallet_id", + "privy_evm_address", + "compose_customer_id", + "compose_deposit_currency", + "compose_deposit_chain", + "created_at", + "updated_at" + ], + "properties": { + "cached_compose_balances": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedJsonValue" + } + ] + }, + "compose_customer_id": { + "type": "string" + }, + "compose_deposit_chain": { + "type": "string" + }, + "compose_deposit_currency": { + "type": "string" + }, + "compose_deposit_wallet_id": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "id": { + "type": "string" + }, + "last_compose_sync_at": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + }, + "name": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "owner_id": { + "type": [ + "string", + "null" + ] + }, + "privy_evm_address": { + "type": "string" + }, + "privy_wallet_id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "team_id": { + "type": "string" + }, + "updated_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "wallet_customer_id": { + "type": "string" + } + } + }, + "WalletCustomer": { + "type": "object", + "required": [ + "id", + "org_id", + "team_id", + "name", + "account_type", + "compose_customer_id", + "kyc_verified", + "compose_customer_payload", + "created_at", + "updated_at" + ], + "properties": { + "account_type": { + "type": "string" + }, + "compose_customer_id": { + "type": "string" + }, + "compose_customer_payload": { + "$ref": "#/components/schemas/WrappedJsonValue" + }, + "compose_kyc_payload": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedJsonValue" + } + ] + }, + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "id": { + "type": "string" + }, + "kyc_flow_link": { + "type": [ + "string", + "null" + ] + }, + "kyc_verified": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "owner_id": { + "type": [ + "string", + "null" + ] + }, + "team_id": { + "type": "string" + }, + "updated_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + } + }, + "WalletCustomerPaginatedResponse": { + "type": "object", + "required": [ + "items" + ], + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WalletCustomer" + } + }, + "next_page_token": { + "type": "string" + } + } + }, + "WalletMerchant": { + "type": "object", + "required": [ + "id", + "org_id", + "team_id", + "origin", + "merchant_url", + "raw_metadata", + "created_at", + "updated_at" + ], + "properties": { + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "favicon_url": { + "type": [ + "string", + "null" + ] + }, + "icon_fetched_at": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + }, + "icon_media_type": { + "type": [ + "string", + "null" + ] + }, + "icon_sha256": { + "type": [ + "string", + "null" + ] + }, + "id": { + "type": "string" + }, + "merchant_url": { + "type": "string" + }, + "name": { + "type": [ + "string", + "null" + ] + }, + "org_id": { + "type": "string" + }, + "origin": { + "type": "string" + }, + "raw_metadata": { + "$ref": "#/components/schemas/WrappedJsonValue" + }, + "team_id": { + "type": "string" + }, + "updated_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + } + }, + "WalletPaginatedResponse": { + "type": "object", + "required": [ + "items" + ], + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Wallet" + } + }, + "next_page_token": { + "type": "string" + } + } + }, + "WalletTransactionHistoryItem": { + "type": "object", + "required": [ + "id", + "org_id", + "team_id", + "wallet_id", + "item_type", + "direction", + "status", + "occurred_at", + "raw_payload", + "created_at", + "updated_at" + ], + "properties": { + "amount": { + "type": [ + "string", + "null" + ] + }, + "amount_decimals": { + "type": [ + "integer", + "null" + ], + "format": "int32" + }, + "amount_raw": { + "type": [ + "string", + "null" + ] + }, + "asset": { + "type": [ + "string", + "null" + ] + }, + "chain": { + "type": [ + "string", + "null" + ] + }, + "counterparty_address": { + "type": [ + "string", + "null" + ] + }, + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "direction": { + "type": "string" + }, + "id": { + "type": "string" + }, + "item_type": { + "type": "string" + }, + "merchant": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WalletMerchant" + } + ] + }, + "merchant_id": { + "type": [ + "string", + "null" + ] + }, + "occurred_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "org_id": { + "type": "string" + }, + "raw_payload": { + "$ref": "#/components/schemas/WrappedJsonValue" + }, + "scanned_at": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedChronoDateTime" + } + ] + }, + "status": { + "type": "string" + }, + "team_id": { + "type": "string" + }, + "updated_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "wallet_id": { + "type": "string" + } + } + }, + "WalletTransactionHistoryItemPaginatedResponse": { + "type": "object", + "required": [ + "items" + ], + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WalletTransactionHistoryItem" + } + }, + "next_page_token": { + "type": "string" + } + } + }, + "WalletVirtualAccount": { + "type": "object", + "required": [ + "id", + "org_id", + "team_id", + "wallet_id", + "wallet_customer_id", + "compose_customer_id", + "compose_virtual_account_id", + "currency", + "created_at", + "updated_at" + ], + "properties": { + "cached_compose_deposit_info": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/WrappedJsonValue" + } + ] + }, + "compose_customer_id": { + "type": "string" + }, + "compose_virtual_account_id": { + "type": "string" + }, + "created_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "currency": { + "type": "string" + }, + "id": { + "type": "string" + }, + "org_id": { + "type": "string" + }, + "status": { + "type": [ + "string", + "null" + ] + }, + "team_id": { + "type": "string" + }, + "updated_at": { + "$ref": "#/components/schemas/WrappedChronoDateTime" + }, + "wallet_customer_id": { + "type": "string" + }, + "wallet_id": { + "type": "string" + } + } + }, "WebhookSigningKeyMetadata": { "type": "object", "description": "Safe public metadata for a webhook signing key. Secret material is omitted.", @@ -71899,6 +72213,18 @@ "scheme": "bearer", "bearerFormat": "JWT", "description": "OAuth 2.0 bearer token issued by https://api.trytilde.ai." + }, + "login_cookie": { + "type": "apiKey", + "in": "cookie", + "name": "tilde_access_token", + "description": "Tilde account session; mutations require the same Origin." + }, + "org_proxy_token": { + "type": "apiKey", + "in": "header", + "name": "X-Tilde-Proxy-Token", + "description": "Server-only organization proxy credential. Runtime delegation also requires X-Tilde-Identity-Id and org/team routing; do not combine with login credentials." } } }, diff --git a/packages/api-client/src/generated/index.ts b/packages/api-client/src/generated/index.ts index 82272a0f..f00c1ef0 100644 --- a/packages/api-client/src/generated/index.ts +++ b/packages/api-client/src/generated/index.ts @@ -1,4 +1,4 @@ // This file is auto-generated by @hey-api/openapi-ts -export { acceptInvitation, addCommonProviderInstallationOwnershipGrant, addCommonProviderInstallationVisibilityGrant, addMcpResourceOwnershipGrant, addMcpResourceVisibilityGrant, addMcpServerInstanceFunction, addMemoryBankOwnershipGrant, addMemoryBankVisibilityGrant, addOrganizationMember, addPersonalMemoryBankOwnershipGrant, addPersonalMemoryBankVisibilityGrant, addPersonalRegistryOwnershipGrant, addPersonalRegistryVisibilityGrant, addPersonalRscOwnershipGrant, addPersonalRscVisibilityGrant, addPersonalSkillOwnershipGrant, addPersonalSkillVisibilityGrant, addPersonalUcOwnershipGrant, addPersonalUcVisibilityGrant, addPersonalWikiOwnershipGrant, addPersonalWikiVisibilityGrant, addProviderSkillsToSkillRegistry, addRscOwnershipGrant, addRscVisibilityGrant, addSessionResourceGrant, addSessionUserMember, addSignalProviderGrant, addSkillOwnershipGrant, addSkillRegistryOwnershipGrant, addSkillRegistryVisibilityGrant, addSkillVisibilityGrant, addTeamGroupMember, addTeamMember, addUcOwnershipGrant, addUcVisibilityGrant, addWikiOwnershipGrant, addWikiVisibilityGrant, applyWikiOntologyTemplate, assignPersonalMemoryBankSynthesizer, authorizeOauthDeviceCode, automationsAddGrant, automationsDelete, automationsGet, automationsList, automationsListExecutions, automationsListGrants, automationsPut, automationsRemoveGrant, automationsRun, automationsSetOwnership, automationsSetVisibility, autoProvisionToolGroupInstance, autumnWebhookHandler, billingAiCreditReceiptCommit, billingAiCreditReservationRelease, billingAiCreditReserve, billingAiCreditTopupCreate, billingAiGatewayEnsure, billingAutumnBridgePost, billingContextGet, billingProductEnrollCurrentHuman, billingRedirect, billingWebhookStripeDeprecated, bindToolGroupToMcpServer, bulkAddMcpServerInstanceFunctions, bulkRemoveMcpServerInstanceFunctions, cancelHumanApprovalAction, changePersonalWikiOwnership, changeWikiOwnership, chatkitAddAgentResourceGrant, chatkitAddSessionParticipant, chatkitAppendAgentRunStep, chatkitApproveSelfExtensionProposal, chatkitAutoProvisionSlackChannelInstallation, chatkitCacheConvertedMessages, chatkitCancelSelfExtensionProposal, chatkitClaimAgentResourceBundleOutputs, chatkitClaimAgentRuns, chatkitClaimSelfExtensionProposalOutputs, chatkitCollectAgentJobResult, chatkitCompleteSlackProviderProvisionedSetup, chatkitCompleteSlackSelfManagedSetup, chatkitControlAgentRun, chatkitCreateAgentRun, chatkitCreateCustomProvider, chatkitCreateGoal, chatkitCreateRoomInvitation, chatkitCreateSession, chatkitCreateSlackChannelInstallation, chatkitCreateTask, chatkitCustomProviderRuntime, chatkitDecideCapabilityChange, chatkitDecideRoomInvitation, chatkitDelegateAgentJob, chatkitDeleteAgent, chatkitDeleteAgentTurnQueueItem, chatkitDeleteChatProvider, chatkitDeleteCustomProvider, chatkitDisableCustomProvider, chatkitEnableCustomProvider, chatkitFinishAgentRunEffect, chatkitGetActiveAgentRun, chatkitGetAgent, chatkitGetAgentAvatar, chatkitGetAgentJob, chatkitGetAgentObservability, chatkitGetAgentResourceBundleProvisioning, chatkitGetAgentRun, chatkitGetAgentRunEffect, chatkitGetCompactedHistory, chatkitGetCustomConnection, chatkitGetCustomProvider, chatkitGetGoal, chatkitGetLatestCompaction, chatkitGetSelfExtensionProposal, chatkitGetTask, chatkitHydrateConvertedMessages, chatkitIngestCustomProviderMessage, chatkitInvokeSessionProviderTool, chatkitJoinSession, chatkitListAgentJobs, chatkitListAgentResourceGrants, chatkitListAgents, chatkitListAgentTurnQueue, chatkitListAvailableChatChannels, chatkitListAvailableChatProviders, chatkitListChatProviders, chatkitListCustomConnections, chatkitListCustomConnectionWork, chatkitListCustomProvider, chatkitListGoals, chatkitListMessageHistory, chatkitListRoomInvitations, chatkitListSelfExtensionProposals, chatkitListSessionParticipants, chatkitListSessionProviderTools, chatkitListSessions, chatkitListTasks, chatkitPrepareAgentRunEffect, chatkitProposeSelfExtension, chatkitProvisionAgentResourceBundle, chatkitRecallAutomaticMemory, chatkitRefreshCustomProvider, chatkitRegisterAgentTools, chatkitRegisterChatProvider, chatkitRegisterHttpVercelAiSdkAgent, chatkitRegisterVercelUiChatProvider, chatkitRejectSelfExtensionProposal, chatkitRemoveAgentResourceGrant, chatkitRemoveSessionParticipant, chatkitReorderAgentTurnQueueItem, chatkitReportCompactionEvent, chatkitReportToolExecution, chatkitResumeAgentJob, chatkitRetryCustomConnectionWork, chatkitRevokeRoomInvitation, chatkitRollbackSelfExtensionProposal, chatkitRotateCustomConnectionCredentials, chatkitRotateCustomProvider, chatkitSearch, chatkitSendSessionMessage, chatkitSetAgentPermissions, chatkitSetAgentStatus, chatkitSetChatProviderStatus, chatkitStartSlackOauth, chatkitSteerAgentJob, chatkitSteerAgentTurnQueueItem, chatkitStopAgentJob, chatkitStreamSessionEvents, chatkitTransitionAgentRun, chatkitUpdateAgent, chatkitUpdateAgentAvatar, chatkitUpdateAgentObservability, chatkitUpdateAgentOwnership, chatkitUpdateAgentToolVisibility, chatkitUpdateAgentVisibility, chatkitUpdateChatProvider, chatkitUpdateCustomProvider, chatkitUpdateGoal, chatkitUpdateTask, chatkitWorkspaceAgentSessions, chatkitWorkspaceBootstrap, chatkitWorkspaceConversationSnapshot, chatkitWorkspaceCreateSession, chatkitWorkspaceInterruptSession, chatkitWorkspaceMessages, chatkitWorkspaceRenameThread, chatkitWorkspaceSendMessage, chatkitWorkspaceSidebar, chatkitWorkspaceSubmitTurn, chatkitWorkspaceUpdateSessionReadState, checkMemoryBankHealth, checkPersonalMemoryBankHealth, claimTemporaryAccount, clearPersonalMemoryBankSynthesizer, completeAttachmentUpload, completeCredentialSetupItem, completeHumanApprovalAction, completeIdentityVerification, completeWikiAssetUpload, configureHostedOpenbotInstance, connectMcpProviderCatalogEntry, connectProxiedMcpServer, createAttachmentUpload, createAttachmentUploads, createCustomToolProvider, createHostedOpenbotDeployment, createHostedOpenbotRelease, createHumanApprovalAction, createManagedUserCredential, createMcpServerInstance, createMemoryBank, createMessage, createOrganization, createOrgOidcProvider, createPersonalMcpServerInstance, createPersonalMemoryBank, createPersonalSkill, createPersonalSkillRegistry, createPersonalToolGroupInstance, createPersonalUserCredential, createPersonalWiki, createPersonalWikiPage, createResourceServerCredential, createSession, createSkill, createSkillRegistry, createTeam, createTeamGroup, createTemporaryAccount, createToolGroupInstance, createTrustedRuntime, createTrustedSkillProvider, createUserCredential, createWiki, createWikiAssetUpload, createWikiPage, createWikiPageType, createWikiPageTypeVersion, createWikiRelationshipType, createWikiRelationshipTypeVersion, credentialGenericOauthCallback, deleteAttachment, deleteCustomToolProvider, deleteManagedUserCredential, deleteMcpServerInstance, deleteMemoryBank, deleteMemoryDocument, deleteMessage, deleteOrganization, deleteOrgOidcProvider, deletePersonalMcpServerInstance, deletePersonalMemoryBank, deletePersonalMemoryDocument, deletePersonalSkill, deletePersonalSkillRegistry, deletePersonalToolGroupInstance, deletePersonalWiki, deletePersonalWikiPage, deleteProxiedMcpServer, deleteResourceServerCredential, deleteSelfAvatar, deleteSkill, deleteSkillRegistry, deleteSynthesisSessionMemory, deleteTeam, deleteTeamGroup, deleteToolGroupInstance, deleteTrustedRuntime, deleteUserCredential, deleteVerifiedIdentityLink, deleteWiki, deleteWikiAsset, deleteWikiPage, deleteWikiPageRelationship, deleteWikiPageType, deleteWikiPageTypeVersion, deleteWikiRelationshipType, disableCustomToolProvider, disableProxiedMcpServer, disableTool, downloadAttachmentContent, downloadSkillPackageFile, downloadWikiAsset, downloadWikiAssetContent, enableAndBindProviderTools, enableCustomToolProvider, enableProxiedMcpServer, enableTool, encryptPersonalUserCredentialConfiguration, encryptResourceServerConfiguration, encryptUserCredentialConfiguration, exchangeOauthCode, expireTemporaryAccounts, exportMemoryBankTemplate, exportPersonalMemoryBankTemplate, finalizeHostedOpenbotRelease, generateLocalRuntimeTunnelApiKey, generateTemporaryAccountClaimUrl, getAttachmentDownloadUrl, getCommonProviderInstallation, getCredentialSetupItem, getCustomToolProvider, getHostedOpenbotBootstrapBundle, getHostedOpenbotInstance, getHostedOpenbotRelease, getHumanApprovalAction, getIdentityVerification, getLocalRuntimeTunnelApiKey, getLocalRuntimeTunnelConnector, getManagedUserCredentialSecret, getMcpServerInstance, getMemoryBank, getMemoryBankConfig, getMemoryBankDocument, getMessage, getMessageDeliveries, getOpenbotPluginsCatalog, getOrganization, getOrgOidcProvider, getPersonalMcpServerInstance, getPersonalMemoryBank, getPersonalMemoryBankConfig, getPersonalMemoryBankDocument, getPersonalSkill, getPersonalSkillRegistry, getPersonalToolGroupInstance, getPersonalWiki, getPersonalWikiPage, getProviderProvisioningHumanAction, getProxiedMcpServer, getProxiedSkillProvider, getResourceServerCredential, getRuntimeConfig, getSelfAvatar, getSelfProfile, getSessionEventHistory, getSkill, getSkillPackage, getSkillRegistry, getSkillRegistrySkill, getSkillRegistrySkillByTitle, getSkillRegistrySkillDescription, getTeam, getTeamGroup, getToolGroupInstance, getToolsOpenapiSpec, getTrustedRuntime, getUserCredential, getWiki, getWikiPage, getWikiPageBacklinks, getWikiPageNeighborhood, getWikiPageRelationship, getWikiPageType, getWikiPageTypeVersion, getWikiRelationshipType, getWikiRelationshipTypeVersion, grepPersonalWikiPages, grepWikiPages, healthCheck, importMemoryBankTemplate, importPersonalMemoryBankTemplate, initiateIdentityVerification, inspectWikiAssetReferences, inviteTeamUsers, invokeCustomTool, invokeTool, issueHostedOpenbotGitToken, issueOpenbotChatkitRealtimeTicket, linkTeamIdentity, listAvailableToolGroups, listCommonProviderInstallationOwnershipGrants, listCommonProviderInstallations, listCommonProviderInstallationVisibilityGrants, listCredentialSetupItems, listCustomToolProviders, listInboxAgents, listInboxes, listManagedUserCredentials, listMcpProviderCatalog, listMcpResourceOwnershipGrants, listMcpResourceVisibilityGrants, listMcpServerInstances, listMemoryBankDocuments, listMemoryBankOwnershipGrants, listMemoryBanks, listMemoryBankSourceBindings, listMemoryBankVisibilityGrants, listMemorySourceBindings, listMessages, listOpenbotDeployments, listOrganizationMembers, listOrganizations, listOrganizationTeamGroups, listOrgOidcProviders, listPersonalMcpServerInstances, listPersonalMemoryBankDocuments, listPersonalMemoryBankOwnershipGrants, listPersonalMemoryBanks, listPersonalMemoryBankSourceBindings, listPersonalMemoryBankVisibilityGrants, listPersonalMemorySourceBindings, listPersonalRegistryOwnershipGrants, listPersonalRegistryVisibilityGrants, listPersonalRscOwnershipGrants, listPersonalRscVisibilityGrants, listPersonalSkillOwnershipGrants, listPersonalSkillRegistries, listPersonalSkills, listPersonalSkillVisibilityGrants, listPersonalToolGroupInstances, listPersonalUcOwnershipGrants, listPersonalUcVisibilityGrants, listPersonalWikiOwnershipGrants, listPersonalWikiPages, listPersonalWikis, listPersonalWikiVisibilityGrants, listProviderProvisionerCatalog, listProxiedMcpServers, listProxiedSkillProviders, listPublicAvailableToolGroups, listResourceServerCredentials, listRscOwnershipGrants, listRscVisibilityGrants, listSessionInboxInstances, listSessionResourceGrants, listSessions, listSessionUserMembers, listSignalProviderGrants, listSkillOwnershipGrants, listSkillRegistries, listSkillRegistryOwnershipGrants, listSkillRegistrySkillSummaries, listSkillRegistryVisibilityGrants, listSkills, listSkillVisibilityGrants, listTeamGroupMembers, listTeamGroups, listTeamInvitations, listTeamMembers, listTeams, listToolDeploymentsByAlias, listToolGroupInstances, listToolGroupInstancesGroupedByTool, listTools, listTrustedRuntimes, listUcOwnershipGrants, listUcVisibilityGrants, listUserCredentials, listVerifiedIdentityLinks, listVisibleMemoryBanks, listWikiAssets, listWikiOntologyInstallations, listWikiOntologyTemplates, listWikiOwnershipGrants, listWikiPageAssets, listWikiPageRelationships, listWikiPageRevisions, listWikiPages, listWikiPageTypes, listWikiPageTypeVersions, listWikiRelationshipTypes, listWikiRelationshipTypeVersions, listWikis, listWikiVisibilityGrants, mcpProtocolDelete, mcpProtocolGet, mcpProtocolPost, mcpServerPlaygroundChat, migrateWikiPageType, moveWikiPage, observeSession, type Options, personalMcpProtocolDelete, personalMcpProtocolGet, personalMcpProtocolPost, previewWikiPageTypeMigration, providerProvisioningCallback, providerSetupCatalog, providerSetupResume, providerSetupStart, recallMemory, recallPersonalMemory, recallSynthesisSessionMemory, reconcileOpenbotAgentBundle, redirectTemporaryAccountClaimPage, reflectMemory, reflectPersonalMemory, refreshCustomToolProvider, refreshProxiedMcpServer, registerOauthClient, registerOpenbotDeployment, registerTeamOauthClient, removeCommonProviderInstallationOwnershipGrant, removeCommonProviderInstallationVisibilityGrant, removeMcpResourceOwnershipGrant, removeMcpResourceVisibilityGrant, removeMcpServerInstanceFunction, removeMemoryBankOwnershipGrant, removeMemoryBankVisibilityGrant, removeOrganizationMember, removePersonalMemoryBankOwnershipGrant, removePersonalMemoryBankVisibilityGrant, removePersonalRegistryOwnershipGrant, removePersonalRegistryVisibilityGrant, removePersonalRscOwnershipGrant, removePersonalRscVisibilityGrant, removePersonalSkillOwnershipGrant, removePersonalSkillVisibilityGrant, removePersonalUcOwnershipGrant, removePersonalUcVisibilityGrant, removePersonalWikiOwnershipGrant, removePersonalWikiVisibilityGrant, removeRscOwnershipGrant, removeRscVisibilityGrant, removeSessionResourceGrant, removeSessionUserMember, removeSignalProviderGrant, removeSkillOwnershipGrant, removeSkillRegistryOwnershipGrant, removeSkillRegistryVisibilityGrant, removeSkillVisibilityGrant, removeTeamGroupMember, removeTeamMember, removeUcOwnershipGrant, removeUcVisibilityGrant, removeWikiOwnershipGrant, removeWikiVisibilityGrant, replaceMemorySourceBindings, replacePersonalMemorySourceBindings, resetMemoryBankConfig, resetPersonalMemoryBankConfig, resumeCredentialSetupItem, resumeProviderAppProvisioning, resumeUserCredentialBrokering, retainMemoryDocument, retainPersonalMemoryDocument, retainSynthesisSessionMemory, retryMemorySourceSync, retryPersonalMemorySourceBindings, retryWiki, reverseProxyAddProfileOwnershipGrant, reverseProxyAddProfileVisibilityGrant, reverseProxyCreateProfile, reverseProxyDeleteProfile, reverseProxyGetProfile, reverseProxyListProfileOwnershipGrants, reverseProxyListProfiles, reverseProxyListProfileVisibilityGrants, reverseProxyListProviders, reverseProxyProxyGet, reverseProxyProxyPost, reverseProxyRemoveProfileOwnershipGrant, reverseProxyRemoveProfileVisibilityGrant, reverseProxySetProfileOwnership, reverseProxySetProfileVisibility, reverseProxyUpdateProfile, revokeLocalRuntimeTunnelApiKey, revokeTeamInvitation, rotateCustomToolProviderSigningKey, routeAuthCallback, routeCreateApiKey, routeDeleteApiKey, routeGetJwks, routeListApiKeys, routeListDebugAuthProfiles, routeLogout, routeRefreshToken, routeResolveLoginProvider, routeSelectDebugAuthProfile, routeStartAuthorization, searchSkillRegistry, setCommonProviderInstallationOwnership, setCommonProviderInstallationVisibility, setMcpResourceOwnership, setMcpResourceVisibility, setMemoryBankOwnershipMode, setMemoryBankVisibility, setPersonalMemoryBankOwnershipMode, setPersonalMemoryBankVisibility, setPersonalRegistryOwnershipMode, setPersonalRegistryVisibility, setPersonalRscOwnership, setPersonalRscVisibility, setPersonalSkillOwnershipMode, setPersonalSkillVisibility, setPersonalUcOwnership, setPersonalUcVisibility, setPersonalWikiOwnershipMode, setPersonalWikiVisibility, setRscOwnership, setRscVisibility, setSelfOpenbotAvatar, setSignalProviderOwnership, setSignalProviderVisibility, setSkillOwnershipMode, setSkillRegistryOwnershipMode, setSkillRegistryVisibility, setSkillVisibility, setUcOwnership, setUcVisibility, setWikiOwnershipMode, setWikiVisibility, signalsAddPersonalProviderGrant, signalsCreatePersonalProviderInstance, signalsCreateProviderInstance, signalsDeletePersonalProviderInstance, signalsDeleteProviderInstance, signalsGetDelivery, signalsGetPersonalDelivery, signalsGetPersonalProviderInstance, signalsGetProviderInstance, signalsListAvailableProviders, signalsListDeliveries, signalsListPersonalAvailableProviders, signalsListPersonalDeliveries, signalsListPersonalProviderGrants, signalsListPersonalProviderInstances, signalsListProviderInstances, signalsRemovePersonalProviderGrant, signalsRetryDelivery, signalsRetryPersonalDelivery, signalsSetPersonalProviderOwnership, signalsSetPersonalProviderVisibility, signalsTriggerFake, signalsUpdatePersonalProviderInstance, signalsUpdateProviderInstance, startCredentialSetupItem, startOauthDeviceCode, startProviderAppProvisioning, startProxiedMcpServerOauth, startUserCredentialBrokering, stateExport, stateGetImport, stateImport, stateImportEvents, statePlan, stateResolveSource, stateSchema, stateSchemaJson, stateValidate, traverseWikiGraph, unbindToolGroupFromMcpServer, updateCustomToolProvider, updateHostedOpenbotComputerImage, updateManagedUserCredential, updateMcpServerInstance, updateMcpServerInstanceFunction, updateMemoryBank, updateMemoryBankConfig, updateOrganization, updateOrganizationMemberRole, updateOrgOidcProvider, updatePersonalMcpServerInstance, updatePersonalMemoryBank, updatePersonalMemoryBankConfig, updatePersonalSkill, updatePersonalSkillRegistry, updatePersonalToolGroupInstance, updatePersonalWiki, updatePersonalWikiPage, updateResourceServerCredential, updateSelfProfile, updateSessionOwnership, updateSessionVisibility, updateSkill, updateSkillRegistry, updateTeam, updateTeamGroup, updateTeamMemberRole, updateToolBoundParams, updateToolGroupInstance, updateTrustedRuntime, updateUserCredential, updateWiki, updateWikiAsset, updateWikiPage, updateWikiPageRelationship, updateWikiPageType, updateWikiRelationshipType, uploadAttachmentContent, uploadHostedOpenbotReleaseFile, uploadSelfAvatar, uploadWikiAssetContent, upsertWikiPageRelationship, validateSynthesisSessionBatch, validateWikiPageTypeData, verifyOrgOidcProviderDomain, whoami } from './sdk.gen'; -export { type AcceptInvitationData, type AcceptInvitationError, type AcceptInvitationErrors, type AcceptInvitationRequest, type AcceptInvitationResponse, type AcceptInvitationResponses, type AddChatKitParticipantRequestInner, type AddCommonProviderInstallationOwnershipGrantData, type AddCommonProviderInstallationOwnershipGrantResponse, type AddCommonProviderInstallationOwnershipGrantResponses, type AddCommonProviderInstallationVisibilityGrantData, type AddCommonProviderInstallationVisibilityGrantResponse, type AddCommonProviderInstallationVisibilityGrantResponses, type AddMcpResourceOwnershipGrantData, type AddMcpResourceOwnershipGrantResponse, type AddMcpResourceOwnershipGrantResponses, type AddMcpResourceVisibilityGrantData, type AddMcpResourceVisibilityGrantResponse, type AddMcpResourceVisibilityGrantResponses, type AddMcpServerInstanceFunctionBody, type AddMcpServerInstanceFunctionData, type AddMcpServerInstanceFunctionError, type AddMcpServerInstanceFunctionErrors, type AddMcpServerInstanceFunctionResponse, type AddMcpServerInstanceFunctionResponses, type AddMemoryBankOwnershipGrantData, type AddMemoryBankOwnershipGrantResponse, type AddMemoryBankOwnershipGrantResponses, type AddMemoryBankVisibilityGrantData, type AddMemoryBankVisibilityGrantResponse, type AddMemoryBankVisibilityGrantResponses, type AddOrganizationMemberData, type AddOrganizationMemberError, type AddOrganizationMemberErrors, type AddOrganizationMemberRequest, type AddOrganizationMemberResponse, type AddOrganizationMemberResponses, type AddPersonalMemoryBankOwnershipGrantData, type AddPersonalMemoryBankOwnershipGrantResponse, type AddPersonalMemoryBankOwnershipGrantResponses, type AddPersonalMemoryBankVisibilityGrantData, type AddPersonalMemoryBankVisibilityGrantResponse, type AddPersonalMemoryBankVisibilityGrantResponses, type AddPersonalRegistryOwnershipGrantData, type AddPersonalRegistryOwnershipGrantResponse, type AddPersonalRegistryOwnershipGrantResponses, type AddPersonalRegistryVisibilityGrantData, type AddPersonalRegistryVisibilityGrantResponse, type AddPersonalRegistryVisibilityGrantResponses, type AddPersonalRscOwnershipGrantData, type AddPersonalRscOwnershipGrantResponse, type AddPersonalRscOwnershipGrantResponses, type AddPersonalRscVisibilityGrantData, type AddPersonalRscVisibilityGrantResponse, type AddPersonalRscVisibilityGrantResponses, type AddPersonalSkillOwnershipGrantData, type AddPersonalSkillOwnershipGrantResponse, type AddPersonalSkillOwnershipGrantResponses, type AddPersonalSkillVisibilityGrantData, type AddPersonalSkillVisibilityGrantResponse, type AddPersonalSkillVisibilityGrantResponses, type AddPersonalUcOwnershipGrantData, type AddPersonalUcOwnershipGrantResponse, type AddPersonalUcOwnershipGrantResponses, type AddPersonalUcVisibilityGrantData, type AddPersonalUcVisibilityGrantResponse, type AddPersonalUcVisibilityGrantResponses, type AddPersonalWikiOwnershipGrantData, type AddPersonalWikiOwnershipGrantResponse, type AddPersonalWikiOwnershipGrantResponses, type AddPersonalWikiVisibilityGrantData, type AddPersonalWikiVisibilityGrantResponse, type AddPersonalWikiVisibilityGrantResponses, type AddProviderSkillsToRegistryRequest, type AddProviderSkillsToSkillRegistryData, type AddProviderSkillsToSkillRegistryError, type AddProviderSkillsToSkillRegistryErrors, type AddProviderSkillsToSkillRegistryResponse, type AddProviderSkillsToSkillRegistryResponses, type AddRscOwnershipGrantData, type AddRscOwnershipGrantResponse, type AddRscOwnershipGrantResponses, type AddRscVisibilityGrantData, type AddRscVisibilityGrantResponse, type AddRscVisibilityGrantResponses, type AddSessionResourceGrantData, type AddSessionResourceGrantError, type AddSessionResourceGrantErrors, type AddSessionResourceGrantResponse, type AddSessionResourceGrantResponses, type AddSessionUserMemberData, type AddSessionUserMemberError, type AddSessionUserMemberErrors, type AddSessionUserMemberRequest, type AddSessionUserMemberResponse, type AddSessionUserMemberResponses, type AddSignalProviderGrantData, type AddSignalProviderGrantResponse, type AddSignalProviderGrantResponses, type AddSkillOwnershipGrantData, type AddSkillOwnershipGrantResponse, type AddSkillOwnershipGrantResponses, type AddSkillRegistryOwnershipGrantData, type AddSkillRegistryOwnershipGrantResponse, type AddSkillRegistryOwnershipGrantResponses, type AddSkillRegistryVisibilityGrantData, type AddSkillRegistryVisibilityGrantResponse, type AddSkillRegistryVisibilityGrantResponses, type AddSkillVisibilityGrantData, type AddSkillVisibilityGrantResponse, type AddSkillVisibilityGrantResponses, type AddTeamGroupMemberData, type AddTeamGroupMemberError, type AddTeamGroupMemberErrors, type AddTeamGroupMemberResponses, type AddTeamMemberBody, type AddTeamMemberData, type AddTeamMemberError, type AddTeamMemberErrors, type AddTeamMemberResponse, type AddTeamMemberResponses, type AddUcOwnershipGrantData, type AddUcOwnershipGrantResponse, type AddUcOwnershipGrantResponses, type AddUcVisibilityGrantData, type AddUcVisibilityGrantResponse, type AddUcVisibilityGrantResponses, type AddWikiOwnershipGrantData, type AddWikiOwnershipGrantResponse, type AddWikiOwnershipGrantResponses, type AddWikiVisibilityGrantData, type AddWikiVisibilityGrantResponse, type AddWikiVisibilityGrantResponses, type Agent, AgentCredentialStrategy, type AgentEndpointSpec, AgentEventVisibility, type AgentJob, type AgentJobArtifact, type AgentJobBudget, type AgentJobPaginatedResponse, AgentJobStatus, type AgentMultiplayerPermissions, type AgentObservabilityConfiguration, type AgentObservabilityPolicy, type AgentPermissions, type AgentProvisioningOperation, type AgentProvisioningOutputs, AgentProvisioningStatus, type AgentReachScope, type AgentRun, type AgentRunBudget, type AgentRunEffectReceipt, type AgentRunJobContext, AgentRunStatus, type AgentSpec, type AgentToolCatalogEntry, AgentToolSource, AgentToolStatus, type AiCreditReservation, type AiCreditTopup, type AppendAgentRunStepInner, type ApplyOntologyTemplateResult, type ApplyWikiOntologyTemplateData, type ApplyWikiOntologyTemplateResponse, type ApplyWikiOntologyTemplateResponses, type Approval, ApprovalDecision, type AssignMemoryBankSynthesizerBody, type AssignPersonalMemoryBankSynthesizerData, type AssignPersonalMemoryBankSynthesizerResponse, type AssignPersonalMemoryBankSynthesizerResponses, type AssociatedToolkit, type Attachment, AttachmentUploadStatus, type AuthorizeOauthDeviceCodeData, type AuthorizeOauthDeviceCodeError, type AuthorizeOauthDeviceCodeErrors, type AuthorizeOauthDeviceCodeResponses, type AutomationsAddGrantData, type AutomationsAddGrantResponse, type AutomationsAddGrantResponses, type AutomationsDeleteData, type AutomationsDeleteResponse, type AutomationsDeleteResponses, type AutomationsGetData, type AutomationsGetError, type AutomationsGetErrors, type AutomationsGetResponse, type AutomationsGetResponses, type AutomationsListData, type AutomationsListExecutionsData, type AutomationsListExecutionsResponse, type AutomationsListExecutionsResponses, type AutomationsListGrantsData, type AutomationsListGrantsResponse, type AutomationsListGrantsResponses, type AutomationsListResponse, type AutomationsListResponses, type AutomationsPutData, type AutomationsPutError, type AutomationsPutErrors, type AutomationsPutResponse, type AutomationsPutResponses, type AutomationsRemoveGrantData, type AutomationsRemoveGrantResponses, type AutomationsRunData, type AutomationsRunResponse, type AutomationsRunResponses, type AutomationsSetOwnershipData, type AutomationsSetOwnershipResponse, type AutomationsSetOwnershipResponses, type AutomationsSetVisibilityData, type AutomationsSetVisibilityResponse, type AutomationsSetVisibilityResponses, type AutoProvisionSlackChannelInstallationRequestInner, type AutoProvisionSlackChannelInstallationResponse, type AutoProvisionToolGroupInstanceData, type AutoProvisionToolGroupInstanceError, type AutoProvisionToolGroupInstanceErrors, type AutoProvisionToolGroupInstanceParamsInner, type AutoProvisionToolGroupInstanceResponse, type AutoProvisionToolGroupInstanceResponse2, type AutoProvisionToolGroupInstanceResponses, type AutumnWebhookHandlerData, type AutumnWebhookHandlerErrors, type AutumnWebhookHandlerResponses, type BillingAiCreditReceiptCommitData, type BillingAiCreditReceiptCommitResponse, type BillingAiCreditReceiptCommitResponses, type BillingAiCreditReservationReleaseData, type BillingAiCreditReservationReleaseResponse, type BillingAiCreditReservationReleaseResponses, type BillingAiCreditReserveData, type BillingAiCreditReserveResponse, type BillingAiCreditReserveResponses, type BillingAiCreditTopupCreateData, type BillingAiCreditTopupCreateError, type BillingAiCreditTopupCreateErrors, type BillingAiCreditTopupCreateResponse, type BillingAiCreditTopupCreateResponses, type BillingAiGatewayEnsureData, type BillingAiGatewayEnsureError, type BillingAiGatewayEnsureErrors, type BillingAiGatewayEnsureResponse, type BillingAiGatewayEnsureResponses, type BillingAutumnBridgePostData, type BillingAutumnBridgePostError, type BillingAutumnBridgePostErrors, type BillingAutumnBridgePostResponses, type BillingContext, type BillingContextGetData, type BillingContextGetError, type BillingContextGetErrors, type BillingContextGetResponse, type BillingContextGetResponses, type BillingProductEnrollCurrentHumanData, type BillingProductEnrollCurrentHumanError, type BillingProductEnrollCurrentHumanErrors, type BillingProductEnrollCurrentHumanResponse, type BillingProductEnrollCurrentHumanResponses, BillingProductId, type BillingRedirectData, type BillingRedirectErrors, type BillingWebhookStripeDeprecatedData, type BillingWebhookStripeDeprecatedResponse, type BillingWebhookStripeDeprecatedResponses, type BindToolGroupToMcpServerData, type BindToolGroupToMcpServerError, type BindToolGroupToMcpServerErrors, type BindToolGroupToMcpServerResponse, type BindToolGroupToMcpServerResponses, type BrokerAction, type BrokerActionRedirect, type BrokerInput, type BrokerState, type BulkAddMcpServerInstanceFunctionItem, type BulkAddMcpServerInstanceFunctionsBody, type BulkAddMcpServerInstanceFunctionsData, type BulkAddMcpServerInstanceFunctionsError, type BulkAddMcpServerInstanceFunctionsErrors, type BulkAddMcpServerInstanceFunctionsResponse, type BulkAddMcpServerInstanceFunctionsResponses, type BulkRemoveMcpServerInstanceFunctionsBody, type BulkRemoveMcpServerInstanceFunctionsData, type BulkRemoveMcpServerInstanceFunctionsError, type BulkRemoveMcpServerInstanceFunctionsErrors, type BulkRemoveMcpServerInstanceFunctionsResponse, type BulkRemoveMcpServerInstanceFunctionsResponses, type CacheConvertedMessagesRequest, type CacheConvertedMessagesResponse, type CachedAgentRepresentation, type CancelHumanApprovalActionData, type CancelHumanApprovalActionError, type CancelHumanApprovalActionErrors, type CancelHumanApprovalActionRequest, type CancelHumanApprovalActionResponse, type CancelHumanApprovalActionResponses, type CapabilityChangeApproval, CapabilityChangeDecision, type ChangePersonalWikiOwnershipData, type ChangePersonalWikiOwnershipResponse, type ChangePersonalWikiOwnershipResponses, type ChangeResourceOwnershipRequest, type ChangeWikiOwnershipData, type ChangeWikiOwnershipResponse, type ChangeWikiOwnershipResponses, type ChannelDeliveryOptions, type ChatApproval, ChatApprovalDecision, type ChatChannelInstallationInstructions, ChatChannelPlatformScope, type ChatChannelProvider, type ChatChannelProviderAuthMethod, type ChatChannelSubscriptionOption, type ChatkitAddAgentResourceGrantData, type ChatkitAddAgentResourceGrantError, type ChatkitAddAgentResourceGrantErrors, type ChatkitAddAgentResourceGrantResponse, type ChatkitAddAgentResourceGrantResponses, type ChatkitAddSessionParticipantData, type ChatkitAddSessionParticipantError, type ChatkitAddSessionParticipantErrors, type ChatkitAddSessionParticipantResponse, type ChatkitAddSessionParticipantResponses, type ChatKitAgent, type ChatKitAgentAvatar, ChatKitAgentConcurrencyPolicy, type ChatKitAgentInvocationActor, type ChatKitAgentJobExecutionContext, type ChatKitAgentPaginatedResponse, type ChatKitAgentRunExecutionContext, type ChatKitAgentTurnQueueItem, type ChatKitAgentTurnQueueItemPaginatedResponse, ChatKitAgentTurnQueueStatus, type ChatkitAppendAgentRunStepData, type ChatkitAppendAgentRunStepResponse, type ChatkitAppendAgentRunStepResponses, type ChatkitApproveSelfExtensionProposalData, type ChatkitApproveSelfExtensionProposalResponse, type ChatkitApproveSelfExtensionProposalResponses, type ChatKitAutomaticMemoryItem, ChatKitAutomaticMemoryMode, type ChatKitAutomaticMemoryProjection, type ChatkitAutoProvisionSlackChannelInstallationData, type ChatkitAutoProvisionSlackChannelInstallationError, type ChatkitAutoProvisionSlackChannelInstallationErrors, type ChatkitAutoProvisionSlackChannelInstallationResponse, type ChatkitAutoProvisionSlackChannelInstallationResponses, type ChatkitCacheConvertedMessagesData, type ChatkitCacheConvertedMessagesError, type ChatkitCacheConvertedMessagesErrors, type ChatkitCacheConvertedMessagesResponse, type ChatkitCacheConvertedMessagesResponses, type ChatkitCancelSelfExtensionProposalData, type ChatkitCancelSelfExtensionProposalResponse, type ChatkitCancelSelfExtensionProposalResponses, type ChatKitChatProviderConfigField, type ChatkitClaimAgentResourceBundleOutputsData, type ChatkitClaimAgentResourceBundleOutputsResponse, type ChatkitClaimAgentResourceBundleOutputsResponses, type ChatkitClaimAgentRunsData, type ChatkitClaimAgentRunsResponse, type ChatkitClaimAgentRunsResponses, type ChatkitClaimSelfExtensionProposalOutputsData, type ChatkitClaimSelfExtensionProposalOutputsResponse, type ChatkitClaimSelfExtensionProposalOutputsResponses, type ChatkitCollectAgentJobResultData, type ChatkitCollectAgentJobResultResponse, type ChatkitCollectAgentJobResultResponses, type ChatKitCompactedHistoryResponse, type ChatKitCompactionCheckpoint, type ChatKitCompactionLifecycleInput, type ChatkitCompleteSlackProviderProvisionedSetupData, type ChatkitCompleteSlackProviderProvisionedSetupError, type ChatkitCompleteSlackProviderProvisionedSetupErrors, type ChatkitCompleteSlackProviderProvisionedSetupResponse, type ChatkitCompleteSlackProviderProvisionedSetupResponses, type ChatkitCompleteSlackSelfManagedSetupData, type ChatkitCompleteSlackSelfManagedSetupError, type ChatkitCompleteSlackSelfManagedSetupErrors, type ChatkitCompleteSlackSelfManagedSetupResponse, type ChatkitCompleteSlackSelfManagedSetupResponses, type ChatkitControlAgentRunData, type ChatkitControlAgentRunResponse, type ChatkitControlAgentRunResponses, type ChatkitCreateAgentRunData, type ChatkitCreateAgentRunResponse, type ChatkitCreateAgentRunResponses, type ChatkitCreateCustomProviderData, type ChatkitCreateCustomProviderError, type ChatkitCreateCustomProviderErrors, type ChatkitCreateCustomProviderResponse, type ChatkitCreateCustomProviderResponses, type ChatkitCreateGoalData, type ChatkitCreateGoalResponse, type ChatkitCreateGoalResponses, type ChatkitCreateRoomInvitationData, type ChatkitCreateRoomInvitationError, type ChatkitCreateRoomInvitationErrors, type ChatkitCreateRoomInvitationResponse, type ChatkitCreateRoomInvitationResponses, type ChatkitCreateSessionData, type ChatkitCreateSessionError, type ChatkitCreateSessionErrors, type ChatkitCreateSessionResponse, type ChatkitCreateSessionResponses, type ChatkitCreateSlackChannelInstallationData, type ChatkitCreateSlackChannelInstallationError, type ChatkitCreateSlackChannelInstallationErrors, type ChatkitCreateSlackChannelInstallationResponse, type ChatkitCreateSlackChannelInstallationResponses, type ChatkitCreateTaskData, type ChatkitCreateTaskResponse, type ChatkitCreateTaskResponses, type ChatkitCustomProviderRuntimeData, type ChatkitCustomProviderRuntimeError, type ChatkitCustomProviderRuntimeErrors, type ChatkitCustomProviderRuntimeResponse, type ChatkitCustomProviderRuntimeResponses, type ChatkitDecideCapabilityChangeData, type ChatkitDecideCapabilityChangeResponse, type ChatkitDecideCapabilityChangeResponses, type ChatkitDecideRoomInvitationData, type ChatkitDecideRoomInvitationError, type ChatkitDecideRoomInvitationErrors, type ChatkitDecideRoomInvitationResponse, type ChatkitDecideRoomInvitationResponses, type ChatkitDelegateAgentJobData, type ChatkitDelegateAgentJobResponse, type ChatkitDelegateAgentJobResponses, type ChatkitDeleteAgentData, type ChatkitDeleteAgentError, type ChatkitDeleteAgentErrors, type ChatkitDeleteAgentResponse, type ChatkitDeleteAgentResponses, type ChatkitDeleteAgentTurnQueueItemData, type ChatkitDeleteAgentTurnQueueItemError, type ChatkitDeleteAgentTurnQueueItemErrors, type ChatkitDeleteAgentTurnQueueItemResponse, type ChatkitDeleteAgentTurnQueueItemResponses, type ChatkitDeleteChatProviderData, type ChatkitDeleteChatProviderError, type ChatkitDeleteChatProviderErrors, type ChatkitDeleteChatProviderResponse, type ChatkitDeleteChatProviderResponses, type ChatkitDeleteCustomProviderData, type ChatkitDeleteCustomProviderError, type ChatkitDeleteCustomProviderErrors, type ChatkitDeleteCustomProviderResponse, type ChatkitDeleteCustomProviderResponses, type ChatkitDisableCustomProviderData, type ChatkitDisableCustomProviderError, type ChatkitDisableCustomProviderErrors, type ChatkitDisableCustomProviderResponse, type ChatkitDisableCustomProviderResponses, type ChatkitEnableCustomProviderData, type ChatkitEnableCustomProviderError, type ChatkitEnableCustomProviderErrors, type ChatkitEnableCustomProviderResponse, type ChatkitEnableCustomProviderResponses, type ChatKitExecutionContext, type ChatkitFinishAgentRunEffectData, type ChatkitFinishAgentRunEffectResponse, type ChatkitFinishAgentRunEffectResponses, type ChatkitGetActiveAgentRunData, type ChatkitGetActiveAgentRunResponse, type ChatkitGetActiveAgentRunResponses, type ChatkitGetAgentAvatarData, type ChatkitGetAgentAvatarError, type ChatkitGetAgentAvatarErrors, type ChatkitGetAgentAvatarResponse, type ChatkitGetAgentAvatarResponses, type ChatkitGetAgentData, type ChatkitGetAgentError, type ChatkitGetAgentErrors, type ChatkitGetAgentJobData, type ChatkitGetAgentJobResponse, type ChatkitGetAgentJobResponses, type ChatkitGetAgentObservabilityData, type ChatkitGetAgentObservabilityError, type ChatkitGetAgentObservabilityErrors, type ChatkitGetAgentObservabilityResponse, type ChatkitGetAgentObservabilityResponses, type ChatkitGetAgentResourceBundleProvisioningData, type ChatkitGetAgentResourceBundleProvisioningResponse, type ChatkitGetAgentResourceBundleProvisioningResponses, type ChatkitGetAgentResponse, type ChatkitGetAgentResponses, type ChatkitGetAgentRunData, type ChatkitGetAgentRunEffectData, type ChatkitGetAgentRunEffectResponse, type ChatkitGetAgentRunEffectResponses, type ChatkitGetAgentRunResponse, type ChatkitGetAgentRunResponses, type ChatkitGetCompactedHistoryData, type ChatkitGetCompactedHistoryError, type ChatkitGetCompactedHistoryErrors, type ChatkitGetCompactedHistoryResponse, type ChatkitGetCompactedHistoryResponses, type ChatkitGetCustomConnectionData, type ChatkitGetCustomConnectionError, type ChatkitGetCustomConnectionErrors, type ChatkitGetCustomConnectionResponse, type ChatkitGetCustomConnectionResponses, type ChatkitGetCustomProviderData, type ChatkitGetCustomProviderError, type ChatkitGetCustomProviderErrors, type ChatkitGetCustomProviderResponse, type ChatkitGetCustomProviderResponses, type ChatkitGetGoalData, type ChatkitGetGoalResponse, type ChatkitGetGoalResponses, type ChatkitGetLatestCompactionData, type ChatkitGetLatestCompactionError, type ChatkitGetLatestCompactionErrors, type ChatkitGetLatestCompactionResponse, type ChatkitGetLatestCompactionResponses, type ChatkitGetSelfExtensionProposalData, type ChatkitGetSelfExtensionProposalResponse, type ChatkitGetSelfExtensionProposalResponses, type ChatkitGetTaskData, type ChatkitGetTaskResponse, type ChatkitGetTaskResponses, type ChatkitHydrateConvertedMessagesData, type ChatkitHydrateConvertedMessagesError, type ChatkitHydrateConvertedMessagesErrors, type ChatkitHydrateConvertedMessagesResponse, type ChatkitHydrateConvertedMessagesResponses, type ChatKitIdentity, ChatKitIdentityKind, type ChatkitIngestCustomProviderMessageData, type ChatkitIngestCustomProviderMessageError, type ChatkitIngestCustomProviderMessageErrors, type ChatkitIngestCustomProviderMessageResponse, type ChatkitIngestCustomProviderMessageResponses, type ChatkitInvokeSessionProviderToolData, type ChatkitInvokeSessionProviderToolError, type ChatkitInvokeSessionProviderToolErrors, type ChatkitInvokeSessionProviderToolResponse, type ChatkitInvokeSessionProviderToolResponses, type ChatkitJoinSessionData, type ChatkitJoinSessionError, type ChatkitJoinSessionErrors, type ChatkitJoinSessionResponse, type ChatkitJoinSessionResponses, type ChatkitListAgentJobsData, type ChatkitListAgentJobsResponse, type ChatkitListAgentJobsResponses, type ChatkitListAgentResourceGrantsData, type ChatkitListAgentResourceGrantsError, type ChatkitListAgentResourceGrantsErrors, type ChatkitListAgentResourceGrantsResponse, type ChatkitListAgentResourceGrantsResponses, type ChatkitListAgentsData, type ChatkitListAgentsError, type ChatkitListAgentsErrors, type ChatkitListAgentsResponse, type ChatkitListAgentsResponses, type ChatkitListAgentTurnQueueData, type ChatkitListAgentTurnQueueError, type ChatkitListAgentTurnQueueErrors, type ChatkitListAgentTurnQueueResponse, type ChatkitListAgentTurnQueueResponses, type ChatkitListAvailableChatChannelsData, type ChatkitListAvailableChatChannelsError, type ChatkitListAvailableChatChannelsErrors, type ChatkitListAvailableChatChannelsResponse, type ChatkitListAvailableChatChannelsResponses, type ChatkitListAvailableChatProvidersData, type ChatkitListAvailableChatProvidersError, type ChatkitListAvailableChatProvidersErrors, type ChatkitListAvailableChatProvidersResponse, type ChatkitListAvailableChatProvidersResponses, type ChatkitListChatProvidersData, type ChatkitListChatProvidersError, type ChatkitListChatProvidersErrors, type ChatkitListChatProvidersResponse, type ChatkitListChatProvidersResponses, type ChatkitListCustomConnectionsData, type ChatkitListCustomConnectionsError, type ChatkitListCustomConnectionsErrors, type ChatkitListCustomConnectionsResponse, type ChatkitListCustomConnectionsResponses, type ChatkitListCustomConnectionWorkData, type ChatkitListCustomConnectionWorkError, type ChatkitListCustomConnectionWorkErrors, type ChatkitListCustomConnectionWorkResponse, type ChatkitListCustomConnectionWorkResponses, type ChatkitListCustomProviderData, type ChatkitListCustomProviderError, type ChatkitListCustomProviderErrors, type ChatkitListCustomProviderResponse, type ChatkitListCustomProviderResponses, type ChatkitListGoalsData, type ChatkitListGoalsResponse, type ChatkitListGoalsResponses, type ChatkitListMessageHistoryData, type ChatkitListMessageHistoryError, type ChatkitListMessageHistoryErrors, type ChatkitListMessageHistoryResponse, type ChatkitListMessageHistoryResponses, type ChatkitListRoomInvitationsData, type ChatkitListRoomInvitationsError, type ChatkitListRoomInvitationsErrors, type ChatkitListRoomInvitationsResponse, type ChatkitListRoomInvitationsResponses, type ChatkitListSelfExtensionProposalsData, type ChatkitListSelfExtensionProposalsResponse, type ChatkitListSelfExtensionProposalsResponses, type ChatkitListSessionParticipantsData, type ChatkitListSessionParticipantsError, type ChatkitListSessionParticipantsErrors, type ChatkitListSessionParticipantsResponse, type ChatkitListSessionParticipantsResponses, type ChatkitListSessionProviderToolsData, type ChatkitListSessionProviderToolsError, type ChatkitListSessionProviderToolsErrors, type ChatkitListSessionProviderToolsResponse, type ChatkitListSessionProviderToolsResponses, type ChatkitListSessionsData, type ChatkitListSessionsError, type ChatkitListSessionsErrors, type ChatkitListSessionsResponse, type ChatkitListSessionsResponses, type ChatkitListTasksData, type ChatkitListTasksResponse, type ChatkitListTasksResponses, type ChatKitMessageIdentity, type ChatKitParticipant, type ChatKitParticipantInput, ChatKitParticipantMembershipSource, ChatKitParticipantRole, ChatKitParticipantType, type ChatkitPrepareAgentRunEffectData, type ChatkitPrepareAgentRunEffectResponse, type ChatkitPrepareAgentRunEffectResponses, type ChatkitProposeSelfExtensionData, type ChatkitProposeSelfExtensionResponse, type ChatkitProposeSelfExtensionResponses, type ChatKitProviderManifest, type ChatkitProvisionAgentResourceBundleData, type ChatkitProvisionAgentResourceBundleResponse, type ChatkitProvisionAgentResourceBundleResponses, type ChatKitRealtimeSocketTicket, ChatKitRealtimeTicketTransport, type ChatkitRecallAutomaticMemoryData, type ChatkitRecallAutomaticMemoryError, type ChatkitRecallAutomaticMemoryErrors, type ChatkitRecallAutomaticMemoryResponse, type ChatkitRecallAutomaticMemoryResponses, type ChatkitRefreshCustomProviderData, type ChatkitRefreshCustomProviderError, type ChatkitRefreshCustomProviderErrors, type ChatkitRefreshCustomProviderResponse, type ChatkitRefreshCustomProviderResponses, type ChatkitRegisterAgentToolsData, type ChatkitRegisterAgentToolsError, type ChatkitRegisterAgentToolsErrors, type ChatkitRegisterAgentToolsResponse, type ChatkitRegisterAgentToolsResponses, type ChatkitRegisterChatProviderData, type ChatkitRegisterChatProviderError, type ChatkitRegisterChatProviderErrors, type ChatkitRegisterChatProviderResponse, type ChatkitRegisterChatProviderResponses, type ChatkitRegisterHttpVercelAiSdkAgentData, type ChatkitRegisterHttpVercelAiSdkAgentError, type ChatkitRegisterHttpVercelAiSdkAgentErrors, type ChatkitRegisterHttpVercelAiSdkAgentResponse, type ChatkitRegisterHttpVercelAiSdkAgentResponses, type ChatkitRegisterVercelUiChatProviderData, type ChatkitRegisterVercelUiChatProviderError, type ChatkitRegisterVercelUiChatProviderErrors, type ChatkitRegisterVercelUiChatProviderResponse, type ChatkitRegisterVercelUiChatProviderResponses, type ChatkitRejectSelfExtensionProposalData, type ChatkitRejectSelfExtensionProposalResponse, type ChatkitRejectSelfExtensionProposalResponses, type ChatkitRemoveAgentResourceGrantData, type ChatkitRemoveAgentResourceGrantError, type ChatkitRemoveAgentResourceGrantErrors, type ChatkitRemoveAgentResourceGrantResponse, type ChatkitRemoveAgentResourceGrantResponses, type ChatkitRemoveSessionParticipantData, type ChatkitRemoveSessionParticipantError, type ChatkitRemoveSessionParticipantErrors, type ChatkitRemoveSessionParticipantResponse, type ChatkitRemoveSessionParticipantResponses, type ChatkitReorderAgentTurnQueueItemData, type ChatkitReorderAgentTurnQueueItemError, type ChatkitReorderAgentTurnQueueItemErrors, type ChatkitReorderAgentTurnQueueItemResponse, type ChatkitReorderAgentTurnQueueItemResponses, type ChatkitReportCompactionEventData, type ChatkitReportCompactionEventError, type ChatkitReportCompactionEventErrors, type ChatkitReportCompactionEventResponse, type ChatkitReportCompactionEventResponses, type ChatkitReportToolExecutionData, type ChatkitReportToolExecutionError, type ChatkitReportToolExecutionErrors, type ChatkitReportToolExecutionResponse, type ChatkitReportToolExecutionResponses, type ChatKitRequestAgent, type ChatKitRequestAgentAvatar, type ChatkitResumeAgentJobData, type ChatkitResumeAgentJobResponse, type ChatkitResumeAgentJobResponses, type ChatkitRetryCustomConnectionWorkData, type ChatkitRetryCustomConnectionWorkError, type ChatkitRetryCustomConnectionWorkErrors, type ChatkitRetryCustomConnectionWorkResponse, type ChatkitRetryCustomConnectionWorkResponses, type ChatkitRevokeRoomInvitationData, type ChatkitRevokeRoomInvitationError, type ChatkitRevokeRoomInvitationErrors, type ChatkitRevokeRoomInvitationResponse, type ChatkitRevokeRoomInvitationResponses, type ChatkitRollbackSelfExtensionProposalData, type ChatkitRollbackSelfExtensionProposalResponse, type ChatkitRollbackSelfExtensionProposalResponses, type ChatKitRoomInvitation, ChatKitRoomInvitationDecision, type ChatKitRoomInvitationPaginatedResponse, ChatKitRoomInvitationStatus, type ChatkitRotateCustomConnectionCredentialsData, type ChatkitRotateCustomConnectionCredentialsError, type ChatkitRotateCustomConnectionCredentialsErrors, type ChatkitRotateCustomConnectionCredentialsResponse, type ChatkitRotateCustomConnectionCredentialsResponses, type ChatkitRotateCustomProviderData, type ChatkitRotateCustomProviderError, type ChatkitRotateCustomProviderErrors, type ChatkitRotateCustomProviderResponse, type ChatkitRotateCustomProviderResponses, type ChatKitSearchAgent, type ChatkitSearchData, type ChatkitSearchError, type ChatkitSearchErrors, type ChatKitSearchHit, ChatKitSearchHitKind, type ChatKitSearchHitPaginatedResponse, type ChatkitSearchResponse, type ChatkitSearchResponses, type ChatKitSearchSession, type ChatkitSendSessionMessageData, type ChatkitSendSessionMessageError, type ChatkitSendSessionMessageErrors, type ChatkitSendSessionMessageResponse, type ChatkitSendSessionMessageResponses, type ChatKitSessionUserState, type ChatKitSessionWithParticipants, type ChatkitSetAgentPermissionsData, type ChatkitSetAgentPermissionsError, type ChatkitSetAgentPermissionsErrors, type ChatkitSetAgentPermissionsResponse, type ChatkitSetAgentPermissionsResponses, type ChatkitSetAgentStatusData, type ChatkitSetAgentStatusError, type ChatkitSetAgentStatusErrors, type ChatkitSetAgentStatusResponse, type ChatkitSetAgentStatusResponses, type ChatkitSetChatProviderStatusData, type ChatkitSetChatProviderStatusError, type ChatkitSetChatProviderStatusErrors, type ChatkitSetChatProviderStatusResponse, type ChatkitSetChatProviderStatusResponses, type ChatkitStartSlackOauthData, type ChatkitStartSlackOauthError, type ChatkitStartSlackOauthErrors, type ChatkitStartSlackOauthResponse, type ChatkitStartSlackOauthResponses, type ChatkitSteerAgentJobData, type ChatkitSteerAgentJobResponse, type ChatkitSteerAgentJobResponses, type ChatkitSteerAgentTurnQueueItemData, type ChatkitSteerAgentTurnQueueItemError, type ChatkitSteerAgentTurnQueueItemErrors, type ChatkitSteerAgentTurnQueueItemResponse, type ChatkitSteerAgentTurnQueueItemResponses, type ChatkitStopAgentJobData, type ChatkitStopAgentJobResponse, type ChatkitStopAgentJobResponses, type ChatkitStreamSessionEventsData, type ChatkitStreamSessionEventsError, type ChatkitStreamSessionEventsErrors, type ChatkitStreamSessionEventsResponses, type ChatkitTransitionAgentRunData, type ChatkitTransitionAgentRunResponse, type ChatkitTransitionAgentRunResponses, type ChatkitUpdateAgentAvatarData, type ChatkitUpdateAgentAvatarError, type ChatkitUpdateAgentAvatarErrors, type ChatkitUpdateAgentAvatarResponse, type ChatkitUpdateAgentAvatarResponses, type ChatkitUpdateAgentData, type ChatkitUpdateAgentError, type ChatkitUpdateAgentErrors, type ChatkitUpdateAgentObservabilityData, type ChatkitUpdateAgentObservabilityError, type ChatkitUpdateAgentObservabilityErrors, type ChatkitUpdateAgentObservabilityResponse, type ChatkitUpdateAgentObservabilityResponses, type ChatkitUpdateAgentOwnershipData, type ChatkitUpdateAgentOwnershipError, type ChatkitUpdateAgentOwnershipErrors, type ChatkitUpdateAgentOwnershipResponse, type ChatkitUpdateAgentOwnershipResponses, type ChatkitUpdateAgentResponse, type ChatkitUpdateAgentResponses, type ChatkitUpdateAgentToolVisibilityData, type ChatkitUpdateAgentToolVisibilityError, type ChatkitUpdateAgentToolVisibilityErrors, type ChatkitUpdateAgentToolVisibilityResponse, type ChatkitUpdateAgentToolVisibilityResponses, type ChatkitUpdateAgentVisibilityData, type ChatkitUpdateAgentVisibilityError, type ChatkitUpdateAgentVisibilityErrors, type ChatkitUpdateAgentVisibilityResponse, type ChatkitUpdateAgentVisibilityResponses, type ChatkitUpdateChatProviderData, type ChatkitUpdateChatProviderError, type ChatkitUpdateChatProviderErrors, type ChatkitUpdateChatProviderResponse, type ChatkitUpdateChatProviderResponses, type ChatkitUpdateCustomProviderData, type ChatkitUpdateCustomProviderError, type ChatkitUpdateCustomProviderErrors, type ChatkitUpdateCustomProviderResponse, type ChatkitUpdateCustomProviderResponses, type ChatkitUpdateGoalData, type ChatkitUpdateGoalResponse, type ChatkitUpdateGoalResponses, type ChatkitUpdateTaskData, type ChatkitUpdateTaskResponse, type ChatkitUpdateTaskResponses, type ChatkitWorkspaceAgentSessionsData, type ChatkitWorkspaceAgentSessionsResponse, type ChatKitWorkspaceAgentSessionsResponse, type ChatkitWorkspaceAgentSessionsResponses, type ChatKitWorkspaceAgentSummary, type ChatKitWorkspaceAttachmentCompletion, type ChatkitWorkspaceBootstrapData, type ChatkitWorkspaceBootstrapResponse, type ChatKitWorkspaceBootstrapResponse, type ChatkitWorkspaceBootstrapResponses, type ChatKitWorkspaceConversationSnapshot, type ChatkitWorkspaceConversationSnapshotData, type ChatkitWorkspaceConversationSnapshotResponse, type ChatkitWorkspaceConversationSnapshotResponses, type ChatkitWorkspaceCreateSessionData, type ChatkitWorkspaceCreateSessionResponse, type ChatkitWorkspaceCreateSessionResponses, type ChatkitWorkspaceInterruptSessionData, type ChatkitWorkspaceInterruptSessionResponse, type ChatkitWorkspaceInterruptSessionResponses, type ChatkitWorkspaceMessagesData, type ChatkitWorkspaceMessagesResponse, type ChatkitWorkspaceMessagesResponses, type ChatKitWorkspaceParticipantEvent, type ChatKitWorkspaceParticipantEventKind, type ChatKitWorkspaceQueuedTurns, type ChatkitWorkspaceRenameThreadData, type ChatkitWorkspaceRenameThreadResponse, type ChatkitWorkspaceRenameThreadResponses, type ChatkitWorkspaceSendMessageData, type ChatkitWorkspaceSendMessageResponse, type ChatkitWorkspaceSendMessageResponses, type ChatKitWorkspaceSessionSummary, type ChatkitWorkspaceSidebarData, type ChatkitWorkspaceSidebarResponse, type ChatKitWorkspaceSidebarResponse, type ChatkitWorkspaceSidebarResponses, type ChatkitWorkspaceSubmitTurnData, type ChatkitWorkspaceSubmitTurnResponse, type ChatkitWorkspaceSubmitTurnResponses, type ChatkitWorkspaceUpdateSessionReadStateData, type ChatkitWorkspaceUpdateSessionReadStateResponse, type ChatkitWorkspaceUpdateSessionReadStateResponses, type ChatMessage, type ChatMessageContext, type ChatMessagePart, type ChatRequest, type ChatSessionContext, ChatToolInvocationState, type CheckMemoryBankHealthData, type CheckMemoryBankHealthResponse, type CheckMemoryBankHealthResponses, type CheckPersonalMemoryBankHealthData, type CheckPersonalMemoryBankHealthResponse, type CheckPersonalMemoryBankHealthResponses, type ClaimAgentRunsInner, type ClaimTemporaryAccountData, type ClaimTemporaryAccountError, type ClaimTemporaryAccountErrors, type ClaimTemporaryAccountRequest, type ClaimTemporaryAccountResponse, type ClaimTemporaryAccountResponse2, type ClaimTemporaryAccountResponses, type ClearPersonalMemoryBankSynthesizerData, type ClearPersonalMemoryBankSynthesizerResponse, type ClearPersonalMemoryBankSynthesizerResponses, type ClientOptions, type CloudWhoamiResponse, type CommitAiCreditReceiptBody, type CommonProviderConfiguration, type CommonProviderCredentialSetup, type CommonProviderInstallationPage, type CommonProviderInstallationSerialized, type CommonProviderRuntimeState, type CompleteAttachmentUploadData, type CompleteAttachmentUploadError, type CompleteAttachmentUploadErrors, type CompleteAttachmentUploadInner, type CompleteAttachmentUploadResponse, type CompleteAttachmentUploadResponses, type CompleteCredentialSetupItemBody, type CompleteCredentialSetupItemData, type CompleteCredentialSetupItemResponse, type CompleteCredentialSetupItemResponses, type CompleteHumanApprovalActionData, type CompleteHumanApprovalActionError, type CompleteHumanApprovalActionErrors, type CompleteHumanApprovalActionRequest, type CompleteHumanApprovalActionResponse, type CompleteHumanApprovalActionResponses, type CompleteIdentityVerificationData, type CompleteIdentityVerificationError, type CompleteIdentityVerificationErrors, type CompleteIdentityVerificationRequestInner, type CompleteIdentityVerificationResponse, type CompleteIdentityVerificationResponses, type CompleteSlackProviderProvisionedSetupRequestInner, type CompleteSlackSelfManagedSetupRequestInner, type CompleteWikiAssetUploadData, type CompleteWikiAssetUploadResponse, type CompleteWikiAssetUploadResponses, type ConfigurationSchema, type ConfigureHostedOpenbotInstanceData, type ConfigureHostedOpenbotInstanceError, type ConfigureHostedOpenbotInstanceErrors, type ConfigureHostedOpenBotInstanceRequest, type ConfigureHostedOpenbotInstanceResponse, type ConfigureHostedOpenbotInstanceResponses, type ConnectMcpProviderCatalogEntryData, type ConnectMcpProviderCatalogEntryError, type ConnectMcpProviderCatalogEntryErrors, type ConnectMcpProviderCatalogEntryRequestInner, type ConnectMcpProviderCatalogEntryResponse, type ConnectMcpProviderCatalogEntryResponse2, type ConnectMcpProviderCatalogEntryResponses, type ConnectProxiedMcpServerData, type ConnectProxiedMcpServerError, type ConnectProxiedMcpServerErrors, type ConnectProxiedMcpServerRequestInner, type ConnectProxiedMcpServerResponse, type ConnectProxiedMcpServerResponse2, type ConnectProxiedMcpServerResponses, type ControlAgentRunInner, type CreateAgentRunInner, type CreateAiCreditTopupBody, type CreateApiKeyInner, type CreateApiKeyResponse, type CreateAttachmentUploadData, type CreateAttachmentUploadError, type CreateAttachmentUploadErrors, type CreateAttachmentUploadInner, type CreateAttachmentUploadResponse, type CreateAttachmentUploadResponse2, type CreateAttachmentUploadResponses, type CreateAttachmentUploadsData, type CreateAttachmentUploadsError, type CreateAttachmentUploadsErrors, type CreateAttachmentUploadsInner, type CreateAttachmentUploadsResponse, type CreateAttachmentUploadsResponse2, type CreateAttachmentUploadsResponses, type CreateChatKitRoomInvitationRequestInner, type CreateChatKitSessionRequestInner, type CreateChatKitWorkspaceSessionRequestInner, type CreateCustomToolProviderData, type CreateCustomToolProviderRequestInner, type CreateCustomToolProviderResponse, type CreateCustomToolProviderResponse2, type CreateCustomToolProviderResponses, type CreateGoalRequestInner, type CreateHostedOpenbotDeploymentData, type CreateHostedOpenbotDeploymentError, type CreateHostedOpenbotDeploymentErrors, type CreateHostedOpenBotDeploymentRequest, type CreateHostedOpenbotDeploymentResponse, type CreateHostedOpenbotDeploymentResponses, type CreateHostedOpenbotReleaseData, type CreateHostedOpenbotReleaseError, type CreateHostedOpenbotReleaseErrors, type CreateHostedOpenBotReleaseFile, type CreateHostedOpenBotReleaseRequest, type CreateHostedOpenbotReleaseResponse, type CreateHostedOpenbotReleaseResponses, type CreateHumanApprovalActionData, type CreateHumanApprovalActionError, type CreateHumanApprovalActionErrors, type CreateHumanApprovalActionRequestInner, type CreateHumanApprovalActionResponse, type CreateHumanApprovalActionResponse2, type CreateHumanApprovalActionResponses, type CreateManagedUserCredentialBody, type CreateManagedUserCredentialData, type CreateManagedUserCredentialResponse, type CreateManagedUserCredentialResponses, type CreateMcpServerInstanceData, type CreateMcpServerInstanceError, type CreateMcpServerInstanceErrors, type CreateMcpServerInstanceRequestInner, type CreateMcpServerInstanceResponse, type CreateMcpServerInstanceResponses, type CreateMemoryBankBody, type CreateMemoryBankData, type CreateMemoryBankResponse, type CreateMemoryBankResponses, type CreateMessageData, type CreateMessageError, type CreateMessageErrors, type CreateMessageRequest, type CreateMessageResponse, type CreateMessageResponses, type CreateOrganizationData, type CreateOrganizationError, type CreateOrganizationErrors, type CreateOrganizationRequest, type CreateOrganizationResponse, type CreateOrganizationResponses, type CreateOrgOidcProviderData, type CreateOrgOidcProviderError, type CreateOrgOidcProviderErrors, type CreateOrgOidcProviderRequest, type CreateOrgOidcProviderResponse, type CreateOrgOidcProviderResponses, type CreatePageTypeBody, type CreatePageTypeVersionBody, type CreatePersonalMcpServerInstanceData, type CreatePersonalMcpServerInstanceError, type CreatePersonalMcpServerInstanceErrors, type CreatePersonalMcpServerInstanceResponse, type CreatePersonalMcpServerInstanceResponses, type CreatePersonalMemoryBankData, type CreatePersonalMemoryBankResponse, type CreatePersonalMemoryBankResponses, type CreatePersonalSkillData, type CreatePersonalSkillRegistryData, type CreatePersonalSkillRegistryResponse, type CreatePersonalSkillRegistryResponses, type CreatePersonalSkillResponse, type CreatePersonalSkillResponses, type CreatePersonalToolGroupInstanceBody, type CreatePersonalToolGroupInstanceData, type CreatePersonalToolGroupInstanceError, type CreatePersonalToolGroupInstanceErrors, type CreatePersonalToolGroupInstanceResponse, type CreatePersonalToolGroupInstanceResponses, type CreatePersonalUserCredentialData, type CreatePersonalUserCredentialResponse, type CreatePersonalUserCredentialResponses, type CreatePersonalWikiData, type CreatePersonalWikiPageData, type CreatePersonalWikiPageResponse, type CreatePersonalWikiPageResponses, type CreatePersonalWikiResponse, type CreatePersonalWikiResponses, type CreateRelationshipTypeBody, type CreateRelationshipTypeVersionBody, type CreateResourcePlaneGrantRequest, type CreateResourceServerCredentialData, type CreateResourceServerCredentialParamsInner, type CreateResourceServerCredentialResponse, type CreateResourceServerCredentialResponses, type CreateReverseProxyProfileInner, type CreateSelfExtensionProposalInner, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionInner, type CreateSessionResponse, type CreateSessionResponses, type CreateSignalMessageRequest, type CreateSignalProviderInstanceRequestInner, type CreateSkillData, type CreateSkillError, type CreateSkillErrors, type CreateSkillInner, type CreateSkillRegistryBody, type CreateSkillRegistryData, type CreateSkillRegistryError, type CreateSkillRegistryErrors, type CreateSkillRegistryResponse, type CreateSkillRegistryResponses, type CreateSkillResponse, type CreateSkillResponses, type CreateSlackChannelInstallationRequestInner, type CreateSlackChannelInstallationResponse, type CreateTaskRequestInner, type CreateTeamData, type CreateTeamError, type CreateTeamErrors, type CreateTeamGroupBody, type CreateTeamGroupData, type CreateTeamGroupError, type CreateTeamGroupErrors, type CreateTeamGroupResponse, type CreateTeamGroupResponses, type CreateTeamRequest, type CreateTeamResponse, type CreateTeamResponses, type CreateTemporaryAccountData, type CreateTemporaryAccountError, type CreateTemporaryAccountErrors, type CreateTemporaryAccountRequest, type CreateTemporaryAccountResponse, type CreateTemporaryAccountResponse2, type CreateTemporaryAccountResponses, type CreateTextMessageRequest, type CreateToolGroupInstanceData, type CreateToolGroupInstanceError, type CreateToolGroupInstanceErrors, type CreateToolGroupInstanceParamsInner, type CreateToolGroupInstanceResponse, type CreateToolGroupInstanceResponses, type CreateTrustedRuntimeData, type CreateTrustedRuntimeError, type CreateTrustedRuntimeErrors, type CreateTrustedRuntimeInner, type CreateTrustedRuntimeResponse, type CreateTrustedRuntimeResponses, type CreateTrustedSkillProviderData, type CreateTrustedSkillProviderError, type CreateTrustedSkillProviderErrors, type CreateTrustedSkillProviderRequest, type CreateTrustedSkillProviderResponse, type CreateTrustedSkillProviderResponses, type CreateUiMessageRequest, type CreateUserCredentialData, type CreateUserCredentialParamsInner, type CreateUserCredentialResponse, type CreateUserCredentialResponses, type CreateWikiAssetBody, type CreateWikiAssetUploadData, type CreateWikiAssetUploadResponse, type CreateWikiAssetUploadResponses, type CreateWikiData, type CreateWikiInner, type CreateWikiPageData, type CreateWikiPageResponse, type CreateWikiPageResponses, type CreateWikiPageTypeData, type CreateWikiPageTypeResponse, type CreateWikiPageTypeResponses, type CreateWikiPageTypeVersionData, type CreateWikiPageTypeVersionErrors, type CreateWikiPageTypeVersionResponse, type CreateWikiPageTypeVersionResponses, type CreateWikiRelationshipTypeData, type CreateWikiRelationshipTypeResponse, type CreateWikiRelationshipTypeResponses, type CreateWikiRelationshipTypeVersionData, type CreateWikiRelationshipTypeVersionErrors, type CreateWikiRelationshipTypeVersionResponse, type CreateWikiRelationshipTypeVersionResponses, type CreateWikiResponse, type CreateWikiResponses, type CredentialGenericOauthCallbackData, type CredentialGenericOauthCallbackResponses, type CredentialSetupBinding, CredentialSetupCredentialKind, type CredentialSetupFormField, type CredentialSetupItem, type CredentialSetupItemPaginatedResponse, CredentialSetupItemStatus, type CredentialSetupNextAction, CredentialSetupSource, type CredentialSourceSerialized, CurrentSeatStatus, type CustomChatKitProvider, type CustomConnectionCredentials, type CustomConnectionInfo, type CustomConnectionInfoPaginatedResponse, type CustomConnectionWork, type CustomConnectionWorkPaginatedResponse, type CustomExternalIdentity, type CustomInboundMessage, type CustomIngressReceipt, type CustomProviderAuthMethod, type CustomProviderCapabilities, type CustomProviderField, type CustomProviderInvocation, type CustomProviderList, CustomProviderOperation, type CustomProviderRegistration, type CustomProviderRegistrationInput, type CustomProviderScope, type CustomReconciliation, type CustomRuntimeCommand, type CustomRuntimeResponse, type CustomSessionContext, type CustomSessionParticipant, type CustomSessionTool, type CustomSessionToolCatalog, type CustomSkillSpec, type CustomToolProviderDetails, type CustomToolProviderListItem, type CustomToolProviderListItemPaginatedResponse, type CustomToolProviderSerialized, type CustomVisibleMessage, type DataUiPart, type DebugAuthProfilesResponse, type DecideCapabilityChangeRequest, type DecideChatKitRoomInvitationRequestInner, type DelegateAgentJobRequestInner, type DeleteAttachmentData, type DeleteAttachmentError, type DeleteAttachmentErrors, type DeleteAttachmentResponse, type DeleteAttachmentResponses, type DeleteChatKitAgentTurnQueueItemResponse, type DeleteCustomToolProviderData, type DeleteCustomToolProviderResponses, type DeleteInboxResponse, type DeleteManagedUserCredentialData, type DeleteManagedUserCredentialResponses, type DeleteMcpServerInstanceData, type DeleteMcpServerInstanceError, type DeleteMcpServerInstanceErrors, type DeleteMcpServerInstanceResponses, type DeleteMemoryBankData, type DeleteMemoryBankResponses, type DeleteMemoryDocumentBody, type DeleteMemoryDocumentData, type DeleteMemoryDocumentResponses, type DeleteMessageData, type DeleteMessageError, type DeleteMessageErrors, type DeleteMessageResponse, type DeleteMessageResponse2, type DeleteMessageResponses, type DeleteOrganizationData, type DeleteOrganizationError, type DeleteOrganizationErrors, type DeleteOrganizationResponses, type DeleteOrgOidcProviderData, type DeleteOrgOidcProviderError, type DeleteOrgOidcProviderErrors, type DeleteOrgOidcProviderResponses, type DeletePersonalMcpServerInstanceData, type DeletePersonalMcpServerInstanceResponses, type DeletePersonalMemoryBankData, type DeletePersonalMemoryBankResponses, type DeletePersonalMemoryDocumentData, type DeletePersonalMemoryDocumentResponses, type DeletePersonalSkillData, type DeletePersonalSkillRegistryData, type DeletePersonalSkillRegistryResponses, type DeletePersonalSkillResponses, type DeletePersonalToolGroupInstanceData, type DeletePersonalToolGroupInstanceResponses, type DeletePersonalWikiData, type DeletePersonalWikiPageData, type DeletePersonalWikiPageResponses, type DeletePersonalWikiResponses, type DeleteProxiedMcpServerData, type DeleteProxiedMcpServerError, type DeleteProxiedMcpServerErrors, type DeleteProxiedMcpServerResponses, type DeleteResourceServerCredentialData, type DeleteResourceServerCredentialResponses, type DeleteRoutineResponse, type DeleteSelfAvatarData, type DeleteSelfAvatarError, type DeleteSelfAvatarErrors, type DeleteSelfAvatarResponses, type DeleteSignalResponse, type DeleteSkillData, type DeleteSkillError, type DeleteSkillErrors, type DeleteSkillRegistryData, type DeleteSkillRegistryError, type DeleteSkillRegistryErrors, type DeleteSkillRegistryResponses, type DeleteSkillResponses, type DeleteSynthesisMemoryDocumentBody, type DeleteSynthesisSessionMemoryData, type DeleteSynthesisSessionMemoryResponse, type DeleteSynthesisSessionMemoryResponses, type DeleteTeamData, type DeleteTeamError, type DeleteTeamErrors, type DeleteTeamGroupData, type DeleteTeamGroupError, type DeleteTeamGroupErrors, type DeleteTeamGroupResponses, type DeleteTeamResponses, type DeleteToolGroupInstanceData, type DeleteToolGroupInstanceError, type DeleteToolGroupInstanceErrors, type DeleteToolGroupInstanceResponses, type DeleteTrustedRuntimeData, type DeleteTrustedRuntimeError, type DeleteTrustedRuntimeErrors, type DeleteTrustedRuntimeResponses, type DeleteUserCredentialData, type DeleteUserCredentialResponses, type DeleteVerifiedIdentityLinkData, type DeleteVerifiedIdentityLinkError, type DeleteVerifiedIdentityLinkErrors, type DeleteVerifiedIdentityLinkResponse, type DeleteVerifiedIdentityLinkResponse2, type DeleteVerifiedIdentityLinkResponses, type DeleteWikiAssetData, type DeleteWikiAssetErrors, type DeleteWikiAssetResponses, type DeleteWikiData, type DeleteWikiPageData, type DeleteWikiPageErrors, type DeleteWikiPageRelationshipData, type DeleteWikiPageRelationshipResponses, type DeleteWikiPageResponses, type DeleteWikiPageTypeData, type DeleteWikiPageTypeErrors, type DeleteWikiPageTypeResponse, type DeleteWikiPageTypeResponses, type DeleteWikiPageTypeVersionData, type DeleteWikiPageTypeVersionErrors, type DeleteWikiPageTypeVersionResponse, type DeleteWikiPageTypeVersionResponses, type DeleteWikiRelationshipTypeData, type DeleteWikiRelationshipTypeErrors, type DeleteWikiRelationshipTypeResponses, type DeleteWikiResponses, type DeploymentEnvironmentFile, type DisableCustomToolProviderData, type DisableCustomToolProviderResponse, type DisableCustomToolProviderResponses, type DisableProxiedMcpServerData, type DisableProxiedMcpServerError, type DisableProxiedMcpServerErrors, type DisableProxiedMcpServerResponse, type DisableProxiedMcpServerResponses, type DisableToolData, type DisableToolError, type DisableToolErrors, type DisableToolResponse, type DisableToolResponses, type DownloadAttachmentContentData, type DownloadAttachmentContentError, type DownloadAttachmentContentErrors, type DownloadAttachmentContentResponse, type DownloadAttachmentContentResponses, type DownloadSkillPackageFileData, type DownloadSkillPackageFileError, type DownloadSkillPackageFileErrors, type DownloadSkillPackageFileRequest, type DownloadSkillPackageFileResponse, type DownloadSkillPackageFileResponses, type DownloadWikiAssetContentData, type DownloadWikiAssetContentErrors, type DownloadWikiAssetContentResponse, type DownloadWikiAssetContentResponses, type DownloadWikiAssetData, type DownloadWikiAssetResponse, type DownloadWikiAssetResponses, type EnableAndBindMcpServerResult, type EnableAndBindProviderToolsData, type EnableAndBindProviderToolsError, type EnableAndBindProviderToolsErrors, type EnableAndBindProviderToolsResponse, type EnableAndBindProviderToolsResponses, type EnableAndBindToolFailure, type EnableAndBindToolsBody, type EnableAndBindToolsResponse, type EnableCustomToolProviderData, type EnableCustomToolProviderResponse, type EnableCustomToolProviderResponses, type EnabledSkillsSpec, type EnableProxiedMcpServerData, type EnableProxiedMcpServerError, type EnableProxiedMcpServerErrors, type EnableProxiedMcpServerResponse, type EnableProxiedMcpServerResponses, type EnableToolData, type EnableToolError, type EnableToolErrors, type EnableToolInstanceParamsInner, type EnableToolResponse, type EnableToolResponses, type EncryptCredentialConfigurationParamsInner, type EncryptedTrustedRuntimePayload, type EncryptPersonalUserCredentialConfigurationData, type EncryptPersonalUserCredentialConfigurationResponses, type EncryptResourceServerConfigurationData, type EncryptResourceServerConfigurationResponses, type EncryptUserCredentialConfigurationData, type EncryptUserCredentialConfigurationResponses, EndpointType, type Error, type ExchangeOAuthCodeBody, type ExchangeOauthCodeData, type ExchangeOauthCodeErrors, type ExchangeOauthCodeResponse, type ExchangeOauthCodeResponses, type ExchangeOAuthCodeResult, type ExpectedRevisionBody, type ExpireTemporaryAccountsData, type ExpireTemporaryAccountsError, type ExpireTemporaryAccountsErrors, type ExpireTemporaryAccountsResponse, type ExpireTemporaryAccountsResponse2, type ExpireTemporaryAccountsResponses, type ExportMemoryBankTemplateData, type ExportMemoryBankTemplateResponse, type ExportMemoryBankTemplateResponses, type ExportPersonalMemoryBankTemplateData, type ExportPersonalMemoryBankTemplateResponse, type ExportPersonalMemoryBankTemplateResponses, type FileUiPart, type FinalizeHostedOpenbotReleaseData, type FinalizeHostedOpenbotReleaseError, type FinalizeHostedOpenbotReleaseErrors, type FinalizeHostedOpenbotReleaseResponse, type FinalizeHostedOpenbotReleaseResponses, type GenerateLocalRuntimeTunnelApiKeyData, type GenerateLocalRuntimeTunnelApiKeyError, type GenerateLocalRuntimeTunnelApiKeyErrors, type GenerateLocalRuntimeTunnelApiKeyResponse, type GenerateLocalRuntimeTunnelApiKeyResponse2, type GenerateLocalRuntimeTunnelApiKeyResponses, type GenerateTemporaryAccountClaimUrlData, type GenerateTemporaryAccountClaimUrlError, type GenerateTemporaryAccountClaimUrlErrors, type GenerateTemporaryAccountClaimUrlResponse, type GenerateTemporaryAccountClaimUrlResponse2, type GenerateTemporaryAccountClaimUrlResponses, type GetAttachmentDownloadUrlData, type GetAttachmentDownloadUrlError, type GetAttachmentDownloadUrlErrors, type GetAttachmentDownloadUrlResponse, type GetAttachmentDownloadUrlResponse2, type GetAttachmentDownloadUrlResponses, type GetCommonProviderInstallationData, type GetCommonProviderInstallationResponse, type GetCommonProviderInstallationResponses, type GetCredentialSetupItemData, type GetCredentialSetupItemResponse, type GetCredentialSetupItemResponses, type GetCustomToolProviderData, type GetCustomToolProviderResponse, type GetCustomToolProviderResponses, type GetHostedOpenbotBootstrapBundleData, type GetHostedOpenbotBootstrapBundleError, type GetHostedOpenbotBootstrapBundleErrors, type GetHostedOpenbotBootstrapBundleResponse, type GetHostedOpenbotBootstrapBundleResponses, type GetHostedOpenbotInstanceData, type GetHostedOpenbotInstanceError, type GetHostedOpenbotInstanceErrors, type GetHostedOpenbotInstanceResponse, type GetHostedOpenbotInstanceResponses, type GetHostedOpenbotReleaseData, type GetHostedOpenbotReleaseError, type GetHostedOpenbotReleaseErrors, type GetHostedOpenbotReleaseResponse, type GetHostedOpenbotReleaseResponses, type GetHumanApprovalActionData, type GetHumanApprovalActionError, type GetHumanApprovalActionErrors, type GetHumanApprovalActionResponse, type GetHumanApprovalActionResponses, type GetIdentityVerificationData, type GetIdentityVerificationError, type GetIdentityVerificationErrors, type GetIdentityVerificationResponse, type GetIdentityVerificationResponses, type GetLocalRuntimeTunnelApiKeyData, type GetLocalRuntimeTunnelApiKeyError, type GetLocalRuntimeTunnelApiKeyErrors, type GetLocalRuntimeTunnelApiKeyResponse, type GetLocalRuntimeTunnelApiKeyResponses, type GetLocalRuntimeTunnelConnectorData, type GetLocalRuntimeTunnelConnectorError, type GetLocalRuntimeTunnelConnectorErrors, type GetLocalRuntimeTunnelConnectorResponse, type GetLocalRuntimeTunnelConnectorResponses, type GetManagedUserCredentialSecretData, type GetManagedUserCredentialSecretResponse, type GetManagedUserCredentialSecretResponses, type GetMcpServerInstanceData, type GetMcpServerInstanceError, type GetMcpServerInstanceErrors, type GetMcpServerInstanceResponse, type GetMcpServerInstanceResponses, type GetMemoryBankConfigData, type GetMemoryBankConfigResponse, type GetMemoryBankConfigResponses, type GetMemoryBankData, type GetMemoryBankDocumentData, type GetMemoryBankDocumentResponse, type GetMemoryBankDocumentResponses, type GetMemoryBankResponse, type GetMemoryBankResponses, type GetMessageData, type GetMessageDeliveriesData, type GetMessageDeliveriesError, type GetMessageDeliveriesErrors, type GetMessageDeliveriesResponse, type GetMessageDeliveriesResponses, type GetMessageError, type GetMessageErrors, type GetMessageResponse, type GetMessageResponses, type GetOpenbotPluginsCatalogData, type GetOpenbotPluginsCatalogResponse, type GetOpenbotPluginsCatalogResponses, type GetOrganizationData, type GetOrganizationError, type GetOrganizationErrors, type GetOrganizationResponse, type GetOrganizationResponses, type GetOrgOidcProviderData, type GetOrgOidcProviderError, type GetOrgOidcProviderErrors, type GetOrgOidcProviderResponse, type GetOrgOidcProviderResponses, type GetPersonalMcpServerInstanceData, type GetPersonalMcpServerInstanceResponse, type GetPersonalMcpServerInstanceResponses, type GetPersonalMemoryBankConfigData, type GetPersonalMemoryBankConfigResponse, type GetPersonalMemoryBankConfigResponses, type GetPersonalMemoryBankData, type GetPersonalMemoryBankDocumentData, type GetPersonalMemoryBankDocumentResponse, type GetPersonalMemoryBankDocumentResponses, type GetPersonalMemoryBankResponse, type GetPersonalMemoryBankResponses, type GetPersonalSkillData, type GetPersonalSkillRegistryData, type GetPersonalSkillRegistryResponse, type GetPersonalSkillRegistryResponses, type GetPersonalSkillResponse, type GetPersonalSkillResponses, type GetPersonalToolGroupInstanceData, type GetPersonalToolGroupInstanceResponse, type GetPersonalToolGroupInstanceResponses, type GetPersonalWikiData, type GetPersonalWikiPageData, type GetPersonalWikiPageResponse, type GetPersonalWikiPageResponses, type GetPersonalWikiResponse, type GetPersonalWikiResponses, type GetProviderProvisioningHumanActionData, type GetProviderProvisioningHumanActionResponse, type GetProviderProvisioningHumanActionResponses, type GetProxiedMcpServerData, type GetProxiedMcpServerError, type GetProxiedMcpServerErrors, type GetProxiedMcpServerResponse, type GetProxiedMcpServerResponses, type GetProxiedSkillProviderData, type GetProxiedSkillProviderError, type GetProxiedSkillProviderErrors, type GetProxiedSkillProviderResponse, type GetProxiedSkillProviderResponses, type GetResourceServerCredentialData, type GetResourceServerCredentialResponse, type GetResourceServerCredentialResponses, type GetRuntimeConfigData, type GetRuntimeConfigResponse, type GetRuntimeConfigResponses, type GetSelfAvatarData, type GetSelfAvatarError, type GetSelfAvatarErrors, type GetSelfAvatarResponse, type GetSelfAvatarResponses, type GetSelfProfileData, type GetSelfProfileError, type GetSelfProfileErrors, type GetSelfProfileResponse, type GetSelfProfileResponses, type GetSessionEventHistoryData, type GetSessionEventHistoryError, type GetSessionEventHistoryErrors, type GetSessionEventHistoryResponse, type GetSessionEventHistoryResponses, type GetSkillData, type GetSkillError, type GetSkillErrors, type GetSkillPackageData, type GetSkillPackageError, type GetSkillPackageErrors, type GetSkillPackageResponse, type GetSkillPackageResponses, type GetSkillRegistryData, type GetSkillRegistryError, type GetSkillRegistryErrors, type GetSkillRegistryResponse, type GetSkillRegistryResponses, type GetSkillRegistrySkillByTitleData, type GetSkillRegistrySkillByTitleError, type GetSkillRegistrySkillByTitleErrors, type GetSkillRegistrySkillByTitleResponse, type GetSkillRegistrySkillByTitleResponses, type GetSkillRegistrySkillData, type GetSkillRegistrySkillDescriptionData, type GetSkillRegistrySkillDescriptionError, type GetSkillRegistrySkillDescriptionErrors, type GetSkillRegistrySkillDescriptionResponse, type GetSkillRegistrySkillDescriptionResponses, type GetSkillRegistrySkillError, type GetSkillRegistrySkillErrors, type GetSkillRegistrySkillResponse, type GetSkillRegistrySkillResponses, type GetSkillResponse, type GetSkillResponses, type GetTeamData, type GetTeamError, type GetTeamErrors, type GetTeamGroupData, type GetTeamGroupError, type GetTeamGroupErrors, type GetTeamGroupResponse, type GetTeamGroupResponses, type GetTeamResponse, type GetTeamResponses, type GetToolGroupInstanceData, type GetToolGroupInstanceError, type GetToolGroupInstanceErrors, type GetToolGroupInstanceResponse, type GetToolGroupInstanceResponses, type GetToolsOpenapiSpecData, type GetToolsOpenapiSpecError, type GetToolsOpenapiSpecErrors, type GetToolsOpenapiSpecResponse, type GetToolsOpenapiSpecResponses, type GetTrustedRuntimeData, type GetTrustedRuntimeError, type GetTrustedRuntimeErrors, type GetTrustedRuntimeResponse, type GetTrustedRuntimeResponses, type GetUserCredentialData, type GetUserCredentialResponse, type GetUserCredentialResponses, type GetWikiData, type GetWikiPageBacklinksData, type GetWikiPageBacklinksResponse, type GetWikiPageBacklinksResponses, type GetWikiPageData, type GetWikiPageNeighborhoodData, type GetWikiPageNeighborhoodResponse, type GetWikiPageNeighborhoodResponses, type GetWikiPageRelationshipData, type GetWikiPageRelationshipResponse, type GetWikiPageRelationshipResponses, type GetWikiPageResponse, type GetWikiPageResponses, type GetWikiPageTypeData, type GetWikiPageTypeResponse, type GetWikiPageTypeResponses, type GetWikiPageTypeVersionData, type GetWikiPageTypeVersionResponse, type GetWikiPageTypeVersionResponses, type GetWikiRelationshipTypeData, type GetWikiRelationshipTypeResponse, type GetWikiRelationshipTypeResponses, type GetWikiRelationshipTypeVersionData, type GetWikiRelationshipTypeVersionResponse, type GetWikiRelationshipTypeVersionResponses, type GetWikiResponse, type GetWikiResponses, type Goal, type GoalPaginatedResponse, GoalStatus, type GrepPersonalWikiPagesData, type GrepPersonalWikiPagesResponse, type GrepPersonalWikiPagesResponses, type GrepWikiPagesBody, type GrepWikiPagesData, type GrepWikiPagesResponse, type GrepWikiPagesResponse2, type GrepWikiPagesResponses, type Group, type GroupMembership, type GroupMemberWithUser, type GroupMemberWithUserPaginatedResponse, type HashedApiKey, type HealthCheckData, type HealthCheckError, type HealthCheckErrors, type HealthCheckResponse, type HealthCheckResponse2, type HealthCheckResponses, type HostedOpenBotBootstrapBundle, type HostedOpenBotDeployment, HostedOpenBotExeStep, type HostedOpenBotGitToken, type HostedOpenBotInstance, HostedOpenBotInstanceStatus, type HostedOpenBotRelease, type HostedOpenBotReleaseFile, HostedOpenBotReleaseService, HostedOpenBotReleaseStatus, HostedOpenBotTarget, type Human, type HumanApprovalAction, type HumanApprovalActionPayload, type HumanApprovalActionResponse, type HumanApprovalCompletion, HumanApprovalDecision, type HumanApprovalNote, type HydrateConvertedMessagesRequest, type HydrateConvertedMessagesResponse, type Identity, type IdentityLinkRoute, type IdentityVerification, type IdentityVerificationChallenge, IdentityVerificationMode, type ImportMemoryBankTemplateBody, type ImportMemoryBankTemplateData, type ImportMemoryBankTemplateResponse, type ImportMemoryBankTemplateResponse2, type ImportMemoryBankTemplateResponses, type ImportPersonalMemoryBankTemplateData, type ImportPersonalMemoryBankTemplateResponse, type ImportPersonalMemoryBankTemplateResponses, type ImportRunSummary, type ImportStateRequest, type ImportStateResponse, type Inbox, type InboxInstance, InboxInstanceTypingStatus, type InboxPaginatedResponse, InboxStatus, InboxType, type InboxWithLinkedInboxes, type InboxWithLinkedInboxesPaginatedResponse, type IngestSignalResponse, type InitiateIdentityVerificationData, type InitiateIdentityVerificationError, type InitiateIdentityVerificationErrors, type InitiateIdentityVerificationRequestInner, type InitiateIdentityVerificationResponse, type InitiateIdentityVerificationResponses, type InspectWikiAssetReferencesData, type InspectWikiAssetReferencesResponse, type InspectWikiAssetReferencesResponses, type InterruptChatKitSessionResponse, type InviteTeamUsersData, type InviteTeamUsersError, type InviteTeamUsersErrors, type InviteTeamUsersResponse, type InviteTeamUsersResponses, type InviteUserFailure, type InviteUserInput, type InviteUsersBody, type InviteUsersResponse, type InvokeCustomToolData, type InvokeCustomToolRequestInner, type InvokeCustomToolResponse, type InvokeCustomToolResponses, type InvokeError, type InvokeResult, type InvokeSessionProviderToolBody, type InvokeSessionProviderToolResponse, type InvokeToolData, type InvokeToolError, type InvokeToolErrors, type InvokeToolInstanceParamsInner, type InvokeToolResponse, type InvokeToolResponses, type IssueChatKitRealtimeSocketTicketRequest, type IssueHostedOpenbotGitTokenData, type IssueHostedOpenbotGitTokenError, type IssueHostedOpenbotGitTokenErrors, type IssueHostedOpenbotGitTokenResponse, type IssueHostedOpenbotGitTokenResponses, type IssueOpenbotChatkitRealtimeTicketData, type IssueOpenbotChatkitRealtimeTicketError, type IssueOpenbotChatkitRealtimeTicketErrors, type IssueOpenbotChatkitRealtimeTicketResponse, type IssueOpenbotChatkitRealtimeTicketResponses, type JsonEqualsPredicate, type JsonSchema, type Jwk, type JwksResponse, type LinkTeamIdentityData, type LinkTeamIdentityError, type LinkTeamIdentityErrors, type LinkTeamIdentityRequestInner, type LinkTeamIdentityResponse, type LinkTeamIdentityResponses, type ListApiKeysResponse, type ListAvailableToolGroupsData, type ListAvailableToolGroupsError, type ListAvailableToolGroupsErrors, type ListAvailableToolGroupsResponse, type ListAvailableToolGroupsResponses, type ListCommonProviderInstallationOwnershipGrantsData, type ListCommonProviderInstallationOwnershipGrantsResponse, type ListCommonProviderInstallationOwnershipGrantsResponses, type ListCommonProviderInstallationsData, type ListCommonProviderInstallationsResponse, type ListCommonProviderInstallationsResponses, type ListCommonProviderInstallationVisibilityGrantsData, type ListCommonProviderInstallationVisibilityGrantsResponse, type ListCommonProviderInstallationVisibilityGrantsResponses, type ListCredentialSetupItemsData, type ListCredentialSetupItemsResponse, type ListCredentialSetupItemsResponses, type ListCustomToolProvidersData, type ListCustomToolProvidersResponse, type ListCustomToolProvidersResponses, type ListInboxAgentsData, type ListInboxAgentsError, type ListInboxAgentsErrors, type ListInboxAgentsResponse, type ListInboxAgentsResponses, type ListInboxesData, type ListInboxesError, type ListInboxesErrors, type ListInboxesResponse, type ListInboxesResponses, type ListManagedUserCredentialsData, type ListManagedUserCredentialsResponse, type ListManagedUserCredentialsResponses, type ListMcpProviderCatalogData, type ListMcpProviderCatalogError, type ListMcpProviderCatalogErrors, type ListMcpProviderCatalogResponse, type ListMcpProviderCatalogResponse2, type ListMcpProviderCatalogResponses, type ListMcpResourceOwnershipGrantsData, type ListMcpResourceOwnershipGrantsResponse, type ListMcpResourceOwnershipGrantsResponses, type ListMcpResourceVisibilityGrantsData, type ListMcpResourceVisibilityGrantsResponse, type ListMcpResourceVisibilityGrantsResponses, type ListMcpServerInstancesData, type ListMcpServerInstancesError, type ListMcpServerInstancesErrors, type ListMcpServerInstancesResponse, type ListMcpServerInstancesResponses, type ListMemoryBankDocumentsData, type ListMemoryBankDocumentsResponse, type ListMemoryBankDocumentsResponses, type ListMemoryBankOwnershipGrantsData, type ListMemoryBankOwnershipGrantsResponse, type ListMemoryBankOwnershipGrantsResponses, type ListMemoryBanksData, type ListMemoryBankSourceBindingsData, type ListMemoryBankSourceBindingsResponse, type ListMemoryBankSourceBindingsResponses, type ListMemoryBanksResponse, type ListMemoryBanksResponses, type ListMemoryBankVisibilityGrantsData, type ListMemoryBankVisibilityGrantsResponse, type ListMemoryBankVisibilityGrantsResponses, type ListMemorySourceBindingsData, type ListMemorySourceBindingsResponse, type ListMemorySourceBindingsResponses, type ListMessagesData, type ListMessagesError, type ListMessagesErrors, type ListMessagesResponse, type ListMessagesResponses, type ListOpenbotDeploymentsData, type ListOpenbotDeploymentsError, type ListOpenbotDeploymentsErrors, type ListOpenbotDeploymentsResponse, type ListOpenBotDeploymentsResponse, type ListOpenbotDeploymentsResponses, type ListOrganizationMembersData, type ListOrganizationMembersError, type ListOrganizationMembersErrors, type ListOrganizationMembersResponse, type ListOrganizationMembersResponses, type ListOrganizationsData, type ListOrganizationsError, type ListOrganizationsErrors, type ListOrganizationsResponses, type ListOrganizationTeamGroupsData, type ListOrganizationTeamGroupsResponse, type ListOrganizationTeamGroupsResponses, type ListOrgOidcProvidersData, type ListOrgOidcProvidersError, type ListOrgOidcProvidersErrors, type ListOrgOidcProvidersResponse, type ListOrgOidcProvidersResponses, type ListPersonalMcpServerInstancesData, type ListPersonalMcpServerInstancesError, type ListPersonalMcpServerInstancesErrors, type ListPersonalMcpServerInstancesResponse, type ListPersonalMcpServerInstancesResponses, type ListPersonalMemoryBankDocumentsData, type ListPersonalMemoryBankDocumentsResponse, type ListPersonalMemoryBankDocumentsResponses, type ListPersonalMemoryBankOwnershipGrantsData, type ListPersonalMemoryBankOwnershipGrantsResponse, type ListPersonalMemoryBankOwnershipGrantsResponses, type ListPersonalMemoryBanksData, type ListPersonalMemoryBankSourceBindingsData, type ListPersonalMemoryBankSourceBindingsResponse, type ListPersonalMemoryBankSourceBindingsResponses, type ListPersonalMemoryBanksResponse, type ListPersonalMemoryBanksResponses, type ListPersonalMemoryBankVisibilityGrantsData, type ListPersonalMemoryBankVisibilityGrantsResponse, type ListPersonalMemoryBankVisibilityGrantsResponses, type ListPersonalMemorySourceBindingsData, type ListPersonalMemorySourceBindingsResponse, type ListPersonalMemorySourceBindingsResponses, type ListPersonalRegistryOwnershipGrantsData, type ListPersonalRegistryOwnershipGrantsResponse, type ListPersonalRegistryOwnershipGrantsResponses, type ListPersonalRegistryVisibilityGrantsData, type ListPersonalRegistryVisibilityGrantsResponse, type ListPersonalRegistryVisibilityGrantsResponses, type ListPersonalRscOwnershipGrantsData, type ListPersonalRscOwnershipGrantsResponse, type ListPersonalRscOwnershipGrantsResponses, type ListPersonalRscVisibilityGrantsData, type ListPersonalRscVisibilityGrantsResponse, type ListPersonalRscVisibilityGrantsResponses, type ListPersonalSkillOwnershipGrantsData, type ListPersonalSkillOwnershipGrantsResponse, type ListPersonalSkillOwnershipGrantsResponses, type ListPersonalSkillRegistriesData, type ListPersonalSkillRegistriesResponse, type ListPersonalSkillRegistriesResponses, type ListPersonalSkillsData, type ListPersonalSkillsResponse, type ListPersonalSkillsResponses, type ListPersonalSkillVisibilityGrantsData, type ListPersonalSkillVisibilityGrantsResponse, type ListPersonalSkillVisibilityGrantsResponses, type ListPersonalToolGroupInstancesData, type ListPersonalToolGroupInstancesError, type ListPersonalToolGroupInstancesErrors, type ListPersonalToolGroupInstancesResponse, type ListPersonalToolGroupInstancesResponses, type ListPersonalUcOwnershipGrantsData, type ListPersonalUcOwnershipGrantsResponse, type ListPersonalUcOwnershipGrantsResponses, type ListPersonalUcVisibilityGrantsData, type ListPersonalUcVisibilityGrantsResponse, type ListPersonalUcVisibilityGrantsResponses, type ListPersonalWikiOwnershipGrantsData, type ListPersonalWikiOwnershipGrantsResponse, type ListPersonalWikiOwnershipGrantsResponses, type ListPersonalWikiPagesData, type ListPersonalWikiPagesResponse, type ListPersonalWikiPagesResponses, type ListPersonalWikisData, type ListPersonalWikisResponse, type ListPersonalWikisResponses, type ListPersonalWikiVisibilityGrantsData, type ListPersonalWikiVisibilityGrantsResponse, type ListPersonalWikiVisibilityGrantsResponses, type ListProviderProvisionerCatalogData, type ListProviderProvisionerCatalogResponse, type ListProviderProvisionerCatalogResponses, type ListProviderSetupCatalogResponse, type ListProxiedMcpServersData, type ListProxiedMcpServersError, type ListProxiedMcpServersErrors, type ListProxiedMcpServersResponse, type ListProxiedMcpServersResponses, type ListProxiedSkillProvidersData, type ListProxiedSkillProvidersResponse, type ListProxiedSkillProvidersResponse2, type ListProxiedSkillProvidersResponses, type ListPublicAvailableToolGroupsData, type ListPublicAvailableToolGroupsError, type ListPublicAvailableToolGroupsErrors, type ListPublicAvailableToolGroupsResponse, type ListPublicAvailableToolGroupsResponses, type ListResourceServerCredentialsData, type ListResourceServerCredentialsResponse, type ListResourceServerCredentialsResponses, type ListReverseProxyProvidersResponse, type ListRscOwnershipGrantsData, type ListRscOwnershipGrantsResponse, type ListRscOwnershipGrantsResponses, type ListRscVisibilityGrantsData, type ListRscVisibilityGrantsResponse, type ListRscVisibilityGrantsResponses, type ListSessionInboxInstancesData, type ListSessionInboxInstancesError, type ListSessionInboxInstancesErrors, type ListSessionInboxInstancesResponse, type ListSessionInboxInstancesResponses, type ListSessionResourceGrantsData, type ListSessionResourceGrantsError, type ListSessionResourceGrantsErrors, type ListSessionResourceGrantsResponse, type ListSessionResourceGrantsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListSessionUserMembersData, type ListSessionUserMembersError, type ListSessionUserMembersErrors, type ListSessionUserMembersResponse, type ListSessionUserMembersResponses, type ListSignalProviderGrantsData, type ListSignalProviderGrantsResponse, type ListSignalProviderGrantsResponses, type ListSkillOwnershipGrantsData, type ListSkillOwnershipGrantsResponse, type ListSkillOwnershipGrantsResponses, type ListSkillRegistriesData, type ListSkillRegistriesError, type ListSkillRegistriesErrors, type ListSkillRegistriesResponse, type ListSkillRegistriesResponses, type ListSkillRegistryOwnershipGrantsData, type ListSkillRegistryOwnershipGrantsResponse, type ListSkillRegistryOwnershipGrantsResponses, type ListSkillRegistrySkillSummariesData, type ListSkillRegistrySkillSummariesError, type ListSkillRegistrySkillSummariesErrors, type ListSkillRegistrySkillSummariesResponse, type ListSkillRegistrySkillSummariesResponses, type ListSkillRegistryVisibilityGrantsData, type ListSkillRegistryVisibilityGrantsResponse, type ListSkillRegistryVisibilityGrantsResponses, type ListSkillsData, type ListSkillsError, type ListSkillsErrors, type ListSkillsResponse, type ListSkillsResponses, type ListSkillVisibilityGrantsData, type ListSkillVisibilityGrantsResponse, type ListSkillVisibilityGrantsResponses, type ListTeamGroupMembersData, type ListTeamGroupMembersResponse, type ListTeamGroupMembersResponses, type ListTeamGroupsData, type ListTeamGroupsResponse, type ListTeamGroupsResponses, type ListTeamInvitationsData, type ListTeamInvitationsResponse, type ListTeamInvitationsResponses, type ListTeamMembersData, type ListTeamMembersError, type ListTeamMembersErrors, type ListTeamMembersResponse, type ListTeamMembersResponses, type ListTeamsData, type ListTeamsError, type ListTeamsErrors, type ListTeamsResponse, type ListTeamsResponses, type ListToolDeploymentsByAliasData, type ListToolDeploymentsByAliasError, type ListToolDeploymentsByAliasErrors, type ListToolDeploymentsByAliasResponse, type ListToolDeploymentsByAliasResponses, type ListToolGroupInstancesData, type ListToolGroupInstancesError, type ListToolGroupInstancesErrors, type ListToolGroupInstancesGroupedByToolData, type ListToolGroupInstancesGroupedByToolError, type ListToolGroupInstancesGroupedByToolErrors, type ListToolGroupInstancesGroupedByToolResponse, type ListToolGroupInstancesGroupedByToolResponses, type ListToolGroupInstancesResponse, type ListToolGroupInstancesResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTrustedRuntimesData, type ListTrustedRuntimesError, type ListTrustedRuntimesErrors, type ListTrustedRuntimesResponse, type ListTrustedRuntimesResponses, type ListUcOwnershipGrantsData, type ListUcOwnershipGrantsResponse, type ListUcOwnershipGrantsResponses, type ListUcVisibilityGrantsData, type ListUcVisibilityGrantsResponse, type ListUcVisibilityGrantsResponses, type ListUserCredentialsData, type ListUserCredentialsResponse, type ListUserCredentialsResponses, type ListVerifiedIdentityLinksData, type ListVerifiedIdentityLinksError, type ListVerifiedIdentityLinksErrors, type ListVerifiedIdentityLinksResponse, type ListVerifiedIdentityLinksResponse2, type ListVerifiedIdentityLinksResponses, type ListVisibleMemoryBanksData, type ListVisibleMemoryBanksResponse, type ListVisibleMemoryBanksResponses, type ListWikiAssetsData, type ListWikiAssetsResponse, type ListWikiAssetsResponses, type ListWikiOntologyInstallationsData, type ListWikiOntologyInstallationsResponse, type ListWikiOntologyInstallationsResponses, type ListWikiOntologyTemplatesData, type ListWikiOntologyTemplatesResponse, type ListWikiOntologyTemplatesResponses, type ListWikiOwnershipGrantsData, type ListWikiOwnershipGrantsResponse, type ListWikiOwnershipGrantsResponses, type ListWikiPageAssetsData, type ListWikiPageAssetsResponse, type ListWikiPageAssetsResponses, type ListWikiPageRelationshipsData, type ListWikiPageRelationshipsResponse, type ListWikiPageRelationshipsResponses, type ListWikiPageRevisionsData, type ListWikiPageRevisionsResponse, type ListWikiPageRevisionsResponses, type ListWikiPagesData, type ListWikiPagesResponse, type ListWikiPagesResponses, type ListWikiPageTypesData, type ListWikiPageTypesResponse, type ListWikiPageTypesResponses, type ListWikiPageTypeVersionsData, type ListWikiPageTypeVersionsResponse, type ListWikiPageTypeVersionsResponses, type ListWikiRelationshipTypesData, type ListWikiRelationshipTypesResponse, type ListWikiRelationshipTypesResponses, type ListWikiRelationshipTypeVersionsData, type ListWikiRelationshipTypeVersionsResponse, type ListWikiRelationshipTypeVersionsResponses, type ListWikisData, type ListWikisResponse, type ListWikisResponses, type ListWikiVisibilityGrantsData, type ListWikiVisibilityGrantsResponse, type ListWikiVisibilityGrantsResponses, type LocalRuntimeTunnelApiKey, type LocalRuntimeTunnelConnector, type LoginProviderResolution, type ManagedSkillSelection, type ManagedUserCredentialSecretResponse, type ManagedUserCredentialSummary, type ManagedUserCredentialSummaryPaginatedResponse, type ManagedUserCredentialSummaryValue, type McpPlaygroundAiSdkChatMessage, type McpPlaygroundAiSdkChatMessagePart, type McpPlaygroundAiSdkChatRequest, type McpProtocolDeleteData, type McpProtocolDeleteError, type McpProtocolDeleteErrors, type McpProtocolDeleteResponses, type McpProtocolGetData, type McpProtocolGetError, type McpProtocolGetErrors, type McpProtocolGetResponses, type McpProtocolPostData, type McpProtocolPostError, type McpProtocolPostErrors, type McpProtocolPostResponses, McpProviderCatalogConnectionMethod, type McpProviderCatalogEntry, type McpProviderCatalogTool, type McpServerInstanceSerializedWithFunctions, type McpServerInstanceSerializedWithFunctionsPaginatedResponse, type McpServerInstanceToolSerialized, type McpServerPlaygroundChatData, type McpServerPlaygroundChatError, type McpServerPlaygroundChatErrors, type McpServerPlaygroundChatResponses, type McpServerSpec, type MemoryActorContext, type MemoryBank, type MemoryBankConfig, type MemoryBankDocumentList, type MemoryBankHealth, type MemoryBankPaginatedResponse, type MemoryBankSpec, MemoryBankStatus, type MemoryBankTemplate, type MemoryDocument, type MemoryDocumentAuthorship, MemoryDocumentOrigin, type MemoryDocumentProvenance, type MemoryDocumentRelations, type MemoryOperationResponse, MemoryProvider, type MemoryProviderDocumentState, type MemorySourceBinding, MemorySourceKind, type MemorySourceProvenance, type MemorySpec, type MemorySynthesisMutationBinding, MemorySynthesisOutcome, MemoryType, type Message, type MessageActorContext, type MessageDeliveryReceipt, MessageFormat, type MessageFormatConfig, type MessagePaginatedResponse, MessageRole, type Metadata, type MigrateWikiPageBody, type MigrateWikiPageTypeData, type MigrateWikiPageTypeErrors, type MigrateWikiPageTypeResponse, type MigrateWikiPageTypeResponses, type MoveWikiPageBody, type MoveWikiPageData, type MoveWikiPageErrors, type MoveWikiPageResponse, type MoveWikiPageResponses, type ObserveSessionData, type ObserveSessionError, type ObserveSessionErrors, type ObserveSessionResponses, type OntologyPageTypeDefinition, type OntologyRelationshipTypeDefinition, type OpenBotAgentSkillInput, type OpenBotDeployment, type OpenBotPluginsCatalogResponse, type Organization, type OrganizationAiCreditContext, type OrganizationMemberWithUser, type OrganizationMemberWithUserPaginatedResponse, type OrgOidcProvider, type OrgOidcProviderPaginatedResponse, OrgOidcProviderStatus, type PageRelationshipView, type PageTypeMigrationIssue, type PageTypeMigrationPreview, type PageTypeValidationResult, PartState, type PersonalMcpProtocolDeleteData, type PersonalMcpProtocolDeleteResponses, type PersonalMcpProtocolGetData, type PersonalMcpProtocolGetResponses, type PersonalMcpProtocolPostData, type PersonalMcpProtocolPostResponses, type PersonalMcpServerInstanceSerialized, type PersonalSkill, type PersonalSkillRegistry, type PersonalToolGroupInstanceSerialized, type PlanStateRequest, type PlatformChannelAddress, type PreviewWikiPageTypeMigrationData, type PreviewWikiPageTypeMigrationErrors, type PreviewWikiPageTypeMigrationResponse, type PreviewWikiPageTypeMigrationResponses, type ProductBillingContext, ProductSubscriptionStatus, type ProposalCredentialRequirement, type ProposalPermissionChange, type ProviderAppProvisioningResponse, type ProviderAuthAccountNameDisplay, type ProviderAuthAdapterApiKey, type ProviderAuthAdapterConfig, type ProviderAuthAdapterCustom, type ProviderAuthAdapterCustomJsonSchema, type ProviderAuthAdapterNoAuth, type ProviderAuthAdapterOauthApp, type ProviderAuthAdapterOauthJwtBearer, type ProviderAuthAdapterServerTokenExchange, type ProviderAuthAdapterTildeManagedOauth, type ProviderAuthFieldDisplay, ProviderDeliveryStatus, type ProviderProvisionerConfigField, type ProviderProvisionerCredentialRequirement, type ProviderProvisionerForm, type ProviderProvisionerInstructions, ProviderProvisionerSetupKind, type ProviderProvisioningCallbackData, type ProviderProvisioningCallbackResponse, type ProviderProvisioningCallbackResponses, type ProviderProvisioningHumanAction, type ProviderProvisioningInput, type ProviderProvisioningNextAction, type ProviderSetupAuthMethod, type ProviderSetupCatalogData, type ProviderSetupCatalogResponse, type ProviderSetupCatalogResponses, type ProviderSetupDescriptor, type ProviderSetupField, type ProviderSetupNextAction, type ProviderSetupOption, type ProviderSetupResponse, type ProviderSetupResumeData, type ProviderSetupResumeResponse, type ProviderSetupResumeResponses, type ProviderSetupStartData, type ProviderSetupStartResponse, type ProviderSetupStartResponses, type ProvisionAgentRequest, type ProvisionedProviderApp, type ProvisionedResource, ProvisionerCredentialKind, ProxiedMcpApiKeyLocation, ProxiedMcpAuthMode, type ProxiedMcpServerDetails, type ProxiedMcpServerListItem, type ProxiedMcpServerListItemPaginatedResponse, type ProxiedMcpServerSerialized, type ProxiedSkill, type ProxiedSkillProvider, type ProxyCredentialTemplate, type PutRoutineBody, type ReasoningUiPart, type RecallChatKitAutomaticMemoryBody, type RecallMemoryBody, type RecallMemoryData, type RecallMemoryResponse, type RecallMemoryResponses, type RecallPersonalMemoryData, type RecallPersonalMemoryResponse, type RecallPersonalMemoryResponses, type RecallSynthesisSessionMemoryData, type RecallSynthesisSessionMemoryResponse, type RecallSynthesisSessionMemoryResponses, type ReconcileOpenBotAgentBundleBody, type ReconcileOpenbotAgentBundleData, type ReconcileOpenbotAgentBundleResponse, type ReconcileOpenBotAgentBundleResponse, type ReconcileOpenbotAgentBundleResponses, type RecordAgentRunEffectInner, type RedirectTemporaryAccountClaimPageData, type ReflectMemoryBody, type ReflectMemoryData, type ReflectMemoryResponse, type ReflectMemoryResponses, type ReflectPersonalMemoryData, type ReflectPersonalMemoryResponse, type ReflectPersonalMemoryResponses, type RefreshCustomToolProviderData, type RefreshCustomToolProviderResponse, type RefreshCustomToolProviderResponse2, type RefreshCustomToolProviderResponses, type RefreshProxiedMcpServerData, type RefreshProxiedMcpServerError, type RefreshProxiedMcpServerErrors, type RefreshProxiedMcpServerResponse, type RefreshProxiedMcpServerResponses, type RefreshTokenRequest, type RegisterAgentTool, type RegisterAgentToolsRequestInner, type RegisterChatKitChatProviderRequestInner, type RegisterChatKitChatProviderResponse, type RegisterHttpVercelAiSdkAgentRequestInner, type RegisterHttpVercelAiSdkAgentResponse, type RegisterInboxInstanceRequest, type RegisterOauthClientData, type RegisterOauthClientError, type RegisterOauthClientErrors, type RegisterOAuthClientRequest, type RegisterOauthClientResponse, type RegisterOAuthClientResponse, type RegisterOauthClientResponses, type RegisterOpenbotDeploymentData, type RegisterOpenbotDeploymentError, type RegisterOpenbotDeploymentErrors, type RegisterOpenBotDeploymentRequest, type RegisterOpenbotDeploymentResponse, type RegisterOpenbotDeploymentResponses, type RegisterTeamOauthClientData, type RegisterTeamOauthClientError, type RegisterTeamOauthClientErrors, type RegisterTeamOauthClientResponse, type RegisterTeamOauthClientResponses, type RegisterVercelUiChatProviderRequestInner, RelationshipDirectionality, type ReleaseAiCreditReservationBody, type RemoveChatKitParticipantResponse, type RemoveCommonProviderInstallationOwnershipGrantData, type RemoveCommonProviderInstallationOwnershipGrantResponses, type RemoveCommonProviderInstallationVisibilityGrantData, type RemoveCommonProviderInstallationVisibilityGrantResponses, type RemoveMcpResourceOwnershipGrantData, type RemoveMcpResourceOwnershipGrantResponses, type RemoveMcpResourceVisibilityGrantData, type RemoveMcpResourceVisibilityGrantResponses, type RemoveMcpServerInstanceFunctionData, type RemoveMcpServerInstanceFunctionError, type RemoveMcpServerInstanceFunctionErrors, type RemoveMcpServerInstanceFunctionResponse, type RemoveMcpServerInstanceFunctionResponses, type RemoveMemoryBankOwnershipGrantData, type RemoveMemoryBankOwnershipGrantResponses, type RemoveMemoryBankVisibilityGrantData, type RemoveMemoryBankVisibilityGrantResponses, type RemoveOrganizationMemberData, type RemoveOrganizationMemberError, type RemoveOrganizationMemberErrors, type RemoveOrganizationMemberResponses, type RemovePersonalMemoryBankOwnershipGrantData, type RemovePersonalMemoryBankOwnershipGrantResponses, type RemovePersonalMemoryBankVisibilityGrantData, type RemovePersonalMemoryBankVisibilityGrantResponses, type RemovePersonalRegistryOwnershipGrantData, type RemovePersonalRegistryOwnershipGrantResponses, type RemovePersonalRegistryVisibilityGrantData, type RemovePersonalRegistryVisibilityGrantResponses, type RemovePersonalRscOwnershipGrantData, type RemovePersonalRscOwnershipGrantResponses, type RemovePersonalRscVisibilityGrantData, type RemovePersonalRscVisibilityGrantResponses, type RemovePersonalSkillOwnershipGrantData, type RemovePersonalSkillOwnershipGrantResponses, type RemovePersonalSkillVisibilityGrantData, type RemovePersonalSkillVisibilityGrantResponses, type RemovePersonalUcOwnershipGrantData, type RemovePersonalUcOwnershipGrantResponses, type RemovePersonalUcVisibilityGrantData, type RemovePersonalUcVisibilityGrantResponses, type RemovePersonalWikiOwnershipGrantData, type RemovePersonalWikiOwnershipGrantResponses, type RemovePersonalWikiVisibilityGrantData, type RemovePersonalWikiVisibilityGrantResponses, type RemoveRscOwnershipGrantData, type RemoveRscOwnershipGrantResponses, type RemoveRscVisibilityGrantData, type RemoveRscVisibilityGrantResponses, type RemoveSessionResourceGrantData, type RemoveSessionResourceGrantError, type RemoveSessionResourceGrantErrors, type RemoveSessionResourceGrantResponse, type RemoveSessionResourceGrantResponses, type RemoveSessionUserMemberData, type RemoveSessionUserMemberError, type RemoveSessionUserMemberErrors, type RemoveSessionUserMemberResponse, type RemoveSessionUserMemberResponse2, type RemoveSessionUserMemberResponses, type RemoveSignalProviderGrantData, type RemoveSignalProviderGrantResponses, type RemoveSkillOwnershipGrantData, type RemoveSkillOwnershipGrantResponses, type RemoveSkillRegistryOwnershipGrantData, type RemoveSkillRegistryOwnershipGrantResponses, type RemoveSkillRegistryVisibilityGrantData, type RemoveSkillRegistryVisibilityGrantResponses, type RemoveSkillVisibilityGrantData, type RemoveSkillVisibilityGrantResponses, type RemoveTeamGroupMemberData, type RemoveTeamGroupMemberResponses, type RemoveTeamMemberData, type RemoveTeamMemberError, type RemoveTeamMemberErrors, type RemoveTeamMemberResponses, type RemoveUcOwnershipGrantData, type RemoveUcOwnershipGrantResponses, type RemoveUcVisibilityGrantData, type RemoveUcVisibilityGrantResponses, type RemoveWikiOwnershipGrantData, type RemoveWikiOwnershipGrantResponses, type RemoveWikiVisibilityGrantData, type RemoveWikiVisibilityGrantResponses, type RenameChatKitWorkspaceThreadRequestInner, type ReorderChatKitAgentTurnQueueItemRequestInner, type ReplaceMemoryBankBindingsBody, type ReplaceMemorySourceBindingsData, type ReplaceMemorySourceBindingsResponse, type ReplaceMemorySourceBindingsResponses, type ReplacePersonalMemorySourceBindingsData, type ReplacePersonalMemorySourceBindingsResponse, type ReplacePersonalMemorySourceBindingsResponses, type ReportChatKitCompactionEventInner, type ReportChatKitCompactionEventResponse, type ReportedAgentTool, type ReportToolExecutionRequestInner, type ReserveAiCreditsBody, type ResetMemoryBankConfigData, type ResetMemoryBankConfigResponse, type ResetMemoryBankConfigResponses, type ResetPersonalMemoryBankConfigData, type ResetPersonalMemoryBankConfigResponse, type ResetPersonalMemoryBankConfigResponses, type ResolveLoginProviderResponse, type ResolveStateSourceRequest, type ResolveStateSourceResponse, ResourceAccessMode, ResourceAction, type ResourceApplyOutput, type ResourceAuthorization, type ResourceAuthorizationModes, type ResourceGrant, ResourceGrantPlane, type ResourceGrantRequest, type ResourceOwnership, type ResourcePlanItem, ResourcePrincipalType, ResourceServerCredentialPurpose, type ResourceServerCredentialSerialized, type ResourceServerCredentialSerializedPaginatedResponse, type ResumeAgentJobRequestInner, type ResumeCredentialSetupItemBody, type ResumeCredentialSetupItemData, type ResumeCredentialSetupItemResponse, type ResumeCredentialSetupItemResponses, type ResumeProviderAppProvisioningBody, type ResumeProviderAppProvisioningData, type ResumeProviderAppProvisioningResponse, type ResumeProviderAppProvisioningResponses, type ResumeProviderSetupBody, type ResumeUserCredentialBrokeringData, type ResumeUserCredentialBrokeringParams, type ResumeUserCredentialBrokeringResponse, type ResumeUserCredentialBrokeringResponses, type RetainMemoryBody, type RetainMemoryDocumentData, type RetainMemoryDocumentResponse, type RetainMemoryDocumentResponses, type RetainPersonalMemoryDocumentData, type RetainPersonalMemoryDocumentResponse, type RetainPersonalMemoryDocumentResponses, type RetainSynthesisSessionMemoryData, type RetainSynthesisSessionMemoryResponse, type RetainSynthesisSessionMemoryResponses, type RetryConnectionWork, type RetryMemorySourceBody, type RetryMemorySourceSyncData, type RetryMemorySourceSyncResponse, type RetryMemorySourceSyncResponses, type RetryPersonalMemorySourceBindingsData, type RetryPersonalMemorySourceBindingsResponse, type RetryPersonalMemorySourceBindingsResponses, type RetryWikiData, type RetryWikiResponse, type RetryWikiResponses, type ReturnAddress, type ReturnAddressUrl, type ReverseProxyAddProfileOwnershipGrantData, type ReverseProxyAddProfileOwnershipGrantResponse, type ReverseProxyAddProfileOwnershipGrantResponses, type ReverseProxyAddProfileVisibilityGrantData, type ReverseProxyAddProfileVisibilityGrantResponse, type ReverseProxyAddProfileVisibilityGrantResponses, type ReverseProxyCreateProfileData, type ReverseProxyCreateProfileError, type ReverseProxyCreateProfileErrors, type ReverseProxyCreateProfileResponse, type ReverseProxyCreateProfileResponses, type ReverseProxyDeleteProfileData, type ReverseProxyDeleteProfileError, type ReverseProxyDeleteProfileErrors, type ReverseProxyDeleteProfileResponses, type ReverseProxyGetProfileData, type ReverseProxyGetProfileError, type ReverseProxyGetProfileErrors, type ReverseProxyGetProfileResponse, type ReverseProxyGetProfileResponses, type ReverseProxyListProfileOwnershipGrantsData, type ReverseProxyListProfileOwnershipGrantsResponse, type ReverseProxyListProfileOwnershipGrantsResponses, type ReverseProxyListProfilesData, type ReverseProxyListProfilesError, type ReverseProxyListProfilesErrors, type ReverseProxyListProfilesResponse, type ReverseProxyListProfilesResponses, type ReverseProxyListProfileVisibilityGrantsData, type ReverseProxyListProfileVisibilityGrantsResponse, type ReverseProxyListProfileVisibilityGrantsResponses, type ReverseProxyListProvidersData, type ReverseProxyListProvidersResponse, type ReverseProxyListProvidersResponses, type ReverseProxyProfile, type ReverseProxyProfilePaginatedResponse, type ReverseProxyProviderInfo, type ReverseProxyProxyGetData, type ReverseProxyProxyGetResponses, type ReverseProxyProxyPostData, type ReverseProxyProxyPostResponses, type ReverseProxyRemoveProfileOwnershipGrantData, type ReverseProxyRemoveProfileOwnershipGrantResponses, type ReverseProxyRemoveProfileVisibilityGrantData, type ReverseProxyRemoveProfileVisibilityGrantResponses, type ReverseProxySetProfileOwnershipData, type ReverseProxySetProfileOwnershipResponse, type ReverseProxySetProfileOwnershipResponses, type ReverseProxySetProfileVisibilityData, type ReverseProxySetProfileVisibilityResponse, type ReverseProxySetProfileVisibilityResponses, type ReverseProxyUpdateProfileData, type ReverseProxyUpdateProfileError, type ReverseProxyUpdateProfileErrors, type ReverseProxyUpdateProfileResponse, type ReverseProxyUpdateProfileResponses, type RevokeLocalRuntimeTunnelApiKeyData, type RevokeLocalRuntimeTunnelApiKeyError, type RevokeLocalRuntimeTunnelApiKeyErrors, type RevokeLocalRuntimeTunnelApiKeyResponse, type RevokeLocalRuntimeTunnelApiKeyResponses, type RevokeTeamInvitationData, type RevokeTeamInvitationResponses, type RotateCustomToolProviderSigningKeyData, type RotateCustomToolProviderSigningKeyResponse, type RotateCustomToolProviderSigningKeyResponse2, type RotateCustomToolProviderSigningKeyResponses, type RouteAuthCallbackData, type RouteAuthCallbackError, type RouteAuthCallbackErrors, type RouteCreateApiKeyData, type RouteCreateApiKeyError, type RouteCreateApiKeyErrors, type RouteCreateApiKeyResponse, type RouteCreateApiKeyResponses, type RouteDeleteApiKeyData, type RouteDeleteApiKeyError, type RouteDeleteApiKeyErrors, type RouteDeleteApiKeyResponse, type RouteDeleteApiKeyResponses, type RouteGetJwksData, type RouteGetJwksError, type RouteGetJwksErrors, type RouteGetJwksResponse, type RouteGetJwksResponses, type RouteListApiKeysData, type RouteListApiKeysError, type RouteListApiKeysErrors, type RouteListApiKeysResponse, type RouteListApiKeysResponses, type RouteListDebugAuthProfilesData, type RouteListDebugAuthProfilesError, type RouteListDebugAuthProfilesErrors, type RouteListDebugAuthProfilesResponse, type RouteListDebugAuthProfilesResponses, type RouteLogoutData, type RouteRefreshTokenData, type RouteRefreshTokenError, type RouteRefreshTokenErrors, type RouteRefreshTokenResponse, type RouteRefreshTokenResponses, type RouteResolveLoginProviderData, type RouteResolveLoginProviderError, type RouteResolveLoginProviderErrors, type RouteResolveLoginProviderResponse, type RouteResolveLoginProviderResponses, type RouteSelectDebugAuthProfileData, type RouteSelectDebugAuthProfileError, type RouteSelectDebugAuthProfileErrors, type RouteSelectDebugAuthProfileResponse, type RouteSelectDebugAuthProfileResponses, type RouteStartAuthorizationData, type RouteStartAuthorizationError, type RouteStartAuthorizationErrors, type Routine, RoutineEventInstructionPolicy, type RoutineExecution, type RoutineExecutionPaginatedResponse, type RoutinePaginatedResponse, type RoutineTrigger, type RoutineTriggerInput, type RoutineTriggerSpec, type RunRoutineBody, type RunRoutineResponse, type RuntimeConfig, type SearchSkillRegistryData, type SearchSkillRegistryError, type SearchSkillRegistryErrors, type SearchSkillRegistryResponse, type SearchSkillRegistryResponses, type SelectDebugAuthProfileRequest, SelfExtensionCategory, type SelfExtensionPreview, type SelfExtensionProposal, type SelfExtensionProposalOutputs, type SelfExtensionResource, SelfExtensionStatus, type SelfProfileAvatarResponse, type SelfProfileResponse, type SelfProfileUser, type SendChatKitWorkspaceMessageRequestInner, type SendSessionMessageBody, type SendSessionMessageInput, type SendSessionMessageResponse, type Session, type SessionCorrelation, type SessionPaginatedResponse, type SessionParticipantIdentity, SessionPurpose, type SessionUserMembership, SessionUserRole, type SetChatKitResourceStatusRequest, type SetCommonProviderInstallationOwnershipData, type SetCommonProviderInstallationOwnershipResponse, type SetCommonProviderInstallationOwnershipResponses, type SetCommonProviderInstallationVisibilityData, type SetCommonProviderInstallationVisibilityResponse, type SetCommonProviderInstallationVisibilityResponses, type SetMcpResourceOwnershipData, type SetMcpResourceOwnershipResponse, type SetMcpResourceOwnershipResponses, type SetMcpResourceVisibilityData, type SetMcpResourceVisibilityResponse, type SetMcpResourceVisibilityResponses, type SetMemoryBankOwnershipModeData, type SetMemoryBankOwnershipModeResponse, type SetMemoryBankOwnershipModeResponses, type SetMemoryBankVisibilityData, type SetMemoryBankVisibilityResponse, type SetMemoryBankVisibilityResponses, type SetOpenBotAvatarRequest, type SetPersonalMemoryBankOwnershipModeData, type SetPersonalMemoryBankOwnershipModeResponse, type SetPersonalMemoryBankOwnershipModeResponses, type SetPersonalMemoryBankVisibilityData, type SetPersonalMemoryBankVisibilityResponse, type SetPersonalMemoryBankVisibilityResponses, type SetPersonalRegistryOwnershipModeData, type SetPersonalRegistryOwnershipModeResponse, type SetPersonalRegistryOwnershipModeResponses, type SetPersonalRegistryVisibilityData, type SetPersonalRegistryVisibilityResponse, type SetPersonalRegistryVisibilityResponses, type SetPersonalRscOwnershipData, type SetPersonalRscOwnershipResponse, type SetPersonalRscOwnershipResponses, type SetPersonalRscVisibilityData, type SetPersonalRscVisibilityResponse, type SetPersonalRscVisibilityResponses, type SetPersonalSkillOwnershipModeData, type SetPersonalSkillOwnershipModeResponse, type SetPersonalSkillOwnershipModeResponses, type SetPersonalSkillVisibilityData, type SetPersonalSkillVisibilityResponse, type SetPersonalSkillVisibilityResponses, type SetPersonalUcOwnershipData, type SetPersonalUcOwnershipResponse, type SetPersonalUcOwnershipResponses, type SetPersonalUcVisibilityData, type SetPersonalUcVisibilityResponse, type SetPersonalUcVisibilityResponses, type SetPersonalWikiOwnershipModeData, type SetPersonalWikiOwnershipModeResponse, type SetPersonalWikiOwnershipModeResponses, type SetPersonalWikiVisibilityData, type SetPersonalWikiVisibilityResponse, type SetPersonalWikiVisibilityResponses, type SetResourceAccessModeRequest, type SetRscOwnershipData, type SetRscOwnershipResponse, type SetRscOwnershipResponses, type SetRscVisibilityData, type SetRscVisibilityResponse, type SetRscVisibilityResponses, type SetSelfOpenbotAvatarData, type SetSelfOpenbotAvatarError, type SetSelfOpenbotAvatarErrors, type SetSelfOpenbotAvatarResponse, type SetSelfOpenbotAvatarResponses, type SetSignalProviderOwnershipData, type SetSignalProviderOwnershipResponse, type SetSignalProviderOwnershipResponses, type SetSignalProviderVisibilityData, type SetSignalProviderVisibilityResponse, type SetSignalProviderVisibilityResponses, type SetSkillOwnershipModeData, type SetSkillOwnershipModeResponse, type SetSkillOwnershipModeResponses, type SetSkillRegistryOwnershipModeData, type SetSkillRegistryOwnershipModeResponse, type SetSkillRegistryOwnershipModeResponses, type SetSkillRegistryVisibilityData, type SetSkillRegistryVisibilityResponse, type SetSkillRegistryVisibilityResponses, type SetSkillVisibilityData, type SetSkillVisibilityResponse, type SetSkillVisibilityResponses, type SetUcOwnershipData, type SetUcOwnershipResponse, type SetUcOwnershipResponses, type SetUcVisibilityData, type SetUcVisibilityResponse, type SetUcVisibilityResponses, type SetWikiOwnershipModeData, type SetWikiOwnershipModeResponse, type SetWikiOwnershipModeResponses, type SetWikiVisibilityData, type SetWikiVisibilityResponse, type SetWikiVisibilityResponses, type SignalAction, type SignalDelivery, type SignalDeliveryPaginatedResponse, SignalDeliveryStatus, SignalIngressMode, type SignalInterpolationVariable, type SignalMessage, type SignalMessageContext, type SignalPollingDescriptor, SignalProviderAuthMethod, type SignalProviderInstance, type SignalProviderInstancePaginatedResponse, SignalProviderInstanceStatus, type SignalProviderRouteDescriptor, type SignalProviderSourceSerialized, type SignalProviderSourceSerializedPaginatedResponse, type SignalRuleFilter, type SignalsAddPersonalProviderGrantData, type SignalsAddPersonalProviderGrantResponse, type SignalsAddPersonalProviderGrantResponses, type SignalsCreatePersonalProviderInstanceData, type SignalsCreatePersonalProviderInstanceResponse, type SignalsCreatePersonalProviderInstanceResponses, type SignalsCreateProviderInstanceData, type SignalsCreateProviderInstanceResponse, type SignalsCreateProviderInstanceResponses, type SignalsDeletePersonalProviderInstanceData, type SignalsDeletePersonalProviderInstanceResponse, type SignalsDeletePersonalProviderInstanceResponses, type SignalsDeleteProviderInstanceData, type SignalsDeleteProviderInstanceResponse, type SignalsDeleteProviderInstanceResponses, type SignalSessionPolicy, type SignalsGetDeliveryData, type SignalsGetDeliveryResponse, type SignalsGetDeliveryResponses, type SignalsGetPersonalDeliveryData, type SignalsGetPersonalDeliveryResponse, type SignalsGetPersonalDeliveryResponses, type SignalsGetPersonalProviderInstanceData, type SignalsGetPersonalProviderInstanceResponse, type SignalsGetPersonalProviderInstanceResponses, type SignalsGetProviderInstanceData, type SignalsGetProviderInstanceResponse, type SignalsGetProviderInstanceResponses, type SignalsListAvailableProvidersData, type SignalsListAvailableProvidersResponse, type SignalsListAvailableProvidersResponses, type SignalsListDeliveriesData, type SignalsListDeliveriesResponse, type SignalsListDeliveriesResponses, type SignalsListPersonalAvailableProvidersData, type SignalsListPersonalAvailableProvidersResponse, type SignalsListPersonalAvailableProvidersResponses, type SignalsListPersonalDeliveriesData, type SignalsListPersonalDeliveriesResponse, type SignalsListPersonalDeliveriesResponses, type SignalsListPersonalProviderGrantsData, type SignalsListPersonalProviderGrantsResponse, type SignalsListPersonalProviderGrantsResponses, type SignalsListPersonalProviderInstancesData, type SignalsListPersonalProviderInstancesResponse, type SignalsListPersonalProviderInstancesResponses, type SignalsListProviderInstancesData, type SignalsListProviderInstancesResponse, type SignalsListProviderInstancesResponses, type SignalsRemovePersonalProviderGrantData, type SignalsRemovePersonalProviderGrantResponses, type SignalsRetryDeliveryData, type SignalsRetryDeliveryResponse, type SignalsRetryDeliveryResponses, type SignalsRetryPersonalDeliveryData, type SignalsRetryPersonalDeliveryResponse, type SignalsRetryPersonalDeliveryResponses, type SignalsSetPersonalProviderOwnershipData, type SignalsSetPersonalProviderOwnershipResponse, type SignalsSetPersonalProviderOwnershipResponses, type SignalsSetPersonalProviderVisibilityData, type SignalsSetPersonalProviderVisibilityResponse, type SignalsSetPersonalProviderVisibilityResponses, type SignalsTriggerFakeData, type SignalsTriggerFakeResponse, type SignalsTriggerFakeResponses, type SignalsUpdatePersonalProviderInstanceData, type SignalsUpdatePersonalProviderInstanceResponse, type SignalsUpdatePersonalProviderInstanceResponses, type SignalsUpdateProviderInstanceData, type SignalsUpdateProviderInstanceResponse, type SignalsUpdateProviderInstanceResponses, type SignalTypeSourceSerialized, type SignalWebhookVerificationDescriptor, type Skill, type SkillDescriptionResponse, type SkillDiscoverySearchRequest, type SkillDiscoverySearchResponse, type SkillPackageFile, type SkillPackageFileDownload, type SkillPackageManifest, type SkillPaginatedResponse, type SkillRegistry, type SkillRegistryPaginatedResponse, type SkillRegistrySpec, type SkillSummary, type SkillSummaryPaginatedResponse, type SlackInstallationNextAction, type SourceDocumentUiPart, type SourceUrlUiPart, type StartBrokeringBodyExternal, type StartCredentialSetupItemBody, type StartCredentialSetupItemData, type StartCredentialSetupItemResponse, type StartCredentialSetupItemResponse2, type StartCredentialSetupItemResponses, type StartOAuthDeviceCodeBody, type StartOauthDeviceCodeData, type StartOauthDeviceCodeError, type StartOauthDeviceCodeErrors, type StartOauthDeviceCodeResponse, type StartOauthDeviceCodeResponses, type StartOAuthDeviceCodeResult, type StartProviderAppProvisioningBody, type StartProviderAppProvisioningData, type StartProviderAppProvisioningResponse, type StartProviderAppProvisioningResponses, type StartProviderSetupBody, type StartProxiedMcpServerOauthData, type StartProxiedMcpServerOauthError, type StartProxiedMcpServerOauthErrors, type StartProxiedMcpServerOauthRequestInner, type StartProxiedMcpServerOauthResponse, type StartProxiedMcpServerOauthResponse2, type StartProxiedMcpServerOauthResponses, type StartSlackOauthRequestInner, type StartUserCredentialBrokeringData, type StartUserCredentialBrokeringResponse, type StartUserCredentialBrokeringResponses, StateDocumentFormat, type StateExportData, type StateExportError, type StateExportErrors, type StateExportResponses, type StateGetImportData, type StateGetImportResponse, type StateGetImportResponses, type StateImportData, type StateImportEventsData, type StateImportEventsResponses, type StateImportOutputs, type StateImportResponse, type StateImportResponses, StateImportStatus, type StateMetadata, type StatePlan, type StatePlanData, type StatePlanResponse, type StatePlanResponses, type StateResolveSourceData, type StateResolveSourceError, type StateResolveSourceErrors, type StateResolveSourceResponse, type StateResolveSourceResponses, type StateSchema, type StateSchemaData, type StateSchemaJsonData, type StateSchemaJsonResponses, type StateSchemaResponse, type StateSchemaResponses, type StateSourceMetadata, type StateValidateData, type StateValidateResponse, type StateValidateResponses, type StateVariableDefinition, StateVariableType, type SteerAgentJobRequestInner, type SteerChatKitAgentTurnQueueItemResponse, type StepStartUiPart, type StopAgentJobRequestInner, type StoredEvent, type StoredEventPaginatedResponse, type StoredMemoryDocument, type SubmitChatKitWorkspaceTurnRequestInner, type SubmitChatKitWorkspaceTurnResponse, type SupportedCredentialInfo, type SynthesisSessionRetainMemoryBody, type Task, type TaskPaginatedResponse, TaskStatus, type Team, type TeamGroupSummary, type TeamGroupSummaryPaginatedResponse, type TeamMemberWithUser, type TeamMemberWithUserPaginatedResponse, type TeamPaginatedResponse, type TextMessage, type TextUiPart, type TokenResponse, type ToolConfig, type ToolConfigPaginatedResponse, type ToolDeploymentWithGroupSerialized, type ToolDeploymentWithGroupSerializedPaginatedResponse, type ToolExecution, ToolExecutionAuthority, ToolExecutionState, type ToolGroupInstanceListItem, type ToolGroupInstanceListItemPaginatedResponse, type ToolGroupInstanceSerialized, type ToolGroupInstanceSerializedWithCredentials, type ToolGroupInstanceSerializedWithEverything, type ToolGroupSourceSerialized, type ToolGroupSourceSerializedPaginatedResponse, type ToolInstanceListItem, type ToolInstanceSerialized, type ToolInstanceSerializedPaginatedResponse, ToolInvocationState, type ToolSourceSerialized, type ToolUiPart, type TransitionAgentRunInner, type TraverseWikiGraphData, type TraverseWikiGraphResponse, type TraverseWikiGraphResponses, type TriggerFakeSignalRequest, type TrustedRuntime, TrustedRuntimeEncryptionAlgorithm, type TrustedRuntimePaginatedResponse, TrustedRuntimeSigningAlgorithm, TrustedRuntimeStatus, TrustedRuntimeType, type TupleUnit, type UiMessage, type UiMessagePart, type UnbindToolGroupFromMcpServerData, type UnbindToolGroupFromMcpServerError, type UnbindToolGroupFromMcpServerErrors, type UnbindToolGroupFromMcpServerResponse, type UnbindToolGroupFromMcpServerResponses, type UpdateAgentObservabilityPolicyRequestInner, type UpdateAgentToolVisibilityRequestInner, type UpdateChatKitChatProviderRequestInner, type UpdateChatKitSessionUserStateRequestInner, type UpdateCredentialBody, type UpdateCustomToolProviderData, type UpdateCustomToolProviderRequestInner, type UpdateCustomToolProviderResponse, type UpdateCustomToolProviderResponses, type UpdateGoalRequestInner, type UpdateHostedOpenbotComputerImageData, type UpdateHostedOpenbotComputerImageError, type UpdateHostedOpenbotComputerImageErrors, type UpdateHostedOpenBotComputerImageRequest, type UpdateHostedOpenbotComputerImageResponse, type UpdateHostedOpenbotComputerImageResponses, type UpdateHttpVercelAiSdkAgentRequestInner, type UpdateManagedUserCredentialBody, type UpdateManagedUserCredentialData, type UpdateManagedUserCredentialResponse, type UpdateManagedUserCredentialResponses, type UpdateMcpServerInstanceBody, type UpdateMcpServerInstanceData, type UpdateMcpServerInstanceError, type UpdateMcpServerInstanceErrors, type UpdateMcpServerInstanceFunctionData, type UpdateMcpServerInstanceFunctionError, type UpdateMcpServerInstanceFunctionErrors, type UpdateMcpServerInstanceFunctionResponse, type UpdateMcpServerInstanceFunctionResponses, type UpdateMcpServerInstanceRequestInner, type UpdateMcpServerInstanceResponse, type UpdateMcpServerInstanceResponses, type UpdateMcpServerInstanceToolBody, type UpdateMemberRoleBody, type UpdateMemoryBankBody, type UpdateMemoryBankConfigBody, type UpdateMemoryBankConfigData, type UpdateMemoryBankConfigResponse, type UpdateMemoryBankConfigResponses, type UpdateMemoryBankData, type UpdateMemoryBankResponse, type UpdateMemoryBankResponses, type UpdateOrganizationData, type UpdateOrganizationError, type UpdateOrganizationErrors, type UpdateOrganizationMemberRoleBody, type UpdateOrganizationMemberRoleData, type UpdateOrganizationMemberRoleError, type UpdateOrganizationMemberRoleErrors, type UpdateOrganizationMemberRoleResponse, type UpdateOrganizationMemberRoleResponses, type UpdateOrganizationRequest, type UpdateOrganizationResponses, type UpdateOrgOidcProviderData, type UpdateOrgOidcProviderError, type UpdateOrgOidcProviderErrors, type UpdateOrgOidcProviderRequest, type UpdateOrgOidcProviderResponse, type UpdateOrgOidcProviderResponses, type UpdatePageTypeBody, type UpdatePersonalMcpServerInstanceData, type UpdatePersonalMcpServerInstanceResponse, type UpdatePersonalMcpServerInstanceResponses, type UpdatePersonalMemoryBankConfigData, type UpdatePersonalMemoryBankConfigResponse, type UpdatePersonalMemoryBankConfigResponses, type UpdatePersonalMemoryBankData, type UpdatePersonalMemoryBankResponse, type UpdatePersonalMemoryBankResponses, type UpdatePersonalSkillData, type UpdatePersonalSkillRegistryData, type UpdatePersonalSkillRegistryResponse, type UpdatePersonalSkillRegistryResponses, type UpdatePersonalSkillResponse, type UpdatePersonalSkillResponses, type UpdatePersonalToolGroupInstanceData, type UpdatePersonalToolGroupInstanceResponse, type UpdatePersonalToolGroupInstanceResponses, type UpdatePersonalWikiData, type UpdatePersonalWikiPageData, type UpdatePersonalWikiPageResponse, type UpdatePersonalWikiPageResponses, type UpdatePersonalWikiResponse, type UpdatePersonalWikiResponses, type UpdateRelationshipTypeBody, type UpdateResourceServerCredentialData, type UpdateResourceServerCredentialResponse, type UpdateResourceServerCredentialResponses, type UpdateReverseProxyProfileInner, type UpdateSelfProfileData, type UpdateSelfProfileError, type UpdateSelfProfileErrors, type UpdateSelfProfileRequest, type UpdateSelfProfileResponse, type UpdateSelfProfileResponses, type UpdateSessionOwnershipData, type UpdateSessionOwnershipError, type UpdateSessionOwnershipErrors, type UpdateSessionOwnershipResponse, type UpdateSessionOwnershipResponses, type UpdateSessionVisibilityData, type UpdateSessionVisibilityError, type UpdateSessionVisibilityErrors, type UpdateSessionVisibilityResponse, type UpdateSessionVisibilityResponses, type UpdateSignalProviderInstanceRequestInner, type UpdateSkillBody, type UpdateSkillData, type UpdateSkillError, type UpdateSkillErrors, type UpdateSkillRegistryBody, type UpdateSkillRegistryData, type UpdateSkillRegistryError, type UpdateSkillRegistryErrors, type UpdateSkillRegistryResponse, type UpdateSkillRegistryResponses, type UpdateSkillResponse, type UpdateSkillResponses, type UpdateTaskRequestInner, type UpdateTeamData, type UpdateTeamError, type UpdateTeamErrors, type UpdateTeamGroupBody, type UpdateTeamGroupData, type UpdateTeamGroupError, type UpdateTeamGroupErrors, type UpdateTeamGroupResponse, type UpdateTeamGroupResponses, type UpdateTeamMemberRoleData, type UpdateTeamMemberRoleError, type UpdateTeamMemberRoleErrors, type UpdateTeamMemberRoleResponse, type UpdateTeamMemberRoleResponses, type UpdateTeamRequest, type UpdateTeamResponses, type UpdateToolBoundParamsData, type UpdateToolBoundParamsError, type UpdateToolBoundParamsErrors, type UpdateToolBoundParamsResponse, type UpdateToolBoundParamsResponses, type UpdateToolGroupInstanceData, type UpdateToolGroupInstanceError, type UpdateToolGroupInstanceErrors, type UpdateToolGroupInstanceParamsInner, type UpdateToolGroupInstanceResponse, type UpdateToolGroupInstanceResponses, type UpdateToolInstanceBoundParamsInner, type UpdateTrustedRuntimeBody, type UpdateTrustedRuntimeData, type UpdateTrustedRuntimeError, type UpdateTrustedRuntimeErrors, type UpdateTrustedRuntimeResponse, type UpdateTrustedRuntimeResponses, type UpdateUserCredentialData, type UpdateUserCredentialResponse, type UpdateUserCredentialResponses, type UpdateWikiAssetBody, type UpdateWikiAssetData, type UpdateWikiAssetResponse, type UpdateWikiAssetResponses, type UpdateWikiBody, type UpdateWikiData, type UpdateWikiPageData, type UpdateWikiPageErrors, type UpdateWikiPageRelationshipData, type UpdateWikiPageRelationshipResponse, type UpdateWikiPageRelationshipResponses, type UpdateWikiPageResponse, type UpdateWikiPageResponses, type UpdateWikiPageTypeData, type UpdateWikiPageTypeErrors, type UpdateWikiPageTypeResponse, type UpdateWikiPageTypeResponses, type UpdateWikiRelationshipTypeData, type UpdateWikiRelationshipTypeErrors, type UpdateWikiRelationshipTypeResponse, type UpdateWikiRelationshipTypeResponses, type UpdateWikiResponse, type UpdateWikiResponses, type UploadAttachmentContentData, type UploadAttachmentContentError, type UploadAttachmentContentErrors, type UploadAttachmentContentResponse, type UploadAttachmentContentResponses, type UploadHostedOpenbotReleaseFileData, type UploadHostedOpenbotReleaseFileError, type UploadHostedOpenbotReleaseFileErrors, type UploadHostedOpenbotReleaseFileResponse, type UploadHostedOpenbotReleaseFileResponses, type UploadSelfAvatarData, type UploadSelfAvatarError, type UploadSelfAvatarErrors, type UploadSelfAvatarResponse, type UploadSelfAvatarResponses, type UploadWikiAssetContentData, type UploadWikiAssetContentErrors, type UploadWikiAssetContentResponses, type UpsertPageRelationshipBody, type UpsertWikiPageBody, type UpsertWikiPageRelationshipData, type UpsertWikiPageRelationshipErrors, type UpsertWikiPageRelationshipResponse, type UpsertWikiPageRelationshipResponses, type User, type UserAvatar, type UserCredentialBrokeringResponse, type UserCredentialSerialized, type UserCredentialSerializedPaginatedResponse, type UserInvitation, type UserInvitationPaginatedResponse, type UserOrganization, type UserTeam, UserToolFederationMode, type UserToolFederationSelection, UserType, type ValidatePageTypeDataBody, type ValidateStateRequest, type ValidateStateResponse, type ValidateSynthesisBatchBody, type ValidateSynthesisSessionBatchData, type ValidateSynthesisSessionBatchResponse, type ValidateSynthesisSessionBatchResponses, type ValidateWikiPageTypeDataData, type ValidateWikiPageTypeDataResponse, type ValidateWikiPageTypeDataResponses, type Vec, type VerifiedIdentityLink, VerifiedIdentityLinkSource, type VerifyOrgOidcProviderDomainData, type VerifyOrgOidcProviderDomainError, type VerifyOrgOidcProviderDomainErrors, type VerifyOrgOidcProviderDomainResponse, type VerifyOrgOidcProviderDomainResponses, type WebhookSigningKeyMetadata, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type Wiki, type WikiAsset, type WikiAssetDownloadResponse, type WikiAssetPaginatedResponse, type WikiAssetReferences, WikiAssetStatus, type WikiAssetUploadResponse, type WikiGraph, type WikiGrepMatch, type WikiOntologyInstallation, type WikiOntologyTemplate, type WikiPage, type WikiPagePaginatedResponse, type WikiPageRelationship, type WikiPageRevision, type WikiPageRevisionPaginatedResponse, type WikiPageType, type WikiPageTypeVersion, type WikiPaginatedResponse, type WikiRelationshipEvidence, type WikiRelationshipType, type WikiRelationshipTypeVersion, type WikiSpec, WikiStatus, type WrappedChronoDateTime, type WrappedJsonValue, type WrappedUuidV4 } from './types.gen'; +export { acceptInvitation, addCommonProviderInstallationOwnershipGrant, addCommonProviderInstallationVisibilityGrant, addIdentityTeam, addMcpResourceOwnershipGrant, addMcpResourceVisibilityGrant, addMcpServerInstanceFunction, addMemoryBankOwnershipGrant, addMemoryBankVisibilityGrant, addOrganizationMember, addPersonalMemoryBankOwnershipGrant, addPersonalMemoryBankVisibilityGrant, addPersonalRegistryOwnershipGrant, addPersonalRegistryVisibilityGrant, addPersonalRscOwnershipGrant, addPersonalRscVisibilityGrant, addPersonalSkillOwnershipGrant, addPersonalSkillVisibilityGrant, addPersonalUcOwnershipGrant, addPersonalUcVisibilityGrant, addPersonalWikiOwnershipGrant, addPersonalWikiVisibilityGrant, addProviderSkillsToSkillRegistry, addRscOwnershipGrant, addRscVisibilityGrant, addSessionResourceGrant, addSessionUserMember, addSignalProviderGrant, addSkillOwnershipGrant, addSkillRegistryOwnershipGrant, addSkillRegistryVisibilityGrant, addSkillVisibilityGrant, addTeamGroupMember, addTeamMember, addUcOwnershipGrant, addUcVisibilityGrant, addWikiOwnershipGrant, addWikiVisibilityGrant, applyWikiOntologyTemplate, assignPersonalMemoryBankSynthesizer, authorizeOauthDeviceCode, automationsAddGrant, automationsDelete, automationsGet, automationsList, automationsListExecutions, automationsListGrants, automationsPut, automationsRemoveGrant, automationsRun, automationsSetOwnership, automationsSetVisibility, autoProvisionToolGroupInstance, autumnWebhookHandler, billingAiCreditReceiptCommit, billingAiCreditReservationRelease, billingAiCreditReserve, billingAiCreditTopupCreate, billingAiGatewayEnsure, billingAutumnBridgePost, billingContextGet, billingEnrollAccount, billingProductEnrollCurrentHuman, billingRedirect, billingRemoveAccountSeat, billingWebhookStripeDeprecated, bindToolGroupToMcpServer, bulkAddMcpServerInstanceFunctions, bulkRemoveMcpServerInstanceFunctions, cancelHumanApprovalAction, changePersonalWikiOwnership, changeWikiOwnership, chatkitAddAgentResourceGrant, chatkitAddSessionParticipant, chatkitAppendAgentRunStep, chatkitApproveSelfExtensionProposal, chatkitAutoProvisionSlackChannelInstallation, chatkitCacheConvertedMessages, chatkitCancelSelfExtensionProposal, chatkitClaimAgentResourceBundleOutputs, chatkitClaimAgentRuns, chatkitClaimSelfExtensionProposalOutputs, chatkitCollectAgentJobResult, chatkitCompleteSlackProviderProvisionedSetup, chatkitCompleteSlackSelfManagedSetup, chatkitControlAgentRun, chatkitCreateAgentRun, chatkitCreateCustomProvider, chatkitCreateGoal, chatkitCreateRoomInvitation, chatkitCreateSession, chatkitCreateSlackChannelInstallation, chatkitCreateTask, chatkitCustomProviderRuntime, chatkitDecideCapabilityChange, chatkitDecideRoomInvitation, chatkitDelegateAgentJob, chatkitDeleteAgent, chatkitDeleteAgentTurnQueueItem, chatkitDeleteChatProvider, chatkitDeleteCustomProvider, chatkitDisableCustomProvider, chatkitEnableCustomProvider, chatkitFinishAgentRunEffect, chatkitGetActiveAgentRun, chatkitGetAgent, chatkitGetAgentAvatar, chatkitGetAgentJob, chatkitGetAgentObservability, chatkitGetAgentResourceBundleProvisioning, chatkitGetAgentRun, chatkitGetAgentRunEffect, chatkitGetCompactedHistory, chatkitGetCustomConnection, chatkitGetCustomProvider, chatkitGetGoal, chatkitGetLatestCompaction, chatkitGetSelfExtensionProposal, chatkitGetTask, chatkitHydrateConvertedMessages, chatkitIngestCustomProviderMessage, chatkitInvokeSessionProviderTool, chatkitJoinSession, chatkitListAgentJobs, chatkitListAgentResourceGrants, chatkitListAgents, chatkitListAgentTurnQueue, chatkitListAvailableChatChannels, chatkitListAvailableChatProviders, chatkitListChatProviders, chatkitListCustomConnections, chatkitListCustomConnectionWork, chatkitListCustomProvider, chatkitListGoals, chatkitListMessageHistory, chatkitListRoomInvitations, chatkitListSelfExtensionProposals, chatkitListSessionParticipants, chatkitListSessionProviderTools, chatkitListSessions, chatkitListTasks, chatkitPrepareAgentRunEffect, chatkitProposeSelfExtension, chatkitProvisionAgentResourceBundle, chatkitRecallAutomaticMemory, chatkitRefreshCustomProvider, chatkitRegisterAgentTools, chatkitRegisterChatProvider, chatkitRegisterHttpVercelAiSdkAgent, chatkitRegisterVercelUiChatProvider, chatkitRejectSelfExtensionProposal, chatkitRemoveAgentResourceGrant, chatkitRemoveSessionParticipant, chatkitReorderAgentTurnQueueItem, chatkitReportCompactionEvent, chatkitReportToolExecution, chatkitResumeAgentJob, chatkitRetryCustomConnectionWork, chatkitRevokeRoomInvitation, chatkitRollbackSelfExtensionProposal, chatkitRotateCustomConnectionCredentials, chatkitRotateCustomProvider, chatkitSearch, chatkitSendSessionMessage, chatkitSetAgentPermissions, chatkitSetAgentStatus, chatkitSetChatProviderStatus, chatkitStartSlackOauth, chatkitSteerAgentJob, chatkitSteerAgentTurnQueueItem, chatkitStopAgentJob, chatkitStreamSessionEvents, chatkitTransitionAgentRun, chatkitUpdateAgent, chatkitUpdateAgentAvatar, chatkitUpdateAgentObservability, chatkitUpdateAgentOwnership, chatkitUpdateAgentToolVisibility, chatkitUpdateAgentVisibility, chatkitUpdateChatProvider, chatkitUpdateCustomProvider, chatkitUpdateGoal, chatkitUpdateTask, chatkitWorkspaceAgentSessions, chatkitWorkspaceBootstrap, chatkitWorkspaceConversationSnapshot, chatkitWorkspaceCreateSession, chatkitWorkspaceInterruptSession, chatkitWorkspaceMessages, chatkitWorkspaceRenameThread, chatkitWorkspaceSendMessage, chatkitWorkspaceSidebar, chatkitWorkspaceSubmitTurn, chatkitWorkspaceUpdateSessionReadState, checkMemoryBankHealth, checkPersonalMemoryBankHealth, claimTemporaryAccount, clearPersonalMemoryBankSynthesizer, completeAttachmentUpload, completeCredentialSetupItem, completeHumanApprovalAction, completeIdentityLink, completeIdentityVerification, completeWikiAssetUpload, configureHostedOpenbotInstance, connectMcpProviderCatalogEntry, connectProxiedMcpServer, createAttachmentUpload, createAttachmentUploads, createCustomToolProvider, createHostedOpenbotDeployment, createHostedOpenbotRelease, createHumanApprovalAction, createIdentity, createIdentityLink, createManagedUserCredential, createMcpServerInstance, createMemoryBank, createMessage, createOrganization, createOrgOidcProvider, createPersonalMcpServerInstance, createPersonalMemoryBank, createPersonalSkill, createPersonalSkillRegistry, createPersonalToolGroupInstance, createPersonalUserCredential, createPersonalWiki, createPersonalWikiPage, createProxyToken, createResourceServerCredential, createSession, createSkill, createSkillRegistry, createTeam, createTeamGroup, createTemporaryAccount, createToolGroupInstance, createTrustedRuntime, createTrustedSkillProvider, createUserCredential, createWiki, createWikiAssetUpload, createWikiPage, createWikiPageType, createWikiPageTypeVersion, createWikiRelationshipType, createWikiRelationshipTypeVersion, credentialGenericOauthCallback, deleteAttachment, deleteCustomToolProvider, deleteManagedUserCredential, deleteMcpServerInstance, deleteMemoryBank, deleteMemoryDocument, deleteMessage, deleteOrganization, deleteOrgOidcProvider, deletePersonalMcpServerInstance, deletePersonalMemoryBank, deletePersonalMemoryDocument, deletePersonalSkill, deletePersonalSkillRegistry, deletePersonalToolGroupInstance, deletePersonalWiki, deletePersonalWikiPage, deleteProxiedMcpServer, deleteResourceServerCredential, deleteSelfAvatar, deleteSkill, deleteSkillRegistry, deleteSynthesisSessionMemory, deleteTeam, deleteTeamGroup, deleteToolGroupInstance, deleteTrustedRuntime, deleteUserCredential, deleteVerifiedIdentityLink, deleteWiki, deleteWikiAsset, deleteWikiPage, deleteWikiPageRelationship, deleteWikiPageType, deleteWikiPageTypeVersion, deleteWikiRelationshipType, disableCustomToolProvider, disableProxiedMcpServer, disableTool, downloadAttachmentContent, downloadSkillPackageFile, downloadWikiAsset, downloadWikiAssetContent, enableAndBindProviderTools, enableCustomToolProvider, enableProxiedMcpServer, enableTool, encryptPersonalUserCredentialConfiguration, encryptResourceServerConfiguration, encryptUserCredentialConfiguration, exchangeOauthCode, expireTemporaryAccounts, exportMemoryBankTemplate, exportPersonalMemoryBankTemplate, finalizeHostedOpenbotRelease, generateLocalRuntimeTunnelApiKey, generateTemporaryAccountClaimUrl, getAttachmentDownloadUrl, getCommonProviderInstallation, getCredentialSetupItem, getCustomToolProvider, getHostedOpenbotBootstrapBundle, getHostedOpenbotInstance, getHostedOpenbotRelease, getHumanApprovalAction, getIdentity, getIdentityVerification, getLocalRuntimeTunnelApiKey, getLocalRuntimeTunnelConnector, getManagedUserCredentialSecret, getMcpServerInstance, getMemoryBank, getMemoryBankConfig, getMemoryBankDocument, getMessage, getMessageDeliveries, getOpenbotPluginsCatalog, getOrganization, getOrgOidcProvider, getPersonalMcpServerInstance, getPersonalMemoryBank, getPersonalMemoryBankConfig, getPersonalMemoryBankDocument, getPersonalSkill, getPersonalSkillRegistry, getPersonalToolGroupInstance, getPersonalWiki, getPersonalWikiPage, getProviderProvisioningHumanAction, getProxiedMcpServer, getProxiedSkillProvider, getResourceServerCredential, getRuntimeConfig, getSelfAvatar, getSelfProfile, getSessionEventHistory, getSkill, getSkillPackage, getSkillRegistry, getSkillRegistrySkill, getSkillRegistrySkillByTitle, getSkillRegistrySkillDescription, getTeam, getTeamGroup, getToolGroupInstance, getToolsOpenapiSpec, getTrustedRuntime, getUserCredential, getWiki, getWikiPage, getWikiPageBacklinks, getWikiPageNeighborhood, getWikiPageRelationship, getWikiPageType, getWikiPageTypeVersion, getWikiRelationshipType, getWikiRelationshipTypeVersion, grepPersonalWikiPages, grepWikiPages, healthCheck, importMemoryBankTemplate, importPersonalMemoryBankTemplate, initiateIdentityVerification, inspectWikiAssetReferences, inviteTeamUsers, invokeCustomTool, invokeTool, issueHostedOpenbotGitToken, issueOpenbotChatkitRealtimeTicket, issueProxyRealtimeTicket, linkTeamIdentity, listAvailableToolGroups, listCommonProviderInstallationOwnershipGrants, listCommonProviderInstallations, listCommonProviderInstallationVisibilityGrants, listCredentialSetupItems, listCustomToolProviders, listIdentities, listIdentityTeams, listInboxAgents, listInboxes, listManagedUserCredentials, listMcpProviderCatalog, listMcpResourceOwnershipGrants, listMcpResourceVisibilityGrants, listMcpServerInstances, listMemoryBankDocuments, listMemoryBankOwnershipGrants, listMemoryBanks, listMemoryBankSourceBindings, listMemoryBankVisibilityGrants, listMemorySourceBindings, listMessages, listOpenbotDeployments, listOrganizationMembers, listOrganizations, listOrganizationTeamGroups, listOrgOidcProviders, listPersonalMcpServerInstances, listPersonalMemoryBankDocuments, listPersonalMemoryBankOwnershipGrants, listPersonalMemoryBanks, listPersonalMemoryBankSourceBindings, listPersonalMemoryBankVisibilityGrants, listPersonalMemorySourceBindings, listPersonalRegistryOwnershipGrants, listPersonalRegistryVisibilityGrants, listPersonalRscOwnershipGrants, listPersonalRscVisibilityGrants, listPersonalSkillOwnershipGrants, listPersonalSkillRegistries, listPersonalSkills, listPersonalSkillVisibilityGrants, listPersonalToolGroupInstances, listPersonalUcOwnershipGrants, listPersonalUcVisibilityGrants, listPersonalWikiOwnershipGrants, listPersonalWikiPages, listPersonalWikis, listPersonalWikiVisibilityGrants, listProviderProvisionerCatalog, listProxiedMcpServers, listProxiedSkillProviders, listProxyTokens, listPublicAvailableToolGroups, listResourceServerCredentials, listRscOwnershipGrants, listRscVisibilityGrants, listSessionInboxInstances, listSessionResourceGrants, listSessions, listSessionUserMembers, listSignalProviderGrants, listSkillOwnershipGrants, listSkillRegistries, listSkillRegistryOwnershipGrants, listSkillRegistrySkillSummaries, listSkillRegistryVisibilityGrants, listSkills, listSkillVisibilityGrants, listTeamGroupMembers, listTeamGroups, listTeamInvitations, listTeamMembers, listTeams, listToolDeploymentsByAlias, listToolGroupInstances, listToolGroupInstancesGroupedByTool, listTools, listTrustedRuntimes, listUcOwnershipGrants, listUcVisibilityGrants, listUserCredentials, listVerifiedIdentityLinks, listVisibleMemoryBanks, listWikiAssets, listWikiOntologyInstallations, listWikiOntologyTemplates, listWikiOwnershipGrants, listWikiPageAssets, listWikiPageRelationships, listWikiPageRevisions, listWikiPages, listWikiPageTypes, listWikiPageTypeVersions, listWikiRelationshipTypes, listWikiRelationshipTypeVersions, listWikis, listWikiVisibilityGrants, mcpProtocolDelete, mcpProtocolGet, mcpProtocolPost, mcpServerPlaygroundChat, migrateWikiPageType, moveWikiPage, observeSession, onboardOrganization, type Options, personalMcpProtocolDelete, personalMcpProtocolGet, personalMcpProtocolPost, previewIdentityLink, previewWikiPageTypeMigration, providerProvisioningCallback, providerSetupCatalog, providerSetupResume, providerSetupStart, provisionIdentityTeam, recallMemory, recallPersonalMemory, recallSynthesisSessionMemory, reconcileOpenbotAgentBundle, redirectTemporaryAccountClaimPage, reflectMemory, reflectPersonalMemory, refreshCustomToolProvider, refreshProxiedMcpServer, registerOauthClient, registerOpenbotDeployment, registerTeamOauthClient, removeCommonProviderInstallationOwnershipGrant, removeCommonProviderInstallationVisibilityGrant, removeIdentityIdentifier, removeIdentityTeam, removeMcpResourceOwnershipGrant, removeMcpResourceVisibilityGrant, removeMcpServerInstanceFunction, removeMemoryBankOwnershipGrant, removeMemoryBankVisibilityGrant, removeOrganizationMember, removePersonalMemoryBankOwnershipGrant, removePersonalMemoryBankVisibilityGrant, removePersonalRegistryOwnershipGrant, removePersonalRegistryVisibilityGrant, removePersonalRscOwnershipGrant, removePersonalRscVisibilityGrant, removePersonalSkillOwnershipGrant, removePersonalSkillVisibilityGrant, removePersonalUcOwnershipGrant, removePersonalUcVisibilityGrant, removePersonalWikiOwnershipGrant, removePersonalWikiVisibilityGrant, removeRscOwnershipGrant, removeRscVisibilityGrant, removeSessionResourceGrant, removeSessionUserMember, removeSignalProviderGrant, removeSkillOwnershipGrant, removeSkillRegistryOwnershipGrant, removeSkillRegistryVisibilityGrant, removeSkillVisibilityGrant, removeTeamGroupMember, removeTeamMember, removeUcOwnershipGrant, removeUcVisibilityGrant, removeWikiOwnershipGrant, removeWikiVisibilityGrant, renameProxyToken, replaceMemorySourceBindings, replacePersonalMemorySourceBindings, resetMemoryBankConfig, resetPersonalMemoryBankConfig, resolveIdentity, resumeCredentialSetupItem, resumeProviderAppProvisioning, resumeUserCredentialBrokering, retainMemoryDocument, retainPersonalMemoryDocument, retainSynthesisSessionMemory, retryMemorySourceSync, retryPersonalMemorySourceBindings, retryWiki, reverseProxyAddProfileOwnershipGrant, reverseProxyAddProfileVisibilityGrant, reverseProxyCreateProfile, reverseProxyDeleteProfile, reverseProxyGetProfile, reverseProxyListProfileOwnershipGrants, reverseProxyListProfiles, reverseProxyListProfileVisibilityGrants, reverseProxyListProviders, reverseProxyProxyGet, reverseProxyProxyPost, reverseProxyRemoveProfileOwnershipGrant, reverseProxyRemoveProfileVisibilityGrant, reverseProxySetProfileOwnership, reverseProxySetProfileVisibility, reverseProxyUpdateProfile, revokeLocalRuntimeTunnelApiKey, revokeProxyToken, revokeTeamInvitation, rotateCustomToolProviderSigningKey, routeAuthCallback, routeCreateApiKey, routeDeleteApiKey, routeGetJwks, routeListApiKeys, routeListDebugAuthProfiles, routeLogout, routeRefreshToken, routeResolveLoginProvider, routeSelectDebugAuthProfile, routeStartAuthorization, searchSkillRegistry, setCommonProviderInstallationOwnership, setCommonProviderInstallationVisibility, setMcpResourceOwnership, setMcpResourceVisibility, setMemoryBankOwnershipMode, setMemoryBankVisibility, setPersonalMemoryBankOwnershipMode, setPersonalMemoryBankVisibility, setPersonalRegistryOwnershipMode, setPersonalRegistryVisibility, setPersonalRscOwnership, setPersonalRscVisibility, setPersonalSkillOwnershipMode, setPersonalSkillVisibility, setPersonalUcOwnership, setPersonalUcVisibility, setPersonalWikiOwnershipMode, setPersonalWikiVisibility, setRscOwnership, setRscVisibility, setSelfOpenbotAvatar, setSignalProviderOwnership, setSignalProviderVisibility, setSkillOwnershipMode, setSkillRegistryOwnershipMode, setSkillRegistryVisibility, setSkillVisibility, setUcOwnership, setUcVisibility, setWikiOwnershipMode, setWikiVisibility, signalsAddPersonalProviderGrant, signalsCreatePersonalProviderInstance, signalsCreateProviderInstance, signalsDeletePersonalProviderInstance, signalsDeleteProviderInstance, signalsGetDelivery, signalsGetPersonalDelivery, signalsGetPersonalProviderInstance, signalsGetProviderInstance, signalsListAvailableProviders, signalsListDeliveries, signalsListPersonalAvailableProviders, signalsListPersonalDeliveries, signalsListPersonalProviderGrants, signalsListPersonalProviderInstances, signalsListProviderInstances, signalsRemovePersonalProviderGrant, signalsRetryDelivery, signalsRetryPersonalDelivery, signalsSetPersonalProviderOwnership, signalsSetPersonalProviderVisibility, signalsTriggerFake, signalsUpdatePersonalProviderInstance, signalsUpdateProviderInstance, startCredentialSetupItem, startOauthDeviceCode, startProviderAppProvisioning, startProxiedMcpServerOauth, startUserCredentialBrokering, stateExport, stateGetImport, stateImport, stateImportEvents, statePlan, stateResolveSource, stateSchema, stateSchemaJson, stateValidate, tildePayPaymentMpp, tildePayPaymentX402, tildePayProvision, tildePayWalletCreate, tildePayWalletSummary, tildePayWalletWaitUntilBalance, traverseWikiGraph, unbindToolGroupFromMcpServer, updateCustomToolProvider, updateHostedOpenbotComputerImage, updateIdentity, updateManagedUserCredential, updateMcpServerInstance, updateMcpServerInstanceFunction, updateMemoryBank, updateMemoryBankConfig, updateOrganization, updateOrganizationMemberRole, updateOrgOidcProvider, updatePersonalMcpServerInstance, updatePersonalMemoryBank, updatePersonalMemoryBankConfig, updatePersonalSkill, updatePersonalSkillRegistry, updatePersonalToolGroupInstance, updatePersonalWiki, updatePersonalWikiPage, updateResourceServerCredential, updateSelfProfile, updateSessionOwnership, updateSessionVisibility, updateSkill, updateSkillRegistry, updateTeam, updateTeamGroup, updateTeamMemberRole, updateToolBoundParams, updateToolGroupInstance, updateTrustedRuntime, updateUserCredential, updateWiki, updateWikiAsset, updateWikiPage, updateWikiPageRelationship, updateWikiPageType, updateWikiRelationshipType, uploadAttachmentContent, uploadHostedOpenbotReleaseFile, uploadSelfAvatar, uploadWikiAssetContent, upsertWikiPageRelationship, validateSynthesisSessionBatch, validateWikiPageTypeData, verifyOrgOidcProviderDomain, walletCreate, walletCustomerCreate, walletCustomerGet, walletCustomerKycGet, walletCustomerList, walletGet, walletGetBalances, walletGetCryptoDepositInformation, walletGetFiatDepositInformation, walletList, walletMakeMppPayment, walletMakeX402Payment, walletTransactionHistoryList, walletTransactionHistoryRefresh, walletVirtualAccountCreate, walletWaitUntilBalance, whoami } from './sdk.gen'; +export { type AcceptInvitationData, type AcceptInvitationError, type AcceptInvitationErrors, type AcceptInvitationRequest, type AcceptInvitationResponse, type AcceptInvitationResponse2, type AcceptInvitationResponses, type AccountOrganizationMembership, type AddChatKitParticipantRequestInner, type AddCommonProviderInstallationOwnershipGrantData, type AddCommonProviderInstallationOwnershipGrantResponse, type AddCommonProviderInstallationOwnershipGrantResponses, type AddCommonProviderInstallationVisibilityGrantData, type AddCommonProviderInstallationVisibilityGrantResponse, type AddCommonProviderInstallationVisibilityGrantResponses, type AddIdentityTeamData, type AddIdentityTeamResponse, type AddIdentityTeamResponses, type AddMcpResourceOwnershipGrantData, type AddMcpResourceOwnershipGrantResponse, type AddMcpResourceOwnershipGrantResponses, type AddMcpResourceVisibilityGrantData, type AddMcpResourceVisibilityGrantResponse, type AddMcpResourceVisibilityGrantResponses, type AddMcpServerInstanceFunctionBody, type AddMcpServerInstanceFunctionData, type AddMcpServerInstanceFunctionError, type AddMcpServerInstanceFunctionErrors, type AddMcpServerInstanceFunctionResponse, type AddMcpServerInstanceFunctionResponses, type AddMemoryBankOwnershipGrantData, type AddMemoryBankOwnershipGrantResponse, type AddMemoryBankOwnershipGrantResponses, type AddMemoryBankVisibilityGrantData, type AddMemoryBankVisibilityGrantResponse, type AddMemoryBankVisibilityGrantResponses, type AddOrganizationMemberData, type AddOrganizationMemberError, type AddOrganizationMemberErrors, type AddOrganizationMemberRequest, type AddOrganizationMemberResponse, type AddOrganizationMemberResponses, type AddPersonalMemoryBankOwnershipGrantData, type AddPersonalMemoryBankOwnershipGrantResponse, type AddPersonalMemoryBankOwnershipGrantResponses, type AddPersonalMemoryBankVisibilityGrantData, type AddPersonalMemoryBankVisibilityGrantResponse, type AddPersonalMemoryBankVisibilityGrantResponses, type AddPersonalRegistryOwnershipGrantData, type AddPersonalRegistryOwnershipGrantResponse, type AddPersonalRegistryOwnershipGrantResponses, type AddPersonalRegistryVisibilityGrantData, type AddPersonalRegistryVisibilityGrantResponse, type AddPersonalRegistryVisibilityGrantResponses, type AddPersonalRscOwnershipGrantData, type AddPersonalRscOwnershipGrantResponse, type AddPersonalRscOwnershipGrantResponses, type AddPersonalRscVisibilityGrantData, type AddPersonalRscVisibilityGrantResponse, type AddPersonalRscVisibilityGrantResponses, type AddPersonalSkillOwnershipGrantData, type AddPersonalSkillOwnershipGrantResponse, type AddPersonalSkillOwnershipGrantResponses, type AddPersonalSkillVisibilityGrantData, type AddPersonalSkillVisibilityGrantResponse, type AddPersonalSkillVisibilityGrantResponses, type AddPersonalUcOwnershipGrantData, type AddPersonalUcOwnershipGrantResponse, type AddPersonalUcOwnershipGrantResponses, type AddPersonalUcVisibilityGrantData, type AddPersonalUcVisibilityGrantResponse, type AddPersonalUcVisibilityGrantResponses, type AddPersonalWikiOwnershipGrantData, type AddPersonalWikiOwnershipGrantResponse, type AddPersonalWikiOwnershipGrantResponses, type AddPersonalWikiVisibilityGrantData, type AddPersonalWikiVisibilityGrantResponse, type AddPersonalWikiVisibilityGrantResponses, type AddProviderSkillsToRegistryRequest, type AddProviderSkillsToSkillRegistryData, type AddProviderSkillsToSkillRegistryError, type AddProviderSkillsToSkillRegistryErrors, type AddProviderSkillsToSkillRegistryResponse, type AddProviderSkillsToSkillRegistryResponses, type AddRscOwnershipGrantData, type AddRscOwnershipGrantResponse, type AddRscOwnershipGrantResponses, type AddRscVisibilityGrantData, type AddRscVisibilityGrantResponse, type AddRscVisibilityGrantResponses, type AddSessionResourceGrantData, type AddSessionResourceGrantError, type AddSessionResourceGrantErrors, type AddSessionResourceGrantResponse, type AddSessionResourceGrantResponses, type AddSessionUserMemberData, type AddSessionUserMemberError, type AddSessionUserMemberErrors, type AddSessionUserMemberRequest, type AddSessionUserMemberResponse, type AddSessionUserMemberResponses, type AddSignalProviderGrantData, type AddSignalProviderGrantResponse, type AddSignalProviderGrantResponses, type AddSkillOwnershipGrantData, type AddSkillOwnershipGrantResponse, type AddSkillOwnershipGrantResponses, type AddSkillRegistryOwnershipGrantData, type AddSkillRegistryOwnershipGrantResponse, type AddSkillRegistryOwnershipGrantResponses, type AddSkillRegistryVisibilityGrantData, type AddSkillRegistryVisibilityGrantResponse, type AddSkillRegistryVisibilityGrantResponses, type AddSkillVisibilityGrantData, type AddSkillVisibilityGrantResponse, type AddSkillVisibilityGrantResponses, type AddTeamGroupMemberData, type AddTeamGroupMemberError, type AddTeamGroupMemberErrors, type AddTeamGroupMemberResponses, type AddTeamMemberBody, type AddTeamMemberData, type AddTeamMemberError, type AddTeamMemberErrors, type AddTeamMemberResponse, type AddTeamMemberResponses, type AddUcOwnershipGrantData, type AddUcOwnershipGrantResponse, type AddUcOwnershipGrantResponses, type AddUcVisibilityGrantData, type AddUcVisibilityGrantResponse, type AddUcVisibilityGrantResponses, type AddWikiOwnershipGrantData, type AddWikiOwnershipGrantResponse, type AddWikiOwnershipGrantResponses, type AddWikiVisibilityGrantData, type AddWikiVisibilityGrantResponse, type AddWikiVisibilityGrantResponses, type Agent, AgentCredentialStrategy, type AgentEndpointSpec, AgentEventVisibility, type AgentJob, type AgentJobArtifact, type AgentJobBudget, type AgentJobPaginatedResponse, AgentJobStatus, type AgentMultiplayerPermissions, type AgentObservabilityConfiguration, type AgentObservabilityPolicy, type AgentPermissions, type AgentProvisioningOperation, type AgentProvisioningOutputs, AgentProvisioningStatus, type AgentReachScope, type AgentRun, type AgentRunBudget, type AgentRunEffectReceipt, type AgentRunJobContext, AgentRunStatus, type AgentSpec, type AgentToolCatalogEntry, AgentToolSource, AgentToolStatus, type AiCreditReservation, type AiCreditTopup, type AppendAgentRunStepInner, type ApplyOntologyTemplateResult, type ApplyWikiOntologyTemplateData, type ApplyWikiOntologyTemplateResponse, type ApplyWikiOntologyTemplateResponses, type Approval, ApprovalDecision, type AssignMemoryBankSynthesizerBody, type AssignPersonalMemoryBankSynthesizerData, type AssignPersonalMemoryBankSynthesizerResponse, type AssignPersonalMemoryBankSynthesizerResponses, type AssociatedToolkit, type Attachment, AttachmentUploadStatus, type AuthorizeOauthDeviceCodeData, type AuthorizeOauthDeviceCodeError, type AuthorizeOauthDeviceCodeErrors, type AuthorizeOauthDeviceCodeResponses, type AutomationsAddGrantData, type AutomationsAddGrantResponse, type AutomationsAddGrantResponses, type AutomationsDeleteData, type AutomationsDeleteResponse, type AutomationsDeleteResponses, type AutomationsGetData, type AutomationsGetError, type AutomationsGetErrors, type AutomationsGetResponse, type AutomationsGetResponses, type AutomationsListData, type AutomationsListExecutionsData, type AutomationsListExecutionsResponse, type AutomationsListExecutionsResponses, type AutomationsListGrantsData, type AutomationsListGrantsResponse, type AutomationsListGrantsResponses, type AutomationsListResponse, type AutomationsListResponses, type AutomationsPutData, type AutomationsPutError, type AutomationsPutErrors, type AutomationsPutResponse, type AutomationsPutResponses, type AutomationsRemoveGrantData, type AutomationsRemoveGrantResponses, type AutomationsRunData, type AutomationsRunResponse, type AutomationsRunResponses, type AutomationsSetOwnershipData, type AutomationsSetOwnershipResponse, type AutomationsSetOwnershipResponses, type AutomationsSetVisibilityData, type AutomationsSetVisibilityResponse, type AutomationsSetVisibilityResponses, type AutoProvisionSlackChannelInstallationRequestInner, type AutoProvisionSlackChannelInstallationResponse, type AutoProvisionToolGroupInstanceData, type AutoProvisionToolGroupInstanceError, type AutoProvisionToolGroupInstanceErrors, type AutoProvisionToolGroupInstanceParamsInner, type AutoProvisionToolGroupInstanceResponse, type AutoProvisionToolGroupInstanceResponse2, type AutoProvisionToolGroupInstanceResponses, type AutumnWebhookHandlerData, type AutumnWebhookHandlerErrors, type AutumnWebhookHandlerResponses, type BillingAiCreditReceiptCommitData, type BillingAiCreditReceiptCommitResponse, type BillingAiCreditReceiptCommitResponses, type BillingAiCreditReservationReleaseData, type BillingAiCreditReservationReleaseResponse, type BillingAiCreditReservationReleaseResponses, type BillingAiCreditReserveData, type BillingAiCreditReserveResponse, type BillingAiCreditReserveResponses, type BillingAiCreditTopupCreateData, type BillingAiCreditTopupCreateError, type BillingAiCreditTopupCreateErrors, type BillingAiCreditTopupCreateResponse, type BillingAiCreditTopupCreateResponses, type BillingAiGatewayEnsureData, type BillingAiGatewayEnsureError, type BillingAiGatewayEnsureErrors, type BillingAiGatewayEnsureResponse, type BillingAiGatewayEnsureResponses, type BillingAutumnBridgePostData, type BillingAutumnBridgePostError, type BillingAutumnBridgePostErrors, type BillingAutumnBridgePostResponses, type BillingContext, type BillingContextGetData, type BillingContextGetError, type BillingContextGetErrors, type BillingContextGetResponse, type BillingContextGetResponses, type BillingEnrollAccountData, type BillingEnrollAccountError, type BillingEnrollAccountErrors, type BillingEnrollAccountResponse, type BillingEnrollAccountResponses, type BillingProductEnrollCurrentHumanData, type BillingProductEnrollCurrentHumanError, type BillingProductEnrollCurrentHumanErrors, type BillingProductEnrollCurrentHumanResponse, type BillingProductEnrollCurrentHumanResponses, BillingProductId, type BillingRedirectData, type BillingRedirectErrors, type BillingRemoveAccountSeatData, type BillingRemoveAccountSeatError, type BillingRemoveAccountSeatErrors, type BillingRemoveAccountSeatResponse, type BillingRemoveAccountSeatResponses, type BillingWebhookStripeDeprecatedData, type BillingWebhookStripeDeprecatedResponse, type BillingWebhookStripeDeprecatedResponses, type BindToolGroupToMcpServerData, type BindToolGroupToMcpServerError, type BindToolGroupToMcpServerErrors, type BindToolGroupToMcpServerResponse, type BindToolGroupToMcpServerResponses, type BrokerAction, type BrokerActionRedirect, type BrokerInput, type BrokerState, type BulkAddMcpServerInstanceFunctionItem, type BulkAddMcpServerInstanceFunctionsBody, type BulkAddMcpServerInstanceFunctionsData, type BulkAddMcpServerInstanceFunctionsError, type BulkAddMcpServerInstanceFunctionsErrors, type BulkAddMcpServerInstanceFunctionsResponse, type BulkAddMcpServerInstanceFunctionsResponses, type BulkRemoveMcpServerInstanceFunctionsBody, type BulkRemoveMcpServerInstanceFunctionsData, type BulkRemoveMcpServerInstanceFunctionsError, type BulkRemoveMcpServerInstanceFunctionsErrors, type BulkRemoveMcpServerInstanceFunctionsResponse, type BulkRemoveMcpServerInstanceFunctionsResponses, type CacheConvertedMessagesRequest, type CacheConvertedMessagesResponse, type CachedAgentRepresentation, type CancelHumanApprovalActionData, type CancelHumanApprovalActionError, type CancelHumanApprovalActionErrors, type CancelHumanApprovalActionRequest, type CancelHumanApprovalActionResponse, type CancelHumanApprovalActionResponses, type CapabilityChangeApproval, CapabilityChangeDecision, type ChangePersonalWikiOwnershipData, type ChangePersonalWikiOwnershipResponse, type ChangePersonalWikiOwnershipResponses, type ChangeResourceOwnershipRequest, type ChangeWikiOwnershipData, type ChangeWikiOwnershipResponse, type ChangeWikiOwnershipResponses, type ChannelDeliveryOptions, type ChatApproval, ChatApprovalDecision, type ChatChannelInstallationInstructions, ChatChannelPlatformScope, type ChatChannelProvider, type ChatChannelProviderAuthMethod, type ChatChannelSubscriptionOption, type ChatkitAddAgentResourceGrantData, type ChatkitAddAgentResourceGrantError, type ChatkitAddAgentResourceGrantErrors, type ChatkitAddAgentResourceGrantResponse, type ChatkitAddAgentResourceGrantResponses, type ChatkitAddSessionParticipantData, type ChatkitAddSessionParticipantError, type ChatkitAddSessionParticipantErrors, type ChatkitAddSessionParticipantResponse, type ChatkitAddSessionParticipantResponses, type ChatKitAgent, type ChatKitAgentAvatar, ChatKitAgentConcurrencyPolicy, type ChatKitAgentInvocationActor, type ChatKitAgentJobExecutionContext, type ChatKitAgentPaginatedResponse, type ChatKitAgentRunExecutionContext, type ChatKitAgentTurnQueueItem, type ChatKitAgentTurnQueueItemPaginatedResponse, ChatKitAgentTurnQueueStatus, type ChatkitAppendAgentRunStepData, type ChatkitAppendAgentRunStepResponse, type ChatkitAppendAgentRunStepResponses, type ChatkitApproveSelfExtensionProposalData, type ChatkitApproveSelfExtensionProposalResponse, type ChatkitApproveSelfExtensionProposalResponses, type ChatKitAutomaticMemoryItem, ChatKitAutomaticMemoryMode, type ChatKitAutomaticMemoryProjection, type ChatkitAutoProvisionSlackChannelInstallationData, type ChatkitAutoProvisionSlackChannelInstallationError, type ChatkitAutoProvisionSlackChannelInstallationErrors, type ChatkitAutoProvisionSlackChannelInstallationResponse, type ChatkitAutoProvisionSlackChannelInstallationResponses, type ChatkitCacheConvertedMessagesData, type ChatkitCacheConvertedMessagesError, type ChatkitCacheConvertedMessagesErrors, type ChatkitCacheConvertedMessagesResponse, type ChatkitCacheConvertedMessagesResponses, type ChatkitCancelSelfExtensionProposalData, type ChatkitCancelSelfExtensionProposalResponse, type ChatkitCancelSelfExtensionProposalResponses, type ChatKitChatProviderConfigField, type ChatkitClaimAgentResourceBundleOutputsData, type ChatkitClaimAgentResourceBundleOutputsResponse, type ChatkitClaimAgentResourceBundleOutputsResponses, type ChatkitClaimAgentRunsData, type ChatkitClaimAgentRunsResponse, type ChatkitClaimAgentRunsResponses, type ChatkitClaimSelfExtensionProposalOutputsData, type ChatkitClaimSelfExtensionProposalOutputsResponse, type ChatkitClaimSelfExtensionProposalOutputsResponses, type ChatkitCollectAgentJobResultData, type ChatkitCollectAgentJobResultResponse, type ChatkitCollectAgentJobResultResponses, type ChatKitCompactedHistoryResponse, type ChatKitCompactionCheckpoint, type ChatKitCompactionLifecycleInput, type ChatkitCompleteSlackProviderProvisionedSetupData, type ChatkitCompleteSlackProviderProvisionedSetupError, type ChatkitCompleteSlackProviderProvisionedSetupErrors, type ChatkitCompleteSlackProviderProvisionedSetupResponse, type ChatkitCompleteSlackProviderProvisionedSetupResponses, type ChatkitCompleteSlackSelfManagedSetupData, type ChatkitCompleteSlackSelfManagedSetupError, type ChatkitCompleteSlackSelfManagedSetupErrors, type ChatkitCompleteSlackSelfManagedSetupResponse, type ChatkitCompleteSlackSelfManagedSetupResponses, type ChatkitControlAgentRunData, type ChatkitControlAgentRunResponse, type ChatkitControlAgentRunResponses, type ChatkitCreateAgentRunData, type ChatkitCreateAgentRunResponse, type ChatkitCreateAgentRunResponses, type ChatkitCreateCustomProviderData, type ChatkitCreateCustomProviderError, type ChatkitCreateCustomProviderErrors, type ChatkitCreateCustomProviderResponse, type ChatkitCreateCustomProviderResponses, type ChatkitCreateGoalData, type ChatkitCreateGoalResponse, type ChatkitCreateGoalResponses, type ChatkitCreateRoomInvitationData, type ChatkitCreateRoomInvitationError, type ChatkitCreateRoomInvitationErrors, type ChatkitCreateRoomInvitationResponse, type ChatkitCreateRoomInvitationResponses, type ChatkitCreateSessionData, type ChatkitCreateSessionError, type ChatkitCreateSessionErrors, type ChatkitCreateSessionResponse, type ChatkitCreateSessionResponses, type ChatkitCreateSlackChannelInstallationData, type ChatkitCreateSlackChannelInstallationError, type ChatkitCreateSlackChannelInstallationErrors, type ChatkitCreateSlackChannelInstallationResponse, type ChatkitCreateSlackChannelInstallationResponses, type ChatkitCreateTaskData, type ChatkitCreateTaskResponse, type ChatkitCreateTaskResponses, type ChatkitCustomProviderRuntimeData, type ChatkitCustomProviderRuntimeError, type ChatkitCustomProviderRuntimeErrors, type ChatkitCustomProviderRuntimeResponse, type ChatkitCustomProviderRuntimeResponses, type ChatkitDecideCapabilityChangeData, type ChatkitDecideCapabilityChangeResponse, type ChatkitDecideCapabilityChangeResponses, type ChatkitDecideRoomInvitationData, type ChatkitDecideRoomInvitationError, type ChatkitDecideRoomInvitationErrors, type ChatkitDecideRoomInvitationResponse, type ChatkitDecideRoomInvitationResponses, type ChatkitDelegateAgentJobData, type ChatkitDelegateAgentJobResponse, type ChatkitDelegateAgentJobResponses, type ChatkitDeleteAgentData, type ChatkitDeleteAgentError, type ChatkitDeleteAgentErrors, type ChatkitDeleteAgentResponse, type ChatkitDeleteAgentResponses, type ChatkitDeleteAgentTurnQueueItemData, type ChatkitDeleteAgentTurnQueueItemError, type ChatkitDeleteAgentTurnQueueItemErrors, type ChatkitDeleteAgentTurnQueueItemResponse, type ChatkitDeleteAgentTurnQueueItemResponses, type ChatkitDeleteChatProviderData, type ChatkitDeleteChatProviderError, type ChatkitDeleteChatProviderErrors, type ChatkitDeleteChatProviderResponse, type ChatkitDeleteChatProviderResponses, type ChatkitDeleteCustomProviderData, type ChatkitDeleteCustomProviderError, type ChatkitDeleteCustomProviderErrors, type ChatkitDeleteCustomProviderResponse, type ChatkitDeleteCustomProviderResponses, type ChatkitDisableCustomProviderData, type ChatkitDisableCustomProviderError, type ChatkitDisableCustomProviderErrors, type ChatkitDisableCustomProviderResponse, type ChatkitDisableCustomProviderResponses, type ChatkitEnableCustomProviderData, type ChatkitEnableCustomProviderError, type ChatkitEnableCustomProviderErrors, type ChatkitEnableCustomProviderResponse, type ChatkitEnableCustomProviderResponses, type ChatKitExecutionContext, type ChatkitFinishAgentRunEffectData, type ChatkitFinishAgentRunEffectResponse, type ChatkitFinishAgentRunEffectResponses, type ChatkitGetActiveAgentRunData, type ChatkitGetActiveAgentRunResponse, type ChatkitGetActiveAgentRunResponses, type ChatkitGetAgentAvatarData, type ChatkitGetAgentAvatarError, type ChatkitGetAgentAvatarErrors, type ChatkitGetAgentAvatarResponse, type ChatkitGetAgentAvatarResponses, type ChatkitGetAgentData, type ChatkitGetAgentError, type ChatkitGetAgentErrors, type ChatkitGetAgentJobData, type ChatkitGetAgentJobResponse, type ChatkitGetAgentJobResponses, type ChatkitGetAgentObservabilityData, type ChatkitGetAgentObservabilityError, type ChatkitGetAgentObservabilityErrors, type ChatkitGetAgentObservabilityResponse, type ChatkitGetAgentObservabilityResponses, type ChatkitGetAgentResourceBundleProvisioningData, type ChatkitGetAgentResourceBundleProvisioningResponse, type ChatkitGetAgentResourceBundleProvisioningResponses, type ChatkitGetAgentResponse, type ChatkitGetAgentResponses, type ChatkitGetAgentRunData, type ChatkitGetAgentRunEffectData, type ChatkitGetAgentRunEffectResponse, type ChatkitGetAgentRunEffectResponses, type ChatkitGetAgentRunResponse, type ChatkitGetAgentRunResponses, type ChatkitGetCompactedHistoryData, type ChatkitGetCompactedHistoryError, type ChatkitGetCompactedHistoryErrors, type ChatkitGetCompactedHistoryResponse, type ChatkitGetCompactedHistoryResponses, type ChatkitGetCustomConnectionData, type ChatkitGetCustomConnectionError, type ChatkitGetCustomConnectionErrors, type ChatkitGetCustomConnectionResponse, type ChatkitGetCustomConnectionResponses, type ChatkitGetCustomProviderData, type ChatkitGetCustomProviderError, type ChatkitGetCustomProviderErrors, type ChatkitGetCustomProviderResponse, type ChatkitGetCustomProviderResponses, type ChatkitGetGoalData, type ChatkitGetGoalResponse, type ChatkitGetGoalResponses, type ChatkitGetLatestCompactionData, type ChatkitGetLatestCompactionError, type ChatkitGetLatestCompactionErrors, type ChatkitGetLatestCompactionResponse, type ChatkitGetLatestCompactionResponses, type ChatkitGetSelfExtensionProposalData, type ChatkitGetSelfExtensionProposalResponse, type ChatkitGetSelfExtensionProposalResponses, type ChatkitGetTaskData, type ChatkitGetTaskResponse, type ChatkitGetTaskResponses, type ChatkitHydrateConvertedMessagesData, type ChatkitHydrateConvertedMessagesError, type ChatkitHydrateConvertedMessagesErrors, type ChatkitHydrateConvertedMessagesResponse, type ChatkitHydrateConvertedMessagesResponses, type ChatKitIdentity, ChatKitIdentityKind, type ChatkitIngestCustomProviderMessageData, type ChatkitIngestCustomProviderMessageError, type ChatkitIngestCustomProviderMessageErrors, type ChatkitIngestCustomProviderMessageResponse, type ChatkitIngestCustomProviderMessageResponses, type ChatkitInvokeSessionProviderToolData, type ChatkitInvokeSessionProviderToolError, type ChatkitInvokeSessionProviderToolErrors, type ChatkitInvokeSessionProviderToolResponse, type ChatkitInvokeSessionProviderToolResponses, type ChatkitJoinSessionData, type ChatkitJoinSessionError, type ChatkitJoinSessionErrors, type ChatkitJoinSessionResponse, type ChatkitJoinSessionResponses, type ChatkitListAgentJobsData, type ChatkitListAgentJobsResponse, type ChatkitListAgentJobsResponses, type ChatkitListAgentResourceGrantsData, type ChatkitListAgentResourceGrantsError, type ChatkitListAgentResourceGrantsErrors, type ChatkitListAgentResourceGrantsResponse, type ChatkitListAgentResourceGrantsResponses, type ChatkitListAgentsData, type ChatkitListAgentsError, type ChatkitListAgentsErrors, type ChatkitListAgentsResponse, type ChatkitListAgentsResponses, type ChatkitListAgentTurnQueueData, type ChatkitListAgentTurnQueueError, type ChatkitListAgentTurnQueueErrors, type ChatkitListAgentTurnQueueResponse, type ChatkitListAgentTurnQueueResponses, type ChatkitListAvailableChatChannelsData, type ChatkitListAvailableChatChannelsError, type ChatkitListAvailableChatChannelsErrors, type ChatkitListAvailableChatChannelsResponse, type ChatkitListAvailableChatChannelsResponses, type ChatkitListAvailableChatProvidersData, type ChatkitListAvailableChatProvidersError, type ChatkitListAvailableChatProvidersErrors, type ChatkitListAvailableChatProvidersResponse, type ChatkitListAvailableChatProvidersResponses, type ChatkitListChatProvidersData, type ChatkitListChatProvidersError, type ChatkitListChatProvidersErrors, type ChatkitListChatProvidersResponse, type ChatkitListChatProvidersResponses, type ChatkitListCustomConnectionsData, type ChatkitListCustomConnectionsError, type ChatkitListCustomConnectionsErrors, type ChatkitListCustomConnectionsResponse, type ChatkitListCustomConnectionsResponses, type ChatkitListCustomConnectionWorkData, type ChatkitListCustomConnectionWorkError, type ChatkitListCustomConnectionWorkErrors, type ChatkitListCustomConnectionWorkResponse, type ChatkitListCustomConnectionWorkResponses, type ChatkitListCustomProviderData, type ChatkitListCustomProviderError, type ChatkitListCustomProviderErrors, type ChatkitListCustomProviderResponse, type ChatkitListCustomProviderResponses, type ChatkitListGoalsData, type ChatkitListGoalsResponse, type ChatkitListGoalsResponses, type ChatkitListMessageHistoryData, type ChatkitListMessageHistoryError, type ChatkitListMessageHistoryErrors, type ChatkitListMessageHistoryResponse, type ChatkitListMessageHistoryResponses, type ChatkitListRoomInvitationsData, type ChatkitListRoomInvitationsError, type ChatkitListRoomInvitationsErrors, type ChatkitListRoomInvitationsResponse, type ChatkitListRoomInvitationsResponses, type ChatkitListSelfExtensionProposalsData, type ChatkitListSelfExtensionProposalsResponse, type ChatkitListSelfExtensionProposalsResponses, type ChatkitListSessionParticipantsData, type ChatkitListSessionParticipantsError, type ChatkitListSessionParticipantsErrors, type ChatkitListSessionParticipantsResponse, type ChatkitListSessionParticipantsResponses, type ChatkitListSessionProviderToolsData, type ChatkitListSessionProviderToolsError, type ChatkitListSessionProviderToolsErrors, type ChatkitListSessionProviderToolsResponse, type ChatkitListSessionProviderToolsResponses, type ChatkitListSessionsData, type ChatkitListSessionsError, type ChatkitListSessionsErrors, type ChatkitListSessionsResponse, type ChatkitListSessionsResponses, type ChatkitListTasksData, type ChatkitListTasksResponse, type ChatkitListTasksResponses, type ChatKitMessageIdentity, type ChatKitParticipant, type ChatKitParticipantInput, ChatKitParticipantMembershipSource, ChatKitParticipantRole, ChatKitParticipantType, type ChatkitPrepareAgentRunEffectData, type ChatkitPrepareAgentRunEffectResponse, type ChatkitPrepareAgentRunEffectResponses, type ChatkitProposeSelfExtensionData, type ChatkitProposeSelfExtensionResponse, type ChatkitProposeSelfExtensionResponses, type ChatKitProviderManifest, type ChatkitProvisionAgentResourceBundleData, type ChatkitProvisionAgentResourceBundleResponse, type ChatkitProvisionAgentResourceBundleResponses, type ChatKitRealtimeSocketTicket, ChatKitRealtimeTicketTransport, type ChatkitRecallAutomaticMemoryData, type ChatkitRecallAutomaticMemoryError, type ChatkitRecallAutomaticMemoryErrors, type ChatkitRecallAutomaticMemoryResponse, type ChatkitRecallAutomaticMemoryResponses, type ChatkitRefreshCustomProviderData, type ChatkitRefreshCustomProviderError, type ChatkitRefreshCustomProviderErrors, type ChatkitRefreshCustomProviderResponse, type ChatkitRefreshCustomProviderResponses, type ChatkitRegisterAgentToolsData, type ChatkitRegisterAgentToolsError, type ChatkitRegisterAgentToolsErrors, type ChatkitRegisterAgentToolsResponse, type ChatkitRegisterAgentToolsResponses, type ChatkitRegisterChatProviderData, type ChatkitRegisterChatProviderError, type ChatkitRegisterChatProviderErrors, type ChatkitRegisterChatProviderResponse, type ChatkitRegisterChatProviderResponses, type ChatkitRegisterHttpVercelAiSdkAgentData, type ChatkitRegisterHttpVercelAiSdkAgentError, type ChatkitRegisterHttpVercelAiSdkAgentErrors, type ChatkitRegisterHttpVercelAiSdkAgentResponse, type ChatkitRegisterHttpVercelAiSdkAgentResponses, type ChatkitRegisterVercelUiChatProviderData, type ChatkitRegisterVercelUiChatProviderError, type ChatkitRegisterVercelUiChatProviderErrors, type ChatkitRegisterVercelUiChatProviderResponse, type ChatkitRegisterVercelUiChatProviderResponses, type ChatkitRejectSelfExtensionProposalData, type ChatkitRejectSelfExtensionProposalResponse, type ChatkitRejectSelfExtensionProposalResponses, type ChatkitRemoveAgentResourceGrantData, type ChatkitRemoveAgentResourceGrantError, type ChatkitRemoveAgentResourceGrantErrors, type ChatkitRemoveAgentResourceGrantResponse, type ChatkitRemoveAgentResourceGrantResponses, type ChatkitRemoveSessionParticipantData, type ChatkitRemoveSessionParticipantError, type ChatkitRemoveSessionParticipantErrors, type ChatkitRemoveSessionParticipantResponse, type ChatkitRemoveSessionParticipantResponses, type ChatkitReorderAgentTurnQueueItemData, type ChatkitReorderAgentTurnQueueItemError, type ChatkitReorderAgentTurnQueueItemErrors, type ChatkitReorderAgentTurnQueueItemResponse, type ChatkitReorderAgentTurnQueueItemResponses, type ChatkitReportCompactionEventData, type ChatkitReportCompactionEventError, type ChatkitReportCompactionEventErrors, type ChatkitReportCompactionEventResponse, type ChatkitReportCompactionEventResponses, type ChatkitReportToolExecutionData, type ChatkitReportToolExecutionError, type ChatkitReportToolExecutionErrors, type ChatkitReportToolExecutionResponse, type ChatkitReportToolExecutionResponses, type ChatKitRequestAgent, type ChatKitRequestAgentAvatar, type ChatkitResumeAgentJobData, type ChatkitResumeAgentJobResponse, type ChatkitResumeAgentJobResponses, type ChatkitRetryCustomConnectionWorkData, type ChatkitRetryCustomConnectionWorkError, type ChatkitRetryCustomConnectionWorkErrors, type ChatkitRetryCustomConnectionWorkResponse, type ChatkitRetryCustomConnectionWorkResponses, type ChatkitRevokeRoomInvitationData, type ChatkitRevokeRoomInvitationError, type ChatkitRevokeRoomInvitationErrors, type ChatkitRevokeRoomInvitationResponse, type ChatkitRevokeRoomInvitationResponses, type ChatkitRollbackSelfExtensionProposalData, type ChatkitRollbackSelfExtensionProposalResponse, type ChatkitRollbackSelfExtensionProposalResponses, type ChatKitRoomInvitation, ChatKitRoomInvitationDecision, type ChatKitRoomInvitationPaginatedResponse, ChatKitRoomInvitationStatus, type ChatkitRotateCustomConnectionCredentialsData, type ChatkitRotateCustomConnectionCredentialsError, type ChatkitRotateCustomConnectionCredentialsErrors, type ChatkitRotateCustomConnectionCredentialsResponse, type ChatkitRotateCustomConnectionCredentialsResponses, type ChatkitRotateCustomProviderData, type ChatkitRotateCustomProviderError, type ChatkitRotateCustomProviderErrors, type ChatkitRotateCustomProviderResponse, type ChatkitRotateCustomProviderResponses, type ChatKitSearchAgent, type ChatkitSearchData, type ChatkitSearchError, type ChatkitSearchErrors, type ChatKitSearchHit, ChatKitSearchHitKind, type ChatKitSearchHitPaginatedResponse, type ChatkitSearchResponse, type ChatkitSearchResponses, type ChatKitSearchSession, type ChatkitSendSessionMessageData, type ChatkitSendSessionMessageError, type ChatkitSendSessionMessageErrors, type ChatkitSendSessionMessageResponse, type ChatkitSendSessionMessageResponses, type ChatKitSessionUserState, type ChatKitSessionWithParticipants, type ChatkitSetAgentPermissionsData, type ChatkitSetAgentPermissionsError, type ChatkitSetAgentPermissionsErrors, type ChatkitSetAgentPermissionsResponse, type ChatkitSetAgentPermissionsResponses, type ChatkitSetAgentStatusData, type ChatkitSetAgentStatusError, type ChatkitSetAgentStatusErrors, type ChatkitSetAgentStatusResponse, type ChatkitSetAgentStatusResponses, type ChatkitSetChatProviderStatusData, type ChatkitSetChatProviderStatusError, type ChatkitSetChatProviderStatusErrors, type ChatkitSetChatProviderStatusResponse, type ChatkitSetChatProviderStatusResponses, type ChatkitStartSlackOauthData, type ChatkitStartSlackOauthError, type ChatkitStartSlackOauthErrors, type ChatkitStartSlackOauthResponse, type ChatkitStartSlackOauthResponses, type ChatkitSteerAgentJobData, type ChatkitSteerAgentJobResponse, type ChatkitSteerAgentJobResponses, type ChatkitSteerAgentTurnQueueItemData, type ChatkitSteerAgentTurnQueueItemError, type ChatkitSteerAgentTurnQueueItemErrors, type ChatkitSteerAgentTurnQueueItemResponse, type ChatkitSteerAgentTurnQueueItemResponses, type ChatkitStopAgentJobData, type ChatkitStopAgentJobResponse, type ChatkitStopAgentJobResponses, type ChatkitStreamSessionEventsData, type ChatkitStreamSessionEventsError, type ChatkitStreamSessionEventsErrors, type ChatkitStreamSessionEventsResponses, type ChatkitTransitionAgentRunData, type ChatkitTransitionAgentRunResponse, type ChatkitTransitionAgentRunResponses, type ChatkitUpdateAgentAvatarData, type ChatkitUpdateAgentAvatarError, type ChatkitUpdateAgentAvatarErrors, type ChatkitUpdateAgentAvatarResponse, type ChatkitUpdateAgentAvatarResponses, type ChatkitUpdateAgentData, type ChatkitUpdateAgentError, type ChatkitUpdateAgentErrors, type ChatkitUpdateAgentObservabilityData, type ChatkitUpdateAgentObservabilityError, type ChatkitUpdateAgentObservabilityErrors, type ChatkitUpdateAgentObservabilityResponse, type ChatkitUpdateAgentObservabilityResponses, type ChatkitUpdateAgentOwnershipData, type ChatkitUpdateAgentOwnershipError, type ChatkitUpdateAgentOwnershipErrors, type ChatkitUpdateAgentOwnershipResponse, type ChatkitUpdateAgentOwnershipResponses, type ChatkitUpdateAgentResponse, type ChatkitUpdateAgentResponses, type ChatkitUpdateAgentToolVisibilityData, type ChatkitUpdateAgentToolVisibilityError, type ChatkitUpdateAgentToolVisibilityErrors, type ChatkitUpdateAgentToolVisibilityResponse, type ChatkitUpdateAgentToolVisibilityResponses, type ChatkitUpdateAgentVisibilityData, type ChatkitUpdateAgentVisibilityError, type ChatkitUpdateAgentVisibilityErrors, type ChatkitUpdateAgentVisibilityResponse, type ChatkitUpdateAgentVisibilityResponses, type ChatkitUpdateChatProviderData, type ChatkitUpdateChatProviderError, type ChatkitUpdateChatProviderErrors, type ChatkitUpdateChatProviderResponse, type ChatkitUpdateChatProviderResponses, type ChatkitUpdateCustomProviderData, type ChatkitUpdateCustomProviderError, type ChatkitUpdateCustomProviderErrors, type ChatkitUpdateCustomProviderResponse, type ChatkitUpdateCustomProviderResponses, type ChatkitUpdateGoalData, type ChatkitUpdateGoalResponse, type ChatkitUpdateGoalResponses, type ChatkitUpdateTaskData, type ChatkitUpdateTaskResponse, type ChatkitUpdateTaskResponses, type ChatkitWorkspaceAgentSessionsData, type ChatkitWorkspaceAgentSessionsResponse, type ChatKitWorkspaceAgentSessionsResponse, type ChatkitWorkspaceAgentSessionsResponses, type ChatKitWorkspaceAgentSummary, type ChatKitWorkspaceAttachmentCompletion, type ChatkitWorkspaceBootstrapData, type ChatkitWorkspaceBootstrapResponse, type ChatKitWorkspaceBootstrapResponse, type ChatkitWorkspaceBootstrapResponses, type ChatKitWorkspaceConversationSnapshot, type ChatkitWorkspaceConversationSnapshotData, type ChatkitWorkspaceConversationSnapshotResponse, type ChatkitWorkspaceConversationSnapshotResponses, type ChatkitWorkspaceCreateSessionData, type ChatkitWorkspaceCreateSessionResponse, type ChatkitWorkspaceCreateSessionResponses, type ChatkitWorkspaceInterruptSessionData, type ChatkitWorkspaceInterruptSessionResponse, type ChatkitWorkspaceInterruptSessionResponses, type ChatkitWorkspaceMessagesData, type ChatkitWorkspaceMessagesResponse, type ChatkitWorkspaceMessagesResponses, type ChatKitWorkspaceParticipantEvent, type ChatKitWorkspaceParticipantEventKind, type ChatKitWorkspaceQueuedTurns, type ChatkitWorkspaceRenameThreadData, type ChatkitWorkspaceRenameThreadResponse, type ChatkitWorkspaceRenameThreadResponses, type ChatkitWorkspaceSendMessageData, type ChatkitWorkspaceSendMessageResponse, type ChatkitWorkspaceSendMessageResponses, type ChatKitWorkspaceSessionSummary, type ChatkitWorkspaceSidebarData, type ChatkitWorkspaceSidebarResponse, type ChatKitWorkspaceSidebarResponse, type ChatkitWorkspaceSidebarResponses, type ChatkitWorkspaceSubmitTurnData, type ChatkitWorkspaceSubmitTurnResponse, type ChatkitWorkspaceSubmitTurnResponses, type ChatkitWorkspaceUpdateSessionReadStateData, type ChatkitWorkspaceUpdateSessionReadStateResponse, type ChatkitWorkspaceUpdateSessionReadStateResponses, type ChatMessage, type ChatMessageContext, type ChatMessagePart, type ChatRequest, type ChatSessionContext, ChatToolInvocationState, type CheckMemoryBankHealthData, type CheckMemoryBankHealthResponse, type CheckMemoryBankHealthResponses, type CheckPersonalMemoryBankHealthData, type CheckPersonalMemoryBankHealthResponse, type CheckPersonalMemoryBankHealthResponses, type ClaimAgentRunsInner, type ClaimTemporaryAccountData, type ClaimTemporaryAccountError, type ClaimTemporaryAccountErrors, type ClaimTemporaryAccountRequest, type ClaimTemporaryAccountResponse, type ClaimTemporaryAccountResponse2, type ClaimTemporaryAccountResponses, type ClearPersonalMemoryBankSynthesizerData, type ClearPersonalMemoryBankSynthesizerResponse, type ClearPersonalMemoryBankSynthesizerResponses, type ClientOptions, type CloudWhoamiResponse, type CommitAiCreditReceiptBody, type CommonProviderConfiguration, type CommonProviderCredentialSetup, type CommonProviderInstallationPage, type CommonProviderInstallationSerialized, type CommonProviderRuntimeState, type CompleteAttachmentUploadData, type CompleteAttachmentUploadError, type CompleteAttachmentUploadErrors, type CompleteAttachmentUploadInner, type CompleteAttachmentUploadResponse, type CompleteAttachmentUploadResponses, type CompleteCredentialSetupItemBody, type CompleteCredentialSetupItemData, type CompleteCredentialSetupItemResponse, type CompleteCredentialSetupItemResponses, type CompleteHumanApprovalActionData, type CompleteHumanApprovalActionError, type CompleteHumanApprovalActionErrors, type CompleteHumanApprovalActionRequest, type CompleteHumanApprovalActionResponse, type CompleteHumanApprovalActionResponses, type CompleteIdentityLinkData, type CompleteIdentityLinkResponse, type CompleteIdentityLinkResponses, type CompleteIdentityVerificationData, type CompleteIdentityVerificationError, type CompleteIdentityVerificationErrors, type CompleteIdentityVerificationRequestInner, type CompleteIdentityVerificationResponse, type CompleteIdentityVerificationResponses, type CompleteSlackProviderProvisionedSetupRequestInner, type CompleteSlackSelfManagedSetupRequestInner, type CompleteWikiAssetUploadData, type CompleteWikiAssetUploadResponse, type CompleteWikiAssetUploadResponses, type ConfigurationSchema, type ConfigureHostedOpenbotInstanceData, type ConfigureHostedOpenbotInstanceError, type ConfigureHostedOpenbotInstanceErrors, type ConfigureHostedOpenBotInstanceRequest, type ConfigureHostedOpenbotInstanceResponse, type ConfigureHostedOpenbotInstanceResponses, type ConnectMcpProviderCatalogEntryData, type ConnectMcpProviderCatalogEntryError, type ConnectMcpProviderCatalogEntryErrors, type ConnectMcpProviderCatalogEntryRequestInner, type ConnectMcpProviderCatalogEntryResponse, type ConnectMcpProviderCatalogEntryResponse2, type ConnectMcpProviderCatalogEntryResponses, type ConnectProxiedMcpServerData, type ConnectProxiedMcpServerError, type ConnectProxiedMcpServerErrors, type ConnectProxiedMcpServerRequestInner, type ConnectProxiedMcpServerResponse, type ConnectProxiedMcpServerResponse2, type ConnectProxiedMcpServerResponses, type ControlAgentRunInner, type CreateAgentRunInner, type CreateAiCreditTopupBody, type CreateApiKeyInner, type CreateApiKeyResponse, type CreateAttachmentUploadData, type CreateAttachmentUploadError, type CreateAttachmentUploadErrors, type CreateAttachmentUploadInner, type CreateAttachmentUploadResponse, type CreateAttachmentUploadResponse2, type CreateAttachmentUploadResponses, type CreateAttachmentUploadsData, type CreateAttachmentUploadsError, type CreateAttachmentUploadsErrors, type CreateAttachmentUploadsInner, type CreateAttachmentUploadsResponse, type CreateAttachmentUploadsResponse2, type CreateAttachmentUploadsResponses, type CreateChatKitRoomInvitationRequestInner, type CreateChatKitSessionRequestInner, type CreateChatKitWorkspaceSessionRequestInner, type CreateCustomToolProviderData, type CreateCustomToolProviderRequestInner, type CreateCustomToolProviderResponse, type CreateCustomToolProviderResponse2, type CreateCustomToolProviderResponses, type CreatedIdentityLink, type CreatedProxyToken, type CreateGoalRequestInner, type CreateHostedOpenbotDeploymentData, type CreateHostedOpenbotDeploymentError, type CreateHostedOpenbotDeploymentErrors, type CreateHostedOpenBotDeploymentRequest, type CreateHostedOpenbotDeploymentResponse, type CreateHostedOpenbotDeploymentResponses, type CreateHostedOpenbotReleaseData, type CreateHostedOpenbotReleaseError, type CreateHostedOpenbotReleaseErrors, type CreateHostedOpenBotReleaseFile, type CreateHostedOpenBotReleaseRequest, type CreateHostedOpenbotReleaseResponse, type CreateHostedOpenbotReleaseResponses, type CreateHumanApprovalActionData, type CreateHumanApprovalActionError, type CreateHumanApprovalActionErrors, type CreateHumanApprovalActionRequestInner, type CreateHumanApprovalActionResponse, type CreateHumanApprovalActionResponse2, type CreateHumanApprovalActionResponses, type CreateIdentityData, type CreateIdentityError, type CreateIdentityErrors, type CreateIdentityLinkData, type CreateIdentityLinkError, type CreateIdentityLinkErrors, type CreateIdentityLinkRequest, type CreateIdentityLinkResponse, type CreateIdentityLinkResponses, type CreateIdentityRequest, type CreateIdentityResponse, type CreateIdentityResponses, type CreateManagedUserCredentialBody, type CreateManagedUserCredentialData, type CreateManagedUserCredentialResponse, type CreateManagedUserCredentialResponses, type CreateMcpServerInstanceData, type CreateMcpServerInstanceError, type CreateMcpServerInstanceErrors, type CreateMcpServerInstanceRequestInner, type CreateMcpServerInstanceResponse, type CreateMcpServerInstanceResponses, type CreateMemoryBankBody, type CreateMemoryBankData, type CreateMemoryBankResponse, type CreateMemoryBankResponses, type CreateMessageData, type CreateMessageError, type CreateMessageErrors, type CreateMessageRequest, type CreateMessageResponse, type CreateMessageResponses, type CreateOrganizationData, type CreateOrganizationError, type CreateOrganizationErrors, type CreateOrganizationRequest, type CreateOrganizationResponse, type CreateOrganizationResponses, type CreateOrgOidcProviderData, type CreateOrgOidcProviderError, type CreateOrgOidcProviderErrors, type CreateOrgOidcProviderRequest, type CreateOrgOidcProviderResponse, type CreateOrgOidcProviderResponses, type CreatePageTypeBody, type CreatePageTypeVersionBody, type CreatePayWalletRequest, type CreatePersonalMcpServerInstanceData, type CreatePersonalMcpServerInstanceError, type CreatePersonalMcpServerInstanceErrors, type CreatePersonalMcpServerInstanceResponse, type CreatePersonalMcpServerInstanceResponses, type CreatePersonalMemoryBankData, type CreatePersonalMemoryBankResponse, type CreatePersonalMemoryBankResponses, type CreatePersonalSkillData, type CreatePersonalSkillRegistryData, type CreatePersonalSkillRegistryResponse, type CreatePersonalSkillRegistryResponses, type CreatePersonalSkillResponse, type CreatePersonalSkillResponses, type CreatePersonalToolGroupInstanceBody, type CreatePersonalToolGroupInstanceData, type CreatePersonalToolGroupInstanceError, type CreatePersonalToolGroupInstanceErrors, type CreatePersonalToolGroupInstanceResponse, type CreatePersonalToolGroupInstanceResponses, type CreatePersonalUserCredentialData, type CreatePersonalUserCredentialResponse, type CreatePersonalUserCredentialResponses, type CreatePersonalWikiData, type CreatePersonalWikiPageData, type CreatePersonalWikiPageResponse, type CreatePersonalWikiPageResponses, type CreatePersonalWikiResponse, type CreatePersonalWikiResponses, type CreateProxyTokenData, type CreateProxyTokenError, type CreateProxyTokenErrors, type CreateProxyTokenRequest, type CreateProxyTokenResponse, type CreateProxyTokenResponses, type CreateRelationshipTypeBody, type CreateRelationshipTypeVersionBody, type CreateResourcePlaneGrantRequest, type CreateResourceServerCredentialData, type CreateResourceServerCredentialParamsInner, type CreateResourceServerCredentialResponse, type CreateResourceServerCredentialResponses, type CreateReverseProxyProfileInner, type CreateSelfExtensionProposalInner, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionInner, type CreateSessionResponse, type CreateSessionResponses, type CreateSignalMessageRequest, type CreateSignalProviderInstanceRequestInner, type CreateSkillData, type CreateSkillError, type CreateSkillErrors, type CreateSkillInner, type CreateSkillRegistryBody, type CreateSkillRegistryData, type CreateSkillRegistryError, type CreateSkillRegistryErrors, type CreateSkillRegistryResponse, type CreateSkillRegistryResponses, type CreateSkillResponse, type CreateSkillResponses, type CreateSlackChannelInstallationRequestInner, type CreateSlackChannelInstallationResponse, type CreateTaskRequestInner, type CreateTeamData, type CreateTeamError, type CreateTeamErrors, type CreateTeamGroupBody, type CreateTeamGroupData, type CreateTeamGroupError, type CreateTeamGroupErrors, type CreateTeamGroupResponse, type CreateTeamGroupResponses, type CreateTeamRequest, type CreateTeamResponse, type CreateTeamResponses, type CreateTemporaryAccountData, type CreateTemporaryAccountError, type CreateTemporaryAccountErrors, type CreateTemporaryAccountRequest, type CreateTemporaryAccountResponse, type CreateTemporaryAccountResponse2, type CreateTemporaryAccountResponses, type CreateTextMessageRequest, type CreateToolGroupInstanceData, type CreateToolGroupInstanceError, type CreateToolGroupInstanceErrors, type CreateToolGroupInstanceParamsInner, type CreateToolGroupInstanceResponse, type CreateToolGroupInstanceResponses, type CreateTrustedRuntimeData, type CreateTrustedRuntimeError, type CreateTrustedRuntimeErrors, type CreateTrustedRuntimeInner, type CreateTrustedRuntimeResponse, type CreateTrustedRuntimeResponses, type CreateTrustedSkillProviderData, type CreateTrustedSkillProviderError, type CreateTrustedSkillProviderErrors, type CreateTrustedSkillProviderRequest, type CreateTrustedSkillProviderResponse, type CreateTrustedSkillProviderResponses, type CreateUiMessageRequest, type CreateUserCredentialData, type CreateUserCredentialParamsInner, type CreateUserCredentialResponse, type CreateUserCredentialResponses, type CreateWalletBody, type CreateWalletCustomerBody, type CreateWalletVirtualAccountBody, type CreateWikiAssetBody, type CreateWikiAssetUploadData, type CreateWikiAssetUploadResponse, type CreateWikiAssetUploadResponses, type CreateWikiData, type CreateWikiInner, type CreateWikiPageData, type CreateWikiPageResponse, type CreateWikiPageResponses, type CreateWikiPageTypeData, type CreateWikiPageTypeResponse, type CreateWikiPageTypeResponses, type CreateWikiPageTypeVersionData, type CreateWikiPageTypeVersionErrors, type CreateWikiPageTypeVersionResponse, type CreateWikiPageTypeVersionResponses, type CreateWikiRelationshipTypeData, type CreateWikiRelationshipTypeResponse, type CreateWikiRelationshipTypeResponses, type CreateWikiRelationshipTypeVersionData, type CreateWikiRelationshipTypeVersionErrors, type CreateWikiRelationshipTypeVersionResponse, type CreateWikiRelationshipTypeVersionResponses, type CreateWikiResponse, type CreateWikiResponses, type CredentialGenericOauthCallbackData, type CredentialGenericOauthCallbackResponses, type CredentialSetupBinding, CredentialSetupCredentialKind, type CredentialSetupFormField, type CredentialSetupItem, type CredentialSetupItemPaginatedResponse, CredentialSetupItemStatus, type CredentialSetupNextAction, CredentialSetupSource, type CredentialSourceSerialized, CurrentSeatStatus, type CustomChatKitProvider, type CustomConnectionCredentials, type CustomConnectionInfo, type CustomConnectionInfoPaginatedResponse, type CustomConnectionWork, type CustomConnectionWorkPaginatedResponse, type CustomExternalIdentity, type CustomInboundMessage, type CustomIngressReceipt, type CustomProviderAuthMethod, type CustomProviderCapabilities, type CustomProviderField, type CustomProviderInvocation, type CustomProviderList, CustomProviderOperation, type CustomProviderRegistration, type CustomProviderRegistrationInput, type CustomProviderScope, type CustomReconciliation, type CustomRuntimeCommand, type CustomRuntimeResponse, type CustomSessionContext, type CustomSessionParticipant, type CustomSessionTool, type CustomSessionToolCatalog, type CustomSkillSpec, type CustomToolProviderDetails, type CustomToolProviderListItem, type CustomToolProviderListItemPaginatedResponse, type CustomToolProviderSerialized, type CustomVisibleMessage, type DataUiPart, type DebugAuthProfilesResponse, type DecideCapabilityChangeRequest, type DecideChatKitRoomInvitationRequestInner, type DelegateAgentJobRequestInner, type DelegatedIdentity, type DeleteAttachmentData, type DeleteAttachmentError, type DeleteAttachmentErrors, type DeleteAttachmentResponse, type DeleteAttachmentResponses, type DeleteChatKitAgentTurnQueueItemResponse, type DeleteCustomToolProviderData, type DeleteCustomToolProviderResponses, type DeleteInboxResponse, type DeleteManagedUserCredentialData, type DeleteManagedUserCredentialResponses, type DeleteMcpServerInstanceData, type DeleteMcpServerInstanceError, type DeleteMcpServerInstanceErrors, type DeleteMcpServerInstanceResponses, type DeleteMemoryBankData, type DeleteMemoryBankResponses, type DeleteMemoryDocumentBody, type DeleteMemoryDocumentData, type DeleteMemoryDocumentResponses, type DeleteMessageData, type DeleteMessageError, type DeleteMessageErrors, type DeleteMessageResponse, type DeleteMessageResponse2, type DeleteMessageResponses, type DeleteOrganizationData, type DeleteOrganizationError, type DeleteOrganizationErrors, type DeleteOrganizationResponses, type DeleteOrgOidcProviderData, type DeleteOrgOidcProviderError, type DeleteOrgOidcProviderErrors, type DeleteOrgOidcProviderResponses, type DeletePersonalMcpServerInstanceData, type DeletePersonalMcpServerInstanceResponses, type DeletePersonalMemoryBankData, type DeletePersonalMemoryBankResponses, type DeletePersonalMemoryDocumentData, type DeletePersonalMemoryDocumentResponses, type DeletePersonalSkillData, type DeletePersonalSkillRegistryData, type DeletePersonalSkillRegistryResponses, type DeletePersonalSkillResponses, type DeletePersonalToolGroupInstanceData, type DeletePersonalToolGroupInstanceResponses, type DeletePersonalWikiData, type DeletePersonalWikiPageData, type DeletePersonalWikiPageResponses, type DeletePersonalWikiResponses, type DeleteProxiedMcpServerData, type DeleteProxiedMcpServerError, type DeleteProxiedMcpServerErrors, type DeleteProxiedMcpServerResponses, type DeleteResourceServerCredentialData, type DeleteResourceServerCredentialResponses, type DeleteRoutineResponse, type DeleteSelfAvatarData, type DeleteSelfAvatarError, type DeleteSelfAvatarErrors, type DeleteSelfAvatarResponses, type DeleteSignalResponse, type DeleteSkillData, type DeleteSkillError, type DeleteSkillErrors, type DeleteSkillRegistryData, type DeleteSkillRegistryError, type DeleteSkillRegistryErrors, type DeleteSkillRegistryResponses, type DeleteSkillResponses, type DeleteSynthesisMemoryDocumentBody, type DeleteSynthesisSessionMemoryData, type DeleteSynthesisSessionMemoryResponse, type DeleteSynthesisSessionMemoryResponses, type DeleteTeamData, type DeleteTeamError, type DeleteTeamErrors, type DeleteTeamGroupData, type DeleteTeamGroupError, type DeleteTeamGroupErrors, type DeleteTeamGroupResponses, type DeleteTeamResponses, type DeleteToolGroupInstanceData, type DeleteToolGroupInstanceError, type DeleteToolGroupInstanceErrors, type DeleteToolGroupInstanceResponses, type DeleteTrustedRuntimeData, type DeleteTrustedRuntimeError, type DeleteTrustedRuntimeErrors, type DeleteTrustedRuntimeResponses, type DeleteUserCredentialData, type DeleteUserCredentialResponses, type DeleteVerifiedIdentityLinkData, type DeleteVerifiedIdentityLinkError, type DeleteVerifiedIdentityLinkErrors, type DeleteVerifiedIdentityLinkResponse, type DeleteVerifiedIdentityLinkResponse2, type DeleteVerifiedIdentityLinkResponses, type DeleteWikiAssetData, type DeleteWikiAssetErrors, type DeleteWikiAssetResponses, type DeleteWikiData, type DeleteWikiPageData, type DeleteWikiPageErrors, type DeleteWikiPageRelationshipData, type DeleteWikiPageRelationshipResponses, type DeleteWikiPageResponses, type DeleteWikiPageTypeData, type DeleteWikiPageTypeErrors, type DeleteWikiPageTypeResponse, type DeleteWikiPageTypeResponses, type DeleteWikiPageTypeVersionData, type DeleteWikiPageTypeVersionErrors, type DeleteWikiPageTypeVersionResponse, type DeleteWikiPageTypeVersionResponses, type DeleteWikiRelationshipTypeData, type DeleteWikiRelationshipTypeErrors, type DeleteWikiRelationshipTypeResponses, type DeleteWikiResponses, type DeploymentEnvironmentFile, type DirectTokenPayment, type DisableCustomToolProviderData, type DisableCustomToolProviderResponse, type DisableCustomToolProviderResponses, type DisableProxiedMcpServerData, type DisableProxiedMcpServerError, type DisableProxiedMcpServerErrors, type DisableProxiedMcpServerResponse, type DisableProxiedMcpServerResponses, type DisableToolData, type DisableToolError, type DisableToolErrors, type DisableToolResponse, type DisableToolResponses, type DownloadAttachmentContentData, type DownloadAttachmentContentError, type DownloadAttachmentContentErrors, type DownloadAttachmentContentResponse, type DownloadAttachmentContentResponses, type DownloadSkillPackageFileData, type DownloadSkillPackageFileError, type DownloadSkillPackageFileErrors, type DownloadSkillPackageFileRequest, type DownloadSkillPackageFileResponse, type DownloadSkillPackageFileResponses, type DownloadWikiAssetContentData, type DownloadWikiAssetContentErrors, type DownloadWikiAssetContentResponse, type DownloadWikiAssetContentResponses, type DownloadWikiAssetData, type DownloadWikiAssetResponse, type DownloadWikiAssetResponses, type EnableAndBindMcpServerResult, type EnableAndBindProviderToolsData, type EnableAndBindProviderToolsError, type EnableAndBindProviderToolsErrors, type EnableAndBindProviderToolsResponse, type EnableAndBindProviderToolsResponses, type EnableAndBindToolFailure, type EnableAndBindToolsBody, type EnableAndBindToolsResponse, type EnableCustomToolProviderData, type EnableCustomToolProviderResponse, type EnableCustomToolProviderResponses, type EnabledSkillsSpec, type EnableProxiedMcpServerData, type EnableProxiedMcpServerError, type EnableProxiedMcpServerErrors, type EnableProxiedMcpServerResponse, type EnableProxiedMcpServerResponses, type EnableToolData, type EnableToolError, type EnableToolErrors, type EnableToolInstanceParamsInner, type EnableToolResponse, type EnableToolResponses, type EncryptCredentialConfigurationParamsInner, type EncryptedTrustedRuntimePayload, type EncryptPersonalUserCredentialConfigurationData, type EncryptPersonalUserCredentialConfigurationResponses, type EncryptResourceServerConfigurationData, type EncryptResourceServerConfigurationResponses, type EncryptUserCredentialConfigurationData, type EncryptUserCredentialConfigurationResponses, EndpointType, type Error, type ExchangeOAuthCodeBody, type ExchangeOauthCodeData, type ExchangeOauthCodeErrors, type ExchangeOauthCodeResponse, type ExchangeOauthCodeResponses, type ExchangeOAuthCodeResult, type ExpectedRevisionBody, type ExpireTemporaryAccountsData, type ExpireTemporaryAccountsError, type ExpireTemporaryAccountsErrors, type ExpireTemporaryAccountsResponse, type ExpireTemporaryAccountsResponse2, type ExpireTemporaryAccountsResponses, type ExportMemoryBankTemplateData, type ExportMemoryBankTemplateResponse, type ExportMemoryBankTemplateResponses, type ExportPersonalMemoryBankTemplateData, type ExportPersonalMemoryBankTemplateResponse, type ExportPersonalMemoryBankTemplateResponses, type FileUiPart, type FinalizeHostedOpenbotReleaseData, type FinalizeHostedOpenbotReleaseError, type FinalizeHostedOpenbotReleaseErrors, type FinalizeHostedOpenbotReleaseResponse, type FinalizeHostedOpenbotReleaseResponses, type GenerateLocalRuntimeTunnelApiKeyData, type GenerateLocalRuntimeTunnelApiKeyError, type GenerateLocalRuntimeTunnelApiKeyErrors, type GenerateLocalRuntimeTunnelApiKeyResponse, type GenerateLocalRuntimeTunnelApiKeyResponse2, type GenerateLocalRuntimeTunnelApiKeyResponses, type GenerateTemporaryAccountClaimUrlData, type GenerateTemporaryAccountClaimUrlError, type GenerateTemporaryAccountClaimUrlErrors, type GenerateTemporaryAccountClaimUrlResponse, type GenerateTemporaryAccountClaimUrlResponse2, type GenerateTemporaryAccountClaimUrlResponses, type GetAttachmentDownloadUrlData, type GetAttachmentDownloadUrlError, type GetAttachmentDownloadUrlErrors, type GetAttachmentDownloadUrlResponse, type GetAttachmentDownloadUrlResponse2, type GetAttachmentDownloadUrlResponses, type GetBalancesResponse, type GetCommonProviderInstallationData, type GetCommonProviderInstallationResponse, type GetCommonProviderInstallationResponses, type GetCredentialSetupItemData, type GetCredentialSetupItemResponse, type GetCredentialSetupItemResponses, type GetCryptoDepositInformationResponse, type GetCustomToolProviderData, type GetCustomToolProviderResponse, type GetCustomToolProviderResponses, type GetFiatDepositInformationResponse, type GetHostedOpenbotBootstrapBundleData, type GetHostedOpenbotBootstrapBundleError, type GetHostedOpenbotBootstrapBundleErrors, type GetHostedOpenbotBootstrapBundleResponse, type GetHostedOpenbotBootstrapBundleResponses, type GetHostedOpenbotInstanceData, type GetHostedOpenbotInstanceError, type GetHostedOpenbotInstanceErrors, type GetHostedOpenbotInstanceResponse, type GetHostedOpenbotInstanceResponses, type GetHostedOpenbotReleaseData, type GetHostedOpenbotReleaseError, type GetHostedOpenbotReleaseErrors, type GetHostedOpenbotReleaseResponse, type GetHostedOpenbotReleaseResponses, type GetHumanApprovalActionData, type GetHumanApprovalActionError, type GetHumanApprovalActionErrors, type GetHumanApprovalActionResponse, type GetHumanApprovalActionResponses, type GetIdentityData, type GetIdentityError, type GetIdentityErrors, type GetIdentityResponse, type GetIdentityResponses, type GetIdentityVerificationData, type GetIdentityVerificationError, type GetIdentityVerificationErrors, type GetIdentityVerificationResponse, type GetIdentityVerificationResponses, type GetLocalRuntimeTunnelApiKeyData, type GetLocalRuntimeTunnelApiKeyError, type GetLocalRuntimeTunnelApiKeyErrors, type GetLocalRuntimeTunnelApiKeyResponse, type GetLocalRuntimeTunnelApiKeyResponses, type GetLocalRuntimeTunnelConnectorData, type GetLocalRuntimeTunnelConnectorError, type GetLocalRuntimeTunnelConnectorErrors, type GetLocalRuntimeTunnelConnectorResponse, type GetLocalRuntimeTunnelConnectorResponses, type GetManagedUserCredentialSecretData, type GetManagedUserCredentialSecretResponse, type GetManagedUserCredentialSecretResponses, type GetMcpServerInstanceData, type GetMcpServerInstanceError, type GetMcpServerInstanceErrors, type GetMcpServerInstanceResponse, type GetMcpServerInstanceResponses, type GetMemoryBankConfigData, type GetMemoryBankConfigResponse, type GetMemoryBankConfigResponses, type GetMemoryBankData, type GetMemoryBankDocumentData, type GetMemoryBankDocumentResponse, type GetMemoryBankDocumentResponses, type GetMemoryBankResponse, type GetMemoryBankResponses, type GetMessageData, type GetMessageDeliveriesData, type GetMessageDeliveriesError, type GetMessageDeliveriesErrors, type GetMessageDeliveriesResponse, type GetMessageDeliveriesResponses, type GetMessageError, type GetMessageErrors, type GetMessageResponse, type GetMessageResponses, type GetOpenbotPluginsCatalogData, type GetOpenbotPluginsCatalogResponse, type GetOpenbotPluginsCatalogResponses, type GetOrganizationData, type GetOrganizationError, type GetOrganizationErrors, type GetOrganizationResponse, type GetOrganizationResponses, type GetOrgOidcProviderData, type GetOrgOidcProviderError, type GetOrgOidcProviderErrors, type GetOrgOidcProviderResponse, type GetOrgOidcProviderResponses, type GetPersonalMcpServerInstanceData, type GetPersonalMcpServerInstanceResponse, type GetPersonalMcpServerInstanceResponses, type GetPersonalMemoryBankConfigData, type GetPersonalMemoryBankConfigResponse, type GetPersonalMemoryBankConfigResponses, type GetPersonalMemoryBankData, type GetPersonalMemoryBankDocumentData, type GetPersonalMemoryBankDocumentResponse, type GetPersonalMemoryBankDocumentResponses, type GetPersonalMemoryBankResponse, type GetPersonalMemoryBankResponses, type GetPersonalSkillData, type GetPersonalSkillRegistryData, type GetPersonalSkillRegistryResponse, type GetPersonalSkillRegistryResponses, type GetPersonalSkillResponse, type GetPersonalSkillResponses, type GetPersonalToolGroupInstanceData, type GetPersonalToolGroupInstanceResponse, type GetPersonalToolGroupInstanceResponses, type GetPersonalWikiData, type GetPersonalWikiPageData, type GetPersonalWikiPageResponse, type GetPersonalWikiPageResponses, type GetPersonalWikiResponse, type GetPersonalWikiResponses, type GetProviderProvisioningHumanActionData, type GetProviderProvisioningHumanActionResponse, type GetProviderProvisioningHumanActionResponses, type GetProxiedMcpServerData, type GetProxiedMcpServerError, type GetProxiedMcpServerErrors, type GetProxiedMcpServerResponse, type GetProxiedMcpServerResponses, type GetProxiedSkillProviderData, type GetProxiedSkillProviderError, type GetProxiedSkillProviderErrors, type GetProxiedSkillProviderResponse, type GetProxiedSkillProviderResponses, type GetResourceServerCredentialData, type GetResourceServerCredentialResponse, type GetResourceServerCredentialResponses, type GetRuntimeConfigData, type GetRuntimeConfigResponse, type GetRuntimeConfigResponses, type GetSelfAvatarData, type GetSelfAvatarError, type GetSelfAvatarErrors, type GetSelfAvatarResponse, type GetSelfAvatarResponses, type GetSelfProfileData, type GetSelfProfileError, type GetSelfProfileErrors, type GetSelfProfileResponse, type GetSelfProfileResponses, type GetSessionEventHistoryData, type GetSessionEventHistoryError, type GetSessionEventHistoryErrors, type GetSessionEventHistoryResponse, type GetSessionEventHistoryResponses, type GetSkillData, type GetSkillError, type GetSkillErrors, type GetSkillPackageData, type GetSkillPackageError, type GetSkillPackageErrors, type GetSkillPackageResponse, type GetSkillPackageResponses, type GetSkillRegistryData, type GetSkillRegistryError, type GetSkillRegistryErrors, type GetSkillRegistryResponse, type GetSkillRegistryResponses, type GetSkillRegistrySkillByTitleData, type GetSkillRegistrySkillByTitleError, type GetSkillRegistrySkillByTitleErrors, type GetSkillRegistrySkillByTitleResponse, type GetSkillRegistrySkillByTitleResponses, type GetSkillRegistrySkillData, type GetSkillRegistrySkillDescriptionData, type GetSkillRegistrySkillDescriptionError, type GetSkillRegistrySkillDescriptionErrors, type GetSkillRegistrySkillDescriptionResponse, type GetSkillRegistrySkillDescriptionResponses, type GetSkillRegistrySkillError, type GetSkillRegistrySkillErrors, type GetSkillRegistrySkillResponse, type GetSkillRegistrySkillResponses, type GetSkillResponse, type GetSkillResponses, type GetTeamData, type GetTeamError, type GetTeamErrors, type GetTeamGroupData, type GetTeamGroupError, type GetTeamGroupErrors, type GetTeamGroupResponse, type GetTeamGroupResponses, type GetTeamResponse, type GetTeamResponses, type GetToolGroupInstanceData, type GetToolGroupInstanceError, type GetToolGroupInstanceErrors, type GetToolGroupInstanceResponse, type GetToolGroupInstanceResponses, type GetToolsOpenapiSpecData, type GetToolsOpenapiSpecError, type GetToolsOpenapiSpecErrors, type GetToolsOpenapiSpecResponse, type GetToolsOpenapiSpecResponses, type GetTrustedRuntimeData, type GetTrustedRuntimeError, type GetTrustedRuntimeErrors, type GetTrustedRuntimeResponse, type GetTrustedRuntimeResponses, type GetUserCredentialData, type GetUserCredentialResponse, type GetUserCredentialResponses, type GetWalletCustomerKycResponse, type GetWikiData, type GetWikiPageBacklinksData, type GetWikiPageBacklinksResponse, type GetWikiPageBacklinksResponses, type GetWikiPageData, type GetWikiPageNeighborhoodData, type GetWikiPageNeighborhoodResponse, type GetWikiPageNeighborhoodResponses, type GetWikiPageRelationshipData, type GetWikiPageRelationshipResponse, type GetWikiPageRelationshipResponses, type GetWikiPageResponse, type GetWikiPageResponses, type GetWikiPageTypeData, type GetWikiPageTypeResponse, type GetWikiPageTypeResponses, type GetWikiPageTypeVersionData, type GetWikiPageTypeVersionResponse, type GetWikiPageTypeVersionResponses, type GetWikiRelationshipTypeData, type GetWikiRelationshipTypeResponse, type GetWikiRelationshipTypeResponses, type GetWikiRelationshipTypeVersionData, type GetWikiRelationshipTypeVersionResponse, type GetWikiRelationshipTypeVersionResponses, type GetWikiResponse, type GetWikiResponses, type Goal, type GoalPaginatedResponse, GoalStatus, type GrepPersonalWikiPagesData, type GrepPersonalWikiPagesResponse, type GrepPersonalWikiPagesResponses, type GrepWikiPagesBody, type GrepWikiPagesData, type GrepWikiPagesResponse, type GrepWikiPagesResponse2, type GrepWikiPagesResponses, type Group, type GroupMembership, type GroupMemberWithUser, type GroupMemberWithUserPaginatedResponse, type HashedApiKey, type HealthCheckData, type HealthCheckError, type HealthCheckErrors, type HealthCheckResponse, type HealthCheckResponse2, type HealthCheckResponses, type HostedOpenBotBootstrapBundle, type HostedOpenBotDeployment, HostedOpenBotExeStep, type HostedOpenBotGitToken, type HostedOpenBotInstance, HostedOpenBotInstanceStatus, type HostedOpenBotRelease, type HostedOpenBotReleaseFile, HostedOpenBotReleaseService, HostedOpenBotReleaseStatus, HostedOpenBotTarget, type Human, type HumanApprovalAction, type HumanApprovalActionPayload, type HumanApprovalActionResponse, type HumanApprovalCompletion, HumanApprovalDecision, type HumanApprovalNote, type HydrateConvertedMessagesRequest, type HydrateConvertedMessagesResponse, type Identity, type IdentityClaimRequest, type IdentityIdentifier, type IdentityLinkDelivery, type IdentityLinkPreview, type IdentityLinkRoute, type IdentityTeam, type IdentityTeamMembership, type IdentityTeamMembershipPaginatedResponse, type IdentityVerification, type IdentityVerificationChallenge, IdentityVerificationMode, type ImportMemoryBankTemplateBody, type ImportMemoryBankTemplateData, type ImportMemoryBankTemplateResponse, type ImportMemoryBankTemplateResponse2, type ImportMemoryBankTemplateResponses, type ImportPersonalMemoryBankTemplateData, type ImportPersonalMemoryBankTemplateResponse, type ImportPersonalMemoryBankTemplateResponses, type ImportRunSummary, type ImportStateRequest, type ImportStateResponse, type Inbox, type InboxInstance, InboxInstanceTypingStatus, type InboxPaginatedResponse, InboxStatus, InboxType, type InboxWithLinkedInboxes, type InboxWithLinkedInboxesPaginatedResponse, type IngestSignalResponse, type InitiateIdentityVerificationData, type InitiateIdentityVerificationError, type InitiateIdentityVerificationErrors, type InitiateIdentityVerificationRequestInner, type InitiateIdentityVerificationResponse, type InitiateIdentityVerificationResponses, type InspectWikiAssetReferencesData, type InspectWikiAssetReferencesResponse, type InspectWikiAssetReferencesResponses, type InterruptChatKitSessionResponse, type InviteTeamUsersData, type InviteTeamUsersError, type InviteTeamUsersErrors, type InviteTeamUsersResponse, type InviteTeamUsersResponses, type InviteUserFailure, type InviteUserInput, type InviteUsersBody, type InviteUsersResponse, type InvokeCustomToolData, type InvokeCustomToolRequestInner, type InvokeCustomToolResponse, type InvokeCustomToolResponses, type InvokeError, type InvokeResult, type InvokeSessionProviderToolBody, type InvokeSessionProviderToolResponse, type InvokeToolData, type InvokeToolError, type InvokeToolErrors, type InvokeToolInstanceParamsInner, type InvokeToolResponse, type InvokeToolResponses, type IssueChatKitRealtimeSocketTicketRequest, type IssueHostedOpenbotGitTokenData, type IssueHostedOpenbotGitTokenError, type IssueHostedOpenbotGitTokenErrors, type IssueHostedOpenbotGitTokenResponse, type IssueHostedOpenbotGitTokenResponses, type IssueOpenbotChatkitRealtimeTicketData, type IssueOpenbotChatkitRealtimeTicketError, type IssueOpenbotChatkitRealtimeTicketErrors, type IssueOpenbotChatkitRealtimeTicketResponse, type IssueOpenbotChatkitRealtimeTicketResponses, type IssueProxyRealtimeTicketData, type IssueProxyRealtimeTicketResponse, type IssueProxyRealtimeTicketResponses, type JsonEqualsPredicate, type JsonSchema, type Jwk, type JwksResponse, type LinkedIdentity, type LinkTeamIdentityData, type LinkTeamIdentityError, type LinkTeamIdentityErrors, type LinkTeamIdentityRequestInner, type LinkTeamIdentityResponse, type LinkTeamIdentityResponses, type ListApiKeysResponse, type ListAvailableToolGroupsData, type ListAvailableToolGroupsError, type ListAvailableToolGroupsErrors, type ListAvailableToolGroupsResponse, type ListAvailableToolGroupsResponses, type ListCommonProviderInstallationOwnershipGrantsData, type ListCommonProviderInstallationOwnershipGrantsResponse, type ListCommonProviderInstallationOwnershipGrantsResponses, type ListCommonProviderInstallationsData, type ListCommonProviderInstallationsResponse, type ListCommonProviderInstallationsResponses, type ListCommonProviderInstallationVisibilityGrantsData, type ListCommonProviderInstallationVisibilityGrantsResponse, type ListCommonProviderInstallationVisibilityGrantsResponses, type ListCredentialSetupItemsData, type ListCredentialSetupItemsResponse, type ListCredentialSetupItemsResponses, type ListCustomToolProvidersData, type ListCustomToolProvidersResponse, type ListCustomToolProvidersResponses, type ListIdentitiesData, type ListIdentitiesError, type ListIdentitiesErrors, type ListIdentitiesResponse, type ListIdentitiesResponses, type ListIdentityTeamsData, type ListIdentityTeamsResponse, type ListIdentityTeamsResponses, type ListInboxAgentsData, type ListInboxAgentsError, type ListInboxAgentsErrors, type ListInboxAgentsResponse, type ListInboxAgentsResponses, type ListInboxesData, type ListInboxesError, type ListInboxesErrors, type ListInboxesResponse, type ListInboxesResponses, type ListManagedUserCredentialsData, type ListManagedUserCredentialsResponse, type ListManagedUserCredentialsResponses, type ListMcpProviderCatalogData, type ListMcpProviderCatalogError, type ListMcpProviderCatalogErrors, type ListMcpProviderCatalogResponse, type ListMcpProviderCatalogResponse2, type ListMcpProviderCatalogResponses, type ListMcpResourceOwnershipGrantsData, type ListMcpResourceOwnershipGrantsResponse, type ListMcpResourceOwnershipGrantsResponses, type ListMcpResourceVisibilityGrantsData, type ListMcpResourceVisibilityGrantsResponse, type ListMcpResourceVisibilityGrantsResponses, type ListMcpServerInstancesData, type ListMcpServerInstancesError, type ListMcpServerInstancesErrors, type ListMcpServerInstancesResponse, type ListMcpServerInstancesResponses, type ListMemoryBankDocumentsData, type ListMemoryBankDocumentsResponse, type ListMemoryBankDocumentsResponses, type ListMemoryBankOwnershipGrantsData, type ListMemoryBankOwnershipGrantsResponse, type ListMemoryBankOwnershipGrantsResponses, type ListMemoryBanksData, type ListMemoryBankSourceBindingsData, type ListMemoryBankSourceBindingsResponse, type ListMemoryBankSourceBindingsResponses, type ListMemoryBanksResponse, type ListMemoryBanksResponses, type ListMemoryBankVisibilityGrantsData, type ListMemoryBankVisibilityGrantsResponse, type ListMemoryBankVisibilityGrantsResponses, type ListMemorySourceBindingsData, type ListMemorySourceBindingsResponse, type ListMemorySourceBindingsResponses, type ListMessagesData, type ListMessagesError, type ListMessagesErrors, type ListMessagesResponse, type ListMessagesResponses, type ListOpenbotDeploymentsData, type ListOpenbotDeploymentsError, type ListOpenbotDeploymentsErrors, type ListOpenbotDeploymentsResponse, type ListOpenBotDeploymentsResponse, type ListOpenbotDeploymentsResponses, type ListOrganizationMembersData, type ListOrganizationMembersError, type ListOrganizationMembersErrors, type ListOrganizationMembersResponse, type ListOrganizationMembersResponses, type ListOrganizationsData, type ListOrganizationsError, type ListOrganizationsErrors, type ListOrganizationsResponses, type ListOrganizationTeamGroupsData, type ListOrganizationTeamGroupsResponse, type ListOrganizationTeamGroupsResponses, type ListOrgOidcProvidersData, type ListOrgOidcProvidersError, type ListOrgOidcProvidersErrors, type ListOrgOidcProvidersResponse, type ListOrgOidcProvidersResponses, type ListPersonalMcpServerInstancesData, type ListPersonalMcpServerInstancesError, type ListPersonalMcpServerInstancesErrors, type ListPersonalMcpServerInstancesResponse, type ListPersonalMcpServerInstancesResponses, type ListPersonalMemoryBankDocumentsData, type ListPersonalMemoryBankDocumentsResponse, type ListPersonalMemoryBankDocumentsResponses, type ListPersonalMemoryBankOwnershipGrantsData, type ListPersonalMemoryBankOwnershipGrantsResponse, type ListPersonalMemoryBankOwnershipGrantsResponses, type ListPersonalMemoryBanksData, type ListPersonalMemoryBankSourceBindingsData, type ListPersonalMemoryBankSourceBindingsResponse, type ListPersonalMemoryBankSourceBindingsResponses, type ListPersonalMemoryBanksResponse, type ListPersonalMemoryBanksResponses, type ListPersonalMemoryBankVisibilityGrantsData, type ListPersonalMemoryBankVisibilityGrantsResponse, type ListPersonalMemoryBankVisibilityGrantsResponses, type ListPersonalMemorySourceBindingsData, type ListPersonalMemorySourceBindingsResponse, type ListPersonalMemorySourceBindingsResponses, type ListPersonalRegistryOwnershipGrantsData, type ListPersonalRegistryOwnershipGrantsResponse, type ListPersonalRegistryOwnershipGrantsResponses, type ListPersonalRegistryVisibilityGrantsData, type ListPersonalRegistryVisibilityGrantsResponse, type ListPersonalRegistryVisibilityGrantsResponses, type ListPersonalRscOwnershipGrantsData, type ListPersonalRscOwnershipGrantsResponse, type ListPersonalRscOwnershipGrantsResponses, type ListPersonalRscVisibilityGrantsData, type ListPersonalRscVisibilityGrantsResponse, type ListPersonalRscVisibilityGrantsResponses, type ListPersonalSkillOwnershipGrantsData, type ListPersonalSkillOwnershipGrantsResponse, type ListPersonalSkillOwnershipGrantsResponses, type ListPersonalSkillRegistriesData, type ListPersonalSkillRegistriesResponse, type ListPersonalSkillRegistriesResponses, type ListPersonalSkillsData, type ListPersonalSkillsResponse, type ListPersonalSkillsResponses, type ListPersonalSkillVisibilityGrantsData, type ListPersonalSkillVisibilityGrantsResponse, type ListPersonalSkillVisibilityGrantsResponses, type ListPersonalToolGroupInstancesData, type ListPersonalToolGroupInstancesError, type ListPersonalToolGroupInstancesErrors, type ListPersonalToolGroupInstancesResponse, type ListPersonalToolGroupInstancesResponses, type ListPersonalUcOwnershipGrantsData, type ListPersonalUcOwnershipGrantsResponse, type ListPersonalUcOwnershipGrantsResponses, type ListPersonalUcVisibilityGrantsData, type ListPersonalUcVisibilityGrantsResponse, type ListPersonalUcVisibilityGrantsResponses, type ListPersonalWikiOwnershipGrantsData, type ListPersonalWikiOwnershipGrantsResponse, type ListPersonalWikiOwnershipGrantsResponses, type ListPersonalWikiPagesData, type ListPersonalWikiPagesResponse, type ListPersonalWikiPagesResponses, type ListPersonalWikisData, type ListPersonalWikisResponse, type ListPersonalWikisResponses, type ListPersonalWikiVisibilityGrantsData, type ListPersonalWikiVisibilityGrantsResponse, type ListPersonalWikiVisibilityGrantsResponses, type ListProviderProvisionerCatalogData, type ListProviderProvisionerCatalogResponse, type ListProviderProvisionerCatalogResponses, type ListProviderSetupCatalogResponse, type ListProxiedMcpServersData, type ListProxiedMcpServersError, type ListProxiedMcpServersErrors, type ListProxiedMcpServersResponse, type ListProxiedMcpServersResponses, type ListProxiedSkillProvidersData, type ListProxiedSkillProvidersResponse, type ListProxiedSkillProvidersResponse2, type ListProxiedSkillProvidersResponses, type ListProxyTokensData, type ListProxyTokensError, type ListProxyTokensErrors, type ListProxyTokensResponse, type ListProxyTokensResponses, type ListPublicAvailableToolGroupsData, type ListPublicAvailableToolGroupsError, type ListPublicAvailableToolGroupsErrors, type ListPublicAvailableToolGroupsResponse, type ListPublicAvailableToolGroupsResponses, type ListResourceServerCredentialsData, type ListResourceServerCredentialsResponse, type ListResourceServerCredentialsResponses, type ListReverseProxyProvidersResponse, type ListRscOwnershipGrantsData, type ListRscOwnershipGrantsResponse, type ListRscOwnershipGrantsResponses, type ListRscVisibilityGrantsData, type ListRscVisibilityGrantsResponse, type ListRscVisibilityGrantsResponses, type ListSessionInboxInstancesData, type ListSessionInboxInstancesError, type ListSessionInboxInstancesErrors, type ListSessionInboxInstancesResponse, type ListSessionInboxInstancesResponses, type ListSessionResourceGrantsData, type ListSessionResourceGrantsError, type ListSessionResourceGrantsErrors, type ListSessionResourceGrantsResponse, type ListSessionResourceGrantsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListSessionUserMembersData, type ListSessionUserMembersError, type ListSessionUserMembersErrors, type ListSessionUserMembersResponse, type ListSessionUserMembersResponses, type ListSignalProviderGrantsData, type ListSignalProviderGrantsResponse, type ListSignalProviderGrantsResponses, type ListSkillOwnershipGrantsData, type ListSkillOwnershipGrantsResponse, type ListSkillOwnershipGrantsResponses, type ListSkillRegistriesData, type ListSkillRegistriesError, type ListSkillRegistriesErrors, type ListSkillRegistriesResponse, type ListSkillRegistriesResponses, type ListSkillRegistryOwnershipGrantsData, type ListSkillRegistryOwnershipGrantsResponse, type ListSkillRegistryOwnershipGrantsResponses, type ListSkillRegistrySkillSummariesData, type ListSkillRegistrySkillSummariesError, type ListSkillRegistrySkillSummariesErrors, type ListSkillRegistrySkillSummariesResponse, type ListSkillRegistrySkillSummariesResponses, type ListSkillRegistryVisibilityGrantsData, type ListSkillRegistryVisibilityGrantsResponse, type ListSkillRegistryVisibilityGrantsResponses, type ListSkillsData, type ListSkillsError, type ListSkillsErrors, type ListSkillsResponse, type ListSkillsResponses, type ListSkillVisibilityGrantsData, type ListSkillVisibilityGrantsResponse, type ListSkillVisibilityGrantsResponses, type ListTeamGroupMembersData, type ListTeamGroupMembersResponse, type ListTeamGroupMembersResponses, type ListTeamGroupsData, type ListTeamGroupsResponse, type ListTeamGroupsResponses, type ListTeamInvitationsData, type ListTeamInvitationsResponse, type ListTeamInvitationsResponses, type ListTeamMembersData, type ListTeamMembersError, type ListTeamMembersErrors, type ListTeamMembersResponse, type ListTeamMembersResponses, type ListTeamsData, type ListTeamsError, type ListTeamsErrors, type ListTeamsResponse, type ListTeamsResponses, type ListToolDeploymentsByAliasData, type ListToolDeploymentsByAliasError, type ListToolDeploymentsByAliasErrors, type ListToolDeploymentsByAliasResponse, type ListToolDeploymentsByAliasResponses, type ListToolGroupInstancesData, type ListToolGroupInstancesError, type ListToolGroupInstancesErrors, type ListToolGroupInstancesGroupedByToolData, type ListToolGroupInstancesGroupedByToolError, type ListToolGroupInstancesGroupedByToolErrors, type ListToolGroupInstancesGroupedByToolResponse, type ListToolGroupInstancesGroupedByToolResponses, type ListToolGroupInstancesResponse, type ListToolGroupInstancesResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTrustedRuntimesData, type ListTrustedRuntimesError, type ListTrustedRuntimesErrors, type ListTrustedRuntimesResponse, type ListTrustedRuntimesResponses, type ListUcOwnershipGrantsData, type ListUcOwnershipGrantsResponse, type ListUcOwnershipGrantsResponses, type ListUcVisibilityGrantsData, type ListUcVisibilityGrantsResponse, type ListUcVisibilityGrantsResponses, type ListUserCredentialsData, type ListUserCredentialsResponse, type ListUserCredentialsResponses, type ListVerifiedIdentityLinksData, type ListVerifiedIdentityLinksError, type ListVerifiedIdentityLinksErrors, type ListVerifiedIdentityLinksResponse, type ListVerifiedIdentityLinksResponse2, type ListVerifiedIdentityLinksResponses, type ListVisibleMemoryBanksData, type ListVisibleMemoryBanksResponse, type ListVisibleMemoryBanksResponses, type ListWikiAssetsData, type ListWikiAssetsResponse, type ListWikiAssetsResponses, type ListWikiOntologyInstallationsData, type ListWikiOntologyInstallationsResponse, type ListWikiOntologyInstallationsResponses, type ListWikiOntologyTemplatesData, type ListWikiOntologyTemplatesResponse, type ListWikiOntologyTemplatesResponses, type ListWikiOwnershipGrantsData, type ListWikiOwnershipGrantsResponse, type ListWikiOwnershipGrantsResponses, type ListWikiPageAssetsData, type ListWikiPageAssetsResponse, type ListWikiPageAssetsResponses, type ListWikiPageRelationshipsData, type ListWikiPageRelationshipsResponse, type ListWikiPageRelationshipsResponses, type ListWikiPageRevisionsData, type ListWikiPageRevisionsResponse, type ListWikiPageRevisionsResponses, type ListWikiPagesData, type ListWikiPagesResponse, type ListWikiPagesResponses, type ListWikiPageTypesData, type ListWikiPageTypesResponse, type ListWikiPageTypesResponses, type ListWikiPageTypeVersionsData, type ListWikiPageTypeVersionsResponse, type ListWikiPageTypeVersionsResponses, type ListWikiRelationshipTypesData, type ListWikiRelationshipTypesResponse, type ListWikiRelationshipTypesResponses, type ListWikiRelationshipTypeVersionsData, type ListWikiRelationshipTypeVersionsResponse, type ListWikiRelationshipTypeVersionsResponses, type ListWikisData, type ListWikisResponse, type ListWikisResponses, type ListWikiVisibilityGrantsData, type ListWikiVisibilityGrantsResponse, type ListWikiVisibilityGrantsResponses, type LocalRuntimeTunnelApiKey, type LocalRuntimeTunnelConnector, type LoginProviderResolution, type MakeMppPaymentRequest, type MakeX402PaymentRequest, type ManagedSkillSelection, type ManagedUserCredentialSecretResponse, type ManagedUserCredentialSummary, type ManagedUserCredentialSummaryPaginatedResponse, type ManagedUserCredentialSummaryValue, type McpPlaygroundAiSdkChatMessage, type McpPlaygroundAiSdkChatMessagePart, type McpPlaygroundAiSdkChatRequest, type McpProtocolDeleteData, type McpProtocolDeleteError, type McpProtocolDeleteErrors, type McpProtocolDeleteResponses, type McpProtocolGetData, type McpProtocolGetError, type McpProtocolGetErrors, type McpProtocolGetResponses, type McpProtocolPostData, type McpProtocolPostError, type McpProtocolPostErrors, type McpProtocolPostResponses, McpProviderCatalogConnectionMethod, type McpProviderCatalogEntry, type McpProviderCatalogTool, type McpServerInstanceSerializedWithFunctions, type McpServerInstanceSerializedWithFunctionsPaginatedResponse, type McpServerInstanceToolSerialized, type McpServerPlaygroundChatData, type McpServerPlaygroundChatError, type McpServerPlaygroundChatErrors, type McpServerPlaygroundChatResponses, type McpServerSpec, type MemoryActorContext, type MemoryBank, type MemoryBankConfig, type MemoryBankDocumentList, type MemoryBankHealth, type MemoryBankPaginatedResponse, type MemoryBankSpec, MemoryBankStatus, type MemoryBankTemplate, type MemoryDocument, type MemoryDocumentAuthorship, MemoryDocumentOrigin, type MemoryDocumentProvenance, type MemoryDocumentRelations, type MemoryOperationResponse, MemoryProvider, type MemoryProviderDocumentState, type MemorySourceBinding, MemorySourceKind, type MemorySourceProvenance, type MemorySpec, type MemorySynthesisMutationBinding, MemorySynthesisOutcome, MemoryType, type Message, type MessageActorContext, type MessageDeliveryReceipt, MessageFormat, type MessageFormatConfig, type MessagePaginatedResponse, MessageRole, type Metadata, type MigrateWikiPageBody, type MigrateWikiPageTypeData, type MigrateWikiPageTypeErrors, type MigrateWikiPageTypeResponse, type MigrateWikiPageTypeResponses, type MoveWikiPageBody, type MoveWikiPageData, type MoveWikiPageErrors, type MoveWikiPageResponse, type MoveWikiPageResponses, type ObserveSessionData, type ObserveSessionError, type ObserveSessionErrors, type ObserveSessionResponses, type OnboardOrganizationData, type OnboardOrganizationError, type OnboardOrganizationErrors, type OnboardOrganizationRequest, type OnboardOrganizationResponse, type OnboardOrganizationResponse2, type OnboardOrganizationResponses, type OntologyPageTypeDefinition, type OntologyRelationshipTypeDefinition, type OpenBotAgentSkillInput, type OpenBotDeployment, type OpenBotPluginsCatalogResponse, type Organization, type OrganizationAiCreditContext, type OrganizationMemberWithUser, type OrganizationMemberWithUserPaginatedResponse, type OrgOidcProvider, type OrgOidcProviderPaginatedResponse, OrgOidcProviderStatus, type OrgProxyToken, type OrgProxyTokenPaginatedResponse, type PageRelationshipView, type PageTypeMigrationIssue, type PageTypeMigrationPreview, type PageTypeValidationResult, PartState, type PaymentResponse, type PaymentSessionSnapshot, PayOnboardingStep, type PayPaymentRequest, type PayWalletSummaryError, type PayWalletSummaryResponse, type PersonalMcpProtocolDeleteData, type PersonalMcpProtocolDeleteResponses, type PersonalMcpProtocolGetData, type PersonalMcpProtocolGetResponses, type PersonalMcpProtocolPostData, type PersonalMcpProtocolPostResponses, type PersonalMcpServerInstanceSerialized, type PersonalSkill, type PersonalSkillRegistry, type PersonalToolGroupInstanceSerialized, type PlanStateRequest, type PlatformChannelAddress, type PreviewIdentityLinkData, type PreviewIdentityLinkResponse, type PreviewIdentityLinkResponses, type PreviewWikiPageTypeMigrationData, type PreviewWikiPageTypeMigrationErrors, type PreviewWikiPageTypeMigrationResponse, type PreviewWikiPageTypeMigrationResponses, type ProductBillingContext, ProductSubscriptionStatus, type ProposalCredentialRequirement, type ProposalPermissionChange, type ProviderAppProvisioningResponse, type ProviderAuthAccountNameDisplay, type ProviderAuthAdapterApiKey, type ProviderAuthAdapterConfig, type ProviderAuthAdapterCustom, type ProviderAuthAdapterCustomJsonSchema, type ProviderAuthAdapterNoAuth, type ProviderAuthAdapterOauthApp, type ProviderAuthAdapterOauthJwtBearer, type ProviderAuthAdapterServerTokenExchange, type ProviderAuthAdapterTildeManagedOauth, type ProviderAuthFieldDisplay, ProviderDeliveryStatus, type ProviderProvisionerConfigField, type ProviderProvisionerCredentialRequirement, type ProviderProvisionerForm, type ProviderProvisionerInstructions, ProviderProvisionerSetupKind, type ProviderProvisioningCallbackData, type ProviderProvisioningCallbackResponse, type ProviderProvisioningCallbackResponses, type ProviderProvisioningHumanAction, type ProviderProvisioningInput, type ProviderProvisioningNextAction, type ProviderSetupAuthMethod, type ProviderSetupCatalogData, type ProviderSetupCatalogResponse, type ProviderSetupCatalogResponses, type ProviderSetupDescriptor, type ProviderSetupField, type ProviderSetupNextAction, type ProviderSetupOption, type ProviderSetupResponse, type ProviderSetupResumeData, type ProviderSetupResumeResponse, type ProviderSetupResumeResponses, type ProviderSetupStartData, type ProviderSetupStartResponse, type ProviderSetupStartResponses, type ProvisionAgentRequest, type ProvisionedProviderApp, type ProvisionedResource, ProvisionerCredentialKind, type ProvisionIdentityTeamData, type ProvisionIdentityTeamRequest, type ProvisionIdentityTeamResponse, type ProvisionIdentityTeamResponses, type ProvisionPayBrowserResponse, type ProvisionTildePayRequest, type ProvisionTildePayResponse, ProxiedMcpApiKeyLocation, ProxiedMcpAuthMode, type ProxiedMcpServerDetails, type ProxiedMcpServerListItem, type ProxiedMcpServerListItemPaginatedResponse, type ProxiedMcpServerSerialized, type ProxiedSkill, type ProxiedSkillProvider, type ProxyCredentialTemplate, type PutRoutineBody, type ReasoningUiPart, type RecallChatKitAutomaticMemoryBody, type RecallMemoryBody, type RecallMemoryData, type RecallMemoryResponse, type RecallMemoryResponses, type RecallPersonalMemoryData, type RecallPersonalMemoryResponse, type RecallPersonalMemoryResponses, type RecallSynthesisSessionMemoryData, type RecallSynthesisSessionMemoryResponse, type RecallSynthesisSessionMemoryResponses, type ReconcileOpenBotAgentBundleBody, type ReconcileOpenbotAgentBundleData, type ReconcileOpenbotAgentBundleResponse, type ReconcileOpenBotAgentBundleResponse, type ReconcileOpenbotAgentBundleResponses, type RecordAgentRunEffectInner, type RedirectTemporaryAccountClaimPageData, type ReflectMemoryBody, type ReflectMemoryData, type ReflectMemoryResponse, type ReflectMemoryResponses, type ReflectPersonalMemoryData, type ReflectPersonalMemoryResponse, type ReflectPersonalMemoryResponses, type RefreshCustomToolProviderData, type RefreshCustomToolProviderResponse, type RefreshCustomToolProviderResponse2, type RefreshCustomToolProviderResponses, type RefreshProxiedMcpServerData, type RefreshProxiedMcpServerError, type RefreshProxiedMcpServerErrors, type RefreshProxiedMcpServerResponse, type RefreshProxiedMcpServerResponses, type RefreshTokenRequest, type RefreshWalletTransactionHistoryResponse, type RegisterAgentTool, type RegisterAgentToolsRequestInner, type RegisterChatKitChatProviderRequestInner, type RegisterChatKitChatProviderResponse, type RegisterHttpVercelAiSdkAgentRequestInner, type RegisterHttpVercelAiSdkAgentResponse, type RegisterInboxInstanceRequest, type RegisterOauthClientData, type RegisterOauthClientError, type RegisterOauthClientErrors, type RegisterOAuthClientRequest, type RegisterOauthClientResponse, type RegisterOAuthClientResponse, type RegisterOauthClientResponses, type RegisterOpenbotDeploymentData, type RegisterOpenbotDeploymentError, type RegisterOpenbotDeploymentErrors, type RegisterOpenBotDeploymentRequest, type RegisterOpenbotDeploymentResponse, type RegisterOpenbotDeploymentResponses, type RegisterTeamOauthClientData, type RegisterTeamOauthClientError, type RegisterTeamOauthClientErrors, type RegisterTeamOauthClientResponse, type RegisterTeamOauthClientResponses, type RegisterVercelUiChatProviderRequestInner, RelationshipDirectionality, type ReleaseAiCreditReservationBody, type RemoveChatKitParticipantResponse, type RemoveCommonProviderInstallationOwnershipGrantData, type RemoveCommonProviderInstallationOwnershipGrantResponses, type RemoveCommonProviderInstallationVisibilityGrantData, type RemoveCommonProviderInstallationVisibilityGrantResponses, type RemoveIdentityIdentifierData, type RemoveIdentityIdentifierResponse, type RemoveIdentityIdentifierResponses, type RemoveIdentityTeamData, type RemoveIdentityTeamResponses, type RemoveMcpResourceOwnershipGrantData, type RemoveMcpResourceOwnershipGrantResponses, type RemoveMcpResourceVisibilityGrantData, type RemoveMcpResourceVisibilityGrantResponses, type RemoveMcpServerInstanceFunctionData, type RemoveMcpServerInstanceFunctionError, type RemoveMcpServerInstanceFunctionErrors, type RemoveMcpServerInstanceFunctionResponse, type RemoveMcpServerInstanceFunctionResponses, type RemoveMemoryBankOwnershipGrantData, type RemoveMemoryBankOwnershipGrantResponses, type RemoveMemoryBankVisibilityGrantData, type RemoveMemoryBankVisibilityGrantResponses, type RemoveOrganizationMemberData, type RemoveOrganizationMemberError, type RemoveOrganizationMemberErrors, type RemoveOrganizationMemberResponses, type RemovePersonalMemoryBankOwnershipGrantData, type RemovePersonalMemoryBankOwnershipGrantResponses, type RemovePersonalMemoryBankVisibilityGrantData, type RemovePersonalMemoryBankVisibilityGrantResponses, type RemovePersonalRegistryOwnershipGrantData, type RemovePersonalRegistryOwnershipGrantResponses, type RemovePersonalRegistryVisibilityGrantData, type RemovePersonalRegistryVisibilityGrantResponses, type RemovePersonalRscOwnershipGrantData, type RemovePersonalRscOwnershipGrantResponses, type RemovePersonalRscVisibilityGrantData, type RemovePersonalRscVisibilityGrantResponses, type RemovePersonalSkillOwnershipGrantData, type RemovePersonalSkillOwnershipGrantResponses, type RemovePersonalSkillVisibilityGrantData, type RemovePersonalSkillVisibilityGrantResponses, type RemovePersonalUcOwnershipGrantData, type RemovePersonalUcOwnershipGrantResponses, type RemovePersonalUcVisibilityGrantData, type RemovePersonalUcVisibilityGrantResponses, type RemovePersonalWikiOwnershipGrantData, type RemovePersonalWikiOwnershipGrantResponses, type RemovePersonalWikiVisibilityGrantData, type RemovePersonalWikiVisibilityGrantResponses, type RemoveRscOwnershipGrantData, type RemoveRscOwnershipGrantResponses, type RemoveRscVisibilityGrantData, type RemoveRscVisibilityGrantResponses, type RemoveSessionResourceGrantData, type RemoveSessionResourceGrantError, type RemoveSessionResourceGrantErrors, type RemoveSessionResourceGrantResponse, type RemoveSessionResourceGrantResponses, type RemoveSessionUserMemberData, type RemoveSessionUserMemberError, type RemoveSessionUserMemberErrors, type RemoveSessionUserMemberResponse, type RemoveSessionUserMemberResponse2, type RemoveSessionUserMemberResponses, type RemoveSignalProviderGrantData, type RemoveSignalProviderGrantResponses, type RemoveSkillOwnershipGrantData, type RemoveSkillOwnershipGrantResponses, type RemoveSkillRegistryOwnershipGrantData, type RemoveSkillRegistryOwnershipGrantResponses, type RemoveSkillRegistryVisibilityGrantData, type RemoveSkillRegistryVisibilityGrantResponses, type RemoveSkillVisibilityGrantData, type RemoveSkillVisibilityGrantResponses, type RemoveTeamGroupMemberData, type RemoveTeamGroupMemberResponses, type RemoveTeamMemberData, type RemoveTeamMemberError, type RemoveTeamMemberErrors, type RemoveTeamMemberResponses, type RemoveUcOwnershipGrantData, type RemoveUcOwnershipGrantResponses, type RemoveUcVisibilityGrantData, type RemoveUcVisibilityGrantResponses, type RemoveWikiOwnershipGrantData, type RemoveWikiOwnershipGrantResponses, type RemoveWikiVisibilityGrantData, type RemoveWikiVisibilityGrantResponses, type RenameChatKitWorkspaceThreadRequestInner, type RenameProxyTokenData, type RenameProxyTokenError, type RenameProxyTokenErrors, type RenameProxyTokenRequest, type RenameProxyTokenResponses, type ReorderChatKitAgentTurnQueueItemRequestInner, type ReplaceMemoryBankBindingsBody, type ReplaceMemorySourceBindingsData, type ReplaceMemorySourceBindingsResponse, type ReplaceMemorySourceBindingsResponses, type ReplacePersonalMemorySourceBindingsData, type ReplacePersonalMemorySourceBindingsResponse, type ReplacePersonalMemorySourceBindingsResponses, type ReportChatKitCompactionEventInner, type ReportChatKitCompactionEventResponse, type ReportedAgentTool, type ReportToolExecutionRequestInner, type ReserveAiCreditsBody, type ResetMemoryBankConfigData, type ResetMemoryBankConfigResponse, type ResetMemoryBankConfigResponses, type ResetPersonalMemoryBankConfigData, type ResetPersonalMemoryBankConfigResponse, type ResetPersonalMemoryBankConfigResponses, type ResolveIdentityData, type ResolveIdentityError, type ResolveIdentityErrors, type ResolveIdentityResponse, type ResolveIdentityResponses, type ResolveLoginProviderResponse, type ResolveStateSourceRequest, type ResolveStateSourceResponse, ResourceAccessMode, ResourceAction, type ResourceApplyOutput, type ResourceAuthorization, type ResourceAuthorizationModes, type ResourceGrant, ResourceGrantPlane, type ResourceGrantRequest, type ResourceOwnership, type ResourcePlanItem, ResourcePrincipalType, ResourceServerCredentialPurpose, type ResourceServerCredentialSerialized, type ResourceServerCredentialSerializedPaginatedResponse, type ResumeAgentJobRequestInner, type ResumeCredentialSetupItemBody, type ResumeCredentialSetupItemData, type ResumeCredentialSetupItemResponse, type ResumeCredentialSetupItemResponses, type ResumeProviderAppProvisioningBody, type ResumeProviderAppProvisioningData, type ResumeProviderAppProvisioningResponse, type ResumeProviderAppProvisioningResponses, type ResumeProviderSetupBody, type ResumeUserCredentialBrokeringData, type ResumeUserCredentialBrokeringParams, type ResumeUserCredentialBrokeringResponse, type ResumeUserCredentialBrokeringResponses, type RetainMemoryBody, type RetainMemoryDocumentData, type RetainMemoryDocumentResponse, type RetainMemoryDocumentResponses, type RetainPersonalMemoryDocumentData, type RetainPersonalMemoryDocumentResponse, type RetainPersonalMemoryDocumentResponses, type RetainSynthesisSessionMemoryData, type RetainSynthesisSessionMemoryResponse, type RetainSynthesisSessionMemoryResponses, type RetryConnectionWork, type RetryMemorySourceBody, type RetryMemorySourceSyncData, type RetryMemorySourceSyncResponse, type RetryMemorySourceSyncResponses, type RetryPersonalMemorySourceBindingsData, type RetryPersonalMemorySourceBindingsResponse, type RetryPersonalMemorySourceBindingsResponses, type RetryWikiData, type RetryWikiResponse, type RetryWikiResponses, type ReturnAddress, type ReturnAddressUrl, type ReverseProxyAddProfileOwnershipGrantData, type ReverseProxyAddProfileOwnershipGrantResponse, type ReverseProxyAddProfileOwnershipGrantResponses, type ReverseProxyAddProfileVisibilityGrantData, type ReverseProxyAddProfileVisibilityGrantResponse, type ReverseProxyAddProfileVisibilityGrantResponses, type ReverseProxyCreateProfileData, type ReverseProxyCreateProfileError, type ReverseProxyCreateProfileErrors, type ReverseProxyCreateProfileResponse, type ReverseProxyCreateProfileResponses, type ReverseProxyDeleteProfileData, type ReverseProxyDeleteProfileError, type ReverseProxyDeleteProfileErrors, type ReverseProxyDeleteProfileResponses, type ReverseProxyGetProfileData, type ReverseProxyGetProfileError, type ReverseProxyGetProfileErrors, type ReverseProxyGetProfileResponse, type ReverseProxyGetProfileResponses, type ReverseProxyListProfileOwnershipGrantsData, type ReverseProxyListProfileOwnershipGrantsResponse, type ReverseProxyListProfileOwnershipGrantsResponses, type ReverseProxyListProfilesData, type ReverseProxyListProfilesError, type ReverseProxyListProfilesErrors, type ReverseProxyListProfilesResponse, type ReverseProxyListProfilesResponses, type ReverseProxyListProfileVisibilityGrantsData, type ReverseProxyListProfileVisibilityGrantsResponse, type ReverseProxyListProfileVisibilityGrantsResponses, type ReverseProxyListProvidersData, type ReverseProxyListProvidersResponse, type ReverseProxyListProvidersResponses, type ReverseProxyProfile, type ReverseProxyProfilePaginatedResponse, type ReverseProxyProviderInfo, type ReverseProxyProxyGetData, type ReverseProxyProxyGetResponses, type ReverseProxyProxyPostData, type ReverseProxyProxyPostResponses, type ReverseProxyRemoveProfileOwnershipGrantData, type ReverseProxyRemoveProfileOwnershipGrantResponses, type ReverseProxyRemoveProfileVisibilityGrantData, type ReverseProxyRemoveProfileVisibilityGrantResponses, type ReverseProxySetProfileOwnershipData, type ReverseProxySetProfileOwnershipResponse, type ReverseProxySetProfileOwnershipResponses, type ReverseProxySetProfileVisibilityData, type ReverseProxySetProfileVisibilityResponse, type ReverseProxySetProfileVisibilityResponses, type ReverseProxyUpdateProfileData, type ReverseProxyUpdateProfileError, type ReverseProxyUpdateProfileErrors, type ReverseProxyUpdateProfileResponse, type ReverseProxyUpdateProfileResponses, type RevokeLocalRuntimeTunnelApiKeyData, type RevokeLocalRuntimeTunnelApiKeyError, type RevokeLocalRuntimeTunnelApiKeyErrors, type RevokeLocalRuntimeTunnelApiKeyResponse, type RevokeLocalRuntimeTunnelApiKeyResponses, type RevokeProxyTokenData, type RevokeProxyTokenError, type RevokeProxyTokenErrors, type RevokeProxyTokenResponses, type RevokeTeamInvitationData, type RevokeTeamInvitationResponses, type RotateCustomToolProviderSigningKeyData, type RotateCustomToolProviderSigningKeyResponse, type RotateCustomToolProviderSigningKeyResponse2, type RotateCustomToolProviderSigningKeyResponses, type RouteAuthCallbackData, type RouteAuthCallbackError, type RouteAuthCallbackErrors, type RouteCreateApiKeyData, type RouteCreateApiKeyError, type RouteCreateApiKeyErrors, type RouteCreateApiKeyResponse, type RouteCreateApiKeyResponses, type RouteDeleteApiKeyData, type RouteDeleteApiKeyError, type RouteDeleteApiKeyErrors, type RouteDeleteApiKeyResponse, type RouteDeleteApiKeyResponses, type RouteGetJwksData, type RouteGetJwksError, type RouteGetJwksErrors, type RouteGetJwksResponse, type RouteGetJwksResponses, type RouteListApiKeysData, type RouteListApiKeysError, type RouteListApiKeysErrors, type RouteListApiKeysResponse, type RouteListApiKeysResponses, type RouteListDebugAuthProfilesData, type RouteListDebugAuthProfilesError, type RouteListDebugAuthProfilesErrors, type RouteListDebugAuthProfilesResponse, type RouteListDebugAuthProfilesResponses, type RouteLogoutData, type RouteRefreshTokenData, type RouteRefreshTokenError, type RouteRefreshTokenErrors, type RouteRefreshTokenResponse, type RouteRefreshTokenResponses, type RouteResolveLoginProviderData, type RouteResolveLoginProviderError, type RouteResolveLoginProviderErrors, type RouteResolveLoginProviderResponse, type RouteResolveLoginProviderResponses, type RouteSelectDebugAuthProfileData, type RouteSelectDebugAuthProfileError, type RouteSelectDebugAuthProfileErrors, type RouteSelectDebugAuthProfileResponse, type RouteSelectDebugAuthProfileResponses, type RouteStartAuthorizationData, type RouteStartAuthorizationError, type RouteStartAuthorizationErrors, type Routine, RoutineEventInstructionPolicy, type RoutineExecution, type RoutineExecutionPaginatedResponse, type RoutinePaginatedResponse, type RoutineTrigger, type RoutineTriggerInput, type RoutineTriggerSpec, type RunRoutineBody, type RunRoutineResponse, type RuntimeConfig, type RuntimeIdentity, type RuntimeIdentityPaginatedResponse, type SearchSkillRegistryData, type SearchSkillRegistryError, type SearchSkillRegistryErrors, type SearchSkillRegistryResponse, type SearchSkillRegistryResponses, type SelectDebugAuthProfileRequest, SelfExtensionCategory, type SelfExtensionPreview, type SelfExtensionProposal, type SelfExtensionProposalOutputs, type SelfExtensionResource, SelfExtensionStatus, type SelfProfileAvatarResponse, type SelfProfileResponse, type SelfProfileUser, type SendChatKitWorkspaceMessageRequestInner, type SendSessionMessageBody, type SendSessionMessageInput, type SendSessionMessageResponse, type Session, type SessionCorrelation, type SessionPaginatedResponse, type SessionParticipantIdentity, SessionPurpose, type SessionUserMembership, SessionUserRole, type SetChatKitResourceStatusRequest, type SetCommonProviderInstallationOwnershipData, type SetCommonProviderInstallationOwnershipResponse, type SetCommonProviderInstallationOwnershipResponses, type SetCommonProviderInstallationVisibilityData, type SetCommonProviderInstallationVisibilityResponse, type SetCommonProviderInstallationVisibilityResponses, type SetMcpResourceOwnershipData, type SetMcpResourceOwnershipResponse, type SetMcpResourceOwnershipResponses, type SetMcpResourceVisibilityData, type SetMcpResourceVisibilityResponse, type SetMcpResourceVisibilityResponses, type SetMemoryBankOwnershipModeData, type SetMemoryBankOwnershipModeResponse, type SetMemoryBankOwnershipModeResponses, type SetMemoryBankVisibilityData, type SetMemoryBankVisibilityResponse, type SetMemoryBankVisibilityResponses, type SetOpenBotAvatarRequest, type SetPersonalMemoryBankOwnershipModeData, type SetPersonalMemoryBankOwnershipModeResponse, type SetPersonalMemoryBankOwnershipModeResponses, type SetPersonalMemoryBankVisibilityData, type SetPersonalMemoryBankVisibilityResponse, type SetPersonalMemoryBankVisibilityResponses, type SetPersonalRegistryOwnershipModeData, type SetPersonalRegistryOwnershipModeResponse, type SetPersonalRegistryOwnershipModeResponses, type SetPersonalRegistryVisibilityData, type SetPersonalRegistryVisibilityResponse, type SetPersonalRegistryVisibilityResponses, type SetPersonalRscOwnershipData, type SetPersonalRscOwnershipResponse, type SetPersonalRscOwnershipResponses, type SetPersonalRscVisibilityData, type SetPersonalRscVisibilityResponse, type SetPersonalRscVisibilityResponses, type SetPersonalSkillOwnershipModeData, type SetPersonalSkillOwnershipModeResponse, type SetPersonalSkillOwnershipModeResponses, type SetPersonalSkillVisibilityData, type SetPersonalSkillVisibilityResponse, type SetPersonalSkillVisibilityResponses, type SetPersonalUcOwnershipData, type SetPersonalUcOwnershipResponse, type SetPersonalUcOwnershipResponses, type SetPersonalUcVisibilityData, type SetPersonalUcVisibilityResponse, type SetPersonalUcVisibilityResponses, type SetPersonalWikiOwnershipModeData, type SetPersonalWikiOwnershipModeResponse, type SetPersonalWikiOwnershipModeResponses, type SetPersonalWikiVisibilityData, type SetPersonalWikiVisibilityResponse, type SetPersonalWikiVisibilityResponses, type SetResourceAccessModeRequest, type SetRscOwnershipData, type SetRscOwnershipResponse, type SetRscOwnershipResponses, type SetRscVisibilityData, type SetRscVisibilityResponse, type SetRscVisibilityResponses, type SetSelfOpenbotAvatarData, type SetSelfOpenbotAvatarError, type SetSelfOpenbotAvatarErrors, type SetSelfOpenbotAvatarResponse, type SetSelfOpenbotAvatarResponses, type SetSignalProviderOwnershipData, type SetSignalProviderOwnershipResponse, type SetSignalProviderOwnershipResponses, type SetSignalProviderVisibilityData, type SetSignalProviderVisibilityResponse, type SetSignalProviderVisibilityResponses, type SetSkillOwnershipModeData, type SetSkillOwnershipModeResponse, type SetSkillOwnershipModeResponses, type SetSkillRegistryOwnershipModeData, type SetSkillRegistryOwnershipModeResponse, type SetSkillRegistryOwnershipModeResponses, type SetSkillRegistryVisibilityData, type SetSkillRegistryVisibilityResponse, type SetSkillRegistryVisibilityResponses, type SetSkillVisibilityData, type SetSkillVisibilityResponse, type SetSkillVisibilityResponses, type SetUcOwnershipData, type SetUcOwnershipResponse, type SetUcOwnershipResponses, type SetUcVisibilityData, type SetUcVisibilityResponse, type SetUcVisibilityResponses, type SetupPayMcpResponse, type SetWikiOwnershipModeData, type SetWikiOwnershipModeResponse, type SetWikiOwnershipModeResponses, type SetWikiVisibilityData, type SetWikiVisibilityResponse, type SetWikiVisibilityResponses, type SignalAction, type SignalDelivery, type SignalDeliveryPaginatedResponse, SignalDeliveryStatus, SignalIngressMode, type SignalInterpolationVariable, type SignalMessage, type SignalMessageContext, type SignalPollingDescriptor, SignalProviderAuthMethod, type SignalProviderInstance, type SignalProviderInstancePaginatedResponse, SignalProviderInstanceStatus, type SignalProviderRouteDescriptor, type SignalProviderSourceSerialized, type SignalProviderSourceSerializedPaginatedResponse, type SignalRuleFilter, type SignalsAddPersonalProviderGrantData, type SignalsAddPersonalProviderGrantResponse, type SignalsAddPersonalProviderGrantResponses, type SignalsCreatePersonalProviderInstanceData, type SignalsCreatePersonalProviderInstanceResponse, type SignalsCreatePersonalProviderInstanceResponses, type SignalsCreateProviderInstanceData, type SignalsCreateProviderInstanceResponse, type SignalsCreateProviderInstanceResponses, type SignalsDeletePersonalProviderInstanceData, type SignalsDeletePersonalProviderInstanceResponse, type SignalsDeletePersonalProviderInstanceResponses, type SignalsDeleteProviderInstanceData, type SignalsDeleteProviderInstanceResponse, type SignalsDeleteProviderInstanceResponses, type SignalSessionPolicy, type SignalsGetDeliveryData, type SignalsGetDeliveryResponse, type SignalsGetDeliveryResponses, type SignalsGetPersonalDeliveryData, type SignalsGetPersonalDeliveryResponse, type SignalsGetPersonalDeliveryResponses, type SignalsGetPersonalProviderInstanceData, type SignalsGetPersonalProviderInstanceResponse, type SignalsGetPersonalProviderInstanceResponses, type SignalsGetProviderInstanceData, type SignalsGetProviderInstanceResponse, type SignalsGetProviderInstanceResponses, type SignalsListAvailableProvidersData, type SignalsListAvailableProvidersResponse, type SignalsListAvailableProvidersResponses, type SignalsListDeliveriesData, type SignalsListDeliveriesResponse, type SignalsListDeliveriesResponses, type SignalsListPersonalAvailableProvidersData, type SignalsListPersonalAvailableProvidersResponse, type SignalsListPersonalAvailableProvidersResponses, type SignalsListPersonalDeliveriesData, type SignalsListPersonalDeliveriesResponse, type SignalsListPersonalDeliveriesResponses, type SignalsListPersonalProviderGrantsData, type SignalsListPersonalProviderGrantsResponse, type SignalsListPersonalProviderGrantsResponses, type SignalsListPersonalProviderInstancesData, type SignalsListPersonalProviderInstancesResponse, type SignalsListPersonalProviderInstancesResponses, type SignalsListProviderInstancesData, type SignalsListProviderInstancesResponse, type SignalsListProviderInstancesResponses, type SignalsRemovePersonalProviderGrantData, type SignalsRemovePersonalProviderGrantResponses, type SignalsRetryDeliveryData, type SignalsRetryDeliveryResponse, type SignalsRetryDeliveryResponses, type SignalsRetryPersonalDeliveryData, type SignalsRetryPersonalDeliveryResponse, type SignalsRetryPersonalDeliveryResponses, type SignalsSetPersonalProviderOwnershipData, type SignalsSetPersonalProviderOwnershipResponse, type SignalsSetPersonalProviderOwnershipResponses, type SignalsSetPersonalProviderVisibilityData, type SignalsSetPersonalProviderVisibilityResponse, type SignalsSetPersonalProviderVisibilityResponses, type SignalsTriggerFakeData, type SignalsTriggerFakeResponse, type SignalsTriggerFakeResponses, type SignalsUpdatePersonalProviderInstanceData, type SignalsUpdatePersonalProviderInstanceResponse, type SignalsUpdatePersonalProviderInstanceResponses, type SignalsUpdateProviderInstanceData, type SignalsUpdateProviderInstanceResponse, type SignalsUpdateProviderInstanceResponses, type SignalTypeSourceSerialized, type SignalWebhookVerificationDescriptor, type Skill, type SkillDescriptionResponse, type SkillDiscoverySearchRequest, type SkillDiscoverySearchResponse, type SkillPackageFile, type SkillPackageFileDownload, type SkillPackageManifest, type SkillPaginatedResponse, type SkillRegistry, type SkillRegistryPaginatedResponse, type SkillRegistrySpec, type SkillSummary, type SkillSummaryPaginatedResponse, type SlackInstallationNextAction, type SourceDocumentUiPart, type SourceUrlUiPart, type StartBrokeringBodyExternal, type StartCredentialSetupItemBody, type StartCredentialSetupItemData, type StartCredentialSetupItemResponse, type StartCredentialSetupItemResponse2, type StartCredentialSetupItemResponses, type StartOAuthDeviceCodeBody, type StartOauthDeviceCodeData, type StartOauthDeviceCodeError, type StartOauthDeviceCodeErrors, type StartOauthDeviceCodeResponse, type StartOauthDeviceCodeResponses, type StartOAuthDeviceCodeResult, type StartProviderAppProvisioningBody, type StartProviderAppProvisioningData, type StartProviderAppProvisioningResponse, type StartProviderAppProvisioningResponses, type StartProviderSetupBody, type StartProxiedMcpServerOauthData, type StartProxiedMcpServerOauthError, type StartProxiedMcpServerOauthErrors, type StartProxiedMcpServerOauthRequestInner, type StartProxiedMcpServerOauthResponse, type StartProxiedMcpServerOauthResponse2, type StartProxiedMcpServerOauthResponses, type StartSlackOauthRequestInner, type StartUserCredentialBrokeringData, type StartUserCredentialBrokeringResponse, type StartUserCredentialBrokeringResponses, StateDocumentFormat, type StateExportData, type StateExportError, type StateExportErrors, type StateExportResponses, type StateGetImportData, type StateGetImportResponse, type StateGetImportResponses, type StateImportData, type StateImportEventsData, type StateImportEventsResponses, type StateImportOutputs, type StateImportResponse, type StateImportResponses, StateImportStatus, type StateMetadata, type StatePlan, type StatePlanData, type StatePlanResponse, type StatePlanResponses, type StateResolveSourceData, type StateResolveSourceError, type StateResolveSourceErrors, type StateResolveSourceResponse, type StateResolveSourceResponses, type StateSchema, type StateSchemaData, type StateSchemaJsonData, type StateSchemaJsonResponses, type StateSchemaResponse, type StateSchemaResponses, type StateSourceMetadata, type StateValidateData, type StateValidateResponse, type StateValidateResponses, type StateVariableDefinition, StateVariableType, type SteerAgentJobRequestInner, type SteerChatKitAgentTurnQueueItemResponse, type StepStartUiPart, type StopAgentJobRequestInner, type StoredEvent, type StoredEventPaginatedResponse, type StoredMemoryDocument, type SubmitChatKitWorkspaceTurnRequestInner, type SubmitChatKitWorkspaceTurnResponse, type SupportedCredentialInfo, type SynthesisSessionRetainMemoryBody, type Task, type TaskPaginatedResponse, TaskStatus, type Team, type TeamGroupSummary, type TeamGroupSummaryPaginatedResponse, type TeamMemberWithUser, type TeamMemberWithUserPaginatedResponse, type TeamPaginatedResponse, type TextMessage, type TextUiPart, type TildePayPaymentMppData, type TildePayPaymentMppResponse, type TildePayPaymentMppResponses, type TildePayPaymentX402Data, type TildePayPaymentX402Response, type TildePayPaymentX402Responses, type TildePayProvisionData, type TildePayProvisionResponse, type TildePayProvisionResponses, type TildePayWalletCreateData, type TildePayWalletCreateResponse, type TildePayWalletCreateResponses, type TildePayWalletSummaryData, type TildePayWalletSummaryResponse, type TildePayWalletSummaryResponses, type TildePayWalletWaitUntilBalanceData, type TildePayWalletWaitUntilBalanceResponse, type TildePayWalletWaitUntilBalanceResponses, type TokenResponse, type ToolConfig, type ToolConfigPaginatedResponse, type ToolDeploymentWithGroupSerialized, type ToolDeploymentWithGroupSerializedPaginatedResponse, type ToolExecution, ToolExecutionAuthority, ToolExecutionState, type ToolGroupInstanceListItem, type ToolGroupInstanceListItemPaginatedResponse, type ToolGroupInstanceSerialized, type ToolGroupInstanceSerializedWithCredentials, type ToolGroupInstanceSerializedWithEverything, type ToolGroupSourceSerialized, type ToolGroupSourceSerializedPaginatedResponse, type ToolInstanceListItem, type ToolInstanceSerialized, type ToolInstanceSerializedPaginatedResponse, ToolInvocationState, type ToolSourceSerialized, type ToolUiPart, type TransitionAgentRunInner, type TraverseWikiGraphData, type TraverseWikiGraphResponse, type TraverseWikiGraphResponses, type TriggerFakeSignalRequest, type TrustedRuntime, TrustedRuntimeEncryptionAlgorithm, type TrustedRuntimePaginatedResponse, TrustedRuntimeSigningAlgorithm, TrustedRuntimeStatus, TrustedRuntimeType, type TupleUnit, type UiMessage, type UiMessagePart, type UnbindToolGroupFromMcpServerData, type UnbindToolGroupFromMcpServerError, type UnbindToolGroupFromMcpServerErrors, type UnbindToolGroupFromMcpServerResponse, type UnbindToolGroupFromMcpServerResponses, type UpdateAgentObservabilityPolicyRequestInner, type UpdateAgentToolVisibilityRequestInner, type UpdateChatKitChatProviderRequestInner, type UpdateChatKitSessionUserStateRequestInner, type UpdateCredentialBody, type UpdateCustomToolProviderData, type UpdateCustomToolProviderRequestInner, type UpdateCustomToolProviderResponse, type UpdateCustomToolProviderResponses, type UpdateGoalRequestInner, type UpdateHostedOpenbotComputerImageData, type UpdateHostedOpenbotComputerImageError, type UpdateHostedOpenbotComputerImageErrors, type UpdateHostedOpenBotComputerImageRequest, type UpdateHostedOpenbotComputerImageResponse, type UpdateHostedOpenbotComputerImageResponses, type UpdateHttpVercelAiSdkAgentRequestInner, type UpdateIdentityData, type UpdateIdentityError, type UpdateIdentityErrors, type UpdateIdentityRequest, type UpdateIdentityResponse, type UpdateIdentityResponses, type UpdateManagedUserCredentialBody, type UpdateManagedUserCredentialData, type UpdateManagedUserCredentialResponse, type UpdateManagedUserCredentialResponses, type UpdateMcpServerInstanceBody, type UpdateMcpServerInstanceData, type UpdateMcpServerInstanceError, type UpdateMcpServerInstanceErrors, type UpdateMcpServerInstanceFunctionData, type UpdateMcpServerInstanceFunctionError, type UpdateMcpServerInstanceFunctionErrors, type UpdateMcpServerInstanceFunctionResponse, type UpdateMcpServerInstanceFunctionResponses, type UpdateMcpServerInstanceRequestInner, type UpdateMcpServerInstanceResponse, type UpdateMcpServerInstanceResponses, type UpdateMcpServerInstanceToolBody, type UpdateMemberRoleBody, type UpdateMemoryBankBody, type UpdateMemoryBankConfigBody, type UpdateMemoryBankConfigData, type UpdateMemoryBankConfigResponse, type UpdateMemoryBankConfigResponses, type UpdateMemoryBankData, type UpdateMemoryBankResponse, type UpdateMemoryBankResponses, type UpdateOrganizationData, type UpdateOrganizationError, type UpdateOrganizationErrors, type UpdateOrganizationMemberRoleBody, type UpdateOrganizationMemberRoleData, type UpdateOrganizationMemberRoleError, type UpdateOrganizationMemberRoleErrors, type UpdateOrganizationMemberRoleResponse, type UpdateOrganizationMemberRoleResponses, type UpdateOrganizationRequest, type UpdateOrganizationResponses, type UpdateOrgOidcProviderData, type UpdateOrgOidcProviderError, type UpdateOrgOidcProviderErrors, type UpdateOrgOidcProviderRequest, type UpdateOrgOidcProviderResponse, type UpdateOrgOidcProviderResponses, type UpdatePageTypeBody, type UpdatePersonalMcpServerInstanceData, type UpdatePersonalMcpServerInstanceResponse, type UpdatePersonalMcpServerInstanceResponses, type UpdatePersonalMemoryBankConfigData, type UpdatePersonalMemoryBankConfigResponse, type UpdatePersonalMemoryBankConfigResponses, type UpdatePersonalMemoryBankData, type UpdatePersonalMemoryBankResponse, type UpdatePersonalMemoryBankResponses, type UpdatePersonalSkillData, type UpdatePersonalSkillRegistryData, type UpdatePersonalSkillRegistryResponse, type UpdatePersonalSkillRegistryResponses, type UpdatePersonalSkillResponse, type UpdatePersonalSkillResponses, type UpdatePersonalToolGroupInstanceData, type UpdatePersonalToolGroupInstanceResponse, type UpdatePersonalToolGroupInstanceResponses, type UpdatePersonalWikiData, type UpdatePersonalWikiPageData, type UpdatePersonalWikiPageResponse, type UpdatePersonalWikiPageResponses, type UpdatePersonalWikiResponse, type UpdatePersonalWikiResponses, type UpdateRelationshipTypeBody, type UpdateResourceServerCredentialData, type UpdateResourceServerCredentialResponse, type UpdateResourceServerCredentialResponses, type UpdateReverseProxyProfileInner, type UpdateSelfProfileData, type UpdateSelfProfileError, type UpdateSelfProfileErrors, type UpdateSelfProfileRequest, type UpdateSelfProfileResponse, type UpdateSelfProfileResponses, type UpdateSessionOwnershipData, type UpdateSessionOwnershipError, type UpdateSessionOwnershipErrors, type UpdateSessionOwnershipResponse, type UpdateSessionOwnershipResponses, type UpdateSessionVisibilityData, type UpdateSessionVisibilityError, type UpdateSessionVisibilityErrors, type UpdateSessionVisibilityResponse, type UpdateSessionVisibilityResponses, type UpdateSignalProviderInstanceRequestInner, type UpdateSkillBody, type UpdateSkillData, type UpdateSkillError, type UpdateSkillErrors, type UpdateSkillRegistryBody, type UpdateSkillRegistryData, type UpdateSkillRegistryError, type UpdateSkillRegistryErrors, type UpdateSkillRegistryResponse, type UpdateSkillRegistryResponses, type UpdateSkillResponse, type UpdateSkillResponses, type UpdateTaskRequestInner, type UpdateTeamData, type UpdateTeamError, type UpdateTeamErrors, type UpdateTeamGroupBody, type UpdateTeamGroupData, type UpdateTeamGroupError, type UpdateTeamGroupErrors, type UpdateTeamGroupResponse, type UpdateTeamGroupResponses, type UpdateTeamMemberRoleData, type UpdateTeamMemberRoleError, type UpdateTeamMemberRoleErrors, type UpdateTeamMemberRoleResponse, type UpdateTeamMemberRoleResponses, type UpdateTeamRequest, type UpdateTeamResponses, type UpdateToolBoundParamsData, type UpdateToolBoundParamsError, type UpdateToolBoundParamsErrors, type UpdateToolBoundParamsResponse, type UpdateToolBoundParamsResponses, type UpdateToolGroupInstanceData, type UpdateToolGroupInstanceError, type UpdateToolGroupInstanceErrors, type UpdateToolGroupInstanceParamsInner, type UpdateToolGroupInstanceResponse, type UpdateToolGroupInstanceResponses, type UpdateToolInstanceBoundParamsInner, type UpdateTrustedRuntimeBody, type UpdateTrustedRuntimeData, type UpdateTrustedRuntimeError, type UpdateTrustedRuntimeErrors, type UpdateTrustedRuntimeResponse, type UpdateTrustedRuntimeResponses, type UpdateUserCredentialData, type UpdateUserCredentialResponse, type UpdateUserCredentialResponses, type UpdateWikiAssetBody, type UpdateWikiAssetData, type UpdateWikiAssetResponse, type UpdateWikiAssetResponses, type UpdateWikiBody, type UpdateWikiData, type UpdateWikiPageData, type UpdateWikiPageErrors, type UpdateWikiPageRelationshipData, type UpdateWikiPageRelationshipResponse, type UpdateWikiPageRelationshipResponses, type UpdateWikiPageResponse, type UpdateWikiPageResponses, type UpdateWikiPageTypeData, type UpdateWikiPageTypeErrors, type UpdateWikiPageTypeResponse, type UpdateWikiPageTypeResponses, type UpdateWikiRelationshipTypeData, type UpdateWikiRelationshipTypeErrors, type UpdateWikiRelationshipTypeResponse, type UpdateWikiRelationshipTypeResponses, type UpdateWikiResponse, type UpdateWikiResponses, type UploadAttachmentContentData, type UploadAttachmentContentError, type UploadAttachmentContentErrors, type UploadAttachmentContentResponse, type UploadAttachmentContentResponses, type UploadHostedOpenbotReleaseFileData, type UploadHostedOpenbotReleaseFileError, type UploadHostedOpenbotReleaseFileErrors, type UploadHostedOpenbotReleaseFileResponse, type UploadHostedOpenbotReleaseFileResponses, type UploadSelfAvatarData, type UploadSelfAvatarError, type UploadSelfAvatarErrors, type UploadSelfAvatarResponse, type UploadSelfAvatarResponses, type UploadWikiAssetContentData, type UploadWikiAssetContentErrors, type UploadWikiAssetContentResponses, type UpsertPageRelationshipBody, type UpsertWikiPageBody, type UpsertWikiPageRelationshipData, type UpsertWikiPageRelationshipErrors, type UpsertWikiPageRelationshipResponse, type UpsertWikiPageRelationshipResponses, type User, type UserAvatar, type UserCredentialBrokeringResponse, type UserCredentialSerialized, type UserCredentialSerializedPaginatedResponse, type UserInvitation, type UserInvitationPaginatedResponse, type UserOrganization, type UserTeam, UserToolFederationMode, type UserToolFederationSelection, UserType, type ValidatePageTypeDataBody, type ValidateStateRequest, type ValidateStateResponse, type ValidateSynthesisBatchBody, type ValidateSynthesisSessionBatchData, type ValidateSynthesisSessionBatchResponse, type ValidateSynthesisSessionBatchResponses, type ValidateWikiPageTypeDataData, type ValidateWikiPageTypeDataResponse, type ValidateWikiPageTypeDataResponses, type Vec, type VerifiedIdentityLink, VerifiedIdentityLinkSource, type VerifyOrgOidcProviderDomainData, type VerifyOrgOidcProviderDomainError, type VerifyOrgOidcProviderDomainErrors, type VerifyOrgOidcProviderDomainResponse, type VerifyOrgOidcProviderDomainResponses, type WaitForPayBalanceRequest, type WaitUntilBalanceRequest, type WaitUntilBalanceResponse, type Wallet, type WalletCreateData, type WalletCreateError, type WalletCreateErrors, type WalletCreateResponse, type WalletCreateResponses, type WalletCustomer, type WalletCustomerCreateData, type WalletCustomerCreateResponse, type WalletCustomerCreateResponses, type WalletCustomerGetData, type WalletCustomerGetResponse, type WalletCustomerGetResponses, type WalletCustomerKycGetData, type WalletCustomerKycGetResponse, type WalletCustomerKycGetResponses, type WalletCustomerListData, type WalletCustomerListResponse, type WalletCustomerListResponses, type WalletCustomerPaginatedResponse, type WalletGetBalancesData, type WalletGetBalancesResponse, type WalletGetBalancesResponses, type WalletGetCryptoDepositInformationData, type WalletGetCryptoDepositInformationResponse, type WalletGetCryptoDepositInformationResponses, type WalletGetData, type WalletGetFiatDepositInformationData, type WalletGetFiatDepositInformationResponse, type WalletGetFiatDepositInformationResponses, type WalletGetResponse, type WalletGetResponses, type WalletListData, type WalletListResponse, type WalletListResponses, type WalletMakeMppPaymentData, type WalletMakeMppPaymentResponse, type WalletMakeMppPaymentResponses, type WalletMakeX402PaymentData, type WalletMakeX402PaymentResponse, type WalletMakeX402PaymentResponses, type WalletMerchant, type WalletPaginatedResponse, type WalletTransactionHistoryItem, type WalletTransactionHistoryItemPaginatedResponse, type WalletTransactionHistoryListData, type WalletTransactionHistoryListResponse, type WalletTransactionHistoryListResponses, type WalletTransactionHistoryRefreshData, type WalletTransactionHistoryRefreshResponse, type WalletTransactionHistoryRefreshResponses, type WalletVirtualAccount, type WalletVirtualAccountCreateData, type WalletVirtualAccountCreateError, type WalletVirtualAccountCreateErrors, type WalletVirtualAccountCreateResponse, type WalletVirtualAccountCreateResponses, type WalletWaitUntilBalanceData, type WalletWaitUntilBalanceResponse, type WalletWaitUntilBalanceResponses, type WebhookSigningKeyMetadata, type WhoamiData, type WhoamiError, type WhoamiErrors, type WhoamiResponse, type WhoamiResponses, type Wiki, type WikiAsset, type WikiAssetDownloadResponse, type WikiAssetPaginatedResponse, type WikiAssetReferences, WikiAssetStatus, type WikiAssetUploadResponse, type WikiGraph, type WikiGrepMatch, type WikiOntologyInstallation, type WikiOntologyTemplate, type WikiPage, type WikiPagePaginatedResponse, type WikiPageRelationship, type WikiPageRevision, type WikiPageRevisionPaginatedResponse, type WikiPageType, type WikiPageTypeVersion, type WikiPaginatedResponse, type WikiRelationshipEvidence, type WikiRelationshipType, type WikiRelationshipTypeVersion, type WikiSpec, WikiStatus, type WrappedChronoDateTime, type WrappedJsonValue, type WrappedUuidV4 } from './types.gen'; diff --git a/packages/api-client/src/generated/sdk.gen.ts b/packages/api-client/src/generated/sdk.gen.ts index 8c6563d4..23a36516 100644 --- a/packages/api-client/src/generated/sdk.gen.ts +++ b/packages/api-client/src/generated/sdk.gen.ts @@ -2,7 +2,7 @@ import { type Client, type ClientMeta, type Options as Options2, type RequestResult, type ServerSentEventsResult, type TDataShape, urlSearchParamsBodySerializer } from './client'; import { client } from './client.gen'; -import type { AcceptInvitationData, AcceptInvitationErrors, AcceptInvitationResponses, AddCommonProviderInstallationOwnershipGrantData, AddCommonProviderInstallationOwnershipGrantResponses, AddCommonProviderInstallationVisibilityGrantData, AddCommonProviderInstallationVisibilityGrantResponses, AddMcpResourceOwnershipGrantData, AddMcpResourceOwnershipGrantResponses, AddMcpResourceVisibilityGrantData, AddMcpResourceVisibilityGrantResponses, AddMcpServerInstanceFunctionData, AddMcpServerInstanceFunctionErrors, AddMcpServerInstanceFunctionResponses, AddMemoryBankOwnershipGrantData, AddMemoryBankOwnershipGrantResponses, AddMemoryBankVisibilityGrantData, AddMemoryBankVisibilityGrantResponses, AddOrganizationMemberData, AddOrganizationMemberErrors, AddOrganizationMemberResponses, AddPersonalMemoryBankOwnershipGrantData, AddPersonalMemoryBankOwnershipGrantResponses, AddPersonalMemoryBankVisibilityGrantData, AddPersonalMemoryBankVisibilityGrantResponses, AddPersonalRegistryOwnershipGrantData, AddPersonalRegistryOwnershipGrantResponses, AddPersonalRegistryVisibilityGrantData, AddPersonalRegistryVisibilityGrantResponses, AddPersonalRscOwnershipGrantData, AddPersonalRscOwnershipGrantResponses, AddPersonalRscVisibilityGrantData, AddPersonalRscVisibilityGrantResponses, AddPersonalSkillOwnershipGrantData, AddPersonalSkillOwnershipGrantResponses, AddPersonalSkillVisibilityGrantData, AddPersonalSkillVisibilityGrantResponses, AddPersonalUcOwnershipGrantData, AddPersonalUcOwnershipGrantResponses, AddPersonalUcVisibilityGrantData, AddPersonalUcVisibilityGrantResponses, AddPersonalWikiOwnershipGrantData, AddPersonalWikiOwnershipGrantResponses, AddPersonalWikiVisibilityGrantData, AddPersonalWikiVisibilityGrantResponses, AddProviderSkillsToSkillRegistryData, AddProviderSkillsToSkillRegistryErrors, AddProviderSkillsToSkillRegistryResponses, AddRscOwnershipGrantData, AddRscOwnershipGrantResponses, AddRscVisibilityGrantData, AddRscVisibilityGrantResponses, AddSessionResourceGrantData, AddSessionResourceGrantErrors, AddSessionResourceGrantResponses, AddSessionUserMemberData, AddSessionUserMemberErrors, AddSessionUserMemberResponses, AddSignalProviderGrantData, AddSignalProviderGrantResponses, AddSkillOwnershipGrantData, AddSkillOwnershipGrantResponses, AddSkillRegistryOwnershipGrantData, AddSkillRegistryOwnershipGrantResponses, AddSkillRegistryVisibilityGrantData, AddSkillRegistryVisibilityGrantResponses, AddSkillVisibilityGrantData, AddSkillVisibilityGrantResponses, AddTeamGroupMemberData, AddTeamGroupMemberErrors, AddTeamGroupMemberResponses, AddTeamMemberData, AddTeamMemberErrors, AddTeamMemberResponses, AddUcOwnershipGrantData, AddUcOwnershipGrantResponses, AddUcVisibilityGrantData, AddUcVisibilityGrantResponses, AddWikiOwnershipGrantData, AddWikiOwnershipGrantResponses, AddWikiVisibilityGrantData, AddWikiVisibilityGrantResponses, ApplyWikiOntologyTemplateData, ApplyWikiOntologyTemplateResponses, AssignPersonalMemoryBankSynthesizerData, AssignPersonalMemoryBankSynthesizerResponses, AuthorizeOauthDeviceCodeData, AuthorizeOauthDeviceCodeErrors, AuthorizeOauthDeviceCodeResponses, AutomationsAddGrantData, AutomationsAddGrantResponses, AutomationsDeleteData, AutomationsDeleteResponses, AutomationsGetData, AutomationsGetErrors, AutomationsGetResponses, AutomationsListData, AutomationsListExecutionsData, AutomationsListExecutionsResponses, AutomationsListGrantsData, AutomationsListGrantsResponses, AutomationsListResponses, AutomationsPutData, AutomationsPutErrors, AutomationsPutResponses, AutomationsRemoveGrantData, AutomationsRemoveGrantResponses, AutomationsRunData, AutomationsRunResponses, AutomationsSetOwnershipData, AutomationsSetOwnershipResponses, AutomationsSetVisibilityData, AutomationsSetVisibilityResponses, AutoProvisionToolGroupInstanceData, AutoProvisionToolGroupInstanceErrors, AutoProvisionToolGroupInstanceResponses, AutumnWebhookHandlerData, AutumnWebhookHandlerErrors, AutumnWebhookHandlerResponses, BillingAiCreditReceiptCommitData, BillingAiCreditReceiptCommitResponses, BillingAiCreditReservationReleaseData, BillingAiCreditReservationReleaseResponses, BillingAiCreditReserveData, BillingAiCreditReserveResponses, BillingAiCreditTopupCreateData, BillingAiCreditTopupCreateErrors, BillingAiCreditTopupCreateResponses, BillingAiGatewayEnsureData, BillingAiGatewayEnsureErrors, BillingAiGatewayEnsureResponses, BillingAutumnBridgePostData, BillingAutumnBridgePostErrors, BillingAutumnBridgePostResponses, BillingContextGetData, BillingContextGetErrors, BillingContextGetResponses, BillingProductEnrollCurrentHumanData, BillingProductEnrollCurrentHumanErrors, BillingProductEnrollCurrentHumanResponses, BillingRedirectData, BillingRedirectErrors, BillingWebhookStripeDeprecatedData, BillingWebhookStripeDeprecatedResponses, BindToolGroupToMcpServerData, BindToolGroupToMcpServerErrors, BindToolGroupToMcpServerResponses, BulkAddMcpServerInstanceFunctionsData, BulkAddMcpServerInstanceFunctionsErrors, BulkAddMcpServerInstanceFunctionsResponses, BulkRemoveMcpServerInstanceFunctionsData, BulkRemoveMcpServerInstanceFunctionsErrors, BulkRemoveMcpServerInstanceFunctionsResponses, CancelHumanApprovalActionData, CancelHumanApprovalActionErrors, CancelHumanApprovalActionResponses, ChangePersonalWikiOwnershipData, ChangePersonalWikiOwnershipResponses, ChangeWikiOwnershipData, ChangeWikiOwnershipResponses, ChatkitAddAgentResourceGrantData, ChatkitAddAgentResourceGrantErrors, ChatkitAddAgentResourceGrantResponses, ChatkitAddSessionParticipantData, ChatkitAddSessionParticipantErrors, ChatkitAddSessionParticipantResponses, ChatkitAppendAgentRunStepData, ChatkitAppendAgentRunStepResponses, ChatkitApproveSelfExtensionProposalData, ChatkitApproveSelfExtensionProposalResponses, ChatkitAutoProvisionSlackChannelInstallationData, ChatkitAutoProvisionSlackChannelInstallationErrors, ChatkitAutoProvisionSlackChannelInstallationResponses, ChatkitCacheConvertedMessagesData, ChatkitCacheConvertedMessagesErrors, ChatkitCacheConvertedMessagesResponses, ChatkitCancelSelfExtensionProposalData, ChatkitCancelSelfExtensionProposalResponses, ChatkitClaimAgentResourceBundleOutputsData, ChatkitClaimAgentResourceBundleOutputsResponses, ChatkitClaimAgentRunsData, ChatkitClaimAgentRunsResponses, ChatkitClaimSelfExtensionProposalOutputsData, ChatkitClaimSelfExtensionProposalOutputsResponses, ChatkitCollectAgentJobResultData, ChatkitCollectAgentJobResultResponses, ChatkitCompleteSlackProviderProvisionedSetupData, ChatkitCompleteSlackProviderProvisionedSetupErrors, ChatkitCompleteSlackProviderProvisionedSetupResponses, ChatkitCompleteSlackSelfManagedSetupData, ChatkitCompleteSlackSelfManagedSetupErrors, ChatkitCompleteSlackSelfManagedSetupResponses, ChatkitControlAgentRunData, ChatkitControlAgentRunResponses, ChatkitCreateAgentRunData, ChatkitCreateAgentRunResponses, ChatkitCreateCustomProviderData, ChatkitCreateCustomProviderErrors, ChatkitCreateCustomProviderResponses, ChatkitCreateGoalData, ChatkitCreateGoalResponses, ChatkitCreateRoomInvitationData, ChatkitCreateRoomInvitationErrors, ChatkitCreateRoomInvitationResponses, ChatkitCreateSessionData, ChatkitCreateSessionErrors, ChatkitCreateSessionResponses, ChatkitCreateSlackChannelInstallationData, ChatkitCreateSlackChannelInstallationErrors, ChatkitCreateSlackChannelInstallationResponses, ChatkitCreateTaskData, ChatkitCreateTaskResponses, ChatkitCustomProviderRuntimeData, ChatkitCustomProviderRuntimeErrors, ChatkitCustomProviderRuntimeResponses, ChatkitDecideCapabilityChangeData, ChatkitDecideCapabilityChangeResponses, ChatkitDecideRoomInvitationData, ChatkitDecideRoomInvitationErrors, ChatkitDecideRoomInvitationResponses, ChatkitDelegateAgentJobData, ChatkitDelegateAgentJobResponses, ChatkitDeleteAgentData, ChatkitDeleteAgentErrors, ChatkitDeleteAgentResponses, ChatkitDeleteAgentTurnQueueItemData, ChatkitDeleteAgentTurnQueueItemErrors, ChatkitDeleteAgentTurnQueueItemResponses, ChatkitDeleteChatProviderData, ChatkitDeleteChatProviderErrors, ChatkitDeleteChatProviderResponses, ChatkitDeleteCustomProviderData, ChatkitDeleteCustomProviderErrors, ChatkitDeleteCustomProviderResponses, ChatkitDisableCustomProviderData, ChatkitDisableCustomProviderErrors, ChatkitDisableCustomProviderResponses, ChatkitEnableCustomProviderData, ChatkitEnableCustomProviderErrors, ChatkitEnableCustomProviderResponses, ChatkitFinishAgentRunEffectData, ChatkitFinishAgentRunEffectResponses, ChatkitGetActiveAgentRunData, ChatkitGetActiveAgentRunResponses, ChatkitGetAgentAvatarData, ChatkitGetAgentAvatarErrors, ChatkitGetAgentAvatarResponses, ChatkitGetAgentData, ChatkitGetAgentErrors, ChatkitGetAgentJobData, ChatkitGetAgentJobResponses, ChatkitGetAgentObservabilityData, ChatkitGetAgentObservabilityErrors, ChatkitGetAgentObservabilityResponses, ChatkitGetAgentResourceBundleProvisioningData, ChatkitGetAgentResourceBundleProvisioningResponses, ChatkitGetAgentResponses, ChatkitGetAgentRunData, ChatkitGetAgentRunEffectData, ChatkitGetAgentRunEffectResponses, ChatkitGetAgentRunResponses, ChatkitGetCompactedHistoryData, ChatkitGetCompactedHistoryErrors, ChatkitGetCompactedHistoryResponses, ChatkitGetCustomConnectionData, ChatkitGetCustomConnectionErrors, ChatkitGetCustomConnectionResponses, ChatkitGetCustomProviderData, ChatkitGetCustomProviderErrors, ChatkitGetCustomProviderResponses, ChatkitGetGoalData, ChatkitGetGoalResponses, ChatkitGetLatestCompactionData, ChatkitGetLatestCompactionErrors, ChatkitGetLatestCompactionResponses, ChatkitGetSelfExtensionProposalData, ChatkitGetSelfExtensionProposalResponses, ChatkitGetTaskData, ChatkitGetTaskResponses, ChatkitHydrateConvertedMessagesData, ChatkitHydrateConvertedMessagesErrors, ChatkitHydrateConvertedMessagesResponses, ChatkitIngestCustomProviderMessageData, ChatkitIngestCustomProviderMessageErrors, ChatkitIngestCustomProviderMessageResponses, ChatkitInvokeSessionProviderToolData, ChatkitInvokeSessionProviderToolErrors, ChatkitInvokeSessionProviderToolResponses, ChatkitJoinSessionData, ChatkitJoinSessionErrors, ChatkitJoinSessionResponses, ChatkitListAgentJobsData, ChatkitListAgentJobsResponses, ChatkitListAgentResourceGrantsData, ChatkitListAgentResourceGrantsErrors, ChatkitListAgentResourceGrantsResponses, ChatkitListAgentsData, ChatkitListAgentsErrors, ChatkitListAgentsResponses, ChatkitListAgentTurnQueueData, ChatkitListAgentTurnQueueErrors, ChatkitListAgentTurnQueueResponses, ChatkitListAvailableChatChannelsData, ChatkitListAvailableChatChannelsErrors, ChatkitListAvailableChatChannelsResponses, ChatkitListAvailableChatProvidersData, ChatkitListAvailableChatProvidersErrors, ChatkitListAvailableChatProvidersResponses, ChatkitListChatProvidersData, ChatkitListChatProvidersErrors, ChatkitListChatProvidersResponses, ChatkitListCustomConnectionsData, ChatkitListCustomConnectionsErrors, ChatkitListCustomConnectionsResponses, ChatkitListCustomConnectionWorkData, ChatkitListCustomConnectionWorkErrors, ChatkitListCustomConnectionWorkResponses, ChatkitListCustomProviderData, ChatkitListCustomProviderErrors, ChatkitListCustomProviderResponses, ChatkitListGoalsData, ChatkitListGoalsResponses, ChatkitListMessageHistoryData, ChatkitListMessageHistoryErrors, ChatkitListMessageHistoryResponses, ChatkitListRoomInvitationsData, ChatkitListRoomInvitationsErrors, ChatkitListRoomInvitationsResponses, ChatkitListSelfExtensionProposalsData, ChatkitListSelfExtensionProposalsResponses, ChatkitListSessionParticipantsData, ChatkitListSessionParticipantsErrors, ChatkitListSessionParticipantsResponses, ChatkitListSessionProviderToolsData, ChatkitListSessionProviderToolsErrors, ChatkitListSessionProviderToolsResponses, ChatkitListSessionsData, ChatkitListSessionsErrors, ChatkitListSessionsResponses, ChatkitListTasksData, ChatkitListTasksResponses, ChatkitPrepareAgentRunEffectData, ChatkitPrepareAgentRunEffectResponses, ChatkitProposeSelfExtensionData, ChatkitProposeSelfExtensionResponses, ChatkitProvisionAgentResourceBundleData, ChatkitProvisionAgentResourceBundleResponses, ChatkitRecallAutomaticMemoryData, ChatkitRecallAutomaticMemoryErrors, ChatkitRecallAutomaticMemoryResponses, ChatkitRefreshCustomProviderData, ChatkitRefreshCustomProviderErrors, ChatkitRefreshCustomProviderResponses, ChatkitRegisterAgentToolsData, ChatkitRegisterAgentToolsErrors, ChatkitRegisterAgentToolsResponses, ChatkitRegisterChatProviderData, ChatkitRegisterChatProviderErrors, ChatkitRegisterChatProviderResponses, ChatkitRegisterHttpVercelAiSdkAgentData, ChatkitRegisterHttpVercelAiSdkAgentErrors, ChatkitRegisterHttpVercelAiSdkAgentResponses, ChatkitRegisterVercelUiChatProviderData, ChatkitRegisterVercelUiChatProviderErrors, ChatkitRegisterVercelUiChatProviderResponses, ChatkitRejectSelfExtensionProposalData, ChatkitRejectSelfExtensionProposalResponses, ChatkitRemoveAgentResourceGrantData, ChatkitRemoveAgentResourceGrantErrors, ChatkitRemoveAgentResourceGrantResponses, ChatkitRemoveSessionParticipantData, ChatkitRemoveSessionParticipantErrors, ChatkitRemoveSessionParticipantResponses, ChatkitReorderAgentTurnQueueItemData, ChatkitReorderAgentTurnQueueItemErrors, ChatkitReorderAgentTurnQueueItemResponses, ChatkitReportCompactionEventData, ChatkitReportCompactionEventErrors, ChatkitReportCompactionEventResponses, ChatkitReportToolExecutionData, ChatkitReportToolExecutionErrors, ChatkitReportToolExecutionResponses, ChatkitResumeAgentJobData, ChatkitResumeAgentJobResponses, ChatkitRetryCustomConnectionWorkData, ChatkitRetryCustomConnectionWorkErrors, ChatkitRetryCustomConnectionWorkResponses, ChatkitRevokeRoomInvitationData, ChatkitRevokeRoomInvitationErrors, ChatkitRevokeRoomInvitationResponses, ChatkitRollbackSelfExtensionProposalData, ChatkitRollbackSelfExtensionProposalResponses, ChatkitRotateCustomConnectionCredentialsData, ChatkitRotateCustomConnectionCredentialsErrors, ChatkitRotateCustomConnectionCredentialsResponses, ChatkitRotateCustomProviderData, ChatkitRotateCustomProviderErrors, ChatkitRotateCustomProviderResponses, ChatkitSearchData, ChatkitSearchErrors, ChatkitSearchResponses, ChatkitSendSessionMessageData, ChatkitSendSessionMessageErrors, ChatkitSendSessionMessageResponses, ChatkitSetAgentPermissionsData, ChatkitSetAgentPermissionsErrors, ChatkitSetAgentPermissionsResponses, ChatkitSetAgentStatusData, ChatkitSetAgentStatusErrors, ChatkitSetAgentStatusResponses, ChatkitSetChatProviderStatusData, ChatkitSetChatProviderStatusErrors, ChatkitSetChatProviderStatusResponses, ChatkitStartSlackOauthData, ChatkitStartSlackOauthErrors, ChatkitStartSlackOauthResponses, ChatkitSteerAgentJobData, ChatkitSteerAgentJobResponses, ChatkitSteerAgentTurnQueueItemData, ChatkitSteerAgentTurnQueueItemErrors, ChatkitSteerAgentTurnQueueItemResponses, ChatkitStopAgentJobData, ChatkitStopAgentJobResponses, ChatkitStreamSessionEventsData, ChatkitStreamSessionEventsErrors, ChatkitStreamSessionEventsResponses, ChatkitTransitionAgentRunData, ChatkitTransitionAgentRunResponses, ChatkitUpdateAgentAvatarData, ChatkitUpdateAgentAvatarErrors, ChatkitUpdateAgentAvatarResponses, ChatkitUpdateAgentData, ChatkitUpdateAgentErrors, ChatkitUpdateAgentObservabilityData, ChatkitUpdateAgentObservabilityErrors, ChatkitUpdateAgentObservabilityResponses, ChatkitUpdateAgentOwnershipData, ChatkitUpdateAgentOwnershipErrors, ChatkitUpdateAgentOwnershipResponses, ChatkitUpdateAgentResponses, ChatkitUpdateAgentToolVisibilityData, ChatkitUpdateAgentToolVisibilityErrors, ChatkitUpdateAgentToolVisibilityResponses, ChatkitUpdateAgentVisibilityData, ChatkitUpdateAgentVisibilityErrors, ChatkitUpdateAgentVisibilityResponses, ChatkitUpdateChatProviderData, ChatkitUpdateChatProviderErrors, ChatkitUpdateChatProviderResponses, ChatkitUpdateCustomProviderData, ChatkitUpdateCustomProviderErrors, ChatkitUpdateCustomProviderResponses, ChatkitUpdateGoalData, ChatkitUpdateGoalResponses, ChatkitUpdateTaskData, ChatkitUpdateTaskResponses, ChatkitWorkspaceAgentSessionsData, ChatkitWorkspaceAgentSessionsResponses, ChatkitWorkspaceBootstrapData, ChatkitWorkspaceBootstrapResponses, ChatkitWorkspaceConversationSnapshotData, ChatkitWorkspaceConversationSnapshotResponses, ChatkitWorkspaceCreateSessionData, ChatkitWorkspaceCreateSessionResponses, ChatkitWorkspaceInterruptSessionData, ChatkitWorkspaceInterruptSessionResponses, ChatkitWorkspaceMessagesData, ChatkitWorkspaceMessagesResponses, ChatkitWorkspaceRenameThreadData, ChatkitWorkspaceRenameThreadResponses, ChatkitWorkspaceSendMessageData, ChatkitWorkspaceSendMessageResponses, ChatkitWorkspaceSidebarData, ChatkitWorkspaceSidebarResponses, ChatkitWorkspaceSubmitTurnData, ChatkitWorkspaceSubmitTurnResponses, ChatkitWorkspaceUpdateSessionReadStateData, ChatkitWorkspaceUpdateSessionReadStateResponses, CheckMemoryBankHealthData, CheckMemoryBankHealthResponses, CheckPersonalMemoryBankHealthData, CheckPersonalMemoryBankHealthResponses, ClaimTemporaryAccountData, ClaimTemporaryAccountErrors, ClaimTemporaryAccountResponses, ClearPersonalMemoryBankSynthesizerData, ClearPersonalMemoryBankSynthesizerResponses, CompleteAttachmentUploadData, CompleteAttachmentUploadErrors, CompleteAttachmentUploadResponses, CompleteCredentialSetupItemData, CompleteCredentialSetupItemResponses, CompleteHumanApprovalActionData, CompleteHumanApprovalActionErrors, CompleteHumanApprovalActionResponses, CompleteIdentityVerificationData, CompleteIdentityVerificationErrors, CompleteIdentityVerificationResponses, CompleteWikiAssetUploadData, CompleteWikiAssetUploadResponses, ConfigureHostedOpenbotInstanceData, ConfigureHostedOpenbotInstanceErrors, ConfigureHostedOpenbotInstanceResponses, ConnectMcpProviderCatalogEntryData, ConnectMcpProviderCatalogEntryErrors, ConnectMcpProviderCatalogEntryResponses, ConnectProxiedMcpServerData, ConnectProxiedMcpServerErrors, ConnectProxiedMcpServerResponses, CreateAttachmentUploadData, CreateAttachmentUploadErrors, CreateAttachmentUploadResponses, CreateAttachmentUploadsData, CreateAttachmentUploadsErrors, CreateAttachmentUploadsResponses, CreateCustomToolProviderData, CreateCustomToolProviderResponses, CreateHostedOpenbotDeploymentData, CreateHostedOpenbotDeploymentErrors, CreateHostedOpenbotDeploymentResponses, CreateHostedOpenbotReleaseData, CreateHostedOpenbotReleaseErrors, CreateHostedOpenbotReleaseResponses, CreateHumanApprovalActionData, CreateHumanApprovalActionErrors, CreateHumanApprovalActionResponses, CreateManagedUserCredentialData, CreateManagedUserCredentialResponses, CreateMcpServerInstanceData, CreateMcpServerInstanceErrors, CreateMcpServerInstanceResponses, CreateMemoryBankData, CreateMemoryBankResponses, CreateMessageData, CreateMessageErrors, CreateMessageResponses, CreateOrganizationData, CreateOrganizationErrors, CreateOrganizationResponses, CreateOrgOidcProviderData, CreateOrgOidcProviderErrors, CreateOrgOidcProviderResponses, CreatePersonalMcpServerInstanceData, CreatePersonalMcpServerInstanceErrors, CreatePersonalMcpServerInstanceResponses, CreatePersonalMemoryBankData, CreatePersonalMemoryBankResponses, CreatePersonalSkillData, CreatePersonalSkillRegistryData, CreatePersonalSkillRegistryResponses, CreatePersonalSkillResponses, CreatePersonalToolGroupInstanceData, CreatePersonalToolGroupInstanceErrors, CreatePersonalToolGroupInstanceResponses, CreatePersonalUserCredentialData, CreatePersonalUserCredentialResponses, CreatePersonalWikiData, CreatePersonalWikiPageData, CreatePersonalWikiPageResponses, CreatePersonalWikiResponses, CreateResourceServerCredentialData, CreateResourceServerCredentialResponses, CreateSessionData, CreateSessionErrors, CreateSessionResponses, CreateSkillData, CreateSkillErrors, CreateSkillRegistryData, CreateSkillRegistryErrors, CreateSkillRegistryResponses, CreateSkillResponses, CreateTeamData, CreateTeamErrors, CreateTeamGroupData, CreateTeamGroupErrors, CreateTeamGroupResponses, CreateTeamResponses, CreateTemporaryAccountData, CreateTemporaryAccountErrors, CreateTemporaryAccountResponses, CreateToolGroupInstanceData, CreateToolGroupInstanceErrors, CreateToolGroupInstanceResponses, CreateTrustedRuntimeData, CreateTrustedRuntimeErrors, CreateTrustedRuntimeResponses, CreateTrustedSkillProviderData, CreateTrustedSkillProviderErrors, CreateTrustedSkillProviderResponses, CreateUserCredentialData, CreateUserCredentialResponses, CreateWikiAssetUploadData, CreateWikiAssetUploadResponses, CreateWikiData, CreateWikiPageData, CreateWikiPageResponses, CreateWikiPageTypeData, CreateWikiPageTypeResponses, CreateWikiPageTypeVersionData, CreateWikiPageTypeVersionErrors, CreateWikiPageTypeVersionResponses, CreateWikiRelationshipTypeData, CreateWikiRelationshipTypeResponses, CreateWikiRelationshipTypeVersionData, CreateWikiRelationshipTypeVersionErrors, CreateWikiRelationshipTypeVersionResponses, CreateWikiResponses, CredentialGenericOauthCallbackData, CredentialGenericOauthCallbackResponses, DeleteAttachmentData, DeleteAttachmentErrors, DeleteAttachmentResponses, DeleteCustomToolProviderData, DeleteCustomToolProviderResponses, DeleteManagedUserCredentialData, DeleteManagedUserCredentialResponses, DeleteMcpServerInstanceData, DeleteMcpServerInstanceErrors, DeleteMcpServerInstanceResponses, DeleteMemoryBankData, DeleteMemoryBankResponses, DeleteMemoryDocumentData, DeleteMemoryDocumentResponses, DeleteMessageData, DeleteMessageErrors, DeleteMessageResponses, DeleteOrganizationData, DeleteOrganizationErrors, DeleteOrganizationResponses, DeleteOrgOidcProviderData, DeleteOrgOidcProviderErrors, DeleteOrgOidcProviderResponses, DeletePersonalMcpServerInstanceData, DeletePersonalMcpServerInstanceResponses, DeletePersonalMemoryBankData, DeletePersonalMemoryBankResponses, DeletePersonalMemoryDocumentData, DeletePersonalMemoryDocumentResponses, DeletePersonalSkillData, DeletePersonalSkillRegistryData, DeletePersonalSkillRegistryResponses, DeletePersonalSkillResponses, DeletePersonalToolGroupInstanceData, DeletePersonalToolGroupInstanceResponses, DeletePersonalWikiData, DeletePersonalWikiPageData, DeletePersonalWikiPageResponses, DeletePersonalWikiResponses, DeleteProxiedMcpServerData, DeleteProxiedMcpServerErrors, DeleteProxiedMcpServerResponses, DeleteResourceServerCredentialData, DeleteResourceServerCredentialResponses, DeleteSelfAvatarData, DeleteSelfAvatarErrors, DeleteSelfAvatarResponses, DeleteSkillData, DeleteSkillErrors, DeleteSkillRegistryData, DeleteSkillRegistryErrors, DeleteSkillRegistryResponses, DeleteSkillResponses, DeleteSynthesisSessionMemoryData, DeleteSynthesisSessionMemoryResponses, DeleteTeamData, DeleteTeamErrors, DeleteTeamGroupData, DeleteTeamGroupErrors, DeleteTeamGroupResponses, DeleteTeamResponses, DeleteToolGroupInstanceData, DeleteToolGroupInstanceErrors, DeleteToolGroupInstanceResponses, DeleteTrustedRuntimeData, DeleteTrustedRuntimeErrors, DeleteTrustedRuntimeResponses, DeleteUserCredentialData, DeleteUserCredentialResponses, DeleteVerifiedIdentityLinkData, DeleteVerifiedIdentityLinkErrors, DeleteVerifiedIdentityLinkResponses, DeleteWikiAssetData, DeleteWikiAssetErrors, DeleteWikiAssetResponses, DeleteWikiData, DeleteWikiPageData, DeleteWikiPageErrors, DeleteWikiPageRelationshipData, DeleteWikiPageRelationshipResponses, DeleteWikiPageResponses, DeleteWikiPageTypeData, DeleteWikiPageTypeErrors, DeleteWikiPageTypeResponses, DeleteWikiPageTypeVersionData, DeleteWikiPageTypeVersionErrors, DeleteWikiPageTypeVersionResponses, DeleteWikiRelationshipTypeData, DeleteWikiRelationshipTypeErrors, DeleteWikiRelationshipTypeResponses, DeleteWikiResponses, DisableCustomToolProviderData, DisableCustomToolProviderResponses, DisableProxiedMcpServerData, DisableProxiedMcpServerErrors, DisableProxiedMcpServerResponses, DisableToolData, DisableToolErrors, DisableToolResponses, DownloadAttachmentContentData, DownloadAttachmentContentErrors, DownloadAttachmentContentResponses, DownloadSkillPackageFileData, DownloadSkillPackageFileErrors, DownloadSkillPackageFileResponses, DownloadWikiAssetContentData, DownloadWikiAssetContentErrors, DownloadWikiAssetContentResponses, DownloadWikiAssetData, DownloadWikiAssetResponses, EnableAndBindProviderToolsData, EnableAndBindProviderToolsErrors, EnableAndBindProviderToolsResponses, EnableCustomToolProviderData, EnableCustomToolProviderResponses, EnableProxiedMcpServerData, EnableProxiedMcpServerErrors, EnableProxiedMcpServerResponses, EnableToolData, EnableToolErrors, EnableToolResponses, EncryptPersonalUserCredentialConfigurationData, EncryptPersonalUserCredentialConfigurationResponses, EncryptResourceServerConfigurationData, EncryptResourceServerConfigurationResponses, EncryptUserCredentialConfigurationData, EncryptUserCredentialConfigurationResponses, ExchangeOauthCodeData, ExchangeOauthCodeErrors, ExchangeOauthCodeResponses, ExpireTemporaryAccountsData, ExpireTemporaryAccountsErrors, ExpireTemporaryAccountsResponses, ExportMemoryBankTemplateData, ExportMemoryBankTemplateResponses, ExportPersonalMemoryBankTemplateData, ExportPersonalMemoryBankTemplateResponses, FinalizeHostedOpenbotReleaseData, FinalizeHostedOpenbotReleaseErrors, FinalizeHostedOpenbotReleaseResponses, GenerateLocalRuntimeTunnelApiKeyData, GenerateLocalRuntimeTunnelApiKeyErrors, GenerateLocalRuntimeTunnelApiKeyResponses, GenerateTemporaryAccountClaimUrlData, GenerateTemporaryAccountClaimUrlErrors, GenerateTemporaryAccountClaimUrlResponses, GetAttachmentDownloadUrlData, GetAttachmentDownloadUrlErrors, GetAttachmentDownloadUrlResponses, GetCommonProviderInstallationData, GetCommonProviderInstallationResponses, GetCredentialSetupItemData, GetCredentialSetupItemResponses, GetCustomToolProviderData, GetCustomToolProviderResponses, GetHostedOpenbotBootstrapBundleData, GetHostedOpenbotBootstrapBundleErrors, GetHostedOpenbotBootstrapBundleResponses, GetHostedOpenbotInstanceData, GetHostedOpenbotInstanceErrors, GetHostedOpenbotInstanceResponses, GetHostedOpenbotReleaseData, GetHostedOpenbotReleaseErrors, GetHostedOpenbotReleaseResponses, GetHumanApprovalActionData, GetHumanApprovalActionErrors, GetHumanApprovalActionResponses, GetIdentityVerificationData, GetIdentityVerificationErrors, GetIdentityVerificationResponses, GetLocalRuntimeTunnelApiKeyData, GetLocalRuntimeTunnelApiKeyErrors, GetLocalRuntimeTunnelApiKeyResponses, GetLocalRuntimeTunnelConnectorData, GetLocalRuntimeTunnelConnectorErrors, GetLocalRuntimeTunnelConnectorResponses, GetManagedUserCredentialSecretData, GetManagedUserCredentialSecretResponses, GetMcpServerInstanceData, GetMcpServerInstanceErrors, GetMcpServerInstanceResponses, GetMemoryBankConfigData, GetMemoryBankConfigResponses, GetMemoryBankData, GetMemoryBankDocumentData, GetMemoryBankDocumentResponses, GetMemoryBankResponses, GetMessageData, GetMessageDeliveriesData, GetMessageDeliveriesErrors, GetMessageDeliveriesResponses, GetMessageErrors, GetMessageResponses, GetOpenbotPluginsCatalogData, GetOpenbotPluginsCatalogResponses, GetOrganizationData, GetOrganizationErrors, GetOrganizationResponses, GetOrgOidcProviderData, GetOrgOidcProviderErrors, GetOrgOidcProviderResponses, GetPersonalMcpServerInstanceData, GetPersonalMcpServerInstanceResponses, GetPersonalMemoryBankConfigData, GetPersonalMemoryBankConfigResponses, GetPersonalMemoryBankData, GetPersonalMemoryBankDocumentData, GetPersonalMemoryBankDocumentResponses, GetPersonalMemoryBankResponses, GetPersonalSkillData, GetPersonalSkillRegistryData, GetPersonalSkillRegistryResponses, GetPersonalSkillResponses, GetPersonalToolGroupInstanceData, GetPersonalToolGroupInstanceResponses, GetPersonalWikiData, GetPersonalWikiPageData, GetPersonalWikiPageResponses, GetPersonalWikiResponses, GetProviderProvisioningHumanActionData, GetProviderProvisioningHumanActionResponses, GetProxiedMcpServerData, GetProxiedMcpServerErrors, GetProxiedMcpServerResponses, GetProxiedSkillProviderData, GetProxiedSkillProviderErrors, GetProxiedSkillProviderResponses, GetResourceServerCredentialData, GetResourceServerCredentialResponses, GetRuntimeConfigData, GetRuntimeConfigResponses, GetSelfAvatarData, GetSelfAvatarErrors, GetSelfAvatarResponses, GetSelfProfileData, GetSelfProfileErrors, GetSelfProfileResponses, GetSessionEventHistoryData, GetSessionEventHistoryErrors, GetSessionEventHistoryResponses, GetSkillData, GetSkillErrors, GetSkillPackageData, GetSkillPackageErrors, GetSkillPackageResponses, GetSkillRegistryData, GetSkillRegistryErrors, GetSkillRegistryResponses, GetSkillRegistrySkillByTitleData, GetSkillRegistrySkillByTitleErrors, GetSkillRegistrySkillByTitleResponses, GetSkillRegistrySkillData, GetSkillRegistrySkillDescriptionData, GetSkillRegistrySkillDescriptionErrors, GetSkillRegistrySkillDescriptionResponses, GetSkillRegistrySkillErrors, GetSkillRegistrySkillResponses, GetSkillResponses, GetTeamData, GetTeamErrors, GetTeamGroupData, GetTeamGroupErrors, GetTeamGroupResponses, GetTeamResponses, GetToolGroupInstanceData, GetToolGroupInstanceErrors, GetToolGroupInstanceResponses, GetToolsOpenapiSpecData, GetToolsOpenapiSpecErrors, GetToolsOpenapiSpecResponses, GetTrustedRuntimeData, GetTrustedRuntimeErrors, GetTrustedRuntimeResponses, GetUserCredentialData, GetUserCredentialResponses, GetWikiData, GetWikiPageBacklinksData, GetWikiPageBacklinksResponses, GetWikiPageData, GetWikiPageNeighborhoodData, GetWikiPageNeighborhoodResponses, GetWikiPageRelationshipData, GetWikiPageRelationshipResponses, GetWikiPageResponses, GetWikiPageTypeData, GetWikiPageTypeResponses, GetWikiPageTypeVersionData, GetWikiPageTypeVersionResponses, GetWikiRelationshipTypeData, GetWikiRelationshipTypeResponses, GetWikiRelationshipTypeVersionData, GetWikiRelationshipTypeVersionResponses, GetWikiResponses, GrepPersonalWikiPagesData, GrepPersonalWikiPagesResponses, GrepWikiPagesData, GrepWikiPagesResponses, HealthCheckData, HealthCheckErrors, HealthCheckResponses, ImportMemoryBankTemplateData, ImportMemoryBankTemplateResponses, ImportPersonalMemoryBankTemplateData, ImportPersonalMemoryBankTemplateResponses, InitiateIdentityVerificationData, InitiateIdentityVerificationErrors, InitiateIdentityVerificationResponses, InspectWikiAssetReferencesData, InspectWikiAssetReferencesResponses, InviteTeamUsersData, InviteTeamUsersErrors, InviteTeamUsersResponses, InvokeCustomToolData, InvokeCustomToolResponses, InvokeToolData, InvokeToolErrors, InvokeToolResponses, IssueHostedOpenbotGitTokenData, IssueHostedOpenbotGitTokenErrors, IssueHostedOpenbotGitTokenResponses, IssueOpenbotChatkitRealtimeTicketData, IssueOpenbotChatkitRealtimeTicketErrors, IssueOpenbotChatkitRealtimeTicketResponses, LinkTeamIdentityData, LinkTeamIdentityErrors, LinkTeamIdentityResponses, ListAvailableToolGroupsData, ListAvailableToolGroupsErrors, ListAvailableToolGroupsResponses, ListCommonProviderInstallationOwnershipGrantsData, ListCommonProviderInstallationOwnershipGrantsResponses, ListCommonProviderInstallationsData, ListCommonProviderInstallationsResponses, ListCommonProviderInstallationVisibilityGrantsData, ListCommonProviderInstallationVisibilityGrantsResponses, ListCredentialSetupItemsData, ListCredentialSetupItemsResponses, ListCustomToolProvidersData, ListCustomToolProvidersResponses, ListInboxAgentsData, ListInboxAgentsErrors, ListInboxAgentsResponses, ListInboxesData, ListInboxesErrors, ListInboxesResponses, ListManagedUserCredentialsData, ListManagedUserCredentialsResponses, ListMcpProviderCatalogData, ListMcpProviderCatalogErrors, ListMcpProviderCatalogResponses, ListMcpResourceOwnershipGrantsData, ListMcpResourceOwnershipGrantsResponses, ListMcpResourceVisibilityGrantsData, ListMcpResourceVisibilityGrantsResponses, ListMcpServerInstancesData, ListMcpServerInstancesErrors, ListMcpServerInstancesResponses, ListMemoryBankDocumentsData, ListMemoryBankDocumentsResponses, ListMemoryBankOwnershipGrantsData, ListMemoryBankOwnershipGrantsResponses, ListMemoryBanksData, ListMemoryBankSourceBindingsData, ListMemoryBankSourceBindingsResponses, ListMemoryBanksResponses, ListMemoryBankVisibilityGrantsData, ListMemoryBankVisibilityGrantsResponses, ListMemorySourceBindingsData, ListMemorySourceBindingsResponses, ListMessagesData, ListMessagesErrors, ListMessagesResponses, ListOpenbotDeploymentsData, ListOpenbotDeploymentsErrors, ListOpenbotDeploymentsResponses, ListOrganizationMembersData, ListOrganizationMembersErrors, ListOrganizationMembersResponses, ListOrganizationsData, ListOrganizationsErrors, ListOrganizationsResponses, ListOrganizationTeamGroupsData, ListOrganizationTeamGroupsResponses, ListOrgOidcProvidersData, ListOrgOidcProvidersErrors, ListOrgOidcProvidersResponses, ListPersonalMcpServerInstancesData, ListPersonalMcpServerInstancesErrors, ListPersonalMcpServerInstancesResponses, ListPersonalMemoryBankDocumentsData, ListPersonalMemoryBankDocumentsResponses, ListPersonalMemoryBankOwnershipGrantsData, ListPersonalMemoryBankOwnershipGrantsResponses, ListPersonalMemoryBanksData, ListPersonalMemoryBankSourceBindingsData, ListPersonalMemoryBankSourceBindingsResponses, ListPersonalMemoryBanksResponses, ListPersonalMemoryBankVisibilityGrantsData, ListPersonalMemoryBankVisibilityGrantsResponses, ListPersonalMemorySourceBindingsData, ListPersonalMemorySourceBindingsResponses, ListPersonalRegistryOwnershipGrantsData, ListPersonalRegistryOwnershipGrantsResponses, ListPersonalRegistryVisibilityGrantsData, ListPersonalRegistryVisibilityGrantsResponses, ListPersonalRscOwnershipGrantsData, ListPersonalRscOwnershipGrantsResponses, ListPersonalRscVisibilityGrantsData, ListPersonalRscVisibilityGrantsResponses, ListPersonalSkillOwnershipGrantsData, ListPersonalSkillOwnershipGrantsResponses, ListPersonalSkillRegistriesData, ListPersonalSkillRegistriesResponses, ListPersonalSkillsData, ListPersonalSkillsResponses, ListPersonalSkillVisibilityGrantsData, ListPersonalSkillVisibilityGrantsResponses, ListPersonalToolGroupInstancesData, ListPersonalToolGroupInstancesErrors, ListPersonalToolGroupInstancesResponses, ListPersonalUcOwnershipGrantsData, ListPersonalUcOwnershipGrantsResponses, ListPersonalUcVisibilityGrantsData, ListPersonalUcVisibilityGrantsResponses, ListPersonalWikiOwnershipGrantsData, ListPersonalWikiOwnershipGrantsResponses, ListPersonalWikiPagesData, ListPersonalWikiPagesResponses, ListPersonalWikisData, ListPersonalWikisResponses, ListPersonalWikiVisibilityGrantsData, ListPersonalWikiVisibilityGrantsResponses, ListProviderProvisionerCatalogData, ListProviderProvisionerCatalogResponses, ListProxiedMcpServersData, ListProxiedMcpServersErrors, ListProxiedMcpServersResponses, ListProxiedSkillProvidersData, ListProxiedSkillProvidersResponses, ListPublicAvailableToolGroupsData, ListPublicAvailableToolGroupsErrors, ListPublicAvailableToolGroupsResponses, ListResourceServerCredentialsData, ListResourceServerCredentialsResponses, ListRscOwnershipGrantsData, ListRscOwnershipGrantsResponses, ListRscVisibilityGrantsData, ListRscVisibilityGrantsResponses, ListSessionInboxInstancesData, ListSessionInboxInstancesErrors, ListSessionInboxInstancesResponses, ListSessionResourceGrantsData, ListSessionResourceGrantsErrors, ListSessionResourceGrantsResponses, ListSessionsData, ListSessionsErrors, ListSessionsResponses, ListSessionUserMembersData, ListSessionUserMembersErrors, ListSessionUserMembersResponses, ListSignalProviderGrantsData, ListSignalProviderGrantsResponses, ListSkillOwnershipGrantsData, ListSkillOwnershipGrantsResponses, ListSkillRegistriesData, ListSkillRegistriesErrors, ListSkillRegistriesResponses, ListSkillRegistryOwnershipGrantsData, ListSkillRegistryOwnershipGrantsResponses, ListSkillRegistrySkillSummariesData, ListSkillRegistrySkillSummariesErrors, ListSkillRegistrySkillSummariesResponses, ListSkillRegistryVisibilityGrantsData, ListSkillRegistryVisibilityGrantsResponses, ListSkillsData, ListSkillsErrors, ListSkillsResponses, ListSkillVisibilityGrantsData, ListSkillVisibilityGrantsResponses, ListTeamGroupMembersData, ListTeamGroupMembersResponses, ListTeamGroupsData, ListTeamGroupsResponses, ListTeamInvitationsData, ListTeamInvitationsResponses, ListTeamMembersData, ListTeamMembersErrors, ListTeamMembersResponses, ListTeamsData, ListTeamsErrors, ListTeamsResponses, ListToolDeploymentsByAliasData, ListToolDeploymentsByAliasErrors, ListToolDeploymentsByAliasResponses, ListToolGroupInstancesData, ListToolGroupInstancesErrors, ListToolGroupInstancesGroupedByToolData, ListToolGroupInstancesGroupedByToolErrors, ListToolGroupInstancesGroupedByToolResponses, ListToolGroupInstancesResponses, ListToolsData, ListToolsErrors, ListToolsResponses, ListTrustedRuntimesData, ListTrustedRuntimesErrors, ListTrustedRuntimesResponses, ListUcOwnershipGrantsData, ListUcOwnershipGrantsResponses, ListUcVisibilityGrantsData, ListUcVisibilityGrantsResponses, ListUserCredentialsData, ListUserCredentialsResponses, ListVerifiedIdentityLinksData, ListVerifiedIdentityLinksErrors, ListVerifiedIdentityLinksResponses, ListVisibleMemoryBanksData, ListVisibleMemoryBanksResponses, ListWikiAssetsData, ListWikiAssetsResponses, ListWikiOntologyInstallationsData, ListWikiOntologyInstallationsResponses, ListWikiOntologyTemplatesData, ListWikiOntologyTemplatesResponses, ListWikiOwnershipGrantsData, ListWikiOwnershipGrantsResponses, ListWikiPageAssetsData, ListWikiPageAssetsResponses, ListWikiPageRelationshipsData, ListWikiPageRelationshipsResponses, ListWikiPageRevisionsData, ListWikiPageRevisionsResponses, ListWikiPagesData, ListWikiPagesResponses, ListWikiPageTypesData, ListWikiPageTypesResponses, ListWikiPageTypeVersionsData, ListWikiPageTypeVersionsResponses, ListWikiRelationshipTypesData, ListWikiRelationshipTypesResponses, ListWikiRelationshipTypeVersionsData, ListWikiRelationshipTypeVersionsResponses, ListWikisData, ListWikisResponses, ListWikiVisibilityGrantsData, ListWikiVisibilityGrantsResponses, McpProtocolDeleteData, McpProtocolDeleteErrors, McpProtocolDeleteResponses, McpProtocolGetData, McpProtocolGetErrors, McpProtocolGetResponses, McpProtocolPostData, McpProtocolPostErrors, McpProtocolPostResponses, McpServerPlaygroundChatData, McpServerPlaygroundChatErrors, McpServerPlaygroundChatResponses, MigrateWikiPageTypeData, MigrateWikiPageTypeErrors, MigrateWikiPageTypeResponses, MoveWikiPageData, MoveWikiPageErrors, MoveWikiPageResponses, ObserveSessionData, ObserveSessionErrors, ObserveSessionResponses, PersonalMcpProtocolDeleteData, PersonalMcpProtocolDeleteResponses, PersonalMcpProtocolGetData, PersonalMcpProtocolGetResponses, PersonalMcpProtocolPostData, PersonalMcpProtocolPostResponses, PreviewWikiPageTypeMigrationData, PreviewWikiPageTypeMigrationErrors, PreviewWikiPageTypeMigrationResponses, ProviderProvisioningCallbackData, ProviderProvisioningCallbackResponses, ProviderSetupCatalogData, ProviderSetupCatalogResponses, ProviderSetupResumeData, ProviderSetupResumeResponses, ProviderSetupStartData, ProviderSetupStartResponses, RecallMemoryData, RecallMemoryResponses, RecallPersonalMemoryData, RecallPersonalMemoryResponses, RecallSynthesisSessionMemoryData, RecallSynthesisSessionMemoryResponses, ReconcileOpenbotAgentBundleData, ReconcileOpenbotAgentBundleResponses, RedirectTemporaryAccountClaimPageData, ReflectMemoryData, ReflectMemoryResponses, ReflectPersonalMemoryData, ReflectPersonalMemoryResponses, RefreshCustomToolProviderData, RefreshCustomToolProviderResponses, RefreshProxiedMcpServerData, RefreshProxiedMcpServerErrors, RefreshProxiedMcpServerResponses, RegisterOauthClientData, RegisterOauthClientErrors, RegisterOauthClientResponses, RegisterOpenbotDeploymentData, RegisterOpenbotDeploymentErrors, RegisterOpenbotDeploymentResponses, RegisterTeamOauthClientData, RegisterTeamOauthClientErrors, RegisterTeamOauthClientResponses, RemoveCommonProviderInstallationOwnershipGrantData, RemoveCommonProviderInstallationOwnershipGrantResponses, RemoveCommonProviderInstallationVisibilityGrantData, RemoveCommonProviderInstallationVisibilityGrantResponses, RemoveMcpResourceOwnershipGrantData, RemoveMcpResourceOwnershipGrantResponses, RemoveMcpResourceVisibilityGrantData, RemoveMcpResourceVisibilityGrantResponses, RemoveMcpServerInstanceFunctionData, RemoveMcpServerInstanceFunctionErrors, RemoveMcpServerInstanceFunctionResponses, RemoveMemoryBankOwnershipGrantData, RemoveMemoryBankOwnershipGrantResponses, RemoveMemoryBankVisibilityGrantData, RemoveMemoryBankVisibilityGrantResponses, RemoveOrganizationMemberData, RemoveOrganizationMemberErrors, RemoveOrganizationMemberResponses, RemovePersonalMemoryBankOwnershipGrantData, RemovePersonalMemoryBankOwnershipGrantResponses, RemovePersonalMemoryBankVisibilityGrantData, RemovePersonalMemoryBankVisibilityGrantResponses, RemovePersonalRegistryOwnershipGrantData, RemovePersonalRegistryOwnershipGrantResponses, RemovePersonalRegistryVisibilityGrantData, RemovePersonalRegistryVisibilityGrantResponses, RemovePersonalRscOwnershipGrantData, RemovePersonalRscOwnershipGrantResponses, RemovePersonalRscVisibilityGrantData, RemovePersonalRscVisibilityGrantResponses, RemovePersonalSkillOwnershipGrantData, RemovePersonalSkillOwnershipGrantResponses, RemovePersonalSkillVisibilityGrantData, RemovePersonalSkillVisibilityGrantResponses, RemovePersonalUcOwnershipGrantData, RemovePersonalUcOwnershipGrantResponses, RemovePersonalUcVisibilityGrantData, RemovePersonalUcVisibilityGrantResponses, RemovePersonalWikiOwnershipGrantData, RemovePersonalWikiOwnershipGrantResponses, RemovePersonalWikiVisibilityGrantData, RemovePersonalWikiVisibilityGrantResponses, RemoveRscOwnershipGrantData, RemoveRscOwnershipGrantResponses, RemoveRscVisibilityGrantData, RemoveRscVisibilityGrantResponses, RemoveSessionResourceGrantData, RemoveSessionResourceGrantErrors, RemoveSessionResourceGrantResponses, RemoveSessionUserMemberData, RemoveSessionUserMemberErrors, RemoveSessionUserMemberResponses, RemoveSignalProviderGrantData, RemoveSignalProviderGrantResponses, RemoveSkillOwnershipGrantData, RemoveSkillOwnershipGrantResponses, RemoveSkillRegistryOwnershipGrantData, RemoveSkillRegistryOwnershipGrantResponses, RemoveSkillRegistryVisibilityGrantData, RemoveSkillRegistryVisibilityGrantResponses, RemoveSkillVisibilityGrantData, RemoveSkillVisibilityGrantResponses, RemoveTeamGroupMemberData, RemoveTeamGroupMemberResponses, RemoveTeamMemberData, RemoveTeamMemberErrors, RemoveTeamMemberResponses, RemoveUcOwnershipGrantData, RemoveUcOwnershipGrantResponses, RemoveUcVisibilityGrantData, RemoveUcVisibilityGrantResponses, RemoveWikiOwnershipGrantData, RemoveWikiOwnershipGrantResponses, RemoveWikiVisibilityGrantData, RemoveWikiVisibilityGrantResponses, ReplaceMemorySourceBindingsData, ReplaceMemorySourceBindingsResponses, ReplacePersonalMemorySourceBindingsData, ReplacePersonalMemorySourceBindingsResponses, ResetMemoryBankConfigData, ResetMemoryBankConfigResponses, ResetPersonalMemoryBankConfigData, ResetPersonalMemoryBankConfigResponses, ResumeCredentialSetupItemData, ResumeCredentialSetupItemResponses, ResumeProviderAppProvisioningData, ResumeProviderAppProvisioningResponses, ResumeUserCredentialBrokeringData, ResumeUserCredentialBrokeringResponses, RetainMemoryDocumentData, RetainMemoryDocumentResponses, RetainPersonalMemoryDocumentData, RetainPersonalMemoryDocumentResponses, RetainSynthesisSessionMemoryData, RetainSynthesisSessionMemoryResponses, RetryMemorySourceSyncData, RetryMemorySourceSyncResponses, RetryPersonalMemorySourceBindingsData, RetryPersonalMemorySourceBindingsResponses, RetryWikiData, RetryWikiResponses, ReverseProxyAddProfileOwnershipGrantData, ReverseProxyAddProfileOwnershipGrantResponses, ReverseProxyAddProfileVisibilityGrantData, ReverseProxyAddProfileVisibilityGrantResponses, ReverseProxyCreateProfileData, ReverseProxyCreateProfileErrors, ReverseProxyCreateProfileResponses, ReverseProxyDeleteProfileData, ReverseProxyDeleteProfileErrors, ReverseProxyDeleteProfileResponses, ReverseProxyGetProfileData, ReverseProxyGetProfileErrors, ReverseProxyGetProfileResponses, ReverseProxyListProfileOwnershipGrantsData, ReverseProxyListProfileOwnershipGrantsResponses, ReverseProxyListProfilesData, ReverseProxyListProfilesErrors, ReverseProxyListProfilesResponses, ReverseProxyListProfileVisibilityGrantsData, ReverseProxyListProfileVisibilityGrantsResponses, ReverseProxyListProvidersData, ReverseProxyListProvidersResponses, ReverseProxyProxyGetData, ReverseProxyProxyGetResponses, ReverseProxyProxyPostData, ReverseProxyProxyPostResponses, ReverseProxyRemoveProfileOwnershipGrantData, ReverseProxyRemoveProfileOwnershipGrantResponses, ReverseProxyRemoveProfileVisibilityGrantData, ReverseProxyRemoveProfileVisibilityGrantResponses, ReverseProxySetProfileOwnershipData, ReverseProxySetProfileOwnershipResponses, ReverseProxySetProfileVisibilityData, ReverseProxySetProfileVisibilityResponses, ReverseProxyUpdateProfileData, ReverseProxyUpdateProfileErrors, ReverseProxyUpdateProfileResponses, RevokeLocalRuntimeTunnelApiKeyData, RevokeLocalRuntimeTunnelApiKeyErrors, RevokeLocalRuntimeTunnelApiKeyResponses, RevokeTeamInvitationData, RevokeTeamInvitationResponses, RotateCustomToolProviderSigningKeyData, RotateCustomToolProviderSigningKeyResponses, RouteAuthCallbackData, RouteAuthCallbackErrors, RouteCreateApiKeyData, RouteCreateApiKeyErrors, RouteCreateApiKeyResponses, RouteDeleteApiKeyData, RouteDeleteApiKeyErrors, RouteDeleteApiKeyResponses, RouteGetJwksData, RouteGetJwksErrors, RouteGetJwksResponses, RouteListApiKeysData, RouteListApiKeysErrors, RouteListApiKeysResponses, RouteListDebugAuthProfilesData, RouteListDebugAuthProfilesErrors, RouteListDebugAuthProfilesResponses, RouteLogoutData, RouteRefreshTokenData, RouteRefreshTokenErrors, RouteRefreshTokenResponses, RouteResolveLoginProviderData, RouteResolveLoginProviderErrors, RouteResolveLoginProviderResponses, RouteSelectDebugAuthProfileData, RouteSelectDebugAuthProfileErrors, RouteSelectDebugAuthProfileResponses, RouteStartAuthorizationData, RouteStartAuthorizationErrors, SearchSkillRegistryData, SearchSkillRegistryErrors, SearchSkillRegistryResponses, SetCommonProviderInstallationOwnershipData, SetCommonProviderInstallationOwnershipResponses, SetCommonProviderInstallationVisibilityData, SetCommonProviderInstallationVisibilityResponses, SetMcpResourceOwnershipData, SetMcpResourceOwnershipResponses, SetMcpResourceVisibilityData, SetMcpResourceVisibilityResponses, SetMemoryBankOwnershipModeData, SetMemoryBankOwnershipModeResponses, SetMemoryBankVisibilityData, SetMemoryBankVisibilityResponses, SetPersonalMemoryBankOwnershipModeData, SetPersonalMemoryBankOwnershipModeResponses, SetPersonalMemoryBankVisibilityData, SetPersonalMemoryBankVisibilityResponses, SetPersonalRegistryOwnershipModeData, SetPersonalRegistryOwnershipModeResponses, SetPersonalRegistryVisibilityData, SetPersonalRegistryVisibilityResponses, SetPersonalRscOwnershipData, SetPersonalRscOwnershipResponses, SetPersonalRscVisibilityData, SetPersonalRscVisibilityResponses, SetPersonalSkillOwnershipModeData, SetPersonalSkillOwnershipModeResponses, SetPersonalSkillVisibilityData, SetPersonalSkillVisibilityResponses, SetPersonalUcOwnershipData, SetPersonalUcOwnershipResponses, SetPersonalUcVisibilityData, SetPersonalUcVisibilityResponses, SetPersonalWikiOwnershipModeData, SetPersonalWikiOwnershipModeResponses, SetPersonalWikiVisibilityData, SetPersonalWikiVisibilityResponses, SetRscOwnershipData, SetRscOwnershipResponses, SetRscVisibilityData, SetRscVisibilityResponses, SetSelfOpenbotAvatarData, SetSelfOpenbotAvatarErrors, SetSelfOpenbotAvatarResponses, SetSignalProviderOwnershipData, SetSignalProviderOwnershipResponses, SetSignalProviderVisibilityData, SetSignalProviderVisibilityResponses, SetSkillOwnershipModeData, SetSkillOwnershipModeResponses, SetSkillRegistryOwnershipModeData, SetSkillRegistryOwnershipModeResponses, SetSkillRegistryVisibilityData, SetSkillRegistryVisibilityResponses, SetSkillVisibilityData, SetSkillVisibilityResponses, SetUcOwnershipData, SetUcOwnershipResponses, SetUcVisibilityData, SetUcVisibilityResponses, SetWikiOwnershipModeData, SetWikiOwnershipModeResponses, SetWikiVisibilityData, SetWikiVisibilityResponses, SignalsAddPersonalProviderGrantData, SignalsAddPersonalProviderGrantResponses, SignalsCreatePersonalProviderInstanceData, SignalsCreatePersonalProviderInstanceResponses, SignalsCreateProviderInstanceData, SignalsCreateProviderInstanceResponses, SignalsDeletePersonalProviderInstanceData, SignalsDeletePersonalProviderInstanceResponses, SignalsDeleteProviderInstanceData, SignalsDeleteProviderInstanceResponses, SignalsGetDeliveryData, SignalsGetDeliveryResponses, SignalsGetPersonalDeliveryData, SignalsGetPersonalDeliveryResponses, SignalsGetPersonalProviderInstanceData, SignalsGetPersonalProviderInstanceResponses, SignalsGetProviderInstanceData, SignalsGetProviderInstanceResponses, SignalsListAvailableProvidersData, SignalsListAvailableProvidersResponses, SignalsListDeliveriesData, SignalsListDeliveriesResponses, SignalsListPersonalAvailableProvidersData, SignalsListPersonalAvailableProvidersResponses, SignalsListPersonalDeliveriesData, SignalsListPersonalDeliveriesResponses, SignalsListPersonalProviderGrantsData, SignalsListPersonalProviderGrantsResponses, SignalsListPersonalProviderInstancesData, SignalsListPersonalProviderInstancesResponses, SignalsListProviderInstancesData, SignalsListProviderInstancesResponses, SignalsRemovePersonalProviderGrantData, SignalsRemovePersonalProviderGrantResponses, SignalsRetryDeliveryData, SignalsRetryDeliveryResponses, SignalsRetryPersonalDeliveryData, SignalsRetryPersonalDeliveryResponses, SignalsSetPersonalProviderOwnershipData, SignalsSetPersonalProviderOwnershipResponses, SignalsSetPersonalProviderVisibilityData, SignalsSetPersonalProviderVisibilityResponses, SignalsTriggerFakeData, SignalsTriggerFakeResponses, SignalsUpdatePersonalProviderInstanceData, SignalsUpdatePersonalProviderInstanceResponses, SignalsUpdateProviderInstanceData, SignalsUpdateProviderInstanceResponses, StartCredentialSetupItemData, StartCredentialSetupItemResponses, StartOauthDeviceCodeData, StartOauthDeviceCodeErrors, StartOauthDeviceCodeResponses, StartProviderAppProvisioningData, StartProviderAppProvisioningResponses, StartProxiedMcpServerOauthData, StartProxiedMcpServerOauthErrors, StartProxiedMcpServerOauthResponses, StartUserCredentialBrokeringData, StartUserCredentialBrokeringResponses, StateExportData, StateExportErrors, StateExportResponses, StateGetImportData, StateGetImportResponses, StateImportData, StateImportEventsData, StateImportEventsResponses, StateImportResponses, StatePlanData, StatePlanResponses, StateResolveSourceData, StateResolveSourceErrors, StateResolveSourceResponses, StateSchemaData, StateSchemaJsonData, StateSchemaJsonResponses, StateSchemaResponses, StateValidateData, StateValidateResponses, TraverseWikiGraphData, TraverseWikiGraphResponses, UnbindToolGroupFromMcpServerData, UnbindToolGroupFromMcpServerErrors, UnbindToolGroupFromMcpServerResponses, UpdateCustomToolProviderData, UpdateCustomToolProviderResponses, UpdateHostedOpenbotComputerImageData, UpdateHostedOpenbotComputerImageErrors, UpdateHostedOpenbotComputerImageResponses, UpdateManagedUserCredentialData, UpdateManagedUserCredentialResponses, UpdateMcpServerInstanceData, UpdateMcpServerInstanceErrors, UpdateMcpServerInstanceFunctionData, UpdateMcpServerInstanceFunctionErrors, UpdateMcpServerInstanceFunctionResponses, UpdateMcpServerInstanceResponses, UpdateMemoryBankConfigData, UpdateMemoryBankConfigResponses, UpdateMemoryBankData, UpdateMemoryBankResponses, UpdateOrganizationData, UpdateOrganizationErrors, UpdateOrganizationMemberRoleData, UpdateOrganizationMemberRoleErrors, UpdateOrganizationMemberRoleResponses, UpdateOrganizationResponses, UpdateOrgOidcProviderData, UpdateOrgOidcProviderErrors, UpdateOrgOidcProviderResponses, UpdatePersonalMcpServerInstanceData, UpdatePersonalMcpServerInstanceResponses, UpdatePersonalMemoryBankConfigData, UpdatePersonalMemoryBankConfigResponses, UpdatePersonalMemoryBankData, UpdatePersonalMemoryBankResponses, UpdatePersonalSkillData, UpdatePersonalSkillRegistryData, UpdatePersonalSkillRegistryResponses, UpdatePersonalSkillResponses, UpdatePersonalToolGroupInstanceData, UpdatePersonalToolGroupInstanceResponses, UpdatePersonalWikiData, UpdatePersonalWikiPageData, UpdatePersonalWikiPageResponses, UpdatePersonalWikiResponses, UpdateResourceServerCredentialData, UpdateResourceServerCredentialResponses, UpdateSelfProfileData, UpdateSelfProfileErrors, UpdateSelfProfileResponses, UpdateSessionOwnershipData, UpdateSessionOwnershipErrors, UpdateSessionOwnershipResponses, UpdateSessionVisibilityData, UpdateSessionVisibilityErrors, UpdateSessionVisibilityResponses, UpdateSkillData, UpdateSkillErrors, UpdateSkillRegistryData, UpdateSkillRegistryErrors, UpdateSkillRegistryResponses, UpdateSkillResponses, UpdateTeamData, UpdateTeamErrors, UpdateTeamGroupData, UpdateTeamGroupErrors, UpdateTeamGroupResponses, UpdateTeamMemberRoleData, UpdateTeamMemberRoleErrors, UpdateTeamMemberRoleResponses, UpdateTeamResponses, UpdateToolBoundParamsData, UpdateToolBoundParamsErrors, UpdateToolBoundParamsResponses, UpdateToolGroupInstanceData, UpdateToolGroupInstanceErrors, UpdateToolGroupInstanceResponses, UpdateTrustedRuntimeData, UpdateTrustedRuntimeErrors, UpdateTrustedRuntimeResponses, UpdateUserCredentialData, UpdateUserCredentialResponses, UpdateWikiAssetData, UpdateWikiAssetResponses, UpdateWikiData, UpdateWikiPageData, UpdateWikiPageErrors, UpdateWikiPageRelationshipData, UpdateWikiPageRelationshipResponses, UpdateWikiPageResponses, UpdateWikiPageTypeData, UpdateWikiPageTypeErrors, UpdateWikiPageTypeResponses, UpdateWikiRelationshipTypeData, UpdateWikiRelationshipTypeErrors, UpdateWikiRelationshipTypeResponses, UpdateWikiResponses, UploadAttachmentContentData, UploadAttachmentContentErrors, UploadAttachmentContentResponses, UploadHostedOpenbotReleaseFileData, UploadHostedOpenbotReleaseFileErrors, UploadHostedOpenbotReleaseFileResponses, UploadSelfAvatarData, UploadSelfAvatarErrors, UploadSelfAvatarResponses, UploadWikiAssetContentData, UploadWikiAssetContentErrors, UploadWikiAssetContentResponses, UpsertWikiPageRelationshipData, UpsertWikiPageRelationshipErrors, UpsertWikiPageRelationshipResponses, ValidateSynthesisSessionBatchData, ValidateSynthesisSessionBatchResponses, ValidateWikiPageTypeDataData, ValidateWikiPageTypeDataResponses, VerifyOrgOidcProviderDomainData, VerifyOrgOidcProviderDomainErrors, VerifyOrgOidcProviderDomainResponses, WhoamiData, WhoamiErrors, WhoamiResponses } from './types.gen'; +import type { AcceptInvitationData, AcceptInvitationErrors, AcceptInvitationResponses, AddCommonProviderInstallationOwnershipGrantData, AddCommonProviderInstallationOwnershipGrantResponses, AddCommonProviderInstallationVisibilityGrantData, AddCommonProviderInstallationVisibilityGrantResponses, AddIdentityTeamData, AddIdentityTeamResponses, AddMcpResourceOwnershipGrantData, AddMcpResourceOwnershipGrantResponses, AddMcpResourceVisibilityGrantData, AddMcpResourceVisibilityGrantResponses, AddMcpServerInstanceFunctionData, AddMcpServerInstanceFunctionErrors, AddMcpServerInstanceFunctionResponses, AddMemoryBankOwnershipGrantData, AddMemoryBankOwnershipGrantResponses, AddMemoryBankVisibilityGrantData, AddMemoryBankVisibilityGrantResponses, AddOrganizationMemberData, AddOrganizationMemberErrors, AddOrganizationMemberResponses, AddPersonalMemoryBankOwnershipGrantData, AddPersonalMemoryBankOwnershipGrantResponses, AddPersonalMemoryBankVisibilityGrantData, AddPersonalMemoryBankVisibilityGrantResponses, AddPersonalRegistryOwnershipGrantData, AddPersonalRegistryOwnershipGrantResponses, AddPersonalRegistryVisibilityGrantData, AddPersonalRegistryVisibilityGrantResponses, AddPersonalRscOwnershipGrantData, AddPersonalRscOwnershipGrantResponses, AddPersonalRscVisibilityGrantData, AddPersonalRscVisibilityGrantResponses, AddPersonalSkillOwnershipGrantData, AddPersonalSkillOwnershipGrantResponses, AddPersonalSkillVisibilityGrantData, AddPersonalSkillVisibilityGrantResponses, AddPersonalUcOwnershipGrantData, AddPersonalUcOwnershipGrantResponses, AddPersonalUcVisibilityGrantData, AddPersonalUcVisibilityGrantResponses, AddPersonalWikiOwnershipGrantData, AddPersonalWikiOwnershipGrantResponses, AddPersonalWikiVisibilityGrantData, AddPersonalWikiVisibilityGrantResponses, AddProviderSkillsToSkillRegistryData, AddProviderSkillsToSkillRegistryErrors, AddProviderSkillsToSkillRegistryResponses, AddRscOwnershipGrantData, AddRscOwnershipGrantResponses, AddRscVisibilityGrantData, AddRscVisibilityGrantResponses, AddSessionResourceGrantData, AddSessionResourceGrantErrors, AddSessionResourceGrantResponses, AddSessionUserMemberData, AddSessionUserMemberErrors, AddSessionUserMemberResponses, AddSignalProviderGrantData, AddSignalProviderGrantResponses, AddSkillOwnershipGrantData, AddSkillOwnershipGrantResponses, AddSkillRegistryOwnershipGrantData, AddSkillRegistryOwnershipGrantResponses, AddSkillRegistryVisibilityGrantData, AddSkillRegistryVisibilityGrantResponses, AddSkillVisibilityGrantData, AddSkillVisibilityGrantResponses, AddTeamGroupMemberData, AddTeamGroupMemberErrors, AddTeamGroupMemberResponses, AddTeamMemberData, AddTeamMemberErrors, AddTeamMemberResponses, AddUcOwnershipGrantData, AddUcOwnershipGrantResponses, AddUcVisibilityGrantData, AddUcVisibilityGrantResponses, AddWikiOwnershipGrantData, AddWikiOwnershipGrantResponses, AddWikiVisibilityGrantData, AddWikiVisibilityGrantResponses, ApplyWikiOntologyTemplateData, ApplyWikiOntologyTemplateResponses, AssignPersonalMemoryBankSynthesizerData, AssignPersonalMemoryBankSynthesizerResponses, AuthorizeOauthDeviceCodeData, AuthorizeOauthDeviceCodeErrors, AuthorizeOauthDeviceCodeResponses, AutomationsAddGrantData, AutomationsAddGrantResponses, AutomationsDeleteData, AutomationsDeleteResponses, AutomationsGetData, AutomationsGetErrors, AutomationsGetResponses, AutomationsListData, AutomationsListExecutionsData, AutomationsListExecutionsResponses, AutomationsListGrantsData, AutomationsListGrantsResponses, AutomationsListResponses, AutomationsPutData, AutomationsPutErrors, AutomationsPutResponses, AutomationsRemoveGrantData, AutomationsRemoveGrantResponses, AutomationsRunData, AutomationsRunResponses, AutomationsSetOwnershipData, AutomationsSetOwnershipResponses, AutomationsSetVisibilityData, AutomationsSetVisibilityResponses, AutoProvisionToolGroupInstanceData, AutoProvisionToolGroupInstanceErrors, AutoProvisionToolGroupInstanceResponses, AutumnWebhookHandlerData, AutumnWebhookHandlerErrors, AutumnWebhookHandlerResponses, BillingAiCreditReceiptCommitData, BillingAiCreditReceiptCommitResponses, BillingAiCreditReservationReleaseData, BillingAiCreditReservationReleaseResponses, BillingAiCreditReserveData, BillingAiCreditReserveResponses, BillingAiCreditTopupCreateData, BillingAiCreditTopupCreateErrors, BillingAiCreditTopupCreateResponses, BillingAiGatewayEnsureData, BillingAiGatewayEnsureErrors, BillingAiGatewayEnsureResponses, BillingAutumnBridgePostData, BillingAutumnBridgePostErrors, BillingAutumnBridgePostResponses, BillingContextGetData, BillingContextGetErrors, BillingContextGetResponses, BillingEnrollAccountData, BillingEnrollAccountErrors, BillingEnrollAccountResponses, BillingProductEnrollCurrentHumanData, BillingProductEnrollCurrentHumanErrors, BillingProductEnrollCurrentHumanResponses, BillingRedirectData, BillingRedirectErrors, BillingRemoveAccountSeatData, BillingRemoveAccountSeatErrors, BillingRemoveAccountSeatResponses, BillingWebhookStripeDeprecatedData, BillingWebhookStripeDeprecatedResponses, BindToolGroupToMcpServerData, BindToolGroupToMcpServerErrors, BindToolGroupToMcpServerResponses, BulkAddMcpServerInstanceFunctionsData, BulkAddMcpServerInstanceFunctionsErrors, BulkAddMcpServerInstanceFunctionsResponses, BulkRemoveMcpServerInstanceFunctionsData, BulkRemoveMcpServerInstanceFunctionsErrors, BulkRemoveMcpServerInstanceFunctionsResponses, CancelHumanApprovalActionData, CancelHumanApprovalActionErrors, CancelHumanApprovalActionResponses, ChangePersonalWikiOwnershipData, ChangePersonalWikiOwnershipResponses, ChangeWikiOwnershipData, ChangeWikiOwnershipResponses, ChatkitAddAgentResourceGrantData, ChatkitAddAgentResourceGrantErrors, ChatkitAddAgentResourceGrantResponses, ChatkitAddSessionParticipantData, ChatkitAddSessionParticipantErrors, ChatkitAddSessionParticipantResponses, ChatkitAppendAgentRunStepData, ChatkitAppendAgentRunStepResponses, ChatkitApproveSelfExtensionProposalData, ChatkitApproveSelfExtensionProposalResponses, ChatkitAutoProvisionSlackChannelInstallationData, ChatkitAutoProvisionSlackChannelInstallationErrors, ChatkitAutoProvisionSlackChannelInstallationResponses, ChatkitCacheConvertedMessagesData, ChatkitCacheConvertedMessagesErrors, ChatkitCacheConvertedMessagesResponses, ChatkitCancelSelfExtensionProposalData, ChatkitCancelSelfExtensionProposalResponses, ChatkitClaimAgentResourceBundleOutputsData, ChatkitClaimAgentResourceBundleOutputsResponses, ChatkitClaimAgentRunsData, ChatkitClaimAgentRunsResponses, ChatkitClaimSelfExtensionProposalOutputsData, ChatkitClaimSelfExtensionProposalOutputsResponses, ChatkitCollectAgentJobResultData, ChatkitCollectAgentJobResultResponses, ChatkitCompleteSlackProviderProvisionedSetupData, ChatkitCompleteSlackProviderProvisionedSetupErrors, ChatkitCompleteSlackProviderProvisionedSetupResponses, ChatkitCompleteSlackSelfManagedSetupData, ChatkitCompleteSlackSelfManagedSetupErrors, ChatkitCompleteSlackSelfManagedSetupResponses, ChatkitControlAgentRunData, ChatkitControlAgentRunResponses, ChatkitCreateAgentRunData, ChatkitCreateAgentRunResponses, ChatkitCreateCustomProviderData, ChatkitCreateCustomProviderErrors, ChatkitCreateCustomProviderResponses, ChatkitCreateGoalData, ChatkitCreateGoalResponses, ChatkitCreateRoomInvitationData, ChatkitCreateRoomInvitationErrors, ChatkitCreateRoomInvitationResponses, ChatkitCreateSessionData, ChatkitCreateSessionErrors, ChatkitCreateSessionResponses, ChatkitCreateSlackChannelInstallationData, ChatkitCreateSlackChannelInstallationErrors, ChatkitCreateSlackChannelInstallationResponses, ChatkitCreateTaskData, ChatkitCreateTaskResponses, ChatkitCustomProviderRuntimeData, ChatkitCustomProviderRuntimeErrors, ChatkitCustomProviderRuntimeResponses, ChatkitDecideCapabilityChangeData, ChatkitDecideCapabilityChangeResponses, ChatkitDecideRoomInvitationData, ChatkitDecideRoomInvitationErrors, ChatkitDecideRoomInvitationResponses, ChatkitDelegateAgentJobData, ChatkitDelegateAgentJobResponses, ChatkitDeleteAgentData, ChatkitDeleteAgentErrors, ChatkitDeleteAgentResponses, ChatkitDeleteAgentTurnQueueItemData, ChatkitDeleteAgentTurnQueueItemErrors, ChatkitDeleteAgentTurnQueueItemResponses, ChatkitDeleteChatProviderData, ChatkitDeleteChatProviderErrors, ChatkitDeleteChatProviderResponses, ChatkitDeleteCustomProviderData, ChatkitDeleteCustomProviderErrors, ChatkitDeleteCustomProviderResponses, ChatkitDisableCustomProviderData, ChatkitDisableCustomProviderErrors, ChatkitDisableCustomProviderResponses, ChatkitEnableCustomProviderData, ChatkitEnableCustomProviderErrors, ChatkitEnableCustomProviderResponses, ChatkitFinishAgentRunEffectData, ChatkitFinishAgentRunEffectResponses, ChatkitGetActiveAgentRunData, ChatkitGetActiveAgentRunResponses, ChatkitGetAgentAvatarData, ChatkitGetAgentAvatarErrors, ChatkitGetAgentAvatarResponses, ChatkitGetAgentData, ChatkitGetAgentErrors, ChatkitGetAgentJobData, ChatkitGetAgentJobResponses, ChatkitGetAgentObservabilityData, ChatkitGetAgentObservabilityErrors, ChatkitGetAgentObservabilityResponses, ChatkitGetAgentResourceBundleProvisioningData, ChatkitGetAgentResourceBundleProvisioningResponses, ChatkitGetAgentResponses, ChatkitGetAgentRunData, ChatkitGetAgentRunEffectData, ChatkitGetAgentRunEffectResponses, ChatkitGetAgentRunResponses, ChatkitGetCompactedHistoryData, ChatkitGetCompactedHistoryErrors, ChatkitGetCompactedHistoryResponses, ChatkitGetCustomConnectionData, ChatkitGetCustomConnectionErrors, ChatkitGetCustomConnectionResponses, ChatkitGetCustomProviderData, ChatkitGetCustomProviderErrors, ChatkitGetCustomProviderResponses, ChatkitGetGoalData, ChatkitGetGoalResponses, ChatkitGetLatestCompactionData, ChatkitGetLatestCompactionErrors, ChatkitGetLatestCompactionResponses, ChatkitGetSelfExtensionProposalData, ChatkitGetSelfExtensionProposalResponses, ChatkitGetTaskData, ChatkitGetTaskResponses, ChatkitHydrateConvertedMessagesData, ChatkitHydrateConvertedMessagesErrors, ChatkitHydrateConvertedMessagesResponses, ChatkitIngestCustomProviderMessageData, ChatkitIngestCustomProviderMessageErrors, ChatkitIngestCustomProviderMessageResponses, ChatkitInvokeSessionProviderToolData, ChatkitInvokeSessionProviderToolErrors, ChatkitInvokeSessionProviderToolResponses, ChatkitJoinSessionData, ChatkitJoinSessionErrors, ChatkitJoinSessionResponses, ChatkitListAgentJobsData, ChatkitListAgentJobsResponses, ChatkitListAgentResourceGrantsData, ChatkitListAgentResourceGrantsErrors, ChatkitListAgentResourceGrantsResponses, ChatkitListAgentsData, ChatkitListAgentsErrors, ChatkitListAgentsResponses, ChatkitListAgentTurnQueueData, ChatkitListAgentTurnQueueErrors, ChatkitListAgentTurnQueueResponses, ChatkitListAvailableChatChannelsData, ChatkitListAvailableChatChannelsErrors, ChatkitListAvailableChatChannelsResponses, ChatkitListAvailableChatProvidersData, ChatkitListAvailableChatProvidersErrors, ChatkitListAvailableChatProvidersResponses, ChatkitListChatProvidersData, ChatkitListChatProvidersErrors, ChatkitListChatProvidersResponses, ChatkitListCustomConnectionsData, ChatkitListCustomConnectionsErrors, ChatkitListCustomConnectionsResponses, ChatkitListCustomConnectionWorkData, ChatkitListCustomConnectionWorkErrors, ChatkitListCustomConnectionWorkResponses, ChatkitListCustomProviderData, ChatkitListCustomProviderErrors, ChatkitListCustomProviderResponses, ChatkitListGoalsData, ChatkitListGoalsResponses, ChatkitListMessageHistoryData, ChatkitListMessageHistoryErrors, ChatkitListMessageHistoryResponses, ChatkitListRoomInvitationsData, ChatkitListRoomInvitationsErrors, ChatkitListRoomInvitationsResponses, ChatkitListSelfExtensionProposalsData, ChatkitListSelfExtensionProposalsResponses, ChatkitListSessionParticipantsData, ChatkitListSessionParticipantsErrors, ChatkitListSessionParticipantsResponses, ChatkitListSessionProviderToolsData, ChatkitListSessionProviderToolsErrors, ChatkitListSessionProviderToolsResponses, ChatkitListSessionsData, ChatkitListSessionsErrors, ChatkitListSessionsResponses, ChatkitListTasksData, ChatkitListTasksResponses, ChatkitPrepareAgentRunEffectData, ChatkitPrepareAgentRunEffectResponses, ChatkitProposeSelfExtensionData, ChatkitProposeSelfExtensionResponses, ChatkitProvisionAgentResourceBundleData, ChatkitProvisionAgentResourceBundleResponses, ChatkitRecallAutomaticMemoryData, ChatkitRecallAutomaticMemoryErrors, ChatkitRecallAutomaticMemoryResponses, ChatkitRefreshCustomProviderData, ChatkitRefreshCustomProviderErrors, ChatkitRefreshCustomProviderResponses, ChatkitRegisterAgentToolsData, ChatkitRegisterAgentToolsErrors, ChatkitRegisterAgentToolsResponses, ChatkitRegisterChatProviderData, ChatkitRegisterChatProviderErrors, ChatkitRegisterChatProviderResponses, ChatkitRegisterHttpVercelAiSdkAgentData, ChatkitRegisterHttpVercelAiSdkAgentErrors, ChatkitRegisterHttpVercelAiSdkAgentResponses, ChatkitRegisterVercelUiChatProviderData, ChatkitRegisterVercelUiChatProviderErrors, ChatkitRegisterVercelUiChatProviderResponses, ChatkitRejectSelfExtensionProposalData, ChatkitRejectSelfExtensionProposalResponses, ChatkitRemoveAgentResourceGrantData, ChatkitRemoveAgentResourceGrantErrors, ChatkitRemoveAgentResourceGrantResponses, ChatkitRemoveSessionParticipantData, ChatkitRemoveSessionParticipantErrors, ChatkitRemoveSessionParticipantResponses, ChatkitReorderAgentTurnQueueItemData, ChatkitReorderAgentTurnQueueItemErrors, ChatkitReorderAgentTurnQueueItemResponses, ChatkitReportCompactionEventData, ChatkitReportCompactionEventErrors, ChatkitReportCompactionEventResponses, ChatkitReportToolExecutionData, ChatkitReportToolExecutionErrors, ChatkitReportToolExecutionResponses, ChatkitResumeAgentJobData, ChatkitResumeAgentJobResponses, ChatkitRetryCustomConnectionWorkData, ChatkitRetryCustomConnectionWorkErrors, ChatkitRetryCustomConnectionWorkResponses, ChatkitRevokeRoomInvitationData, ChatkitRevokeRoomInvitationErrors, ChatkitRevokeRoomInvitationResponses, ChatkitRollbackSelfExtensionProposalData, ChatkitRollbackSelfExtensionProposalResponses, ChatkitRotateCustomConnectionCredentialsData, ChatkitRotateCustomConnectionCredentialsErrors, ChatkitRotateCustomConnectionCredentialsResponses, ChatkitRotateCustomProviderData, ChatkitRotateCustomProviderErrors, ChatkitRotateCustomProviderResponses, ChatkitSearchData, ChatkitSearchErrors, ChatkitSearchResponses, ChatkitSendSessionMessageData, ChatkitSendSessionMessageErrors, ChatkitSendSessionMessageResponses, ChatkitSetAgentPermissionsData, ChatkitSetAgentPermissionsErrors, ChatkitSetAgentPermissionsResponses, ChatkitSetAgentStatusData, ChatkitSetAgentStatusErrors, ChatkitSetAgentStatusResponses, ChatkitSetChatProviderStatusData, ChatkitSetChatProviderStatusErrors, ChatkitSetChatProviderStatusResponses, ChatkitStartSlackOauthData, ChatkitStartSlackOauthErrors, ChatkitStartSlackOauthResponses, ChatkitSteerAgentJobData, ChatkitSteerAgentJobResponses, ChatkitSteerAgentTurnQueueItemData, ChatkitSteerAgentTurnQueueItemErrors, ChatkitSteerAgentTurnQueueItemResponses, ChatkitStopAgentJobData, ChatkitStopAgentJobResponses, ChatkitStreamSessionEventsData, ChatkitStreamSessionEventsErrors, ChatkitStreamSessionEventsResponses, ChatkitTransitionAgentRunData, ChatkitTransitionAgentRunResponses, ChatkitUpdateAgentAvatarData, ChatkitUpdateAgentAvatarErrors, ChatkitUpdateAgentAvatarResponses, ChatkitUpdateAgentData, ChatkitUpdateAgentErrors, ChatkitUpdateAgentObservabilityData, ChatkitUpdateAgentObservabilityErrors, ChatkitUpdateAgentObservabilityResponses, ChatkitUpdateAgentOwnershipData, ChatkitUpdateAgentOwnershipErrors, ChatkitUpdateAgentOwnershipResponses, ChatkitUpdateAgentResponses, ChatkitUpdateAgentToolVisibilityData, ChatkitUpdateAgentToolVisibilityErrors, ChatkitUpdateAgentToolVisibilityResponses, ChatkitUpdateAgentVisibilityData, ChatkitUpdateAgentVisibilityErrors, ChatkitUpdateAgentVisibilityResponses, ChatkitUpdateChatProviderData, ChatkitUpdateChatProviderErrors, ChatkitUpdateChatProviderResponses, ChatkitUpdateCustomProviderData, ChatkitUpdateCustomProviderErrors, ChatkitUpdateCustomProviderResponses, ChatkitUpdateGoalData, ChatkitUpdateGoalResponses, ChatkitUpdateTaskData, ChatkitUpdateTaskResponses, ChatkitWorkspaceAgentSessionsData, ChatkitWorkspaceAgentSessionsResponses, ChatkitWorkspaceBootstrapData, ChatkitWorkspaceBootstrapResponses, ChatkitWorkspaceConversationSnapshotData, ChatkitWorkspaceConversationSnapshotResponses, ChatkitWorkspaceCreateSessionData, ChatkitWorkspaceCreateSessionResponses, ChatkitWorkspaceInterruptSessionData, ChatkitWorkspaceInterruptSessionResponses, ChatkitWorkspaceMessagesData, ChatkitWorkspaceMessagesResponses, ChatkitWorkspaceRenameThreadData, ChatkitWorkspaceRenameThreadResponses, ChatkitWorkspaceSendMessageData, ChatkitWorkspaceSendMessageResponses, ChatkitWorkspaceSidebarData, ChatkitWorkspaceSidebarResponses, ChatkitWorkspaceSubmitTurnData, ChatkitWorkspaceSubmitTurnResponses, ChatkitWorkspaceUpdateSessionReadStateData, ChatkitWorkspaceUpdateSessionReadStateResponses, CheckMemoryBankHealthData, CheckMemoryBankHealthResponses, CheckPersonalMemoryBankHealthData, CheckPersonalMemoryBankHealthResponses, ClaimTemporaryAccountData, ClaimTemporaryAccountErrors, ClaimTemporaryAccountResponses, ClearPersonalMemoryBankSynthesizerData, ClearPersonalMemoryBankSynthesizerResponses, CompleteAttachmentUploadData, CompleteAttachmentUploadErrors, CompleteAttachmentUploadResponses, CompleteCredentialSetupItemData, CompleteCredentialSetupItemResponses, CompleteHumanApprovalActionData, CompleteHumanApprovalActionErrors, CompleteHumanApprovalActionResponses, CompleteIdentityLinkData, CompleteIdentityLinkResponses, CompleteIdentityVerificationData, CompleteIdentityVerificationErrors, CompleteIdentityVerificationResponses, CompleteWikiAssetUploadData, CompleteWikiAssetUploadResponses, ConfigureHostedOpenbotInstanceData, ConfigureHostedOpenbotInstanceErrors, ConfigureHostedOpenbotInstanceResponses, ConnectMcpProviderCatalogEntryData, ConnectMcpProviderCatalogEntryErrors, ConnectMcpProviderCatalogEntryResponses, ConnectProxiedMcpServerData, ConnectProxiedMcpServerErrors, ConnectProxiedMcpServerResponses, CreateAttachmentUploadData, CreateAttachmentUploadErrors, CreateAttachmentUploadResponses, CreateAttachmentUploadsData, CreateAttachmentUploadsErrors, CreateAttachmentUploadsResponses, CreateCustomToolProviderData, CreateCustomToolProviderResponses, CreateHostedOpenbotDeploymentData, CreateHostedOpenbotDeploymentErrors, CreateHostedOpenbotDeploymentResponses, CreateHostedOpenbotReleaseData, CreateHostedOpenbotReleaseErrors, CreateHostedOpenbotReleaseResponses, CreateHumanApprovalActionData, CreateHumanApprovalActionErrors, CreateHumanApprovalActionResponses, CreateIdentityData, CreateIdentityErrors, CreateIdentityLinkData, CreateIdentityLinkErrors, CreateIdentityLinkResponses, CreateIdentityResponses, CreateManagedUserCredentialData, CreateManagedUserCredentialResponses, CreateMcpServerInstanceData, CreateMcpServerInstanceErrors, CreateMcpServerInstanceResponses, CreateMemoryBankData, CreateMemoryBankResponses, CreateMessageData, CreateMessageErrors, CreateMessageResponses, CreateOrganizationData, CreateOrganizationErrors, CreateOrganizationResponses, CreateOrgOidcProviderData, CreateOrgOidcProviderErrors, CreateOrgOidcProviderResponses, CreatePersonalMcpServerInstanceData, CreatePersonalMcpServerInstanceErrors, CreatePersonalMcpServerInstanceResponses, CreatePersonalMemoryBankData, CreatePersonalMemoryBankResponses, CreatePersonalSkillData, CreatePersonalSkillRegistryData, CreatePersonalSkillRegistryResponses, CreatePersonalSkillResponses, CreatePersonalToolGroupInstanceData, CreatePersonalToolGroupInstanceErrors, CreatePersonalToolGroupInstanceResponses, CreatePersonalUserCredentialData, CreatePersonalUserCredentialResponses, CreatePersonalWikiData, CreatePersonalWikiPageData, CreatePersonalWikiPageResponses, CreatePersonalWikiResponses, CreateProxyTokenData, CreateProxyTokenErrors, CreateProxyTokenResponses, CreateResourceServerCredentialData, CreateResourceServerCredentialResponses, CreateSessionData, CreateSessionErrors, CreateSessionResponses, CreateSkillData, CreateSkillErrors, CreateSkillRegistryData, CreateSkillRegistryErrors, CreateSkillRegistryResponses, CreateSkillResponses, CreateTeamData, CreateTeamErrors, CreateTeamGroupData, CreateTeamGroupErrors, CreateTeamGroupResponses, CreateTeamResponses, CreateTemporaryAccountData, CreateTemporaryAccountErrors, CreateTemporaryAccountResponses, CreateToolGroupInstanceData, CreateToolGroupInstanceErrors, CreateToolGroupInstanceResponses, CreateTrustedRuntimeData, CreateTrustedRuntimeErrors, CreateTrustedRuntimeResponses, CreateTrustedSkillProviderData, CreateTrustedSkillProviderErrors, CreateTrustedSkillProviderResponses, CreateUserCredentialData, CreateUserCredentialResponses, CreateWikiAssetUploadData, CreateWikiAssetUploadResponses, CreateWikiData, CreateWikiPageData, CreateWikiPageResponses, CreateWikiPageTypeData, CreateWikiPageTypeResponses, CreateWikiPageTypeVersionData, CreateWikiPageTypeVersionErrors, CreateWikiPageTypeVersionResponses, CreateWikiRelationshipTypeData, CreateWikiRelationshipTypeResponses, CreateWikiRelationshipTypeVersionData, CreateWikiRelationshipTypeVersionErrors, CreateWikiRelationshipTypeVersionResponses, CreateWikiResponses, CredentialGenericOauthCallbackData, CredentialGenericOauthCallbackResponses, DeleteAttachmentData, DeleteAttachmentErrors, DeleteAttachmentResponses, DeleteCustomToolProviderData, DeleteCustomToolProviderResponses, DeleteManagedUserCredentialData, DeleteManagedUserCredentialResponses, DeleteMcpServerInstanceData, DeleteMcpServerInstanceErrors, DeleteMcpServerInstanceResponses, DeleteMemoryBankData, DeleteMemoryBankResponses, DeleteMemoryDocumentData, DeleteMemoryDocumentResponses, DeleteMessageData, DeleteMessageErrors, DeleteMessageResponses, DeleteOrganizationData, DeleteOrganizationErrors, DeleteOrganizationResponses, DeleteOrgOidcProviderData, DeleteOrgOidcProviderErrors, DeleteOrgOidcProviderResponses, DeletePersonalMcpServerInstanceData, DeletePersonalMcpServerInstanceResponses, DeletePersonalMemoryBankData, DeletePersonalMemoryBankResponses, DeletePersonalMemoryDocumentData, DeletePersonalMemoryDocumentResponses, DeletePersonalSkillData, DeletePersonalSkillRegistryData, DeletePersonalSkillRegistryResponses, DeletePersonalSkillResponses, DeletePersonalToolGroupInstanceData, DeletePersonalToolGroupInstanceResponses, DeletePersonalWikiData, DeletePersonalWikiPageData, DeletePersonalWikiPageResponses, DeletePersonalWikiResponses, DeleteProxiedMcpServerData, DeleteProxiedMcpServerErrors, DeleteProxiedMcpServerResponses, DeleteResourceServerCredentialData, DeleteResourceServerCredentialResponses, DeleteSelfAvatarData, DeleteSelfAvatarErrors, DeleteSelfAvatarResponses, DeleteSkillData, DeleteSkillErrors, DeleteSkillRegistryData, DeleteSkillRegistryErrors, DeleteSkillRegistryResponses, DeleteSkillResponses, DeleteSynthesisSessionMemoryData, DeleteSynthesisSessionMemoryResponses, DeleteTeamData, DeleteTeamErrors, DeleteTeamGroupData, DeleteTeamGroupErrors, DeleteTeamGroupResponses, DeleteTeamResponses, DeleteToolGroupInstanceData, DeleteToolGroupInstanceErrors, DeleteToolGroupInstanceResponses, DeleteTrustedRuntimeData, DeleteTrustedRuntimeErrors, DeleteTrustedRuntimeResponses, DeleteUserCredentialData, DeleteUserCredentialResponses, DeleteVerifiedIdentityLinkData, DeleteVerifiedIdentityLinkErrors, DeleteVerifiedIdentityLinkResponses, DeleteWikiAssetData, DeleteWikiAssetErrors, DeleteWikiAssetResponses, DeleteWikiData, DeleteWikiPageData, DeleteWikiPageErrors, DeleteWikiPageRelationshipData, DeleteWikiPageRelationshipResponses, DeleteWikiPageResponses, DeleteWikiPageTypeData, DeleteWikiPageTypeErrors, DeleteWikiPageTypeResponses, DeleteWikiPageTypeVersionData, DeleteWikiPageTypeVersionErrors, DeleteWikiPageTypeVersionResponses, DeleteWikiRelationshipTypeData, DeleteWikiRelationshipTypeErrors, DeleteWikiRelationshipTypeResponses, DeleteWikiResponses, DisableCustomToolProviderData, DisableCustomToolProviderResponses, DisableProxiedMcpServerData, DisableProxiedMcpServerErrors, DisableProxiedMcpServerResponses, DisableToolData, DisableToolErrors, DisableToolResponses, DownloadAttachmentContentData, DownloadAttachmentContentErrors, DownloadAttachmentContentResponses, DownloadSkillPackageFileData, DownloadSkillPackageFileErrors, DownloadSkillPackageFileResponses, DownloadWikiAssetContentData, DownloadWikiAssetContentErrors, DownloadWikiAssetContentResponses, DownloadWikiAssetData, DownloadWikiAssetResponses, EnableAndBindProviderToolsData, EnableAndBindProviderToolsErrors, EnableAndBindProviderToolsResponses, EnableCustomToolProviderData, EnableCustomToolProviderResponses, EnableProxiedMcpServerData, EnableProxiedMcpServerErrors, EnableProxiedMcpServerResponses, EnableToolData, EnableToolErrors, EnableToolResponses, EncryptPersonalUserCredentialConfigurationData, EncryptPersonalUserCredentialConfigurationResponses, EncryptResourceServerConfigurationData, EncryptResourceServerConfigurationResponses, EncryptUserCredentialConfigurationData, EncryptUserCredentialConfigurationResponses, ExchangeOauthCodeData, ExchangeOauthCodeErrors, ExchangeOauthCodeResponses, ExpireTemporaryAccountsData, ExpireTemporaryAccountsErrors, ExpireTemporaryAccountsResponses, ExportMemoryBankTemplateData, ExportMemoryBankTemplateResponses, ExportPersonalMemoryBankTemplateData, ExportPersonalMemoryBankTemplateResponses, FinalizeHostedOpenbotReleaseData, FinalizeHostedOpenbotReleaseErrors, FinalizeHostedOpenbotReleaseResponses, GenerateLocalRuntimeTunnelApiKeyData, GenerateLocalRuntimeTunnelApiKeyErrors, GenerateLocalRuntimeTunnelApiKeyResponses, GenerateTemporaryAccountClaimUrlData, GenerateTemporaryAccountClaimUrlErrors, GenerateTemporaryAccountClaimUrlResponses, GetAttachmentDownloadUrlData, GetAttachmentDownloadUrlErrors, GetAttachmentDownloadUrlResponses, GetCommonProviderInstallationData, GetCommonProviderInstallationResponses, GetCredentialSetupItemData, GetCredentialSetupItemResponses, GetCustomToolProviderData, GetCustomToolProviderResponses, GetHostedOpenbotBootstrapBundleData, GetHostedOpenbotBootstrapBundleErrors, GetHostedOpenbotBootstrapBundleResponses, GetHostedOpenbotInstanceData, GetHostedOpenbotInstanceErrors, GetHostedOpenbotInstanceResponses, GetHostedOpenbotReleaseData, GetHostedOpenbotReleaseErrors, GetHostedOpenbotReleaseResponses, GetHumanApprovalActionData, GetHumanApprovalActionErrors, GetHumanApprovalActionResponses, GetIdentityData, GetIdentityErrors, GetIdentityResponses, GetIdentityVerificationData, GetIdentityVerificationErrors, GetIdentityVerificationResponses, GetLocalRuntimeTunnelApiKeyData, GetLocalRuntimeTunnelApiKeyErrors, GetLocalRuntimeTunnelApiKeyResponses, GetLocalRuntimeTunnelConnectorData, GetLocalRuntimeTunnelConnectorErrors, GetLocalRuntimeTunnelConnectorResponses, GetManagedUserCredentialSecretData, GetManagedUserCredentialSecretResponses, GetMcpServerInstanceData, GetMcpServerInstanceErrors, GetMcpServerInstanceResponses, GetMemoryBankConfigData, GetMemoryBankConfigResponses, GetMemoryBankData, GetMemoryBankDocumentData, GetMemoryBankDocumentResponses, GetMemoryBankResponses, GetMessageData, GetMessageDeliveriesData, GetMessageDeliveriesErrors, GetMessageDeliveriesResponses, GetMessageErrors, GetMessageResponses, GetOpenbotPluginsCatalogData, GetOpenbotPluginsCatalogResponses, GetOrganizationData, GetOrganizationErrors, GetOrganizationResponses, GetOrgOidcProviderData, GetOrgOidcProviderErrors, GetOrgOidcProviderResponses, GetPersonalMcpServerInstanceData, GetPersonalMcpServerInstanceResponses, GetPersonalMemoryBankConfigData, GetPersonalMemoryBankConfigResponses, GetPersonalMemoryBankData, GetPersonalMemoryBankDocumentData, GetPersonalMemoryBankDocumentResponses, GetPersonalMemoryBankResponses, GetPersonalSkillData, GetPersonalSkillRegistryData, GetPersonalSkillRegistryResponses, GetPersonalSkillResponses, GetPersonalToolGroupInstanceData, GetPersonalToolGroupInstanceResponses, GetPersonalWikiData, GetPersonalWikiPageData, GetPersonalWikiPageResponses, GetPersonalWikiResponses, GetProviderProvisioningHumanActionData, GetProviderProvisioningHumanActionResponses, GetProxiedMcpServerData, GetProxiedMcpServerErrors, GetProxiedMcpServerResponses, GetProxiedSkillProviderData, GetProxiedSkillProviderErrors, GetProxiedSkillProviderResponses, GetResourceServerCredentialData, GetResourceServerCredentialResponses, GetRuntimeConfigData, GetRuntimeConfigResponses, GetSelfAvatarData, GetSelfAvatarErrors, GetSelfAvatarResponses, GetSelfProfileData, GetSelfProfileErrors, GetSelfProfileResponses, GetSessionEventHistoryData, GetSessionEventHistoryErrors, GetSessionEventHistoryResponses, GetSkillData, GetSkillErrors, GetSkillPackageData, GetSkillPackageErrors, GetSkillPackageResponses, GetSkillRegistryData, GetSkillRegistryErrors, GetSkillRegistryResponses, GetSkillRegistrySkillByTitleData, GetSkillRegistrySkillByTitleErrors, GetSkillRegistrySkillByTitleResponses, GetSkillRegistrySkillData, GetSkillRegistrySkillDescriptionData, GetSkillRegistrySkillDescriptionErrors, GetSkillRegistrySkillDescriptionResponses, GetSkillRegistrySkillErrors, GetSkillRegistrySkillResponses, GetSkillResponses, GetTeamData, GetTeamErrors, GetTeamGroupData, GetTeamGroupErrors, GetTeamGroupResponses, GetTeamResponses, GetToolGroupInstanceData, GetToolGroupInstanceErrors, GetToolGroupInstanceResponses, GetToolsOpenapiSpecData, GetToolsOpenapiSpecErrors, GetToolsOpenapiSpecResponses, GetTrustedRuntimeData, GetTrustedRuntimeErrors, GetTrustedRuntimeResponses, GetUserCredentialData, GetUserCredentialResponses, GetWikiData, GetWikiPageBacklinksData, GetWikiPageBacklinksResponses, GetWikiPageData, GetWikiPageNeighborhoodData, GetWikiPageNeighborhoodResponses, GetWikiPageRelationshipData, GetWikiPageRelationshipResponses, GetWikiPageResponses, GetWikiPageTypeData, GetWikiPageTypeResponses, GetWikiPageTypeVersionData, GetWikiPageTypeVersionResponses, GetWikiRelationshipTypeData, GetWikiRelationshipTypeResponses, GetWikiRelationshipTypeVersionData, GetWikiRelationshipTypeVersionResponses, GetWikiResponses, GrepPersonalWikiPagesData, GrepPersonalWikiPagesResponses, GrepWikiPagesData, GrepWikiPagesResponses, HealthCheckData, HealthCheckErrors, HealthCheckResponses, ImportMemoryBankTemplateData, ImportMemoryBankTemplateResponses, ImportPersonalMemoryBankTemplateData, ImportPersonalMemoryBankTemplateResponses, InitiateIdentityVerificationData, InitiateIdentityVerificationErrors, InitiateIdentityVerificationResponses, InspectWikiAssetReferencesData, InspectWikiAssetReferencesResponses, InviteTeamUsersData, InviteTeamUsersErrors, InviteTeamUsersResponses, InvokeCustomToolData, InvokeCustomToolResponses, InvokeToolData, InvokeToolErrors, InvokeToolResponses, IssueHostedOpenbotGitTokenData, IssueHostedOpenbotGitTokenErrors, IssueHostedOpenbotGitTokenResponses, IssueOpenbotChatkitRealtimeTicketData, IssueOpenbotChatkitRealtimeTicketErrors, IssueOpenbotChatkitRealtimeTicketResponses, IssueProxyRealtimeTicketData, IssueProxyRealtimeTicketResponses, LinkTeamIdentityData, LinkTeamIdentityErrors, LinkTeamIdentityResponses, ListAvailableToolGroupsData, ListAvailableToolGroupsErrors, ListAvailableToolGroupsResponses, ListCommonProviderInstallationOwnershipGrantsData, ListCommonProviderInstallationOwnershipGrantsResponses, ListCommonProviderInstallationsData, ListCommonProviderInstallationsResponses, ListCommonProviderInstallationVisibilityGrantsData, ListCommonProviderInstallationVisibilityGrantsResponses, ListCredentialSetupItemsData, ListCredentialSetupItemsResponses, ListCustomToolProvidersData, ListCustomToolProvidersResponses, ListIdentitiesData, ListIdentitiesErrors, ListIdentitiesResponses, ListIdentityTeamsData, ListIdentityTeamsResponses, ListInboxAgentsData, ListInboxAgentsErrors, ListInboxAgentsResponses, ListInboxesData, ListInboxesErrors, ListInboxesResponses, ListManagedUserCredentialsData, ListManagedUserCredentialsResponses, ListMcpProviderCatalogData, ListMcpProviderCatalogErrors, ListMcpProviderCatalogResponses, ListMcpResourceOwnershipGrantsData, ListMcpResourceOwnershipGrantsResponses, ListMcpResourceVisibilityGrantsData, ListMcpResourceVisibilityGrantsResponses, ListMcpServerInstancesData, ListMcpServerInstancesErrors, ListMcpServerInstancesResponses, ListMemoryBankDocumentsData, ListMemoryBankDocumentsResponses, ListMemoryBankOwnershipGrantsData, ListMemoryBankOwnershipGrantsResponses, ListMemoryBanksData, ListMemoryBankSourceBindingsData, ListMemoryBankSourceBindingsResponses, ListMemoryBanksResponses, ListMemoryBankVisibilityGrantsData, ListMemoryBankVisibilityGrantsResponses, ListMemorySourceBindingsData, ListMemorySourceBindingsResponses, ListMessagesData, ListMessagesErrors, ListMessagesResponses, ListOpenbotDeploymentsData, ListOpenbotDeploymentsErrors, ListOpenbotDeploymentsResponses, ListOrganizationMembersData, ListOrganizationMembersErrors, ListOrganizationMembersResponses, ListOrganizationsData, ListOrganizationsErrors, ListOrganizationsResponses, ListOrganizationTeamGroupsData, ListOrganizationTeamGroupsResponses, ListOrgOidcProvidersData, ListOrgOidcProvidersErrors, ListOrgOidcProvidersResponses, ListPersonalMcpServerInstancesData, ListPersonalMcpServerInstancesErrors, ListPersonalMcpServerInstancesResponses, ListPersonalMemoryBankDocumentsData, ListPersonalMemoryBankDocumentsResponses, ListPersonalMemoryBankOwnershipGrantsData, ListPersonalMemoryBankOwnershipGrantsResponses, ListPersonalMemoryBanksData, ListPersonalMemoryBankSourceBindingsData, ListPersonalMemoryBankSourceBindingsResponses, ListPersonalMemoryBanksResponses, ListPersonalMemoryBankVisibilityGrantsData, ListPersonalMemoryBankVisibilityGrantsResponses, ListPersonalMemorySourceBindingsData, ListPersonalMemorySourceBindingsResponses, ListPersonalRegistryOwnershipGrantsData, ListPersonalRegistryOwnershipGrantsResponses, ListPersonalRegistryVisibilityGrantsData, ListPersonalRegistryVisibilityGrantsResponses, ListPersonalRscOwnershipGrantsData, ListPersonalRscOwnershipGrantsResponses, ListPersonalRscVisibilityGrantsData, ListPersonalRscVisibilityGrantsResponses, ListPersonalSkillOwnershipGrantsData, ListPersonalSkillOwnershipGrantsResponses, ListPersonalSkillRegistriesData, ListPersonalSkillRegistriesResponses, ListPersonalSkillsData, ListPersonalSkillsResponses, ListPersonalSkillVisibilityGrantsData, ListPersonalSkillVisibilityGrantsResponses, ListPersonalToolGroupInstancesData, ListPersonalToolGroupInstancesErrors, ListPersonalToolGroupInstancesResponses, ListPersonalUcOwnershipGrantsData, ListPersonalUcOwnershipGrantsResponses, ListPersonalUcVisibilityGrantsData, ListPersonalUcVisibilityGrantsResponses, ListPersonalWikiOwnershipGrantsData, ListPersonalWikiOwnershipGrantsResponses, ListPersonalWikiPagesData, ListPersonalWikiPagesResponses, ListPersonalWikisData, ListPersonalWikisResponses, ListPersonalWikiVisibilityGrantsData, ListPersonalWikiVisibilityGrantsResponses, ListProviderProvisionerCatalogData, ListProviderProvisionerCatalogResponses, ListProxiedMcpServersData, ListProxiedMcpServersErrors, ListProxiedMcpServersResponses, ListProxiedSkillProvidersData, ListProxiedSkillProvidersResponses, ListProxyTokensData, ListProxyTokensErrors, ListProxyTokensResponses, ListPublicAvailableToolGroupsData, ListPublicAvailableToolGroupsErrors, ListPublicAvailableToolGroupsResponses, ListResourceServerCredentialsData, ListResourceServerCredentialsResponses, ListRscOwnershipGrantsData, ListRscOwnershipGrantsResponses, ListRscVisibilityGrantsData, ListRscVisibilityGrantsResponses, ListSessionInboxInstancesData, ListSessionInboxInstancesErrors, ListSessionInboxInstancesResponses, ListSessionResourceGrantsData, ListSessionResourceGrantsErrors, ListSessionResourceGrantsResponses, ListSessionsData, ListSessionsErrors, ListSessionsResponses, ListSessionUserMembersData, ListSessionUserMembersErrors, ListSessionUserMembersResponses, ListSignalProviderGrantsData, ListSignalProviderGrantsResponses, ListSkillOwnershipGrantsData, ListSkillOwnershipGrantsResponses, ListSkillRegistriesData, ListSkillRegistriesErrors, ListSkillRegistriesResponses, ListSkillRegistryOwnershipGrantsData, ListSkillRegistryOwnershipGrantsResponses, ListSkillRegistrySkillSummariesData, ListSkillRegistrySkillSummariesErrors, ListSkillRegistrySkillSummariesResponses, ListSkillRegistryVisibilityGrantsData, ListSkillRegistryVisibilityGrantsResponses, ListSkillsData, ListSkillsErrors, ListSkillsResponses, ListSkillVisibilityGrantsData, ListSkillVisibilityGrantsResponses, ListTeamGroupMembersData, ListTeamGroupMembersResponses, ListTeamGroupsData, ListTeamGroupsResponses, ListTeamInvitationsData, ListTeamInvitationsResponses, ListTeamMembersData, ListTeamMembersErrors, ListTeamMembersResponses, ListTeamsData, ListTeamsErrors, ListTeamsResponses, ListToolDeploymentsByAliasData, ListToolDeploymentsByAliasErrors, ListToolDeploymentsByAliasResponses, ListToolGroupInstancesData, ListToolGroupInstancesErrors, ListToolGroupInstancesGroupedByToolData, ListToolGroupInstancesGroupedByToolErrors, ListToolGroupInstancesGroupedByToolResponses, ListToolGroupInstancesResponses, ListToolsData, ListToolsErrors, ListToolsResponses, ListTrustedRuntimesData, ListTrustedRuntimesErrors, ListTrustedRuntimesResponses, ListUcOwnershipGrantsData, ListUcOwnershipGrantsResponses, ListUcVisibilityGrantsData, ListUcVisibilityGrantsResponses, ListUserCredentialsData, ListUserCredentialsResponses, ListVerifiedIdentityLinksData, ListVerifiedIdentityLinksErrors, ListVerifiedIdentityLinksResponses, ListVisibleMemoryBanksData, ListVisibleMemoryBanksResponses, ListWikiAssetsData, ListWikiAssetsResponses, ListWikiOntologyInstallationsData, ListWikiOntologyInstallationsResponses, ListWikiOntologyTemplatesData, ListWikiOntologyTemplatesResponses, ListWikiOwnershipGrantsData, ListWikiOwnershipGrantsResponses, ListWikiPageAssetsData, ListWikiPageAssetsResponses, ListWikiPageRelationshipsData, ListWikiPageRelationshipsResponses, ListWikiPageRevisionsData, ListWikiPageRevisionsResponses, ListWikiPagesData, ListWikiPagesResponses, ListWikiPageTypesData, ListWikiPageTypesResponses, ListWikiPageTypeVersionsData, ListWikiPageTypeVersionsResponses, ListWikiRelationshipTypesData, ListWikiRelationshipTypesResponses, ListWikiRelationshipTypeVersionsData, ListWikiRelationshipTypeVersionsResponses, ListWikisData, ListWikisResponses, ListWikiVisibilityGrantsData, ListWikiVisibilityGrantsResponses, McpProtocolDeleteData, McpProtocolDeleteErrors, McpProtocolDeleteResponses, McpProtocolGetData, McpProtocolGetErrors, McpProtocolGetResponses, McpProtocolPostData, McpProtocolPostErrors, McpProtocolPostResponses, McpServerPlaygroundChatData, McpServerPlaygroundChatErrors, McpServerPlaygroundChatResponses, MigrateWikiPageTypeData, MigrateWikiPageTypeErrors, MigrateWikiPageTypeResponses, MoveWikiPageData, MoveWikiPageErrors, MoveWikiPageResponses, ObserveSessionData, ObserveSessionErrors, ObserveSessionResponses, OnboardOrganizationData, OnboardOrganizationErrors, OnboardOrganizationResponses, PersonalMcpProtocolDeleteData, PersonalMcpProtocolDeleteResponses, PersonalMcpProtocolGetData, PersonalMcpProtocolGetResponses, PersonalMcpProtocolPostData, PersonalMcpProtocolPostResponses, PreviewIdentityLinkData, PreviewIdentityLinkResponses, PreviewWikiPageTypeMigrationData, PreviewWikiPageTypeMigrationErrors, PreviewWikiPageTypeMigrationResponses, ProviderProvisioningCallbackData, ProviderProvisioningCallbackResponses, ProviderSetupCatalogData, ProviderSetupCatalogResponses, ProviderSetupResumeData, ProviderSetupResumeResponses, ProviderSetupStartData, ProviderSetupStartResponses, ProvisionIdentityTeamData, ProvisionIdentityTeamResponses, RecallMemoryData, RecallMemoryResponses, RecallPersonalMemoryData, RecallPersonalMemoryResponses, RecallSynthesisSessionMemoryData, RecallSynthesisSessionMemoryResponses, ReconcileOpenbotAgentBundleData, ReconcileOpenbotAgentBundleResponses, RedirectTemporaryAccountClaimPageData, ReflectMemoryData, ReflectMemoryResponses, ReflectPersonalMemoryData, ReflectPersonalMemoryResponses, RefreshCustomToolProviderData, RefreshCustomToolProviderResponses, RefreshProxiedMcpServerData, RefreshProxiedMcpServerErrors, RefreshProxiedMcpServerResponses, RegisterOauthClientData, RegisterOauthClientErrors, RegisterOauthClientResponses, RegisterOpenbotDeploymentData, RegisterOpenbotDeploymentErrors, RegisterOpenbotDeploymentResponses, RegisterTeamOauthClientData, RegisterTeamOauthClientErrors, RegisterTeamOauthClientResponses, RemoveCommonProviderInstallationOwnershipGrantData, RemoveCommonProviderInstallationOwnershipGrantResponses, RemoveCommonProviderInstallationVisibilityGrantData, RemoveCommonProviderInstallationVisibilityGrantResponses, RemoveIdentityIdentifierData, RemoveIdentityIdentifierResponses, RemoveIdentityTeamData, RemoveIdentityTeamResponses, RemoveMcpResourceOwnershipGrantData, RemoveMcpResourceOwnershipGrantResponses, RemoveMcpResourceVisibilityGrantData, RemoveMcpResourceVisibilityGrantResponses, RemoveMcpServerInstanceFunctionData, RemoveMcpServerInstanceFunctionErrors, RemoveMcpServerInstanceFunctionResponses, RemoveMemoryBankOwnershipGrantData, RemoveMemoryBankOwnershipGrantResponses, RemoveMemoryBankVisibilityGrantData, RemoveMemoryBankVisibilityGrantResponses, RemoveOrganizationMemberData, RemoveOrganizationMemberErrors, RemoveOrganizationMemberResponses, RemovePersonalMemoryBankOwnershipGrantData, RemovePersonalMemoryBankOwnershipGrantResponses, RemovePersonalMemoryBankVisibilityGrantData, RemovePersonalMemoryBankVisibilityGrantResponses, RemovePersonalRegistryOwnershipGrantData, RemovePersonalRegistryOwnershipGrantResponses, RemovePersonalRegistryVisibilityGrantData, RemovePersonalRegistryVisibilityGrantResponses, RemovePersonalRscOwnershipGrantData, RemovePersonalRscOwnershipGrantResponses, RemovePersonalRscVisibilityGrantData, RemovePersonalRscVisibilityGrantResponses, RemovePersonalSkillOwnershipGrantData, RemovePersonalSkillOwnershipGrantResponses, RemovePersonalSkillVisibilityGrantData, RemovePersonalSkillVisibilityGrantResponses, RemovePersonalUcOwnershipGrantData, RemovePersonalUcOwnershipGrantResponses, RemovePersonalUcVisibilityGrantData, RemovePersonalUcVisibilityGrantResponses, RemovePersonalWikiOwnershipGrantData, RemovePersonalWikiOwnershipGrantResponses, RemovePersonalWikiVisibilityGrantData, RemovePersonalWikiVisibilityGrantResponses, RemoveRscOwnershipGrantData, RemoveRscOwnershipGrantResponses, RemoveRscVisibilityGrantData, RemoveRscVisibilityGrantResponses, RemoveSessionResourceGrantData, RemoveSessionResourceGrantErrors, RemoveSessionResourceGrantResponses, RemoveSessionUserMemberData, RemoveSessionUserMemberErrors, RemoveSessionUserMemberResponses, RemoveSignalProviderGrantData, RemoveSignalProviderGrantResponses, RemoveSkillOwnershipGrantData, RemoveSkillOwnershipGrantResponses, RemoveSkillRegistryOwnershipGrantData, RemoveSkillRegistryOwnershipGrantResponses, RemoveSkillRegistryVisibilityGrantData, RemoveSkillRegistryVisibilityGrantResponses, RemoveSkillVisibilityGrantData, RemoveSkillVisibilityGrantResponses, RemoveTeamGroupMemberData, RemoveTeamGroupMemberResponses, RemoveTeamMemberData, RemoveTeamMemberErrors, RemoveTeamMemberResponses, RemoveUcOwnershipGrantData, RemoveUcOwnershipGrantResponses, RemoveUcVisibilityGrantData, RemoveUcVisibilityGrantResponses, RemoveWikiOwnershipGrantData, RemoveWikiOwnershipGrantResponses, RemoveWikiVisibilityGrantData, RemoveWikiVisibilityGrantResponses, RenameProxyTokenData, RenameProxyTokenErrors, RenameProxyTokenResponses, ReplaceMemorySourceBindingsData, ReplaceMemorySourceBindingsResponses, ReplacePersonalMemorySourceBindingsData, ReplacePersonalMemorySourceBindingsResponses, ResetMemoryBankConfigData, ResetMemoryBankConfigResponses, ResetPersonalMemoryBankConfigData, ResetPersonalMemoryBankConfigResponses, ResolveIdentityData, ResolveIdentityErrors, ResolveIdentityResponses, ResumeCredentialSetupItemData, ResumeCredentialSetupItemResponses, ResumeProviderAppProvisioningData, ResumeProviderAppProvisioningResponses, ResumeUserCredentialBrokeringData, ResumeUserCredentialBrokeringResponses, RetainMemoryDocumentData, RetainMemoryDocumentResponses, RetainPersonalMemoryDocumentData, RetainPersonalMemoryDocumentResponses, RetainSynthesisSessionMemoryData, RetainSynthesisSessionMemoryResponses, RetryMemorySourceSyncData, RetryMemorySourceSyncResponses, RetryPersonalMemorySourceBindingsData, RetryPersonalMemorySourceBindingsResponses, RetryWikiData, RetryWikiResponses, ReverseProxyAddProfileOwnershipGrantData, ReverseProxyAddProfileOwnershipGrantResponses, ReverseProxyAddProfileVisibilityGrantData, ReverseProxyAddProfileVisibilityGrantResponses, ReverseProxyCreateProfileData, ReverseProxyCreateProfileErrors, ReverseProxyCreateProfileResponses, ReverseProxyDeleteProfileData, ReverseProxyDeleteProfileErrors, ReverseProxyDeleteProfileResponses, ReverseProxyGetProfileData, ReverseProxyGetProfileErrors, ReverseProxyGetProfileResponses, ReverseProxyListProfileOwnershipGrantsData, ReverseProxyListProfileOwnershipGrantsResponses, ReverseProxyListProfilesData, ReverseProxyListProfilesErrors, ReverseProxyListProfilesResponses, ReverseProxyListProfileVisibilityGrantsData, ReverseProxyListProfileVisibilityGrantsResponses, ReverseProxyListProvidersData, ReverseProxyListProvidersResponses, ReverseProxyProxyGetData, ReverseProxyProxyGetResponses, ReverseProxyProxyPostData, ReverseProxyProxyPostResponses, ReverseProxyRemoveProfileOwnershipGrantData, ReverseProxyRemoveProfileOwnershipGrantResponses, ReverseProxyRemoveProfileVisibilityGrantData, ReverseProxyRemoveProfileVisibilityGrantResponses, ReverseProxySetProfileOwnershipData, ReverseProxySetProfileOwnershipResponses, ReverseProxySetProfileVisibilityData, ReverseProxySetProfileVisibilityResponses, ReverseProxyUpdateProfileData, ReverseProxyUpdateProfileErrors, ReverseProxyUpdateProfileResponses, RevokeLocalRuntimeTunnelApiKeyData, RevokeLocalRuntimeTunnelApiKeyErrors, RevokeLocalRuntimeTunnelApiKeyResponses, RevokeProxyTokenData, RevokeProxyTokenErrors, RevokeProxyTokenResponses, RevokeTeamInvitationData, RevokeTeamInvitationResponses, RotateCustomToolProviderSigningKeyData, RotateCustomToolProviderSigningKeyResponses, RouteAuthCallbackData, RouteAuthCallbackErrors, RouteCreateApiKeyData, RouteCreateApiKeyErrors, RouteCreateApiKeyResponses, RouteDeleteApiKeyData, RouteDeleteApiKeyErrors, RouteDeleteApiKeyResponses, RouteGetJwksData, RouteGetJwksErrors, RouteGetJwksResponses, RouteListApiKeysData, RouteListApiKeysErrors, RouteListApiKeysResponses, RouteListDebugAuthProfilesData, RouteListDebugAuthProfilesErrors, RouteListDebugAuthProfilesResponses, RouteLogoutData, RouteRefreshTokenData, RouteRefreshTokenErrors, RouteRefreshTokenResponses, RouteResolveLoginProviderData, RouteResolveLoginProviderErrors, RouteResolveLoginProviderResponses, RouteSelectDebugAuthProfileData, RouteSelectDebugAuthProfileErrors, RouteSelectDebugAuthProfileResponses, RouteStartAuthorizationData, RouteStartAuthorizationErrors, SearchSkillRegistryData, SearchSkillRegistryErrors, SearchSkillRegistryResponses, SetCommonProviderInstallationOwnershipData, SetCommonProviderInstallationOwnershipResponses, SetCommonProviderInstallationVisibilityData, SetCommonProviderInstallationVisibilityResponses, SetMcpResourceOwnershipData, SetMcpResourceOwnershipResponses, SetMcpResourceVisibilityData, SetMcpResourceVisibilityResponses, SetMemoryBankOwnershipModeData, SetMemoryBankOwnershipModeResponses, SetMemoryBankVisibilityData, SetMemoryBankVisibilityResponses, SetPersonalMemoryBankOwnershipModeData, SetPersonalMemoryBankOwnershipModeResponses, SetPersonalMemoryBankVisibilityData, SetPersonalMemoryBankVisibilityResponses, SetPersonalRegistryOwnershipModeData, SetPersonalRegistryOwnershipModeResponses, SetPersonalRegistryVisibilityData, SetPersonalRegistryVisibilityResponses, SetPersonalRscOwnershipData, SetPersonalRscOwnershipResponses, SetPersonalRscVisibilityData, SetPersonalRscVisibilityResponses, SetPersonalSkillOwnershipModeData, SetPersonalSkillOwnershipModeResponses, SetPersonalSkillVisibilityData, SetPersonalSkillVisibilityResponses, SetPersonalUcOwnershipData, SetPersonalUcOwnershipResponses, SetPersonalUcVisibilityData, SetPersonalUcVisibilityResponses, SetPersonalWikiOwnershipModeData, SetPersonalWikiOwnershipModeResponses, SetPersonalWikiVisibilityData, SetPersonalWikiVisibilityResponses, SetRscOwnershipData, SetRscOwnershipResponses, SetRscVisibilityData, SetRscVisibilityResponses, SetSelfOpenbotAvatarData, SetSelfOpenbotAvatarErrors, SetSelfOpenbotAvatarResponses, SetSignalProviderOwnershipData, SetSignalProviderOwnershipResponses, SetSignalProviderVisibilityData, SetSignalProviderVisibilityResponses, SetSkillOwnershipModeData, SetSkillOwnershipModeResponses, SetSkillRegistryOwnershipModeData, SetSkillRegistryOwnershipModeResponses, SetSkillRegistryVisibilityData, SetSkillRegistryVisibilityResponses, SetSkillVisibilityData, SetSkillVisibilityResponses, SetUcOwnershipData, SetUcOwnershipResponses, SetUcVisibilityData, SetUcVisibilityResponses, SetWikiOwnershipModeData, SetWikiOwnershipModeResponses, SetWikiVisibilityData, SetWikiVisibilityResponses, SignalsAddPersonalProviderGrantData, SignalsAddPersonalProviderGrantResponses, SignalsCreatePersonalProviderInstanceData, SignalsCreatePersonalProviderInstanceResponses, SignalsCreateProviderInstanceData, SignalsCreateProviderInstanceResponses, SignalsDeletePersonalProviderInstanceData, SignalsDeletePersonalProviderInstanceResponses, SignalsDeleteProviderInstanceData, SignalsDeleteProviderInstanceResponses, SignalsGetDeliveryData, SignalsGetDeliveryResponses, SignalsGetPersonalDeliveryData, SignalsGetPersonalDeliveryResponses, SignalsGetPersonalProviderInstanceData, SignalsGetPersonalProviderInstanceResponses, SignalsGetProviderInstanceData, SignalsGetProviderInstanceResponses, SignalsListAvailableProvidersData, SignalsListAvailableProvidersResponses, SignalsListDeliveriesData, SignalsListDeliveriesResponses, SignalsListPersonalAvailableProvidersData, SignalsListPersonalAvailableProvidersResponses, SignalsListPersonalDeliveriesData, SignalsListPersonalDeliveriesResponses, SignalsListPersonalProviderGrantsData, SignalsListPersonalProviderGrantsResponses, SignalsListPersonalProviderInstancesData, SignalsListPersonalProviderInstancesResponses, SignalsListProviderInstancesData, SignalsListProviderInstancesResponses, SignalsRemovePersonalProviderGrantData, SignalsRemovePersonalProviderGrantResponses, SignalsRetryDeliveryData, SignalsRetryDeliveryResponses, SignalsRetryPersonalDeliveryData, SignalsRetryPersonalDeliveryResponses, SignalsSetPersonalProviderOwnershipData, SignalsSetPersonalProviderOwnershipResponses, SignalsSetPersonalProviderVisibilityData, SignalsSetPersonalProviderVisibilityResponses, SignalsTriggerFakeData, SignalsTriggerFakeResponses, SignalsUpdatePersonalProviderInstanceData, SignalsUpdatePersonalProviderInstanceResponses, SignalsUpdateProviderInstanceData, SignalsUpdateProviderInstanceResponses, StartCredentialSetupItemData, StartCredentialSetupItemResponses, StartOauthDeviceCodeData, StartOauthDeviceCodeErrors, StartOauthDeviceCodeResponses, StartProviderAppProvisioningData, StartProviderAppProvisioningResponses, StartProxiedMcpServerOauthData, StartProxiedMcpServerOauthErrors, StartProxiedMcpServerOauthResponses, StartUserCredentialBrokeringData, StartUserCredentialBrokeringResponses, StateExportData, StateExportErrors, StateExportResponses, StateGetImportData, StateGetImportResponses, StateImportData, StateImportEventsData, StateImportEventsResponses, StateImportResponses, StatePlanData, StatePlanResponses, StateResolveSourceData, StateResolveSourceErrors, StateResolveSourceResponses, StateSchemaData, StateSchemaJsonData, StateSchemaJsonResponses, StateSchemaResponses, StateValidateData, StateValidateResponses, TildePayPaymentMppData, TildePayPaymentMppResponses, TildePayPaymentX402Data, TildePayPaymentX402Responses, TildePayProvisionData, TildePayProvisionResponses, TildePayWalletCreateData, TildePayWalletCreateResponses, TildePayWalletSummaryData, TildePayWalletSummaryResponses, TildePayWalletWaitUntilBalanceData, TildePayWalletWaitUntilBalanceResponses, TraverseWikiGraphData, TraverseWikiGraphResponses, UnbindToolGroupFromMcpServerData, UnbindToolGroupFromMcpServerErrors, UnbindToolGroupFromMcpServerResponses, UpdateCustomToolProviderData, UpdateCustomToolProviderResponses, UpdateHostedOpenbotComputerImageData, UpdateHostedOpenbotComputerImageErrors, UpdateHostedOpenbotComputerImageResponses, UpdateIdentityData, UpdateIdentityErrors, UpdateIdentityResponses, UpdateManagedUserCredentialData, UpdateManagedUserCredentialResponses, UpdateMcpServerInstanceData, UpdateMcpServerInstanceErrors, UpdateMcpServerInstanceFunctionData, UpdateMcpServerInstanceFunctionErrors, UpdateMcpServerInstanceFunctionResponses, UpdateMcpServerInstanceResponses, UpdateMemoryBankConfigData, UpdateMemoryBankConfigResponses, UpdateMemoryBankData, UpdateMemoryBankResponses, UpdateOrganizationData, UpdateOrganizationErrors, UpdateOrganizationMemberRoleData, UpdateOrganizationMemberRoleErrors, UpdateOrganizationMemberRoleResponses, UpdateOrganizationResponses, UpdateOrgOidcProviderData, UpdateOrgOidcProviderErrors, UpdateOrgOidcProviderResponses, UpdatePersonalMcpServerInstanceData, UpdatePersonalMcpServerInstanceResponses, UpdatePersonalMemoryBankConfigData, UpdatePersonalMemoryBankConfigResponses, UpdatePersonalMemoryBankData, UpdatePersonalMemoryBankResponses, UpdatePersonalSkillData, UpdatePersonalSkillRegistryData, UpdatePersonalSkillRegistryResponses, UpdatePersonalSkillResponses, UpdatePersonalToolGroupInstanceData, UpdatePersonalToolGroupInstanceResponses, UpdatePersonalWikiData, UpdatePersonalWikiPageData, UpdatePersonalWikiPageResponses, UpdatePersonalWikiResponses, UpdateResourceServerCredentialData, UpdateResourceServerCredentialResponses, UpdateSelfProfileData, UpdateSelfProfileErrors, UpdateSelfProfileResponses, UpdateSessionOwnershipData, UpdateSessionOwnershipErrors, UpdateSessionOwnershipResponses, UpdateSessionVisibilityData, UpdateSessionVisibilityErrors, UpdateSessionVisibilityResponses, UpdateSkillData, UpdateSkillErrors, UpdateSkillRegistryData, UpdateSkillRegistryErrors, UpdateSkillRegistryResponses, UpdateSkillResponses, UpdateTeamData, UpdateTeamErrors, UpdateTeamGroupData, UpdateTeamGroupErrors, UpdateTeamGroupResponses, UpdateTeamMemberRoleData, UpdateTeamMemberRoleErrors, UpdateTeamMemberRoleResponses, UpdateTeamResponses, UpdateToolBoundParamsData, UpdateToolBoundParamsErrors, UpdateToolBoundParamsResponses, UpdateToolGroupInstanceData, UpdateToolGroupInstanceErrors, UpdateToolGroupInstanceResponses, UpdateTrustedRuntimeData, UpdateTrustedRuntimeErrors, UpdateTrustedRuntimeResponses, UpdateUserCredentialData, UpdateUserCredentialResponses, UpdateWikiAssetData, UpdateWikiAssetResponses, UpdateWikiData, UpdateWikiPageData, UpdateWikiPageErrors, UpdateWikiPageRelationshipData, UpdateWikiPageRelationshipResponses, UpdateWikiPageResponses, UpdateWikiPageTypeData, UpdateWikiPageTypeErrors, UpdateWikiPageTypeResponses, UpdateWikiRelationshipTypeData, UpdateWikiRelationshipTypeErrors, UpdateWikiRelationshipTypeResponses, UpdateWikiResponses, UploadAttachmentContentData, UploadAttachmentContentErrors, UploadAttachmentContentResponses, UploadHostedOpenbotReleaseFileData, UploadHostedOpenbotReleaseFileErrors, UploadHostedOpenbotReleaseFileResponses, UploadSelfAvatarData, UploadSelfAvatarErrors, UploadSelfAvatarResponses, UploadWikiAssetContentData, UploadWikiAssetContentErrors, UploadWikiAssetContentResponses, UpsertWikiPageRelationshipData, UpsertWikiPageRelationshipErrors, UpsertWikiPageRelationshipResponses, ValidateSynthesisSessionBatchData, ValidateSynthesisSessionBatchResponses, ValidateWikiPageTypeDataData, ValidateWikiPageTypeDataResponses, VerifyOrgOidcProviderDomainData, VerifyOrgOidcProviderDomainErrors, VerifyOrgOidcProviderDomainResponses, WalletCreateData, WalletCreateErrors, WalletCreateResponses, WalletCustomerCreateData, WalletCustomerCreateResponses, WalletCustomerGetData, WalletCustomerGetResponses, WalletCustomerKycGetData, WalletCustomerKycGetResponses, WalletCustomerListData, WalletCustomerListResponses, WalletGetBalancesData, WalletGetBalancesResponses, WalletGetCryptoDepositInformationData, WalletGetCryptoDepositInformationResponses, WalletGetData, WalletGetFiatDepositInformationData, WalletGetFiatDepositInformationResponses, WalletGetResponses, WalletListData, WalletListResponses, WalletMakeMppPaymentData, WalletMakeMppPaymentResponses, WalletMakeX402PaymentData, WalletMakeX402PaymentResponses, WalletTransactionHistoryListData, WalletTransactionHistoryListResponses, WalletTransactionHistoryRefreshData, WalletTransactionHistoryRefreshResponses, WalletVirtualAccountCreateData, WalletVirtualAccountCreateErrors, WalletVirtualAccountCreateResponses, WalletWaitUntilBalanceData, WalletWaitUntilBalanceResponses, WhoamiData, WhoamiErrors, WhoamiResponses } from './types.gen'; export type Options = Options2 & { /** @@ -33,6 +33,16 @@ export const chatkitCompleteSlackProviderProvisionedSetup = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/billing/accounts/{account_id}/enroll', ...options }); + +/** + * Revoke an account seat without deleting its runtime identity or organization membership. + */ +export const billingRemoveAccountSeat = (options: Options): RequestResult => (options.client ?? client).delete({ url: '/api/v1/billing/accounts/{account_id}/seat', ...options }); + /** * Ensure organization AI Gateway * @@ -120,7 +130,7 @@ export const billingContextGet = (options? /** * Enroll current human in a product * - * Creates one deduplicated human Core or Pay seat, synchronizes the exact organization quantity with Autumn, and never bills agent identities. + * An organization administrator explicitly enrolls their login account in Core. Runtime identities never allocate seats. */ export const billingProductEnrollCurrentHuman = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/billing/products/{product_id}/enroll', ...options }); @@ -299,6 +309,231 @@ export const routeRefreshToken = (options? */ export const whoami = (options?: Options): RequestResult => (options?.client ?? client).get({ url: '/api/v1/identity/auth/whoami', ...options }); +/** + * List identities + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const listIdentities = (options?: Options): RequestResult => (options?.client ?? client).get({ + security: [ + { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, + { scheme: 'bearer', type: 'http' }, + { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + } + ], + url: '/api/v1/identity/identities', + ...options +}); + +/** + * Create identity + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const createIdentity = (options: Options): RequestResult => (options.client ?? client).post({ + security: [ + { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, + { scheme: 'bearer', type: 'http' }, + { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + } + ], + url: '/api/v1/identity/identities', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Resolve identity + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const resolveIdentity = (options: Options): RequestResult => (options.client ?? client).post({ + security: [ + { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, + { scheme: 'bearer', type: 'http' }, + { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + } + ], + url: '/api/v1/identity/identities/resolve', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Get identity + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const getIdentity = (options: Options): RequestResult => (options.client ?? client).get({ + security: [ + { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, + { scheme: 'bearer', type: 'http' }, + { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + } + ], + url: '/api/v1/identity/identities/{identity_id}', + ...options +}); + +/** + * Update identity + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const updateIdentity = (options: Options): RequestResult => (options.client ?? client).patch({ + security: [ + { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, + { scheme: 'bearer', type: 'http' }, + { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + } + ], + url: '/api/v1/identity/identities/{identity_id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Remove identity identifier + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const removeIdentityIdentifier = (options: Options): RequestResult => (options.client ?? client).delete({ + security: [ + { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, + { scheme: 'bearer', type: 'http' }, + { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + } + ], + url: '/api/v1/identity/identities/{identity_id}/identifiers', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Create identity link + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const createIdentityLink = (options: Options): RequestResult => (options.client ?? client).post({ + security: [{ name: 'X-Tilde-Proxy-Token', type: 'apiKey' }], + url: '/api/v1/identity/identities/{identity_id}/link-requests', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Provision identity team + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const provisionIdentityTeam = (options: Options): RequestResult => (options.client ?? client).post({ + security: [ + { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, + { scheme: 'bearer', type: 'http' }, + { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + } + ], + url: '/api/v1/identity/identities/{identity_id}/team', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * List identity teams + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const listIdentityTeams = (options: Options): RequestResult => (options.client ?? client).get({ + security: [ + { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, + { scheme: 'bearer', type: 'http' }, + { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + } + ], + url: '/api/v1/identity/identities/{identity_id}/teams', + ...options +}); + +/** + * Remove identity team + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const removeIdentityTeam = (options: Options): RequestResult => (options.client ?? client).delete({ + security: [ + { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, + { scheme: 'bearer', type: 'http' }, + { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + } + ], + url: '/api/v1/identity/identities/{identity_id}/teams/{team_id}', + ...options +}); + +/** + * Add identity team + * + * Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ +export const addIdentityTeam = (options: Options): RequestResult => (options.client ?? client).put({ + security: [ + { name: 'X-Tilde-Proxy-Token', type: 'apiKey' }, + { scheme: 'bearer', type: 'http' }, + { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + } + ], + url: '/api/v1/identity/identities/{identity_id}/teams/{team_id}', + ...options +}); + /** * Accept invitation * @@ -313,6 +548,44 @@ export const acceptInvitation = (options: } }); +/** + * Complete identity link + * + * Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ +export const completeIdentityLink = (options: Options): RequestResult => (options.client ?? client).post({ + security: [{ scheme: 'bearer', type: 'http' }, { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + }], + url: '/api/v1/identity/link-requests/complete', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Preview identity link + * + * Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ +export const previewIdentityLink = (options: Options): RequestResult => (options.client ?? client).post({ + security: [{ scheme: 'bearer', type: 'http' }, { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + }], + url: '/api/v1/identity/link-requests/preview', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + /** * Get local runtime tunnel connector * @@ -378,6 +651,23 @@ export const exchangeOauthCode = (options: } }); +/** + * Create the account's first native organization and team + */ +export const onboardOrganization = (options: Options): RequestResult => (options.client ?? client).post({ + security: [{ scheme: 'bearer', type: 'http' }, { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + }], + url: '/api/v1/identity/onboarding/organization', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + /** * List organizations * @@ -643,6 +933,74 @@ export const setSelfOpenbotAvatar = (optio } }); +/** + * List proxy tokens + * + * Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ +export const listProxyTokens = (options?: Options): RequestResult => (options?.client ?? client).get({ + security: [{ scheme: 'bearer', type: 'http' }, { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + }], + url: '/api/v1/identity/proxy-tokens', + ...options +}); + +/** + * Create proxy token + * + * Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ +export const createProxyToken = (options: Options): RequestResult => (options.client ?? client).post({ + security: [{ scheme: 'bearer', type: 'http' }, { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + }], + url: '/api/v1/identity/proxy-tokens', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Revoke proxy token + * + * Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ +export const revokeProxyToken = (options: Options): RequestResult => (options.client ?? client).delete({ + security: [{ scheme: 'bearer', type: 'http' }, { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + }], + url: '/api/v1/identity/proxy-tokens/{token_id}', + ...options +}); + +/** + * Rename proxy token + * + * Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ +export const renameProxyToken = (options: Options): RequestResult => (options.client ?? client).patch({ + security: [{ scheme: 'bearer', type: 'http' }, { + in: 'cookie', + name: 'tilde_access_token', + type: 'apiKey' + }], + url: '/api/v1/identity/proxy-tokens/{token_id}', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + /** * List organization team groups * @@ -3432,6 +3790,21 @@ export const finalizeHostedOpenbotRelease = (options: Options): RequestResult => (options.client ?? client).post({ + security: [{ name: 'X-Tilde-Proxy-Token', type: 'apiKey' }], + url: '/api/v1/team/{team_id}/identity/realtime-ticket', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + /** * List typed managed user credentials * @@ -5271,6 +5644,83 @@ export const stateValidate = (options: Opt } }); +/** + * Provision Tilde Pay + * + * Idempotently enroll billing, create a customer when details are supplied, create a wallet after KYC, configure the wallet MCP server and tools, and optionally configure browser tools when enabled. + */ +export const tildePayProvision = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/tilde-pay/onboarding', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Make MPP payment + * + * Make an MPP payment from a Tilde Pay wallet. + */ +export const tildePayPaymentMpp = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/tilde-pay/payments/mpp', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Make x402 payment + * + * Make an x402 payment from a Tilde Pay wallet. + */ +export const tildePayPaymentX402 = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/tilde-pay/payments/x402', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Get Tilde Pay wallet summary + * + * Return wallet, balances, fiat deposit information, and crypto deposit information for Tilde Pay. + */ +export const tildePayWalletSummary = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/tilde-pay/wallet', ...options }); + +/** + * Create Tilde Pay wallet + * + * Create a Tilde Pay wallet after KYC and return product-shaped wallet details. + */ +export const tildePayWalletCreate = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/tilde-pay/wallet', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Wait for Tilde Pay balance + * + * Poll wallet balances until the requested asset reaches the requested minimum. + */ +export const tildePayWalletWaitUntilBalance = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/tilde-pay/wallet/wait-until-balance', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + /** * List trusted runtimes * @@ -5320,6 +5770,160 @@ export const updateTrustedRuntime = (optio } }); +/** + * List wallets + * + * List wallets for the current org/team. + */ +export const walletList = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet', ...options }); + +/** + * Create wallet + * + * Create a Tilde wallet by provisioning a Privy EVM wallet, Compose virtual IBAN, and Compose crypto deposit wallet. + */ +export const walletCreate = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/wallet', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * List wallet customers + * + * List wallet customers for the current org/team. + */ +export const walletCustomerList = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/customer', ...options }); + +/** + * Create wallet customer + * + * Create a Compose customer and return a KYC verification link for wallet onboarding. + */ +export const walletCustomerCreate = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/wallet/customer', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Get wallet customer + * + * Get a wallet customer by local id. + */ +export const walletCustomerGet = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/customer/{customer_id}', ...options }); + +/** + * Get wallet customer KYC details + * + * Return the stored Compose KYC verification status and KYC flow URL for a wallet customer. + */ +export const walletCustomerKycGet = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/customer/{customer_id}/kyc', ...options }); + +/** + * Get wallet + * + * Get a wallet by id. + */ +export const walletGet = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}', ...options }); + +/** + * Get wallet balances + * + * Refresh and return Compose balances for this wallet. + */ +export const walletGetBalances = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}/balances', ...options }); + +/** + * Get wallet crypto deposit information + * + * Return crypto deposit information for this wallet. + */ +export const walletGetCryptoDepositInformation = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/crypto', ...options }); + +/** + * Get wallet fiat deposit information + * + * Refresh and return Compose fiat deposit information for this wallet. + */ +export const walletGetFiatDepositInformation = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/fiat', ...options }); + +/** + * Make MPP payment + * + * Make an MPP payment from the wallet using the configured payment adapter. + */ +export const walletMakeMppPayment = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/payments/mpp', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Make x402 payment + * + * Make an x402 payment from the wallet using the configured payment adapter. + */ +export const walletMakeX402Payment = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/payments/x402', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * List wallet transaction history + * + * Return cached transaction history for this wallet without scanning the chain. + */ +export const walletTransactionHistoryList = (options: Options): RequestResult => (options.client ?? client).get({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history', ...options }); + +/** + * Refresh wallet transaction history + * + * Scan configured chains for wallet-linked USDC transfers and upsert cached transaction history. + */ +export const walletTransactionHistoryRefresh = (options: Options): RequestResult => (options.client ?? client).post({ url: '/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history/refresh', ...options }); + +/** + * Create wallet virtual account + * + * Create a currency-denominated Compose virtual account for an existing wallet. + */ +export const walletVirtualAccountCreate = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/virtual-account', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + +/** + * Wait until wallet balance + * + * Poll the local wallet balance cache until an asset reaches the requested minimum. + */ +export const walletWaitUntilBalance = (options: Options): RequestResult => (options.client ?? client).post({ + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/wait-until-balance', + ...options, + headers: { + 'Content-Type': 'application/json', + ...options.headers + } +}); + /** * List wiki ontology templates * diff --git a/packages/api-client/src/generated/types.gen.ts b/packages/api-client/src/generated/types.gen.ts index 76c7ff60..90f63b75 100644 --- a/packages/api-client/src/generated/types.gen.ts +++ b/packages/api-client/src/generated/types.gen.ts @@ -9,6 +9,26 @@ export type AcceptInvitationRequest = { password: string; }; +/** + * Canonical tenant destination after accepting an invitation with a login account. + */ +export type AcceptInvitationResponse = { + identity_id: string; + invitation: UserInvitation; + org_id: string; + team_id: string; +}; + +/** + * Explicit login-account membership, independent of runtime identity availability. + */ +export type AccountOrganizationMembership = { + account_id: string; + name: string; + organization_id: string; + role: string; +}; + /** * Request body for adding a participant to a ChatKit session. */ @@ -506,12 +526,10 @@ export type BillingContext = { }; /** - * A separately billed Tilde product whose access is evaluated per organization. + * The Core subscription whose access is evaluated per organization. */ export enum BillingProductId { - TILDE_CORE = 'tilde_core', - TILDE_PAY = 'tilde_pay', - ASH = 'ash' + TILDE_CORE = 'tilde_core' } export type BrokerAction = { @@ -1483,10 +1501,16 @@ export type ClaimTemporaryAccountResponse = { }; export type CloudWhoamiResponse = { + account_organizations?: Array; groups: Array; identity: Identity; local_runtime_tunnel_domain: string; local_runtime_tunnel_origin: string; + /** + * True after explicit first-organization creation, even if that org was removed. + * A membership-less completed account needs invitation/link recovery, not replay. + */ + organization_onboarding_completed?: boolean | null; organizations: Array; teams: Array; }; @@ -1913,6 +1937,17 @@ export type CreateHumanApprovalActionResponse = { token: string; }; +export type CreateIdentityLinkRequest = { + delivery?: null | IdentityLinkDelivery; + return_url?: string | null; +}; + +export type CreateIdentityRequest = { + display_name?: string | null; + identifiers?: Array; + kind: UserType; +}; + export type CreateManagedUserCredentialBody = { /** * Allow Browser form filling to enumerate this credential. @@ -2004,6 +2039,12 @@ export type CreatePageTypeVersionBody = { schema: unknown; }; +export type CreatePayWalletRequest = { + name: string; + owner_id?: string | null; + wallet_customer_id: string; +}; + export type CreatePersonalToolGroupInstanceBody = { authorization?: ResourceAuthorizationModes; credential_source_type_id: string; @@ -2019,6 +2060,13 @@ export type CreatePersonalToolGroupInstanceBody = { user_credential_id?: null | WrappedUuidV4; }; +export type CreateProxyTokenRequest = { + allowed_return_urls?: Array; + capabilities?: Array; + expires_at?: null | WrappedChronoDateTime; + name: string; +}; + export type CreateRelationshipTypeBody = { description?: string; directionality: RelationshipDirectionality; @@ -2350,6 +2398,22 @@ export type CreateUserCredentialParamsInner = { user_credential_configuration: WrappedJsonValue; }; +export type CreateWalletBody = { + name: string; + owner_id?: string | null; + wallet_customer_id: string; +}; + +export type CreateWalletCustomerBody = { + account_type?: string; + name: string; + owner_id?: string | null; +}; + +export type CreateWalletVirtualAccountBody = { + currency: string; +}; + export type CreateWikiAssetBody = { alt_text?: string | null; checksum?: string | null; @@ -2372,6 +2436,17 @@ export type CreateWikiInner = { name: string; }; +export type CreatedIdentityLink = { + expires_at: WrappedChronoDateTime; + id: string; + url: string; +}; + +export type CreatedProxyToken = { + secret: string; + token: OrgProxyToken; +}; + /** * Typed relationship established after a state-import credential is configured. */ @@ -2927,6 +3002,20 @@ export type DelegateAgentJobRequestInner = { objective: string; }; +/** + * A runtime actor authenticated by an organization application credential. + * Credential authority remains separate from the actor's own groups. + */ +export type DelegatedIdentity = { + email?: string | null; + groups: Array; + kind: UserType; + org_id: string; + proxy_token_id: string; + sub: string; + team_id?: string | null; +}; + export type DeleteChatKitAgentTurnQueueItemResponse = { deleted: boolean; }; @@ -2981,6 +3070,16 @@ export type DeploymentEnvironmentFile = { filename: string; }; +export type DirectTokenPayment = { + amount: string; + asset?: string; + chain?: string; + destination_address: string; + destination_asset?: string | null; + destination_chain?: string | null; + slippage_bps?: number | null; +}; + /** * Selects one package file for a lazy download URL. */ @@ -3150,6 +3249,29 @@ export type GetAttachmentDownloadUrlResponse = { expires_at: WrappedChronoDateTime; }; +export type GetBalancesResponse = { + balances: WrappedJsonValue; + wallet_id: string; +}; + +export type GetCryptoDepositInformationResponse = { + crypto: WrappedJsonValue; + wallet_id: string; +}; + +export type GetFiatDepositInformationResponse = { + currency: string; + fiat: WrappedJsonValue; + wallet_id: string; +}; + +export type GetWalletCustomerKycResponse = { + compose_customer_id: string; + kyc_flow_link?: string | null; + kyc_verified: boolean; + wallet_customer_id: string; +}; + /** * Durable desired outcome owned by one explicit agent in one conversation. */ @@ -3506,6 +3628,14 @@ export enum HostedOpenBotTarget { * Represents a real user that authenticated via STS/OAuth token. */ export type Human = { + /** + * Administrative account roles, separate from the runtime actor's resource groups. + */ + account_groups?: Array; + /** + * Login account that authenticated this runtime actor. Human-owned API keys have no account session. + */ + account_id?: string | null; /** * Email address of the user (if available from token) */ @@ -3660,7 +3790,9 @@ export type HydrateConvertedMessagesResponse = { * This is the result of authentication and is used throughout the system * for authorization decisions. */ -export type Identity = (Agent & { +export type Identity = (DelegatedIdentity & { + type: 'delegated'; +}) | (Agent & { type: 'agent'; }) | (Human & { type: 'human'; @@ -3668,6 +3800,29 @@ export type Identity = (Agent & { type: 'unauthenticated'; }; +export type IdentityClaimRequest = { + claim: string; +}; + +export type IdentityIdentifier = { + namespace: string; + value: string; +}; + +export type IdentityLinkDelivery = { + address: string; + type: string; +}; + +export type IdentityLinkPreview = { + account_email?: string | null; + application_name: string; + display_name?: string | null; + expires_at: WrappedChronoDateTime; + identity_id: string; + org_id: string; +}; + /** * Tenant a linked address routes to when it arrives on a shared channel. */ @@ -3680,6 +3835,27 @@ export type IdentityLinkRoute = { team_id: string; }; +export type IdentityTeam = { + identity_id: string; + org_id: string; + team_id: string; +}; + +/** + * Runtime membership only; this record never grants a login-account role. + */ +export type IdentityTeamMembership = { + identity_id: string; + org_id: string; + role: string; + team_id: string; +}; + +export type IdentityTeamMembershipPaginatedResponse = { + items: Array; + next_page_token?: string; +}; + /** * One pending or completed challenge. The code hash is never on the wire. */ @@ -4033,6 +4209,12 @@ export type LinkTeamIdentityRequestInner = { user_id: string; }; +export type LinkedIdentity = { + identity_id: string; + org_id: string; + return_url?: string | null; +}; + export type ListApiKeysResponse = { items: Array; next_page_token?: string | null; @@ -4097,6 +4279,88 @@ export type LoginProviderResolution = { type: 'custom_oidc'; }; +export type MakeMppPaymentRequest = { + body?: unknown; + headers?: { + [key: string]: string; + }; + max_amount?: string | null; + max_amount_atomic?: string | null; + method?: string | null; + payment?: null | DirectTokenPayment; + preferred_assets?: Array; + /** + * Payment-channel contract addresses the caller explicitly permits. + * Stateful methods that sign a server-selected channel, such as the + * Stellar `channel` intent, require this pin on their first use. A + * validated `session_snapshot` pins subsequent requests. + */ + preferred_channels?: Array; + preferred_networks?: Array; + preferred_recipients?: Array; + /** + * Session lifecycle action (`open`, `voucher`, `commit`, `topUp`, or + * `close`). Omit to open when no snapshot is supplied and voucher + * otherwise. + */ + session_action?: string | null; + /** + * Incremental session amount in atomic units. Required for voucher and + * commit actions unless the challenge pins an increment. + */ + session_amount_atomic?: string | null; + /** + * Delivery identifier required by a metered `commit` action. + */ + session_delivery_id?: string | null; + session_snapshot?: null | PaymentSessionSnapshot; + /** + * Preferred method-specific settlement mode. Methods that negotiate + * client versus server broadcast currently accept `push` or `pull`. + */ + settlement_mode?: string | null; + /** + * Payment transport. Defaults to `http`; use `mcp` for MCP's nested + * payment metadata or `jsonrpc` for the generic root `_meta` binding. + * Tempo session challenges also support `sse` and `websocket` (`ws`) for + * metered streaming with in-band voucher and receipt handling. + */ + transport?: string | null; + url: string; + wallet_id: string; +}; + +export type MakeX402PaymentRequest = { + body?: unknown; + headers?: { + [key: string]: string; + }; + max_amount?: string | null; + max_amount_atomic?: string | null; + method?: string | null; + payment?: null | DirectTokenPayment; + preferred_assets?: Array; + preferred_networks?: Array; + preferred_recipients?: Array; + /** + * Stateful scheme action (`open`, `voucher`, or `refund`). Omit to open + * when no snapshot is supplied and voucher otherwise. + */ + session_action?: string | null; + /** + * Incremental amount for voucher/close actions, in atomic units. + */ + session_amount_atomic?: string | null; + session_snapshot?: null | PaymentSessionSnapshot; + /** + * Payment transport. Defaults to `http`; use `mcp` when `body` is the + * JSON-RPC MCP tool-call request that should be retried with x402 metadata. + */ + transport?: string | null; + url: string; + wallet_id: string; +}; + export type ManagedSkillSelection = { provider_id: string; skill_ids: Array; @@ -4647,6 +4911,17 @@ export type MoveWikiPageBody = { path: string; }; +export type OnboardOrganizationRequest = { + name: string; + team_name: string; +}; + +export type OnboardOrganizationResponse = { + identity_id: string; + org_id: string; + team_id: string; +}; + /** * A page type bundled by an ontology template. */ @@ -4738,6 +5013,25 @@ export enum OrgOidcProviderStatus { DISABLED = 'disabled' } +export type OrgProxyToken = { + allowed_return_urls: Array; + capabilities: Array; + created_at: WrappedChronoDateTime; + created_by_account_id: string; + expires_at?: null | WrappedChronoDateTime; + id: string; + last_used_at?: null | WrappedChronoDateTime; + name: string; + org_id: string; + revoked_at?: null | WrappedChronoDateTime; + token_prefix: string; +}; + +export type OrgProxyTokenPaginatedResponse = { + items: Array; + next_page_token?: string; +}; + export type Organization = { /** * Browser app origin (for example `https://heyash.ai/app`) that owns links Tilde generates @@ -4766,6 +5060,10 @@ export type OrganizationAiCreditContext = { }; export type OrganizationMemberWithUser = { + /** + * Enabled Tilde login account linked to this runtime identity, when present. + */ + account_id?: string | null; membership: UserOrganization; user: User; }; @@ -4813,6 +5111,72 @@ export enum PartState { DONE = 'done' } +export enum PayOnboardingStep { + ENTER_DETAILS = 'enter_details', + COMPLETE_KYC = 'complete_kyc', + READY = 'ready' +} + +export type PayPaymentRequest = { + body?: unknown; + headers?: { + [key: string]: string; + }; + max_amount?: string | null; + max_amount_atomic?: string | null; + method?: string | null; + payment?: null | DirectTokenPayment; + preferred_assets?: Array; + preferred_channels?: Array; + preferred_networks?: Array; + preferred_recipients?: Array; + session_action?: string | null; + session_amount_atomic?: string | null; + session_delivery_id?: string | null; + session_snapshot?: null | PaymentSessionSnapshot; + settlement_mode?: string | null; + transport?: string | null; + url: string; + wallet_id: string; +}; + +export type PayWalletSummaryError = { + field: string; + message: string; +}; + +export type PayWalletSummaryResponse = { + balances?: null | GetBalancesResponse; + crypto_deposit?: null | GetCryptoDepositInformationResponse; + fiat_deposit?: null | GetFiatDepositInformationResponse; + summary_errors?: Array; + wallet?: null | Wallet; +}; + +export type PaymentResponse = { + protocol: string; + response: WrappedJsonValue; + wallet_id: string; +}; + +/** + * Opaque-enough client state needed to safely resume a stateful payment + * scheme after a process restart. Every field is authenticated again against + * the next server challenge before it is used. + */ +export type PaymentSessionSnapshot = { + authorized_signer: string; + channel_id: string; + cumulative_amount: string; + deposit_amount: string; + expires_at: number; + metadata?: unknown; + method: string; + network: string; + nonce: number; + protocol: string; +}; + export type PersonalMcpServerInstanceSerialized = { agent_id?: string | null; authorization?: ResourceAuthorizationModes; @@ -5253,6 +5617,30 @@ export type ProvisionAgentRequest = { skill_registry?: null | SkillRegistrySpec; }; +export type ProvisionIdentityTeamRequest = { + name: string; +}; + +export type ProvisionPayBrowserResponse = { + browser_definition_id: string; + enabled_tool_ids: Array; +}; + +export type ProvisionTildePayRequest = { + account_type?: string | null; + name?: string | null; + owner_id?: string | null; +}; + +export type ProvisionTildePayResponse = { + browser?: null | ProvisionPayBrowserResponse; + customer?: null | WalletCustomer; + kyc?: null | GetWalletCustomerKycResponse; + mcp?: null | SetupPayMcpResponse; + next_step: PayOnboardingStep; + wallet?: null | Wallet; +}; + /** * App credentials and metadata created by a provider provisioner. */ @@ -5488,6 +5876,13 @@ export type RefreshTokenRequest = { refresh_token?: string | null; }; +export type RefreshWalletTransactionHistoryResponse = { + inserted_or_updated: number; + linked_transactions: number; + scanned_chains: Array; + wallet_id: string; +}; + export type RegisterAgentTool = { display_name: string; identity_snapshot?: null | WrappedJsonValue; @@ -5668,6 +6063,10 @@ export type RenameChatKitWorkspaceThreadRequestInner = { title: string; }; +export type RenameProxyTokenRequest = { + name: string; +}; + export type ReorderChatKitAgentTurnQueueItemRequestInner = { queue_position: number; }; @@ -6108,13 +6507,27 @@ export type RuntimeConfig = { debug_auth_profiles_enabled: boolean; org_context_in_header: boolean; posthog_api_host: string; - posthog_product: BillingProductId; + posthog_product: string; posthog_project_id: string; posthog_project_key: string; sentry_dsn: string; sentry_react_dsn?: string | null; }; +export type RuntimeIdentity = { + disabled: boolean; + display_name?: string | null; + id: string; + identifiers: Array; + kind: UserType; + org_id: string; +}; + +export type RuntimeIdentityPaginatedResponse = { + items: Array; + next_page_token?: string; +}; + export type SelectDebugAuthProfileRequest = { profile: string; }; @@ -6386,6 +6799,13 @@ export type SetResourceAccessModeRequest = { mode: ResourceAccessMode; }; +export type SetupPayMcpResponse = { + enabled_tool_ids: Array; + mcp_path: string; + mcp_server_id: string; + tool_group_instance_id: string; +}; + export type SignalAction = { agent_inbox_id: string; agent_inbox_instance_id?: string | null; @@ -7576,6 +7996,12 @@ export type UpdateHttpVercelAiSdkAgentRequestInner = { timeout_ms?: number | null; }; +export type UpdateIdentityRequest = { + disabled?: boolean | null; + display_name?: string | null; + identifiers?: Array; +}; + export type UpdateManagedUserCredentialBody = { /** * Allow Browser form filling to enumerate this credential. @@ -8046,53 +8472,180 @@ export enum VerifiedIdentityLinkSource { ADMIN = 'admin' } -/** - * Safe public metadata for a webhook signing key. Secret material is omitted. - */ -export type WebhookSigningKeyMetadata = { +export type WaitForPayBalanceRequest = { + asset: string; + minimum_amount: number; + poll_interval_secs?: number | null; + timeout_secs?: number | null; + wallet_id: string; +}; + +export type WaitUntilBalanceRequest = { + asset: string; + minimum_amount: number; + poll_interval_secs?: number; + timeout_secs?: number; + wallet_id: string; +}; + +export type WaitUntilBalanceResponse = { + observed_amount: number; + satisfied: boolean; + wallet_id: string; +}; + +export type Wallet = { + cached_compose_balances?: null | WrappedJsonValue; + compose_customer_id: string; + compose_deposit_chain: string; + compose_deposit_currency: string; + compose_deposit_wallet_id?: string | null; created_at: WrappedChronoDateTime; id: string; - key_prefix: string; - last_used_at?: null | WrappedChronoDateTime; + last_compose_sync_at?: null | WrappedChronoDateTime; + name: string; + org_id: string; + owner_id?: string | null; + privy_evm_address: string; + privy_wallet_id: string; status: string; + team_id: string; updated_at: WrappedChronoDateTime; + wallet_customer_id: string; }; -export type Wiki = { - agent_id?: string | null; - authorization?: ResourceAuthorizationModes; +export type WalletCustomer = { + account_type: string; + compose_customer_id: string; + compose_customer_payload: WrappedJsonValue; + compose_kyc_payload?: null | WrappedJsonValue; created_at: WrappedChronoDateTime; - created_by_user_id?: string | null; - id: WrappedUuidV4; + id: string; + kyc_flow_link?: string | null; + kyc_verified: boolean; name: string; org_id: string; - status: WikiStatus; - status_message?: string | null; - team_id?: string | null; - tool_group_instance_id?: string | null; + owner_id?: string | null; + team_id: string; updated_at: WrappedChronoDateTime; }; -export type WikiAsset = { - actor_id: string; - alt_text?: string | null; - checksum?: string | null; - created_at: WrappedChronoDateTime; - filename: string; - folder_path: string; - id: WrappedUuidV4; - media_type: string; - size_bytes?: number | null; - stable_uri: string; - status: WikiAssetStatus; - status_message?: string | null; - title?: string | null; - updated_at: WrappedChronoDateTime; - wiki_id: WrappedUuidV4; +export type WalletCustomerPaginatedResponse = { + items: Array; + next_page_token?: string; }; -export type WikiAssetDownloadResponse = { - asset: WikiAsset; +export type WalletMerchant = { + created_at: WrappedChronoDateTime; + favicon_url?: string | null; + icon_fetched_at?: null | WrappedChronoDateTime; + icon_media_type?: string | null; + icon_sha256?: string | null; + id: string; + merchant_url: string; + name?: string | null; + org_id: string; + origin: string; + raw_metadata: WrappedJsonValue; + team_id: string; + updated_at: WrappedChronoDateTime; +}; + +export type WalletPaginatedResponse = { + items: Array; + next_page_token?: string; +}; + +export type WalletTransactionHistoryItem = { + amount?: string | null; + amount_decimals?: number | null; + amount_raw?: string | null; + asset?: string | null; + chain?: string | null; + counterparty_address?: string | null; + created_at: WrappedChronoDateTime; + direction: string; + id: string; + item_type: string; + merchant?: null | WalletMerchant; + merchant_id?: string | null; + occurred_at: WrappedChronoDateTime; + org_id: string; + raw_payload: WrappedJsonValue; + scanned_at?: null | WrappedChronoDateTime; + status: string; + team_id: string; + updated_at: WrappedChronoDateTime; + wallet_id: string; +}; + +export type WalletTransactionHistoryItemPaginatedResponse = { + items: Array; + next_page_token?: string; +}; + +export type WalletVirtualAccount = { + cached_compose_deposit_info?: null | WrappedJsonValue; + compose_customer_id: string; + compose_virtual_account_id: string; + created_at: WrappedChronoDateTime; + currency: string; + id: string; + org_id: string; + status?: string | null; + team_id: string; + updated_at: WrappedChronoDateTime; + wallet_customer_id: string; + wallet_id: string; +}; + +/** + * Safe public metadata for a webhook signing key. Secret material is omitted. + */ +export type WebhookSigningKeyMetadata = { + created_at: WrappedChronoDateTime; + id: string; + key_prefix: string; + last_used_at?: null | WrappedChronoDateTime; + status: string; + updated_at: WrappedChronoDateTime; +}; + +export type Wiki = { + agent_id?: string | null; + authorization?: ResourceAuthorizationModes; + created_at: WrappedChronoDateTime; + created_by_user_id?: string | null; + id: WrappedUuidV4; + name: string; + org_id: string; + status: WikiStatus; + status_message?: string | null; + team_id?: string | null; + tool_group_instance_id?: string | null; + updated_at: WrappedChronoDateTime; +}; + +export type WikiAsset = { + actor_id: string; + alt_text?: string | null; + checksum?: string | null; + created_at: WrappedChronoDateTime; + filename: string; + folder_path: string; + id: WrappedUuidV4; + media_type: string; + size_bytes?: number | null; + stable_uri: string; + status: WikiAssetStatus; + status_message?: string | null; + title?: string | null; + updated_at: WrappedChronoDateTime; + wiki_id: WrappedUuidV4; +}; + +export type WikiAssetDownloadResponse = { + asset: WikiAsset; download_url: string; expires_at: WrappedChronoDateTime; }; @@ -8361,6 +8914,49 @@ export type ChatkitCompleteSlackProviderProvisionedSetupResponses = { export type ChatkitCompleteSlackProviderProvisionedSetupResponse = ChatkitCompleteSlackProviderProvisionedSetupResponses[keyof ChatkitCompleteSlackProviderProvisionedSetupResponses]; +export type BillingEnrollAccountData = { + body?: never; + path: { + account_id: string; + }; + query?: never; + url: '/api/v1/billing/accounts/{account_id}/enroll'; +}; + +export type BillingEnrollAccountErrors = { + 402: Error; + 403: Error; +}; + +export type BillingEnrollAccountError = BillingEnrollAccountErrors[keyof BillingEnrollAccountErrors]; + +export type BillingEnrollAccountResponses = { + 200: BillingContext; +}; + +export type BillingEnrollAccountResponse = BillingEnrollAccountResponses[keyof BillingEnrollAccountResponses]; + +export type BillingRemoveAccountSeatData = { + body?: never; + path: { + account_id: string; + }; + query?: never; + url: '/api/v1/billing/accounts/{account_id}/seat'; +}; + +export type BillingRemoveAccountSeatErrors = { + 403: Error; +}; + +export type BillingRemoveAccountSeatError = BillingRemoveAccountSeatErrors[keyof BillingRemoveAccountSeatErrors]; + +export type BillingRemoveAccountSeatResponses = { + 204: void; +}; + +export type BillingRemoveAccountSeatResponse = BillingRemoveAccountSeatResponses[keyof BillingRemoveAccountSeatResponses]; + export type BillingAiGatewayEnsureData = { body?: never; path?: never; @@ -8551,7 +9147,7 @@ export type BillingProductEnrollCurrentHumanData = { body?: never; path: { /** - * tilde_core or tilde_pay + * tilde_core */ product_id: string; }; @@ -9157,369 +9753,736 @@ export type WhoamiResponses = { export type WhoamiResponse = WhoamiResponses[keyof WhoamiResponses]; -export type AcceptInvitationData = { - body: AcceptInvitationRequest; +export type ListIdentitiesData = { + body?: never; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; path?: never; - query?: never; - url: '/api/v1/identity/invitations/accept'; + query?: { + /** + * Page size; defaults to 50 and is clamped to 1..100 + */ + page_size?: number; + /** + * Opaque cursor returned by the previous page + */ + next_page_token?: string; + }; + url: '/api/v1/identity/identities'; }; -export type AcceptInvitationErrors = { +export type ListIdentitiesErrors = { + 401: Error; 403: Error; }; -export type AcceptInvitationError = AcceptInvitationErrors[keyof AcceptInvitationErrors]; +export type ListIdentitiesError = ListIdentitiesErrors[keyof ListIdentitiesErrors]; -export type AcceptInvitationResponses = { - 200: UserInvitation; +export type ListIdentitiesResponses = { + 200: RuntimeIdentityPaginatedResponse; }; -export type AcceptInvitationResponse = AcceptInvitationResponses[keyof AcceptInvitationResponses]; +export type ListIdentitiesResponse = ListIdentitiesResponses[keyof ListIdentitiesResponses]; -export type GetLocalRuntimeTunnelConnectorData = { - body?: never; +export type CreateIdentityData = { + body: CreateIdentityRequest; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; path?: never; query?: never; - url: '/api/v1/identity/local-runtime/tunnel-connector'; + url: '/api/v1/identity/identities'; }; -export type GetLocalRuntimeTunnelConnectorErrors = { - /** - * Unauthorized - */ +export type CreateIdentityErrors = { 401: Error; - /** - * Local runtime tunnels unavailable - */ - 503: Error; + 403: Error; }; -export type GetLocalRuntimeTunnelConnectorError = GetLocalRuntimeTunnelConnectorErrors[keyof GetLocalRuntimeTunnelConnectorErrors]; +export type CreateIdentityError = CreateIdentityErrors[keyof CreateIdentityErrors]; -export type GetLocalRuntimeTunnelConnectorResponses = { - /** - * Cloudflare tunnel connector token - */ - 200: LocalRuntimeTunnelConnector; +export type CreateIdentityResponses = { + 200: RuntimeIdentity; }; -export type GetLocalRuntimeTunnelConnectorResponse = GetLocalRuntimeTunnelConnectorResponses[keyof GetLocalRuntimeTunnelConnectorResponses]; +export type CreateIdentityResponse = CreateIdentityResponses[keyof CreateIdentityResponses]; -export type AuthorizeOauthDeviceCodeData = { - body?: never; - path?: never; - query: { - user_code: string; +export type ResolveIdentityData = { + body: IdentityIdentifier; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; }; - url: '/api/v1/identity/oauth/device/authorize'; + path?: never; + query?: never; + url: '/api/v1/identity/identities/resolve'; }; -export type AuthorizeOauthDeviceCodeErrors = { - /** - * Authentication failed - */ +export type ResolveIdentityErrors = { 401: Error; - /** - * Device code not found - */ - 404: Error; + 403: Error; }; -export type AuthorizeOauthDeviceCodeError = AuthorizeOauthDeviceCodeErrors[keyof AuthorizeOauthDeviceCodeErrors]; +export type ResolveIdentityError = ResolveIdentityErrors[keyof ResolveIdentityErrors]; -export type AuthorizeOauthDeviceCodeResponses = { - /** - * Device authorization approved - */ - 200: unknown; +export type ResolveIdentityResponses = { + 200: RuntimeIdentity; }; -export type StartOauthDeviceCodeData = { - body: StartOAuthDeviceCodeBody; - path?: never; +export type ResolveIdentityResponse = ResolveIdentityResponses[keyof ResolveIdentityResponses]; + +export type GetIdentityData = { + body?: never; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path: { + /** + * Identity id + */ + identity_id: string; + }; query?: never; - url: '/api/v1/identity/oauth/device/code'; + url: '/api/v1/identity/identities/{identity_id}'; }; -export type StartOauthDeviceCodeErrors = { - /** - * Invalid request - */ - 400: Error; - /** - * Unsupported client - */ +export type GetIdentityErrors = { 401: Error; + 403: Error; }; -export type StartOauthDeviceCodeError = StartOauthDeviceCodeErrors[keyof StartOauthDeviceCodeErrors]; +export type GetIdentityError = GetIdentityErrors[keyof GetIdentityErrors]; -export type StartOauthDeviceCodeResponses = { - /** - * Device authorization created - */ - 200: StartOAuthDeviceCodeResult; +export type GetIdentityResponses = { + 200: RuntimeIdentity; }; -export type StartOauthDeviceCodeResponse = StartOauthDeviceCodeResponses[keyof StartOauthDeviceCodeResponses]; +export type GetIdentityResponse = GetIdentityResponses[keyof GetIdentityResponses]; -export type RegisterOauthClientData = { - body: RegisterOAuthClientRequest; - path?: never; +export type UpdateIdentityData = { + body: UpdateIdentityRequest; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path: { + /** + * Identity id + */ + identity_id: string; + }; query?: never; - url: '/api/v1/identity/oauth/register'; + url: '/api/v1/identity/identities/{identity_id}'; }; -export type RegisterOauthClientErrors = { - /** - * Invalid registration request - */ - 400: Error; - /** - * Internal server error - */ - 500: Error; +export type UpdateIdentityErrors = { + 401: Error; + 403: Error; }; -export type RegisterOauthClientError = RegisterOauthClientErrors[keyof RegisterOauthClientErrors]; +export type UpdateIdentityError = UpdateIdentityErrors[keyof UpdateIdentityErrors]; -export type RegisterOauthClientResponses = { - /** - * OAuth client registered - */ - 201: RegisterOAuthClientResponse; +export type UpdateIdentityResponses = { + 200: RuntimeIdentity; }; -export type RegisterOauthClientResponse = RegisterOauthClientResponses[keyof RegisterOauthClientResponses]; +export type UpdateIdentityResponse = UpdateIdentityResponses[keyof UpdateIdentityResponses]; -export type ExchangeOauthCodeData = { - body: ExchangeOAuthCodeBody; - path?: never; +export type RemoveIdentityIdentifierData = { + body: IdentityIdentifier; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path: { + /** + * Identity id + */ + identity_id: string; + }; query?: never; - url: '/api/v1/identity/oauth/token'; + url: '/api/v1/identity/identities/{identity_id}/identifiers'; }; -export type ExchangeOauthCodeErrors = { - /** - * Invalid request - */ - 400: unknown; - /** - * Invalid or expired code - */ - 401: unknown; +export type RemoveIdentityIdentifierResponses = { + 200: RuntimeIdentity; }; -export type ExchangeOauthCodeResponses = { - /** - * Tokens issued - */ - 200: ExchangeOAuthCodeResult; +export type RemoveIdentityIdentifierResponse = RemoveIdentityIdentifierResponses[keyof RemoveIdentityIdentifierResponses]; + +export type CreateIdentityLinkData = { + body: CreateIdentityLinkRequest; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path: { + /** + * Identity id + */ + identity_id: string; + }; + query?: never; + url: '/api/v1/identity/identities/{identity_id}/link-requests'; }; -export type ExchangeOauthCodeResponse = ExchangeOauthCodeResponses[keyof ExchangeOauthCodeResponses]; +export type CreateIdentityLinkErrors = { + 401: Error; + 403: Error; +}; -export type ListOrganizationsData = { +export type CreateIdentityLinkError = CreateIdentityLinkErrors[keyof CreateIdentityLinkErrors]; + +export type CreateIdentityLinkResponses = { + 200: CreatedIdentityLink; +}; + +export type CreateIdentityLinkResponse = CreateIdentityLinkResponses[keyof CreateIdentityLinkResponses]; + +export type ProvisionIdentityTeamData = { + body: ProvisionIdentityTeamRequest; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path: { + /** + * Identity id + */ + identity_id: string; + }; + query?: never; + url: '/api/v1/identity/identities/{identity_id}/team'; +}; + +export type ProvisionIdentityTeamResponses = { + 200: IdentityTeam; +}; + +export type ProvisionIdentityTeamResponse = ProvisionIdentityTeamResponses[keyof ProvisionIdentityTeamResponses]; + +export type ListIdentityTeamsData = { body?: never; - path?: never; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path: { + /** + * Identity id + */ + identity_id: string; + }; query?: { + /** + * Page size; defaults to 50 and is clamped to 1..100 + */ page_size?: number; + /** + * Opaque cursor returned by the previous page + */ next_page_token?: string; }; - url: '/api/v1/identity/organizations'; + url: '/api/v1/identity/identities/{identity_id}/teams'; }; -export type ListOrganizationsErrors = { - /** - * Bad Request - */ - 400: Error; - /** - * Internal Server Error - */ - 500: Error; +export type ListIdentityTeamsResponses = { + 200: IdentityTeamMembershipPaginatedResponse; }; -export type ListOrganizationsError = ListOrganizationsErrors[keyof ListOrganizationsErrors]; +export type ListIdentityTeamsResponse = ListIdentityTeamsResponses[keyof ListIdentityTeamsResponses]; -export type ListOrganizationsResponses = { - /** - * List of organizations - */ +export type RemoveIdentityTeamData = { + body?: never; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path: { + /** + * Identity id + */ + identity_id: string; + /** + * Team id + */ + team_id: string; + }; + query?: never; + url: '/api/v1/identity/identities/{identity_id}/teams/{team_id}'; +}; + +export type RemoveIdentityTeamResponses = { 200: unknown; }; -export type CreateOrganizationData = { - body: CreateOrganizationRequest; +export type AddIdentityTeamData = { + body?: never; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path: { + /** + * Identity id + */ + identity_id: string; + /** + * Team id + */ + team_id: string; + }; + query?: never; + url: '/api/v1/identity/identities/{identity_id}/teams/{team_id}'; +}; + +export type AddIdentityTeamResponses = { + 200: IdentityTeamMembership; +}; + +export type AddIdentityTeamResponse = AddIdentityTeamResponses[keyof AddIdentityTeamResponses]; + +export type AcceptInvitationData = { + body: AcceptInvitationRequest; path?: never; query?: never; - url: '/api/v1/identity/organizations'; + url: '/api/v1/identity/invitations/accept'; }; -export type CreateOrganizationErrors = { - /** - * Bad Request - */ - 400: Error; - /** - * Internal Server Error - */ - 500: Error; +export type AcceptInvitationErrors = { + 403: Error; }; -export type CreateOrganizationError = CreateOrganizationErrors[keyof CreateOrganizationErrors]; +export type AcceptInvitationError = AcceptInvitationErrors[keyof AcceptInvitationErrors]; -export type CreateOrganizationResponses = { - /** - * Organization created - */ - 200: Organization; +export type AcceptInvitationResponses = { + 200: AcceptInvitationResponse; }; -export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses]; +export type AcceptInvitationResponse2 = AcceptInvitationResponses[keyof AcceptInvitationResponses]; -export type CreateHostedOpenbotDeploymentData = { - body: CreateHostedOpenBotDeploymentRequest; - path: { +export type CompleteIdentityLinkData = { + body: IdentityClaimRequest; + headers: { /** - * Owning Tilde organization ID + * Hosted Tilde confirmation origin */ - org_id: string; + Origin: string; }; + path?: never; query?: never; - url: '/api/v1/identity/organizations/{org_id}/openbot/deployments'; + url: '/api/v1/identity/link-requests/complete'; }; -export type CreateHostedOpenbotDeploymentErrors = { - /** - * Invalid title or slug - */ - 400: Error; +export type CompleteIdentityLinkResponses = { + 200: LinkedIdentity; +}; + +export type CompleteIdentityLinkResponse = CompleteIdentityLinkResponses[keyof CompleteIdentityLinkResponses]; + +export type PreviewIdentityLinkData = { + body: IdentityClaimRequest; + path?: never; + query?: never; + url: '/api/v1/identity/link-requests/preview'; +}; + +export type PreviewIdentityLinkResponses = { + 200: IdentityLinkPreview; +}; + +export type PreviewIdentityLinkResponse = PreviewIdentityLinkResponses[keyof PreviewIdentityLinkResponses]; + +export type GetLocalRuntimeTunnelConnectorData = { + body?: never; + path?: never; + query?: never; + url: '/api/v1/identity/local-runtime/tunnel-connector'; +}; + +export type GetLocalRuntimeTunnelConnectorErrors = { /** * Unauthorized */ 401: Error; /** - * Not an organization administrator - */ - 403: Error; - /** - * Hosted OpenBot provisioning is unavailable + * Local runtime tunnels unavailable */ 503: Error; }; -export type CreateHostedOpenbotDeploymentError = CreateHostedOpenbotDeploymentErrors[keyof CreateHostedOpenbotDeploymentErrors]; +export type GetLocalRuntimeTunnelConnectorError = GetLocalRuntimeTunnelConnectorErrors[keyof GetLocalRuntimeTunnelConnectorErrors]; -export type CreateHostedOpenbotDeploymentResponses = { +export type GetLocalRuntimeTunnelConnectorResponses = { /** - * Hosted OpenBot provisioning started + * Cloudflare tunnel connector token */ - 200: HostedOpenBotDeployment; + 200: LocalRuntimeTunnelConnector; }; -export type CreateHostedOpenbotDeploymentResponse = CreateHostedOpenbotDeploymentResponses[keyof CreateHostedOpenbotDeploymentResponses]; +export type GetLocalRuntimeTunnelConnectorResponse = GetLocalRuntimeTunnelConnectorResponses[keyof GetLocalRuntimeTunnelConnectorResponses]; -export type DeleteOrganizationData = { +export type AuthorizeOauthDeviceCodeData = { body?: never; - path: { - /** - * Organization ID - */ - organization_id: string; + path?: never; + query: { + user_code: string; }; - query?: never; - url: '/api/v1/identity/organizations/{organization_id}'; + url: '/api/v1/identity/oauth/device/authorize'; }; -export type DeleteOrganizationErrors = { +export type AuthorizeOauthDeviceCodeErrors = { /** - * Organization not found + * Authentication failed */ - 404: Error; + 401: Error; /** - * Internal Server Error + * Device code not found */ - 500: Error; + 404: Error; }; -export type DeleteOrganizationError = DeleteOrganizationErrors[keyof DeleteOrganizationErrors]; +export type AuthorizeOauthDeviceCodeError = AuthorizeOauthDeviceCodeErrors[keyof AuthorizeOauthDeviceCodeErrors]; -export type DeleteOrganizationResponses = { +export type AuthorizeOauthDeviceCodeResponses = { /** - * Organization deleted + * Device authorization approved */ 200: unknown; }; -export type GetOrganizationData = { - body?: never; - path: { - /** - * Organization ID - */ - organization_id: string; - }; +export type StartOauthDeviceCodeData = { + body: StartOAuthDeviceCodeBody; + path?: never; query?: never; - url: '/api/v1/identity/organizations/{organization_id}'; + url: '/api/v1/identity/oauth/device/code'; }; -export type GetOrganizationErrors = { +export type StartOauthDeviceCodeErrors = { /** - * Organization not found + * Invalid request */ - 404: Error; + 400: Error; /** - * Internal Server Error + * Unsupported client */ - 500: Error; + 401: Error; }; -export type GetOrganizationError = GetOrganizationErrors[keyof GetOrganizationErrors]; +export type StartOauthDeviceCodeError = StartOauthDeviceCodeErrors[keyof StartOauthDeviceCodeErrors]; -export type GetOrganizationResponses = { +export type StartOauthDeviceCodeResponses = { /** - * Organization found + * Device authorization created */ - 200: Organization; + 200: StartOAuthDeviceCodeResult; }; -export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses]; +export type StartOauthDeviceCodeResponse = StartOauthDeviceCodeResponses[keyof StartOauthDeviceCodeResponses]; -export type UpdateOrganizationData = { - body: UpdateOrganizationRequest; - path: { - /** - * Organization ID - */ - organization_id: string; - }; +export type RegisterOauthClientData = { + body: RegisterOAuthClientRequest; + path?: never; query?: never; - url: '/api/v1/identity/organizations/{organization_id}'; + url: '/api/v1/identity/oauth/register'; }; -export type UpdateOrganizationErrors = { +export type RegisterOauthClientErrors = { /** - * Organization not found + * Invalid registration request */ - 404: Error; + 400: Error; /** - * Internal Server Error + * Internal server error */ 500: Error; }; -export type UpdateOrganizationError = UpdateOrganizationErrors[keyof UpdateOrganizationErrors]; +export type RegisterOauthClientError = RegisterOauthClientErrors[keyof RegisterOauthClientErrors]; -export type UpdateOrganizationResponses = { +export type RegisterOauthClientResponses = { /** - * Organization updated + * OAuth client registered */ - 200: unknown; + 201: RegisterOAuthClientResponse; }; -export type ListOrganizationMembersData = { - body?: never; +export type RegisterOauthClientResponse = RegisterOauthClientResponses[keyof RegisterOauthClientResponses]; + +export type ExchangeOauthCodeData = { + body: ExchangeOAuthCodeBody; + path?: never; + query?: never; + url: '/api/v1/identity/oauth/token'; +}; + +export type ExchangeOauthCodeErrors = { + /** + * Invalid request + */ + 400: unknown; + /** + * Invalid or expired code + */ + 401: unknown; +}; + +export type ExchangeOauthCodeResponses = { + /** + * Tokens issued + */ + 200: ExchangeOAuthCodeResult; +}; + +export type ExchangeOauthCodeResponse = ExchangeOauthCodeResponses[keyof ExchangeOauthCodeResponses]; + +export type OnboardOrganizationData = { + body: OnboardOrganizationRequest; + path?: never; + query?: never; + url: '/api/v1/identity/onboarding/organization'; +}; + +export type OnboardOrganizationErrors = { + 401: Error; + 409: Error; +}; + +export type OnboardOrganizationError = OnboardOrganizationErrors[keyof OnboardOrganizationErrors]; + +export type OnboardOrganizationResponses = { + 200: OnboardOrganizationResponse; +}; + +export type OnboardOrganizationResponse2 = OnboardOrganizationResponses[keyof OnboardOrganizationResponses]; + +export type ListOrganizationsData = { + body?: never; + path?: never; + query?: { + page_size?: number; + next_page_token?: string; + }; + url: '/api/v1/identity/organizations'; +}; + +export type ListOrganizationsErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Internal Server Error + */ + 500: Error; +}; + +export type ListOrganizationsError = ListOrganizationsErrors[keyof ListOrganizationsErrors]; + +export type ListOrganizationsResponses = { + /** + * List of organizations + */ + 200: unknown; +}; + +export type CreateOrganizationData = { + body: CreateOrganizationRequest; + path?: never; + query?: never; + url: '/api/v1/identity/organizations'; +}; + +export type CreateOrganizationErrors = { + /** + * Bad Request + */ + 400: Error; + /** + * Internal Server Error + */ + 500: Error; +}; + +export type CreateOrganizationError = CreateOrganizationErrors[keyof CreateOrganizationErrors]; + +export type CreateOrganizationResponses = { + /** + * Organization created + */ + 200: Organization; +}; + +export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses]; + +export type CreateHostedOpenbotDeploymentData = { + body: CreateHostedOpenBotDeploymentRequest; + path: { + /** + * Owning Tilde organization ID + */ + org_id: string; + }; + query?: never; + url: '/api/v1/identity/organizations/{org_id}/openbot/deployments'; +}; + +export type CreateHostedOpenbotDeploymentErrors = { + /** + * Invalid title or slug + */ + 400: Error; + /** + * Unauthorized + */ + 401: Error; + /** + * Not an organization administrator + */ + 403: Error; + /** + * Hosted OpenBot provisioning is unavailable + */ + 503: Error; +}; + +export type CreateHostedOpenbotDeploymentError = CreateHostedOpenbotDeploymentErrors[keyof CreateHostedOpenbotDeploymentErrors]; + +export type CreateHostedOpenbotDeploymentResponses = { + /** + * Hosted OpenBot provisioning started + */ + 200: HostedOpenBotDeployment; +}; + +export type CreateHostedOpenbotDeploymentResponse = CreateHostedOpenbotDeploymentResponses[keyof CreateHostedOpenbotDeploymentResponses]; + +export type DeleteOrganizationData = { + body?: never; + path: { + /** + * Organization ID + */ + organization_id: string; + }; + query?: never; + url: '/api/v1/identity/organizations/{organization_id}'; +}; + +export type DeleteOrganizationErrors = { + /** + * Organization not found + */ + 404: Error; + /** + * Internal Server Error + */ + 500: Error; +}; + +export type DeleteOrganizationError = DeleteOrganizationErrors[keyof DeleteOrganizationErrors]; + +export type DeleteOrganizationResponses = { + /** + * Organization deleted + */ + 200: unknown; +}; + +export type GetOrganizationData = { + body?: never; + path: { + /** + * Organization ID + */ + organization_id: string; + }; + query?: never; + url: '/api/v1/identity/organizations/{organization_id}'; +}; + +export type GetOrganizationErrors = { + /** + * Organization not found + */ + 404: Error; + /** + * Internal Server Error + */ + 500: Error; +}; + +export type GetOrganizationError = GetOrganizationErrors[keyof GetOrganizationErrors]; + +export type GetOrganizationResponses = { + /** + * Organization found + */ + 200: Organization; +}; + +export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses]; + +export type UpdateOrganizationData = { + body: UpdateOrganizationRequest; + path: { + /** + * Organization ID + */ + organization_id: string; + }; + query?: never; + url: '/api/v1/identity/organizations/{organization_id}'; +}; + +export type UpdateOrganizationErrors = { + /** + * Organization not found + */ + 404: Error; + /** + * Internal Server Error + */ + 500: Error; +}; + +export type UpdateOrganizationError = UpdateOrganizationErrors[keyof UpdateOrganizationErrors]; + +export type UpdateOrganizationResponses = { + /** + * Organization updated + */ + 200: unknown; +}; + +export type ListOrganizationMembersData = { + body?: never; path: { /** * Organization ID @@ -10108,23 +11071,142 @@ export type SetSelfOpenbotAvatarResponses = { export type SetSelfOpenbotAvatarResponse = SetSelfOpenbotAvatarResponses[keyof SetSelfOpenbotAvatarResponses]; -export type ListOrganizationTeamGroupsData = { +export type ListProxyTokensData = { body?: never; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; path?: never; query?: { + /** + * Page size; defaults to 50 and is clamped to 1..100 + */ page_size?: number; - next_page_token?: string; /** - * Filter to `human` or `agent` users. + * Opaque cursor returned by the previous page */ - user_type?: string; + next_page_token?: string; }; - url: '/api/v1/identity/team-groups'; + url: '/api/v1/identity/proxy-tokens'; }; -export type ListOrganizationTeamGroupsResponses = { - /** - * User-managed groups across organization teams +export type ListProxyTokensErrors = { + 401: Error; + 403: Error; +}; + +export type ListProxyTokensError = ListProxyTokensErrors[keyof ListProxyTokensErrors]; + +export type ListProxyTokensResponses = { + 200: OrgProxyTokenPaginatedResponse; +}; + +export type ListProxyTokensResponse = ListProxyTokensResponses[keyof ListProxyTokensResponses]; + +export type CreateProxyTokenData = { + body: CreateProxyTokenRequest; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path?: never; + query?: never; + url: '/api/v1/identity/proxy-tokens'; +}; + +export type CreateProxyTokenErrors = { + 401: Error; + 403: Error; +}; + +export type CreateProxyTokenError = CreateProxyTokenErrors[keyof CreateProxyTokenErrors]; + +export type CreateProxyTokenResponses = { + 200: CreatedProxyToken; +}; + +export type CreateProxyTokenResponse = CreateProxyTokenResponses[keyof CreateProxyTokenResponses]; + +export type RevokeProxyTokenData = { + body?: never; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path: { + /** + * Token id + */ + token_id: string; + }; + query?: never; + url: '/api/v1/identity/proxy-tokens/{token_id}'; +}; + +export type RevokeProxyTokenErrors = { + 401: Error; + 403: Error; +}; + +export type RevokeProxyTokenError = RevokeProxyTokenErrors[keyof RevokeProxyTokenErrors]; + +export type RevokeProxyTokenResponses = { + 200: unknown; +}; + +export type RenameProxyTokenData = { + body: RenameProxyTokenRequest; + headers?: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + }; + path: { + /** + * Token id + */ + token_id: string; + }; + query?: never; + url: '/api/v1/identity/proxy-tokens/{token_id}'; +}; + +export type RenameProxyTokenErrors = { + 401: Error; + 403: Error; +}; + +export type RenameProxyTokenError = RenameProxyTokenErrors[keyof RenameProxyTokenErrors]; + +export type RenameProxyTokenResponses = { + 200: unknown; +}; + +export type ListOrganizationTeamGroupsData = { + body?: never; + path?: never; + query?: { + page_size?: number; + next_page_token?: string; + /** + * Filter to `human` or `agent` users. + */ + user_type?: string; + }; + url: '/api/v1/identity/team-groups'; +}; + +export type ListOrganizationTeamGroupsResponses = { + /** + * User-managed groups across organization teams */ 200: TeamGroupSummaryPaginatedResponse; }; @@ -11180,9 +12262,6 @@ export type GetHostedOpenbotBootstrapBundleResponse = GetHostedOpenbotBootstrapB export type AutomationsListData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: { @@ -11202,9 +12281,6 @@ export type AutomationsListResponse = AutomationsListResponses[keyof Automations export type AutomationsDeleteData = { body?: never; path: { - /** - * Team ID - */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11221,9 +12297,6 @@ export type AutomationsDeleteResponse = AutomationsDeleteResponses[keyof Automat export type AutomationsGetData = { body?: never; path: { - /** - * Team ID - */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11246,9 +12319,6 @@ export type AutomationsGetResponse = AutomationsGetResponses[keyof AutomationsGe export type AutomationsPutData = { body: PutRoutineBody; path: { - /** - * Team ID - */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11271,9 +12341,6 @@ export type AutomationsPutResponse = AutomationsPutResponses[keyof AutomationsPu export type AutomationsListExecutionsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11294,9 +12361,6 @@ export type AutomationsListExecutionsResponse = AutomationsListExecutionsRespons export type AutomationsSetOwnershipData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11313,9 +12377,6 @@ export type AutomationsSetOwnershipResponse = AutomationsSetOwnershipResponses[k export type AutomationsRunData = { body: RunRoutineBody; path: { - /** - * Team ID - */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11332,9 +12393,6 @@ export type AutomationsRunResponse = AutomationsRunResponses[keyof AutomationsRu export type AutomationsSetVisibilityData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; routine_id: WrappedUuidV4; }; @@ -11351,9 +12409,6 @@ export type AutomationsSetVisibilityResponse = AutomationsSetVisibilityResponses export type AutomationsListGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; routine_id: WrappedUuidV4; plane: ResourceGrantPlane; @@ -11371,9 +12426,6 @@ export type AutomationsListGrantsResponse = AutomationsListGrantsResponses[keyof export type AutomationsAddGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; routine_id: WrappedUuidV4; plane: ResourceGrantPlane; @@ -11391,9 +12443,6 @@ export type AutomationsAddGrantResponse = AutomationsAddGrantResponses[keyof Aut export type AutomationsRemoveGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; routine_id: WrappedUuidV4; plane: ResourceGrantPlane; @@ -11760,9 +12809,6 @@ export type ChatkitUpdateAgentResponse = ChatkitUpdateAgentResponses[keyof Chatk export type ChatkitGetAgentAvatarData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -11785,9 +12831,6 @@ export type ChatkitGetAgentAvatarResponse = ChatkitGetAgentAvatarResponses[keyof export type ChatkitUpdateAgentAvatarData = { body: Array; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -11811,9 +12854,6 @@ export type ChatkitUpdateAgentAvatarResponse = ChatkitUpdateAgentAvatarResponses export type ChatkitGetAgentObservabilityData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -11836,9 +12876,6 @@ export type ChatkitGetAgentObservabilityResponse = ChatkitGetAgentObservabilityR export type ChatkitUpdateAgentObservabilityData = { body: UpdateAgentObservabilityPolicyRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -11862,9 +12899,6 @@ export type ChatkitUpdateAgentObservabilityResponse = ChatkitUpdateAgentObservab export type ChatkitUpdateAgentOwnershipData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -11922,9 +12956,6 @@ export type ChatkitSetAgentPermissionsResponse = ChatkitSetAgentPermissionsRespo export type ChatkitGetAgentResourceBundleProvisioningData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -11941,9 +12972,6 @@ export type ChatkitGetAgentResourceBundleProvisioningResponse = ChatkitGetAgentR export type ChatkitProvisionAgentResourceBundleData = { body: ProvisionAgentRequest; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -11960,9 +12988,6 @@ export type ChatkitProvisionAgentResourceBundleResponse = ChatkitProvisionAgentR export type ChatkitClaimAgentResourceBundleOutputsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -12016,9 +13041,6 @@ export type ChatkitRecallAutomaticMemoryResponse = ChatkitRecallAutomaticMemoryR export type ChatkitListGoalsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12040,9 +13062,6 @@ export type ChatkitListGoalsResponse = ChatkitListGoalsResponses[keyof ChatkitLi export type ChatkitCreateGoalData = { body: CreateGoalRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12060,9 +13079,6 @@ export type ChatkitCreateGoalResponse = ChatkitCreateGoalResponses[keyof Chatkit export type ChatkitGetGoalData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12081,9 +13097,6 @@ export type ChatkitGetGoalResponse = ChatkitGetGoalResponses[keyof ChatkitGetGoa export type ChatkitUpdateGoalData = { body: UpdateGoalRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12102,9 +13115,6 @@ export type ChatkitUpdateGoalResponse = ChatkitUpdateGoalResponses[keyof Chatkit export type ChatkitListAgentJobsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12126,9 +13136,6 @@ export type ChatkitListAgentJobsResponse = ChatkitListAgentJobsResponses[keyof C export type ChatkitDelegateAgentJobData = { body: DelegateAgentJobRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12146,9 +13153,6 @@ export type ChatkitDelegateAgentJobResponse = ChatkitDelegateAgentJobResponses[k export type ChatkitGetAgentJobData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12167,9 +13171,6 @@ export type ChatkitGetAgentJobResponse = ChatkitGetAgentJobResponses[keyof Chatk export type ChatkitCollectAgentJobResultData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12188,9 +13189,6 @@ export type ChatkitCollectAgentJobResultResponse = ChatkitCollectAgentJobResultR export type ChatkitResumeAgentJobData = { body: ResumeAgentJobRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12209,9 +13207,6 @@ export type ChatkitResumeAgentJobResponse = ChatkitResumeAgentJobResponses[keyof export type ChatkitSteerAgentJobData = { body: SteerAgentJobRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12230,9 +13225,6 @@ export type ChatkitSteerAgentJobResponse = ChatkitSteerAgentJobResponses[keyof C export type ChatkitStopAgentJobData = { body: StopAgentJobRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12251,9 +13243,6 @@ export type ChatkitStopAgentJobResponse = ChatkitStopAgentJobResponses[keyof Cha export type ChatkitCreateAgentRunData = { body: CreateAgentRunInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12271,9 +13260,6 @@ export type ChatkitCreateAgentRunResponse = ChatkitCreateAgentRunResponses[keyof export type ChatkitGetActiveAgentRunData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12291,9 +13277,6 @@ export type ChatkitGetActiveAgentRunResponse = ChatkitGetActiveAgentRunResponses export type ChatkitClaimAgentRunsData = { body: ClaimAgentRunsInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12311,9 +13294,6 @@ export type ChatkitClaimAgentRunsResponse = ChatkitClaimAgentRunsResponses[keyof export type ChatkitGetAgentRunData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12332,9 +13312,6 @@ export type ChatkitGetAgentRunResponse = ChatkitGetAgentRunResponses[keyof Chatk export type ChatkitControlAgentRunData = { body: ControlAgentRunInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12353,9 +13330,6 @@ export type ChatkitControlAgentRunResponse = ChatkitControlAgentRunResponses[key export type ChatkitFinishAgentRunEffectData = { body: RecordAgentRunEffectInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12374,9 +13348,6 @@ export type ChatkitFinishAgentRunEffectResponse = ChatkitFinishAgentRunEffectRes export type ChatkitGetAgentRunEffectData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12398,9 +13369,6 @@ export type ChatkitGetAgentRunEffectResponse = ChatkitGetAgentRunEffectResponses export type ChatkitPrepareAgentRunEffectData = { body: RecordAgentRunEffectInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12419,9 +13387,6 @@ export type ChatkitPrepareAgentRunEffectResponse = ChatkitPrepareAgentRunEffectR export type ChatkitAppendAgentRunStepData = { body: AppendAgentRunStepInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12440,9 +13405,6 @@ export type ChatkitAppendAgentRunStepResponse = ChatkitAppendAgentRunStepRespons export type ChatkitTransitionAgentRunData = { body: TransitionAgentRunInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12461,9 +13423,6 @@ export type ChatkitTransitionAgentRunResponse = ChatkitTransitionAgentRunRespons export type ChatkitListTasksData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12486,9 +13445,6 @@ export type ChatkitListTasksResponse = ChatkitListTasksResponses[keyof ChatkitLi export type ChatkitCreateTaskData = { body: CreateTaskRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12506,9 +13462,6 @@ export type ChatkitCreateTaskResponse = ChatkitCreateTaskResponses[keyof Chatkit export type ChatkitGetTaskData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12527,9 +13480,6 @@ export type ChatkitGetTaskResponse = ChatkitGetTaskResponses[keyof ChatkitGetTas export type ChatkitUpdateTaskData = { body: UpdateTaskRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; session_id: WrappedUuidV4; @@ -12581,9 +13531,6 @@ export type ChatkitSetAgentStatusResponse = ChatkitSetAgentStatusResponses[keyof export type ChatkitReportToolExecutionData = { body: ReportToolExecutionRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -12607,9 +13554,6 @@ export type ChatkitReportToolExecutionResponse = ChatkitReportToolExecutionRespo export type ChatkitRegisterAgentToolsData = { body: RegisterAgentToolsRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -12633,9 +13577,6 @@ export type ChatkitRegisterAgentToolsResponse = ChatkitRegisterAgentToolsRespons export type ChatkitUpdateAgentToolVisibilityData = { body: UpdateAgentToolVisibilityRequestInner; path: { - /** - * Team ID - */ team_id: string; agent_id: string; tool_id: string; @@ -12660,9 +13601,6 @@ export type ChatkitUpdateAgentToolVisibilityResponse = ChatkitUpdateAgentToolVis export type ChatkitUpdateAgentVisibilityData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -12686,9 +13624,6 @@ export type ChatkitUpdateAgentVisibilityResponse = ChatkitUpdateAgentVisibilityR export type ChatkitListAgentResourceGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; plane: string; @@ -12712,9 +13647,6 @@ export type ChatkitListAgentResourceGrantsResponse = ChatkitListAgentResourceGra export type ChatkitAddAgentResourceGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; agent_id: string; plane: string; @@ -12739,9 +13671,6 @@ export type ChatkitAddAgentResourceGrantResponse = ChatkitAddAgentResourceGrantR export type ChatkitRemoveAgentResourceGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; agent_id: string; plane: string; @@ -13188,9 +14117,6 @@ export type ChatkitListAvailableChatChannelsResponse = ChatkitListAvailableChatC export type ChatkitGetCustomConnectionData = { body?: never; path: { - /** - * Team ID - */ team_id: string; connection_id: string; }; @@ -13213,9 +14139,6 @@ export type ChatkitGetCustomConnectionResponse = ChatkitGetCustomConnectionRespo export type ChatkitIngestCustomProviderMessageData = { body: CustomInboundMessage; path: { - /** - * Team ID - */ team_id: string; connection_id: string; }; @@ -13238,9 +14161,6 @@ export type ChatkitIngestCustomProviderMessageResponse = ChatkitIngestCustomProv export type ChatkitCustomProviderRuntimeData = { body: CustomRuntimeCommand; path: { - /** - * Team ID - */ team_id: string; connection_id: string; }; @@ -13263,9 +14183,6 @@ export type ChatkitCustomProviderRuntimeResponse = ChatkitCustomProviderRuntimeR export type ChatkitRotateCustomConnectionCredentialsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; connection_id: string; }; @@ -13288,9 +14205,6 @@ export type ChatkitRotateCustomConnectionCredentialsResponse = ChatkitRotateCust export type ChatkitListCustomConnectionWorkData = { body?: never; path: { - /** - * Team ID - */ team_id: string; connection_id: string; }; @@ -13313,9 +14227,6 @@ export type ChatkitListCustomConnectionWorkResponse = ChatkitListCustomConnectio export type ChatkitRetryCustomConnectionWorkData = { body: RetryConnectionWork; path: { - /** - * Team ID - */ team_id: string; connection_id: string; }; @@ -13338,9 +14249,6 @@ export type ChatkitRetryCustomConnectionWorkResponse = ChatkitRetryCustomConnect export type ChatkitListCustomProviderData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -13362,9 +14270,6 @@ export type ChatkitListCustomProviderResponse = ChatkitListCustomProviderRespons export type ChatkitCreateCustomProviderData = { body: CustomProviderRegistrationInput; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -13386,9 +14291,6 @@ export type ChatkitCreateCustomProviderResponse = ChatkitCreateCustomProviderRes export type ChatkitDeleteCustomProviderData = { body?: never; path: { - /** - * Team ID - */ team_id: string; provider_id: string; }; @@ -13411,9 +14313,6 @@ export type ChatkitDeleteCustomProviderResponse = ChatkitDeleteCustomProviderRes export type ChatkitGetCustomProviderData = { body?: never; path: { - /** - * Team ID - */ team_id: string; provider_id: string; }; @@ -13436,9 +14335,6 @@ export type ChatkitGetCustomProviderResponse = ChatkitGetCustomProviderResponses export type ChatkitUpdateCustomProviderData = { body: CustomProviderRegistrationInput; path: { - /** - * Team ID - */ team_id: string; provider_id: string; }; @@ -13461,9 +14357,6 @@ export type ChatkitUpdateCustomProviderResponse = ChatkitUpdateCustomProviderRes export type ChatkitListCustomConnectionsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; provider_id: string; }; @@ -13486,9 +14379,6 @@ export type ChatkitListCustomConnectionsResponse = ChatkitListCustomConnectionsR export type ChatkitDisableCustomProviderData = { body?: never; path: { - /** - * Team ID - */ team_id: string; provider_id: string; }; @@ -13511,9 +14401,6 @@ export type ChatkitDisableCustomProviderResponse = ChatkitDisableCustomProviderR export type ChatkitEnableCustomProviderData = { body?: never; path: { - /** - * Team ID - */ team_id: string; provider_id: string; }; @@ -13536,9 +14423,6 @@ export type ChatkitEnableCustomProviderResponse = ChatkitEnableCustomProviderRes export type ChatkitRefreshCustomProviderData = { body?: never; path: { - /** - * Team ID - */ team_id: string; provider_id: string; }; @@ -13561,9 +14445,6 @@ export type ChatkitRefreshCustomProviderResponse = ChatkitRefreshCustomProviderR export type ChatkitRotateCustomProviderData = { body?: never; path: { - /** - * Team ID - */ team_id: string; provider_id: string; }; @@ -13586,9 +14467,6 @@ export type ChatkitRotateCustomProviderResponse = ChatkitRotateCustomProviderRes export type LinkTeamIdentityData = { body: LinkTeamIdentityRequestInner; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -13706,9 +14584,6 @@ export type ChatkitHydrateConvertedMessagesResponse = ChatkitHydrateConvertedMes export type ChatkitListSelfExtensionProposalsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: { @@ -13728,9 +14603,6 @@ export type ChatkitListSelfExtensionProposalsResponse = ChatkitListSelfExtension export type ChatkitProposeSelfExtensionData = { body: CreateSelfExtensionProposalInner; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -13746,9 +14618,6 @@ export type ChatkitProposeSelfExtensionResponse = ChatkitProposeSelfExtensionRes export type ChatkitGetSelfExtensionProposalData = { body?: never; path: { - /** - * Team ID - */ team_id: string; proposal_id: string; }; @@ -13765,9 +14634,6 @@ export type ChatkitGetSelfExtensionProposalResponse = ChatkitGetSelfExtensionPro export type ChatkitApproveSelfExtensionProposalData = { body?: never; path: { - /** - * Team ID - */ team_id: string; proposal_id: string; }; @@ -13784,9 +14650,6 @@ export type ChatkitApproveSelfExtensionProposalResponse = ChatkitApproveSelfExte export type ChatkitCancelSelfExtensionProposalData = { body?: never; path: { - /** - * Team ID - */ team_id: string; proposal_id: string; }; @@ -13803,9 +14666,6 @@ export type ChatkitCancelSelfExtensionProposalResponse = ChatkitCancelSelfExtens export type ChatkitDecideCapabilityChangeData = { body: DecideCapabilityChangeRequest; path: { - /** - * Team ID - */ team_id: string; proposal_id: string; }; @@ -13822,9 +14682,6 @@ export type ChatkitDecideCapabilityChangeResponse = ChatkitDecideCapabilityChang export type ChatkitClaimSelfExtensionProposalOutputsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; proposal_id: string; }; @@ -13841,9 +14698,6 @@ export type ChatkitClaimSelfExtensionProposalOutputsResponse = ChatkitClaimSelfE export type ChatkitRejectSelfExtensionProposalData = { body?: never; path: { - /** - * Team ID - */ team_id: string; proposal_id: string; }; @@ -13860,9 +14714,6 @@ export type ChatkitRejectSelfExtensionProposalResponse = ChatkitRejectSelfExtens export type ChatkitRollbackSelfExtensionProposalData = { body?: never; path: { - /** - * Team ID - */ team_id: string; proposal_id: string; }; @@ -14645,9 +15496,6 @@ export type GetMessageResponse = GetMessageResponses[keyof GetMessageResponses]; export type GetMessageDeliveriesData = { body?: never; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; message_id: WrappedUuidV4; @@ -14723,9 +15571,6 @@ export type ObserveSessionResponses = { export type UpdateSessionOwnershipData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; session_id: string; }; @@ -14749,9 +15594,6 @@ export type UpdateSessionOwnershipResponse = UpdateSessionOwnershipResponses[key export type UpdateSessionVisibilityData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; session_id: string; }; @@ -14775,9 +15617,6 @@ export type UpdateSessionVisibilityResponse = UpdateSessionVisibilityResponses[k export type ListSessionResourceGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; session_id: string; plane: string; @@ -14801,9 +15640,6 @@ export type ListSessionResourceGrantsResponse = ListSessionResourceGrantsRespons export type AddSessionResourceGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; session_id: string; plane: string; @@ -14828,9 +15664,6 @@ export type AddSessionResourceGrantResponse = AddSessionResourceGrantResponses[k export type RemoveSessionResourceGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; session_id: string; plane: string; @@ -14929,9 +15762,6 @@ export type ChatkitCreateSessionResponse = ChatkitCreateSessionResponses[keyof C export type ChatkitReportCompactionEventData = { body: ReportChatKitCompactionEventInner; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; }; @@ -14957,9 +15787,6 @@ export type ChatkitReportCompactionEventResponse = ChatkitReportCompactionEventR export type ChatkitGetLatestCompactionData = { body?: never; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; }; @@ -14985,9 +15812,6 @@ export type ChatkitGetLatestCompactionResponse = ChatkitGetLatestCompactionRespo export type ChatkitStreamSessionEventsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; }; @@ -15013,9 +15837,6 @@ export type ChatkitStreamSessionEventsResponses = { export type ChatkitListRoomInvitationsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; }; @@ -15042,9 +15863,6 @@ export type ChatkitListRoomInvitationsResponse = ChatkitListRoomInvitationsRespo export type ChatkitCreateRoomInvitationData = { body: CreateChatKitRoomInvitationRequestInner; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; }; @@ -15068,9 +15886,6 @@ export type ChatkitCreateRoomInvitationResponse = ChatkitCreateRoomInvitationRes export type ChatkitRevokeRoomInvitationData = { body?: never; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; invitation_id: WrappedUuidV4; @@ -15095,9 +15910,6 @@ export type ChatkitRevokeRoomInvitationResponse = ChatkitRevokeRoomInvitationRes export type ChatkitDecideRoomInvitationData = { body: DecideChatKitRoomInvitationRequestInner; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; invitation_id: WrappedUuidV4; @@ -15205,9 +16017,6 @@ export type ChatkitListMessageHistoryResponse = ChatkitListMessageHistoryRespons export type ChatkitGetCompactedHistoryData = { body?: never; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; }; @@ -15365,9 +16174,6 @@ export type ChatkitRemoveSessionParticipantResponse = ChatkitRemoveSessionPartic export type ChatkitListSessionProviderToolsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; session_id: string; }; @@ -15423,9 +16229,6 @@ export type ChatkitSendSessionMessageResponse = ChatkitSendSessionMessageRespons export type ChatkitInvokeSessionProviderToolData = { body: InvokeSessionProviderToolBody; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; tool_name: string; @@ -15791,9 +16594,6 @@ export type ChatkitWorkspaceSidebarResponse = ChatkitWorkspaceSidebarResponses[k export type ResumeUserCredentialBrokeringData = { body: ResumeUserCredentialBrokeringParams; path: { - /** - * Team ID - */ team_id: string; broker_state_id: string; }; @@ -15813,9 +16613,6 @@ export type ResumeUserCredentialBrokeringResponse = ResumeUserCredentialBrokerin export type ListCommonProviderInstallationsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: { @@ -15834,9 +16631,6 @@ export type ListCommonProviderInstallationsResponse = ListCommonProviderInstalla export type GetCommonProviderInstallationData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -15853,9 +16647,6 @@ export type GetCommonProviderInstallationResponse = GetCommonProviderInstallatio export type SetCommonProviderInstallationOwnershipData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -15872,9 +16663,6 @@ export type SetCommonProviderInstallationOwnershipResponse = SetCommonProviderIn export type ListCommonProviderInstallationOwnershipGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -15891,9 +16679,6 @@ export type ListCommonProviderInstallationOwnershipGrantsResponse = ListCommonPr export type AddCommonProviderInstallationOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -15910,9 +16695,6 @@ export type AddCommonProviderInstallationOwnershipGrantResponse = AddCommonProvi export type RemoveCommonProviderInstallationOwnershipGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; principal_type: string; @@ -15929,9 +16711,6 @@ export type RemoveCommonProviderInstallationOwnershipGrantResponses = { export type SetCommonProviderInstallationVisibilityData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -15948,9 +16727,6 @@ export type SetCommonProviderInstallationVisibilityResponse = SetCommonProviderI export type ListCommonProviderInstallationVisibilityGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -15967,9 +16743,6 @@ export type ListCommonProviderInstallationVisibilityGrantsResponse = ListCommonP export type AddCommonProviderInstallationVisibilityGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -15986,9 +16759,6 @@ export type AddCommonProviderInstallationVisibilityGrantResponse = AddCommonProv export type RemoveCommonProviderInstallationVisibilityGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; principal_type: string; @@ -16005,9 +16775,6 @@ export type RemoveCommonProviderInstallationVisibilityGrantResponses = { export type ListProviderProvisionerCatalogData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -16026,9 +16793,6 @@ export type ListProviderProvisionerCatalogResponse = ListProviderProvisionerCata export type StartProviderAppProvisioningData = { body: StartProviderAppProvisioningBody; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -16047,9 +16811,6 @@ export type StartProviderAppProvisioningResponse = StartProviderAppProvisioningR export type GetProviderProvisioningHumanActionData = { body?: never; path: { - /** - * Team ID - */ team_id: string; state_id: string; }; @@ -16069,9 +16830,6 @@ export type GetProviderProvisioningHumanActionResponse = GetProviderProvisioning export type ResumeProviderAppProvisioningData = { body: ResumeProviderAppProvisioningBody; path: { - /** - * Team ID - */ team_id: string; state_id: string; }; @@ -16091,9 +16849,6 @@ export type ResumeProviderAppProvisioningResponse = ResumeProviderAppProvisionin export type ListResourceServerCredentialsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: { @@ -16115,9 +16870,6 @@ export type ListResourceServerCredentialsResponse = ListResourceServerCredential export type DeleteResourceServerCredentialData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -16135,9 +16887,6 @@ export type DeleteResourceServerCredentialResponses = { export type GetResourceServerCredentialData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -16157,9 +16906,6 @@ export type GetResourceServerCredentialResponse = GetResourceServerCredentialRes export type UpdateResourceServerCredentialData = { body: UpdateCredentialBody; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -16179,9 +16925,6 @@ export type UpdateResourceServerCredentialResponse = UpdateResourceServerCredent export type SetRscOwnershipData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16198,9 +16941,6 @@ export type SetRscOwnershipResponse = SetRscOwnershipResponses[keyof SetRscOwner export type ListRscOwnershipGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16217,9 +16957,6 @@ export type ListRscOwnershipGrantsResponse = ListRscOwnershipGrantsResponses[key export type AddRscOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16236,9 +16973,6 @@ export type AddRscOwnershipGrantResponse = AddRscOwnershipGrantResponses[keyof A export type RemoveRscOwnershipGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; principal_type: string; @@ -16255,9 +16989,6 @@ export type RemoveRscOwnershipGrantResponses = { export type SetRscVisibilityData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16274,9 +17005,6 @@ export type SetRscVisibilityResponse = SetRscVisibilityResponses[keyof SetRscVis export type ListRscVisibilityGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16293,9 +17021,6 @@ export type ListRscVisibilityGrantsResponse = ListRscVisibilityGrantsResponses[k export type AddRscVisibilityGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16312,9 +17037,6 @@ export type AddRscVisibilityGrantResponse = AddRscVisibilityGrantResponses[keyof export type RemoveRscVisibilityGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; principal_type: string; @@ -16331,9 +17053,6 @@ export type RemoveRscVisibilityGrantResponses = { export type ListCredentialSetupItemsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: { @@ -16356,9 +17075,6 @@ export type ListCredentialSetupItemsResponse = ListCredentialSetupItemsResponses export type GetCredentialSetupItemData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -16378,9 +17094,6 @@ export type GetCredentialSetupItemResponse = GetCredentialSetupItemResponses[key export type CompleteCredentialSetupItemData = { body: CompleteCredentialSetupItemBody; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -16400,9 +17113,6 @@ export type CompleteCredentialSetupItemResponse = CompleteCredentialSetupItemRes export type ResumeCredentialSetupItemData = { body: ResumeCredentialSetupItemBody; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -16422,9 +17132,6 @@ export type ResumeCredentialSetupItemResponse = ResumeCredentialSetupItemRespons export type StartCredentialSetupItemData = { body: StartCredentialSetupItemBody; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -16444,9 +17151,6 @@ export type StartCredentialSetupItemResponse2 = StartCredentialSetupItemResponse export type CreateResourceServerCredentialData = { body: CreateResourceServerCredentialParamsInner; path: { - /** - * Team ID - */ team_id: string; credential_source_type_id: string; }; @@ -16466,9 +17170,6 @@ export type CreateResourceServerCredentialResponse = CreateResourceServerCredent export type EncryptResourceServerConfigurationData = { body: EncryptCredentialConfigurationParamsInner; path: { - /** - * Team ID - */ team_id: string; credential_source_type_id: string; }; @@ -16486,9 +17187,6 @@ export type EncryptResourceServerConfigurationResponses = { export type CreateUserCredentialData = { body: CreateUserCredentialParamsInner; path: { - /** - * Team ID - */ team_id: string; credential_source_type_id: string; }; @@ -16508,9 +17206,6 @@ export type CreateUserCredentialResponse = CreateUserCredentialResponses[keyof C export type StartUserCredentialBrokeringData = { body: StartBrokeringBodyExternal; path: { - /** - * Team ID - */ team_id: string; credential_source_type_id: string; }; @@ -16530,9 +17225,6 @@ export type StartUserCredentialBrokeringResponse = StartUserCredentialBrokeringR export type EncryptUserCredentialConfigurationData = { body: EncryptCredentialConfigurationParamsInner; path: { - /** - * Team ID - */ team_id: string; credential_source_type_id: string; }; @@ -16550,9 +17242,6 @@ export type EncryptUserCredentialConfigurationResponses = { export type ListUserCredentialsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: { @@ -16574,9 +17263,6 @@ export type ListUserCredentialsResponse = ListUserCredentialsResponses[keyof Lis export type DeleteUserCredentialData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -16594,9 +17280,6 @@ export type DeleteUserCredentialResponses = { export type GetUserCredentialData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -16616,9 +17299,6 @@ export type GetUserCredentialResponse = GetUserCredentialResponses[keyof GetUser export type UpdateUserCredentialData = { body: UpdateCredentialBody; path: { - /** - * Team ID - */ team_id: string; id: string; }; @@ -16638,9 +17318,6 @@ export type UpdateUserCredentialResponse = UpdateUserCredentialResponses[keyof U export type SetUcOwnershipData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16657,9 +17334,6 @@ export type SetUcOwnershipResponse = SetUcOwnershipResponses[keyof SetUcOwnershi export type ListUcOwnershipGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16676,9 +17350,6 @@ export type ListUcOwnershipGrantsResponse = ListUcOwnershipGrantsResponses[keyof export type AddUcOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16695,9 +17366,6 @@ export type AddUcOwnershipGrantResponse = AddUcOwnershipGrantResponses[keyof Add export type RemoveUcOwnershipGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; principal_type: string; @@ -16714,9 +17382,6 @@ export type RemoveUcOwnershipGrantResponses = { export type SetUcVisibilityData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16733,9 +17398,6 @@ export type SetUcVisibilityResponse = SetUcVisibilityResponses[keyof SetUcVisibi export type ListUcVisibilityGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16752,9 +17414,6 @@ export type ListUcVisibilityGrantsResponse = ListUcVisibilityGrantsResponses[key export type AddUcVisibilityGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -16771,9 +17430,6 @@ export type AddUcVisibilityGrantResponse = AddUcVisibilityGrantResponses[keyof A export type RemoveUcVisibilityGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; principal_type: string; @@ -16790,9 +17446,6 @@ export type RemoveUcVisibilityGrantResponses = { export type CreateHumanApprovalActionData = { body: CreateHumanApprovalActionRequestInner; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -16820,7 +17473,7 @@ export type RegisterTeamOauthClientData = { body: RegisterOAuthClientRequest; path: { /** - * Team ID + * Tilde team ID */ team_id: string; }; @@ -16854,7 +17507,7 @@ export type IssueOpenbotChatkitRealtimeTicketData = { body: IssueChatKitRealtimeSocketTicketRequest; path: { /** - * Team ID + * Tilde team ID */ team_id: string; }; @@ -16888,7 +17541,7 @@ export type ListOpenbotDeploymentsData = { body?: never; path: { /** - * Team ID + * Tilde team ID */ team_id: string; }; @@ -16922,7 +17575,7 @@ export type RegisterOpenbotDeploymentData = { body: RegisterOpenBotDeploymentRequest; path: { /** - * Team ID + * Tilde team ID */ team_id: string; }; @@ -16955,9 +17608,6 @@ export type RegisterOpenbotDeploymentResponse = RegisterOpenbotDeploymentRespons export type GetHostedOpenbotInstanceData = { body?: never; path: { - /** - * Team ID - */ team_id: string; instance_id: string; }; @@ -16980,9 +17630,6 @@ export type GetHostedOpenbotInstanceResponse = GetHostedOpenbotInstanceResponses export type UpdateHostedOpenbotComputerImageData = { body: UpdateHostedOpenBotComputerImageRequest; path: { - /** - * Team ID - */ team_id: string; instance_id: string; }; @@ -17005,9 +17652,6 @@ export type UpdateHostedOpenbotComputerImageResponse = UpdateHostedOpenbotComput export type ConfigureHostedOpenbotInstanceData = { body: ConfigureHostedOpenBotInstanceRequest; path: { - /** - * Team ID - */ team_id: string; instance_id: string; }; @@ -17030,9 +17674,6 @@ export type ConfigureHostedOpenbotInstanceResponse = ConfigureHostedOpenbotInsta export type IssueHostedOpenbotGitTokenData = { body?: never; path: { - /** - * Team ID - */ team_id: string; instance_id: string; }; @@ -17059,9 +17700,6 @@ export type IssueHostedOpenbotGitTokenResponse = IssueHostedOpenbotGitTokenRespo export type CreateHostedOpenbotReleaseData = { body: CreateHostedOpenBotReleaseRequest; path: { - /** - * Team ID - */ team_id: string; instance_id: string; }; @@ -17084,9 +17722,6 @@ export type CreateHostedOpenbotReleaseResponse = CreateHostedOpenbotReleaseRespo export type GetHostedOpenbotReleaseData = { body?: never; path: { - /** - * Team ID - */ team_id: string; instance_id: string; release_id: string; @@ -17110,9 +17745,6 @@ export type GetHostedOpenbotReleaseResponse = GetHostedOpenbotReleaseResponses[k export type UploadHostedOpenbotReleaseFileData = { body: Array; path: { - /** - * Team ID - */ team_id: string; instance_id: string; release_id: string; @@ -17137,9 +17769,6 @@ export type UploadHostedOpenbotReleaseFileResponse = UploadHostedOpenbotReleaseF export type FinalizeHostedOpenbotReleaseData = { body?: never; path: { - /** - * Team ID - */ team_id: string; instance_id: string; release_id: string; @@ -17160,14 +17789,39 @@ export type FinalizeHostedOpenbotReleaseResponses = { export type FinalizeHostedOpenbotReleaseResponse = FinalizeHostedOpenbotReleaseResponses[keyof FinalizeHostedOpenbotReleaseResponses]; -export type ListManagedUserCredentialsData = { - body?: never; +export type IssueProxyRealtimeTicketData = { + body: IssueChatKitRealtimeSocketTicketRequest; + headers: { + /** + * Organization routing when not selected by host + */ + 'X-Tilde-Org-Id'?: string | null; + /** + * Enabled runtime identity acting in the route team + */ + 'X-Tilde-Identity-Id': string; + }; path: { /** - * Team ID + * Team id */ team_id: string; }; + query?: never; + url: '/api/v1/team/{team_id}/identity/realtime-ticket'; +}; + +export type IssueProxyRealtimeTicketResponses = { + 200: ChatKitRealtimeSocketTicket; +}; + +export type IssueProxyRealtimeTicketResponse = IssueProxyRealtimeTicketResponses[keyof IssueProxyRealtimeTicketResponses]; + +export type ListManagedUserCredentialsData = { + body?: never; + path: { + team_id: string; + }; query?: { page_size?: number; next_page_token?: string | null; @@ -17187,9 +17841,6 @@ export type ListManagedUserCredentialsResponse = ListManagedUserCredentialsRespo export type CreateManagedUserCredentialData = { body: CreateManagedUserCredentialBody; path: { - /** - * Team ID - */ team_id: string; type_id: string; }; @@ -17209,9 +17860,6 @@ export type CreateManagedUserCredentialResponse = CreateManagedUserCredentialRes export type GetManagedUserCredentialSecretData = { body?: never; path: { - /** - * Team ID - */ team_id: string; type_id: string; id: WrappedUuidV4; @@ -17234,9 +17882,6 @@ export type GetManagedUserCredentialSecretResponse = GetManagedUserCredentialSec export type UpdateManagedUserCredentialData = { body: UpdateManagedUserCredentialBody; path: { - /** - * Team ID - */ team_id: string; type_id: string; id: WrappedUuidV4; @@ -17257,9 +17902,6 @@ export type UpdateManagedUserCredentialResponse = UpdateManagedUserCredentialRes export type DeleteManagedUserCredentialData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; @@ -19493,9 +20135,6 @@ export type GetToolsOpenapiSpecResponse = GetToolsOpenapiSpecResponses[keyof Get export type ListMemoryBanksData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: { @@ -19514,9 +20153,6 @@ export type ListMemoryBanksResponse = ListMemoryBanksResponses[keyof ListMemoryB export type CreateMemoryBankData = { body: CreateMemoryBankBody; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -19532,9 +20168,6 @@ export type CreateMemoryBankResponse = CreateMemoryBankResponses[keyof CreateMem export type ListVisibleMemoryBanksData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: { @@ -19553,9 +20186,6 @@ export type ListVisibleMemoryBanksResponse = ListVisibleMemoryBanksResponses[key export type DeleteMemoryBankData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19570,9 +20200,6 @@ export type DeleteMemoryBankResponses = { export type GetMemoryBankData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19589,9 +20216,6 @@ export type GetMemoryBankResponse = GetMemoryBankResponses[keyof GetMemoryBankRe export type UpdateMemoryBankData = { body: UpdateMemoryBankBody; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19608,9 +20232,6 @@ export type UpdateMemoryBankResponse = UpdateMemoryBankResponses[keyof UpdateMem export type ResetMemoryBankConfigData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19627,9 +20248,6 @@ export type ResetMemoryBankConfigResponse = ResetMemoryBankConfigResponses[keyof export type GetMemoryBankConfigData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19646,9 +20264,6 @@ export type GetMemoryBankConfigResponse = GetMemoryBankConfigResponses[keyof Get export type UpdateMemoryBankConfigData = { body: UpdateMemoryBankConfigBody; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19665,9 +20280,6 @@ export type UpdateMemoryBankConfigResponse = UpdateMemoryBankConfigResponses[key export type DeleteMemoryDocumentData = { body: DeleteMemoryDocumentBody; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19682,9 +20294,6 @@ export type DeleteMemoryDocumentResponses = { export type ListMemoryBankDocumentsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19705,9 +20314,6 @@ export type ListMemoryBankDocumentsResponse = ListMemoryBankDocumentsResponses[k export type GetMemoryBankDocumentData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; document_id: string; @@ -19725,9 +20331,6 @@ export type GetMemoryBankDocumentResponse = GetMemoryBankDocumentResponses[keyof export type CheckMemoryBankHealthData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19744,9 +20347,6 @@ export type CheckMemoryBankHealthResponse = CheckMemoryBankHealthResponses[keyof export type SetMemoryBankOwnershipModeData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19763,9 +20363,6 @@ export type SetMemoryBankOwnershipModeResponse = SetMemoryBankOwnershipModeRespo export type ListMemoryBankOwnershipGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19782,9 +20379,6 @@ export type ListMemoryBankOwnershipGrantsResponse = ListMemoryBankOwnershipGrant export type AddMemoryBankOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19801,9 +20395,6 @@ export type AddMemoryBankOwnershipGrantResponse = AddMemoryBankOwnershipGrantRes export type RemoveMemoryBankOwnershipGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; principal_type: ResourcePrincipalType; @@ -19820,9 +20411,6 @@ export type RemoveMemoryBankOwnershipGrantResponses = { export type RecallMemoryData = { body: RecallMemoryBody; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19839,9 +20427,6 @@ export type RecallMemoryResponse = RecallMemoryResponses[keyof RecallMemoryRespo export type ReflectMemoryData = { body: ReflectMemoryBody; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19858,9 +20443,6 @@ export type ReflectMemoryResponse = ReflectMemoryResponses[keyof ReflectMemoryRe export type RetainMemoryDocumentData = { body: RetainMemoryBody; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19877,9 +20459,6 @@ export type RetainMemoryDocumentResponse = RetainMemoryDocumentResponses[keyof R export type ExportMemoryBankTemplateData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19896,9 +20475,6 @@ export type ExportMemoryBankTemplateResponse = ExportMemoryBankTemplateResponses export type ImportMemoryBankTemplateData = { body: ImportMemoryBankTemplateBody; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19915,9 +20491,6 @@ export type ImportMemoryBankTemplateResponse2 = ImportMemoryBankTemplateResponse export type SetMemoryBankVisibilityData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19934,9 +20507,6 @@ export type SetMemoryBankVisibilityResponse = SetMemoryBankVisibilityResponses[k export type ListMemoryBankVisibilityGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19953,9 +20523,6 @@ export type ListMemoryBankVisibilityGrantsResponse = ListMemoryBankVisibilityGra export type AddMemoryBankVisibilityGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; }; @@ -19972,9 +20539,6 @@ export type AddMemoryBankVisibilityGrantResponse = AddMemoryBankVisibilityGrantR export type RemoveMemoryBankVisibilityGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; bank_id: WrappedUuidV4; principal_type: ResourcePrincipalType; @@ -19991,9 +20555,6 @@ export type RemoveMemoryBankVisibilityGrantResponses = { export type ListMemoryBankSourceBindingsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; memory_bank_id: WrappedUuidV4; }; @@ -20010,9 +20571,6 @@ export type ListMemoryBankSourceBindingsResponse = ListMemoryBankSourceBindingsR export type ListMemorySourceBindingsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query: { @@ -20031,9 +20589,6 @@ export type ListMemorySourceBindingsResponse = ListMemorySourceBindingsResponses export type ReplaceMemorySourceBindingsData = { body: ReplaceMemoryBankBindingsBody; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -20049,9 +20604,6 @@ export type ReplaceMemorySourceBindingsResponse = ReplaceMemorySourceBindingsRes export type RetryMemorySourceSyncData = { body: RetryMemorySourceBody; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -20067,9 +20619,6 @@ export type RetryMemorySourceSyncResponse = RetryMemorySourceSyncResponses[keyof export type DeleteSynthesisSessionMemoryData = { body: DeleteSynthesisMemoryDocumentBody; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; }; @@ -20086,9 +20635,6 @@ export type DeleteSynthesisSessionMemoryResponse = DeleteSynthesisSessionMemoryR export type RecallSynthesisSessionMemoryData = { body: RecallMemoryBody; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; }; @@ -20105,9 +20651,6 @@ export type RecallSynthesisSessionMemoryResponse = RecallSynthesisSessionMemoryR export type RetainSynthesisSessionMemoryData = { body: SynthesisSessionRetainMemoryBody; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; }; @@ -20124,9 +20667,6 @@ export type RetainSynthesisSessionMemoryResponse = RetainSynthesisSessionMemoryR export type ValidateSynthesisSessionBatchData = { body: ValidateSynthesisBatchBody; path: { - /** - * Team ID - */ team_id: string; session_id: WrappedUuidV4; }; @@ -20146,9 +20686,6 @@ export type ValidateSynthesisSessionBatchResponse = ValidateSynthesisSessionBatc export type ReconcileOpenbotAgentBundleData = { body: ReconcileOpenBotAgentBundleBody; path: { - /** - * Team ID - */ team_id: string; agent_id: string; }; @@ -20165,9 +20702,6 @@ export type ReconcileOpenbotAgentBundleResponse = ReconcileOpenbotAgentBundleRes export type GetOpenbotPluginsCatalogData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -20183,9 +20717,6 @@ export type GetOpenbotPluginsCatalogResponse = GetOpenbotPluginsCatalogResponses export type ProviderSetupCatalogData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query: { @@ -20206,9 +20737,6 @@ export type ProviderSetupCatalogResponse = ProviderSetupCatalogResponses[keyof P export type ProviderSetupStartData = { body: StartProviderSetupBody; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -20227,9 +20755,6 @@ export type ProviderSetupStartResponse = ProviderSetupStartResponses[keyof Provi export type ProviderSetupResumeData = { body: ResumeProviderSetupBody; path: { - /** - * Team ID - */ team_id: string; setup_id: string; }; @@ -20316,9 +20841,6 @@ export type ReverseProxyCreateProfileResponse = ReverseProxyCreateProfileRespons export type ReverseProxyDeleteProfileData = { body?: never; path: { - /** - * Team ID - */ team_id: string; profile_id: string; }; @@ -20411,9 +20933,6 @@ export type ReverseProxyUpdateProfileResponse = ReverseProxyUpdateProfileRespons export type ReverseProxySetProfileOwnershipData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; profile_id: string; }; @@ -20430,9 +20949,6 @@ export type ReverseProxySetProfileOwnershipResponse = ReverseProxySetProfileOwne export type ReverseProxyListProfileOwnershipGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; profile_id: string; }; @@ -20449,9 +20965,6 @@ export type ReverseProxyListProfileOwnershipGrantsResponse = ReverseProxyListPro export type ReverseProxyAddProfileOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; profile_id: string; }; @@ -20468,9 +20981,6 @@ export type ReverseProxyAddProfileOwnershipGrantResponse = ReverseProxyAddProfil export type ReverseProxyRemoveProfileOwnershipGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; profile_id: string; principal_type: ResourcePrincipalType; @@ -20487,9 +20997,6 @@ export type ReverseProxyRemoveProfileOwnershipGrantResponses = { export type ReverseProxySetProfileVisibilityData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; profile_id: string; }; @@ -20506,9 +21013,6 @@ export type ReverseProxySetProfileVisibilityResponse = ReverseProxySetProfileVis export type ReverseProxyListProfileVisibilityGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; profile_id: string; }; @@ -20525,9 +21029,6 @@ export type ReverseProxyListProfileVisibilityGrantsResponse = ReverseProxyListPr export type ReverseProxyAddProfileVisibilityGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; profile_id: string; }; @@ -20544,9 +21045,6 @@ export type ReverseProxyAddProfileVisibilityGrantResponse = ReverseProxyAddProfi export type ReverseProxyRemoveProfileVisibilityGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; profile_id: string; principal_type: ResourcePrincipalType; @@ -20661,9 +21159,6 @@ export type SignalsListDeliveriesResponse = SignalsListDeliveriesResponses[keyof export type SignalsGetDeliveryData = { body?: never; path: { - /** - * Team ID - */ team_id: string; delivery_id: WrappedUuidV4; }; @@ -20680,9 +21175,6 @@ export type SignalsGetDeliveryResponse = SignalsGetDeliveryResponses[keyof Signa export type SignalsRetryDeliveryData = { body?: never; path: { - /** - * Team ID - */ team_id: string; delivery_id: WrappedUuidV4; }; @@ -20713,232 +21205,616 @@ export type SignalsListProviderInstancesData = { url: '/api/v1/team/{team_id}/signals/instances'; }; -export type SignalsListProviderInstancesResponses = { - 200: SignalProviderInstancePaginatedResponse; -}; +export type SignalsListProviderInstancesResponses = { + 200: SignalProviderInstancePaginatedResponse; +}; + +export type SignalsListProviderInstancesResponse = SignalsListProviderInstancesResponses[keyof SignalsListProviderInstancesResponses]; + +export type SignalsCreateProviderInstanceData = { + body: CreateSignalProviderInstanceRequestInner; + path: { + team_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances'; +}; + +export type SignalsCreateProviderInstanceResponses = { + 200: SignalProviderInstance; +}; + +export type SignalsCreateProviderInstanceResponse = SignalsCreateProviderInstanceResponses[keyof SignalsCreateProviderInstanceResponses]; + +export type SetSignalProviderOwnershipData = { + body: SetResourceAccessModeRequest; + path: { + team_id: string; + id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{id}/ownership'; +}; + +export type SetSignalProviderOwnershipResponses = { + 200: ResourceAuthorization; +}; + +export type SetSignalProviderOwnershipResponse = SetSignalProviderOwnershipResponses[keyof SetSignalProviderOwnershipResponses]; + +export type SetSignalProviderVisibilityData = { + body: SetResourceAccessModeRequest; + path: { + team_id: string; + id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{id}/visibility'; +}; + +export type SetSignalProviderVisibilityResponses = { + 200: ResourceAuthorization; +}; + +export type SetSignalProviderVisibilityResponse = SetSignalProviderVisibilityResponses[keyof SetSignalProviderVisibilityResponses]; + +export type ListSignalProviderGrantsData = { + body?: never; + path: { + team_id: string; + id: string; + plane: ResourceGrantPlane; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants'; +}; + +export type ListSignalProviderGrantsResponses = { + 200: Array; +}; + +export type ListSignalProviderGrantsResponse = ListSignalProviderGrantsResponses[keyof ListSignalProviderGrantsResponses]; + +export type AddSignalProviderGrantData = { + body: CreateResourcePlaneGrantRequest; + path: { + team_id: string; + id: string; + plane: ResourceGrantPlane; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants'; +}; + +export type AddSignalProviderGrantResponses = { + 200: ResourceGrant; +}; + +export type AddSignalProviderGrantResponse = AddSignalProviderGrantResponses[keyof AddSignalProviderGrantResponses]; + +export type RemoveSignalProviderGrantData = { + body?: never; + path: { + team_id: string; + id: string; + plane: ResourceGrantPlane; + principal_type: ResourcePrincipalType; + principal_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants/{principal_type}/{principal_id}'; +}; + +export type RemoveSignalProviderGrantResponses = { + 200: unknown; +}; + +export type SignalsDeleteProviderInstanceData = { + body?: never; + path: { + team_id: string; + instance_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; +}; + +export type SignalsDeleteProviderInstanceResponses = { + 200: DeleteSignalResponse; +}; + +export type SignalsDeleteProviderInstanceResponse = SignalsDeleteProviderInstanceResponses[keyof SignalsDeleteProviderInstanceResponses]; + +export type SignalsGetProviderInstanceData = { + body?: never; + path: { + team_id: string; + instance_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; +}; + +export type SignalsGetProviderInstanceResponses = { + 200: SignalProviderInstance; +}; + +export type SignalsGetProviderInstanceResponse = SignalsGetProviderInstanceResponses[keyof SignalsGetProviderInstanceResponses]; + +export type SignalsUpdateProviderInstanceData = { + body: UpdateSignalProviderInstanceRequestInner; + path: { + team_id: string; + instance_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; +}; + +export type SignalsUpdateProviderInstanceResponses = { + 200: SignalProviderInstance; +}; + +export type SignalsUpdateProviderInstanceResponse = SignalsUpdateProviderInstanceResponses[keyof SignalsUpdateProviderInstanceResponses]; + +export type SignalsTriggerFakeData = { + body: TriggerFakeSignalRequest; + path: { + team_id: string; + instance_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/signals/instances/{instance_id}/test'; +}; + +export type SignalsTriggerFakeResponses = { + 200: IngestSignalResponse; +}; + +export type SignalsTriggerFakeResponse = SignalsTriggerFakeResponses[keyof SignalsTriggerFakeResponses]; + +export type SignalsListAvailableProvidersData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + }; + query?: { + page_size?: number; + next_page_token?: string; + }; + url: '/api/v1/team/{team_id}/signals/providers'; +}; + +export type SignalsListAvailableProvidersResponses = { + 200: SignalProviderSourceSerializedPaginatedResponse; +}; + +export type SignalsListAvailableProvidersResponse = SignalsListAvailableProvidersResponses[keyof SignalsListAvailableProvidersResponses]; + +export type ListSkillsData = { + body?: never; + path: { + team_id: string; + }; + query?: { + page_size?: number; + next_page_token?: string | null; + name_prefix?: string | null; + skill_registry_id?: null | WrappedUuidV4; + }; + url: '/api/v1/team/{team_id}/skill'; +}; + +export type ListSkillsErrors = { + /** + * Unauthorized + */ + 401: Error; +}; + +export type ListSkillsError = ListSkillsErrors[keyof ListSkillsErrors]; + +export type ListSkillsResponses = { + /** + * Skills + */ + 200: SkillPaginatedResponse; +}; + +export type ListSkillsResponse = ListSkillsResponses[keyof ListSkillsResponses]; + +export type CreateSkillData = { + body: CreateSkillInner; + path: { + team_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill'; +}; + +export type CreateSkillErrors = { + /** + * Unauthorized + */ + 401: Error; +}; + +export type CreateSkillError = CreateSkillErrors[keyof CreateSkillErrors]; + +export type CreateSkillResponses = { + /** + * Created skill + */ + 200: Skill; +}; + +export type CreateSkillResponse = CreateSkillResponses[keyof CreateSkillResponses]; + +export type ListProxiedSkillProvidersData = { + body?: never; + path: { + team_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill-providers'; +}; + +export type ListProxiedSkillProvidersResponses = { + /** + * Trusted proxied skill providers + */ + 200: ListProxiedSkillProvidersResponse; +}; + +export type ListProxiedSkillProvidersResponse2 = ListProxiedSkillProvidersResponses[keyof ListProxiedSkillProvidersResponses]; + +export type CreateTrustedSkillProviderData = { + body: CreateTrustedSkillProviderRequest; + path: { + team_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill-providers/trusted'; +}; + +export type CreateTrustedSkillProviderErrors = { + /** + * Invalid provider URL + */ + 400: Error; + /** + * Unauthorized + */ + 401: Error; +}; + +export type CreateTrustedSkillProviderError = CreateTrustedSkillProviderErrors[keyof CreateTrustedSkillProviderErrors]; + +export type CreateTrustedSkillProviderResponses = { + /** + * Created trusted skill provider + */ + 200: ProxiedSkillProvider; +}; + +export type CreateTrustedSkillProviderResponse = CreateTrustedSkillProviderResponses[keyof CreateTrustedSkillProviderResponses]; + +export type GetProxiedSkillProviderData = { + body?: never; + path: { + team_id: string; + provider_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill-providers/{provider_id}'; +}; + +export type GetProxiedSkillProviderErrors = { + /** + * Not found + */ + 404: Error; +}; + +export type GetProxiedSkillProviderError = GetProxiedSkillProviderErrors[keyof GetProxiedSkillProviderErrors]; + +export type GetProxiedSkillProviderResponses = { + /** + * Trusted proxied skill provider + */ + 200: ProxiedSkillProvider; +}; + +export type GetProxiedSkillProviderResponse = GetProxiedSkillProviderResponses[keyof GetProxiedSkillProviderResponses]; + +export type ListSkillRegistriesData = { + body?: never; + path: { + team_id: string; + }; + query?: { + page_size?: number; + next_page_token?: string | null; + name_prefix?: string | null; + }; + url: '/api/v1/team/{team_id}/skill-registry'; +}; + +export type ListSkillRegistriesErrors = { + /** + * Unauthorized + */ + 401: Error; +}; + +export type ListSkillRegistriesError = ListSkillRegistriesErrors[keyof ListSkillRegistriesErrors]; + +export type ListSkillRegistriesResponses = { + /** + * Skill registries + */ + 200: SkillRegistryPaginatedResponse; +}; + +export type ListSkillRegistriesResponse = ListSkillRegistriesResponses[keyof ListSkillRegistriesResponses]; + +export type CreateSkillRegistryData = { + body: CreateSkillRegistryBody; + path: { + team_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill-registry'; +}; + +export type CreateSkillRegistryErrors = { + /** + * Unauthorized + */ + 401: Error; +}; + +export type CreateSkillRegistryError = CreateSkillRegistryErrors[keyof CreateSkillRegistryErrors]; + +export type CreateSkillRegistryResponses = { + /** + * Created skill registry + */ + 200: SkillRegistry; +}; + +export type CreateSkillRegistryResponse = CreateSkillRegistryResponses[keyof CreateSkillRegistryResponses]; + +export type DeleteSkillRegistryData = { + body?: never; + path: { + team_id: string; + id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill-registry/{id}'; +}; + +export type DeleteSkillRegistryErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; +}; + +export type DeleteSkillRegistryError = DeleteSkillRegistryErrors[keyof DeleteSkillRegistryErrors]; -export type SignalsListProviderInstancesResponse = SignalsListProviderInstancesResponses[keyof SignalsListProviderInstancesResponses]; +export type DeleteSkillRegistryResponses = { + /** + * Deleted + */ + 200: unknown; +}; -export type SignalsCreateProviderInstanceData = { - body: CreateSignalProviderInstanceRequestInner; +export type GetSkillRegistryData = { + body?: never; path: { - /** - * Team ID - */ team_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances'; + url: '/api/v1/team/{team_id}/skill-registry/{id}'; }; -export type SignalsCreateProviderInstanceResponses = { - 200: SignalProviderInstance; +export type GetSkillRegistryErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; }; -export type SignalsCreateProviderInstanceResponse = SignalsCreateProviderInstanceResponses[keyof SignalsCreateProviderInstanceResponses]; +export type GetSkillRegistryError = GetSkillRegistryErrors[keyof GetSkillRegistryErrors]; -export type SetSignalProviderOwnershipData = { - body: SetResourceAccessModeRequest; +export type GetSkillRegistryResponses = { + /** + * Skill registry + */ + 200: SkillRegistry; +}; + +export type GetSkillRegistryResponse = GetSkillRegistryResponses[keyof GetSkillRegistryResponses]; + +export type UpdateSkillRegistryData = { + body: UpdateSkillRegistryBody; path: { - /** - * Team ID - */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{id}/ownership'; + url: '/api/v1/team/{team_id}/skill-registry/{id}'; }; -export type SetSignalProviderOwnershipResponses = { - 200: ResourceAuthorization; +export type UpdateSkillRegistryErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; }; -export type SetSignalProviderOwnershipResponse = SetSignalProviderOwnershipResponses[keyof SetSignalProviderOwnershipResponses]; +export type UpdateSkillRegistryError = UpdateSkillRegistryErrors[keyof UpdateSkillRegistryErrors]; -export type SetSignalProviderVisibilityData = { +export type UpdateSkillRegistryResponses = { + /** + * Skill registry + */ + 200: SkillRegistry; +}; + +export type UpdateSkillRegistryResponse = UpdateSkillRegistryResponses[keyof UpdateSkillRegistryResponses]; + +export type SetSkillRegistryOwnershipModeData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; - id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{id}/visibility'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership'; }; -export type SetSignalProviderVisibilityResponses = { +export type SetSkillRegistryOwnershipModeResponses = { 200: ResourceAuthorization; }; -export type SetSignalProviderVisibilityResponse = SetSignalProviderVisibilityResponses[keyof SetSignalProviderVisibilityResponses]; +export type SetSkillRegistryOwnershipModeResponse = SetSkillRegistryOwnershipModeResponses[keyof SetSkillRegistryOwnershipModeResponses]; -export type ListSignalProviderGrantsData = { +export type ListSkillRegistryOwnershipGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; - id: string; - plane: ResourceGrantPlane; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants'; }; -export type ListSignalProviderGrantsResponses = { +export type ListSkillRegistryOwnershipGrantsResponses = { 200: Array; }; -export type ListSignalProviderGrantsResponse = ListSignalProviderGrantsResponses[keyof ListSignalProviderGrantsResponses]; +export type ListSkillRegistryOwnershipGrantsResponse = ListSkillRegistryOwnershipGrantsResponses[keyof ListSkillRegistryOwnershipGrantsResponses]; -export type AddSignalProviderGrantData = { +export type AddSkillRegistryOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; - id: string; - plane: ResourceGrantPlane; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants'; }; -export type AddSignalProviderGrantResponses = { +export type AddSkillRegistryOwnershipGrantResponses = { 200: ResourceGrant; }; -export type AddSignalProviderGrantResponse = AddSignalProviderGrantResponses[keyof AddSignalProviderGrantResponses]; +export type AddSkillRegistryOwnershipGrantResponse = AddSkillRegistryOwnershipGrantResponses[keyof AddSkillRegistryOwnershipGrantResponses]; -export type RemoveSignalProviderGrantData = { +export type RemoveSkillRegistryOwnershipGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; - id: string; - plane: ResourceGrantPlane; - principal_type: ResourcePrincipalType; + id: WrappedUuidV4; + principal_type: string; principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{id}/{plane}/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants/{principal_type}/{principal_id}'; }; -export type RemoveSignalProviderGrantResponses = { +export type RemoveSkillRegistryOwnershipGrantResponses = { 200: unknown; }; -export type SignalsDeleteProviderInstanceData = { - body?: never; - path: { - /** - * Team ID - */ - team_id: string; - instance_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; -}; - -export type SignalsDeleteProviderInstanceResponses = { - 200: DeleteSignalResponse; -}; - -export type SignalsDeleteProviderInstanceResponse = SignalsDeleteProviderInstanceResponses[keyof SignalsDeleteProviderInstanceResponses]; - -export type SignalsGetProviderInstanceData = { - body?: never; +export type AddProviderSkillsToSkillRegistryData = { + body: AddProviderSkillsToRegistryRequest; path: { - /** - * Team ID - */ team_id: string; - instance_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/provider-skills'; }; -export type SignalsGetProviderInstanceResponses = { - 200: SignalProviderInstance; +export type AddProviderSkillsToSkillRegistryErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; }; -export type SignalsGetProviderInstanceResponse = SignalsGetProviderInstanceResponses[keyof SignalsGetProviderInstanceResponses]; - -export type SignalsUpdateProviderInstanceData = { - body: UpdateSignalProviderInstanceRequestInner; - path: { - /** - * Team ID - */ - team_id: string; - instance_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{instance_id}'; -}; +export type AddProviderSkillsToSkillRegistryError = AddProviderSkillsToSkillRegistryErrors[keyof AddProviderSkillsToSkillRegistryErrors]; -export type SignalsUpdateProviderInstanceResponses = { - 200: SignalProviderInstance; +export type AddProviderSkillsToSkillRegistryResponses = { + /** + * Updated skill registry + */ + 200: SkillRegistry; }; -export type SignalsUpdateProviderInstanceResponse = SignalsUpdateProviderInstanceResponses[keyof SignalsUpdateProviderInstanceResponses]; +export type AddProviderSkillsToSkillRegistryResponse = AddProviderSkillsToSkillRegistryResponses[keyof AddProviderSkillsToSkillRegistryResponses]; -export type SignalsTriggerFakeData = { - body: TriggerFakeSignalRequest; +export type SearchSkillRegistryData = { + body: SkillDiscoverySearchRequest; path: { - /** - * Team ID - */ team_id: string; - instance_id: string; + id: string; }; query?: never; - url: '/api/v1/team/{team_id}/signals/instances/{instance_id}/test'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/search'; }; -export type SignalsTriggerFakeResponses = { - 200: IngestSignalResponse; +export type SearchSkillRegistryErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; }; -export type SignalsTriggerFakeResponse = SignalsTriggerFakeResponses[keyof SignalsTriggerFakeResponses]; - -export type SignalsListAvailableProvidersData = { - body?: never; - path: { - /** - * Team ID - */ - team_id: string; - }; - query?: { - page_size?: number; - next_page_token?: string; - }; - url: '/api/v1/team/{team_id}/signals/providers'; -}; +export type SearchSkillRegistryError = SearchSkillRegistryErrors[keyof SearchSkillRegistryErrors]; -export type SignalsListAvailableProvidersResponses = { - 200: SignalProviderSourceSerializedPaginatedResponse; +export type SearchSkillRegistryResponses = { + /** + * Search results + */ + 200: SkillDiscoverySearchResponse; }; -export type SignalsListAvailableProvidersResponse = SignalsListAvailableProvidersResponses[keyof SignalsListAvailableProvidersResponses]; +export type SearchSkillRegistryResponse = SearchSkillRegistryResponses[keyof SearchSkillRegistryResponses]; -export type ListSkillsData = { +export type ListSkillRegistrySkillSummariesData = { body?: never; path: { - /** - * Team ID - */ team_id: string; + id: string; }; query?: { page_size?: number; @@ -20946,221 +21822,205 @@ export type ListSkillsData = { name_prefix?: string | null; skill_registry_id?: null | WrappedUuidV4; }; - url: '/api/v1/team/{team_id}/skill'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/skill-summary'; }; -export type ListSkillsErrors = { +export type ListSkillRegistrySkillSummariesErrors = { /** * Unauthorized */ 401: Error; + /** + * Not found + */ + 404: Error; }; -export type ListSkillsError = ListSkillsErrors[keyof ListSkillsErrors]; +export type ListSkillRegistrySkillSummariesError = ListSkillRegistrySkillSummariesErrors[keyof ListSkillRegistrySkillSummariesErrors]; -export type ListSkillsResponses = { +export type ListSkillRegistrySkillSummariesResponses = { /** - * Skills + * Skill summaries */ - 200: SkillPaginatedResponse; + 200: SkillSummaryPaginatedResponse; }; -export type ListSkillsResponse = ListSkillsResponses[keyof ListSkillsResponses]; +export type ListSkillRegistrySkillSummariesResponse = ListSkillRegistrySkillSummariesResponses[keyof ListSkillRegistrySkillSummariesResponses]; -export type CreateSkillData = { - body: CreateSkillInner; +export type GetSkillRegistrySkillByTitleData = { + body?: never; path: { - /** - * Team ID - */ team_id: string; + id: string; + title: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/by-title/{title}'; }; -export type CreateSkillErrors = { +export type GetSkillRegistrySkillByTitleErrors = { /** * Unauthorized */ 401: Error; -}; - -export type CreateSkillError = CreateSkillErrors[keyof CreateSkillErrors]; - -export type CreateSkillResponses = { /** - * Created skill + * Not found */ - 200: Skill; + 404: Error; }; -export type CreateSkillResponse = CreateSkillResponses[keyof CreateSkillResponses]; - -export type ListProxiedSkillProvidersData = { - body?: never; - path: { - /** - * Team ID - */ - team_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/skill-providers'; -}; +export type GetSkillRegistrySkillByTitleError = GetSkillRegistrySkillByTitleErrors[keyof GetSkillRegistrySkillByTitleErrors]; -export type ListProxiedSkillProvidersResponses = { +export type GetSkillRegistrySkillByTitleResponses = { /** - * Trusted proxied skill providers + * Skill */ - 200: ListProxiedSkillProvidersResponse; + 200: Skill; }; -export type ListProxiedSkillProvidersResponse2 = ListProxiedSkillProvidersResponses[keyof ListProxiedSkillProvidersResponses]; +export type GetSkillRegistrySkillByTitleResponse = GetSkillRegistrySkillByTitleResponses[keyof GetSkillRegistrySkillByTitleResponses]; -export type CreateTrustedSkillProviderData = { - body: CreateTrustedSkillProviderRequest; +export type GetSkillRegistrySkillData = { + body?: never; path: { - /** - * Team ID - */ team_id: string; + id: string; + skill_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-providers/trusted'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}'; }; -export type CreateTrustedSkillProviderErrors = { - /** - * Invalid provider URL - */ - 400: Error; +export type GetSkillRegistrySkillErrors = { /** * Unauthorized */ 401: Error; + /** + * Not found + */ + 404: Error; }; -export type CreateTrustedSkillProviderError = CreateTrustedSkillProviderErrors[keyof CreateTrustedSkillProviderErrors]; +export type GetSkillRegistrySkillError = GetSkillRegistrySkillErrors[keyof GetSkillRegistrySkillErrors]; -export type CreateTrustedSkillProviderResponses = { +export type GetSkillRegistrySkillResponses = { /** - * Created trusted skill provider + * Skill */ - 200: ProxiedSkillProvider; + 200: Skill; }; -export type CreateTrustedSkillProviderResponse = CreateTrustedSkillProviderResponses[keyof CreateTrustedSkillProviderResponses]; +export type GetSkillRegistrySkillResponse = GetSkillRegistrySkillResponses[keyof GetSkillRegistrySkillResponses]; -export type GetProxiedSkillProviderData = { +export type GetSkillRegistrySkillDescriptionData = { body?: never; path: { - /** - * Team ID - */ team_id: string; - provider_id: string; + id: string; + skill_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-providers/{provider_id}'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}/description'; }; -export type GetProxiedSkillProviderErrors = { +export type GetSkillRegistrySkillDescriptionErrors = { + /** + * Unauthorized + */ + 401: Error; /** * Not found */ 404: Error; }; -export type GetProxiedSkillProviderError = GetProxiedSkillProviderErrors[keyof GetProxiedSkillProviderErrors]; +export type GetSkillRegistrySkillDescriptionError = GetSkillRegistrySkillDescriptionErrors[keyof GetSkillRegistrySkillDescriptionErrors]; -export type GetProxiedSkillProviderResponses = { +export type GetSkillRegistrySkillDescriptionResponses = { /** - * Trusted proxied skill provider + * Skill description */ - 200: ProxiedSkillProvider; + 200: SkillDescriptionResponse; }; -export type GetProxiedSkillProviderResponse = GetProxiedSkillProviderResponses[keyof GetProxiedSkillProviderResponses]; +export type GetSkillRegistrySkillDescriptionResponse = GetSkillRegistrySkillDescriptionResponses[keyof GetSkillRegistrySkillDescriptionResponses]; -export type ListSkillRegistriesData = { - body?: never; +export type SetSkillRegistryVisibilityData = { + body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; + id: WrappedUuidV4; }; - query?: { - page_size?: number; - next_page_token?: string | null; - name_prefix?: string | null; - }; - url: '/api/v1/team/{team_id}/skill-registry'; + query?: never; + url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility'; }; -export type ListSkillRegistriesErrors = { - /** - * Unauthorized - */ - 401: Error; +export type SetSkillRegistryVisibilityResponses = { + 200: ResourceAuthorization; }; -export type ListSkillRegistriesError = ListSkillRegistriesErrors[keyof ListSkillRegistriesErrors]; +export type SetSkillRegistryVisibilityResponse = SetSkillRegistryVisibilityResponses[keyof SetSkillRegistryVisibilityResponses]; -export type ListSkillRegistriesResponses = { - /** - * Skill registries - */ - 200: SkillRegistryPaginatedResponse; +export type ListSkillRegistryVisibilityGrantsData = { + body?: never; + path: { + team_id: string; + id: WrappedUuidV4; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants'; }; -export type ListSkillRegistriesResponse = ListSkillRegistriesResponses[keyof ListSkillRegistriesResponses]; +export type ListSkillRegistryVisibilityGrantsResponses = { + 200: Array; +}; -export type CreateSkillRegistryData = { - body: CreateSkillRegistryBody; +export type ListSkillRegistryVisibilityGrantsResponse = ListSkillRegistryVisibilityGrantsResponses[keyof ListSkillRegistryVisibilityGrantsResponses]; + +export type AddSkillRegistryVisibilityGrantData = { + body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry'; + url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants'; }; -export type CreateSkillRegistryErrors = { - /** - * Unauthorized - */ - 401: Error; +export type AddSkillRegistryVisibilityGrantResponses = { + 200: ResourceGrant; }; -export type CreateSkillRegistryError = CreateSkillRegistryErrors[keyof CreateSkillRegistryErrors]; +export type AddSkillRegistryVisibilityGrantResponse = AddSkillRegistryVisibilityGrantResponses[keyof AddSkillRegistryVisibilityGrantResponses]; -export type CreateSkillRegistryResponses = { - /** - * Created skill registry - */ - 200: SkillRegistry; +export type RemoveSkillRegistryVisibilityGrantData = { + body?: never; + path: { + team_id: string; + id: WrappedUuidV4; + principal_type: string; + principal_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants/{principal_type}/{principal_id}'; }; -export type CreateSkillRegistryResponse = CreateSkillRegistryResponses[keyof CreateSkillRegistryResponses]; +export type RemoveSkillRegistryVisibilityGrantResponses = { + 200: unknown; +}; -export type DeleteSkillRegistryData = { +export type DeleteSkillData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}'; + url: '/api/v1/team/{team_id}/skill/{id}'; }; -export type DeleteSkillRegistryErrors = { +export type DeleteSkillErrors = { /** * Unauthorized */ @@ -21171,29 +22031,26 @@ export type DeleteSkillRegistryErrors = { 404: Error; }; -export type DeleteSkillRegistryError = DeleteSkillRegistryErrors[keyof DeleteSkillRegistryErrors]; +export type DeleteSkillError = DeleteSkillErrors[keyof DeleteSkillErrors]; -export type DeleteSkillRegistryResponses = { +export type DeleteSkillResponses = { /** * Deleted */ 200: unknown; }; -export type GetSkillRegistryData = { +export type GetSkillData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}'; + url: '/api/v1/team/{team_id}/skill/{id}'; }; -export type GetSkillRegistryErrors = { +export type GetSkillErrors = { /** * Unauthorized */ @@ -21204,31 +22061,28 @@ export type GetSkillRegistryErrors = { 404: Error; }; -export type GetSkillRegistryError = GetSkillRegistryErrors[keyof GetSkillRegistryErrors]; +export type GetSkillError = GetSkillErrors[keyof GetSkillErrors]; -export type GetSkillRegistryResponses = { +export type GetSkillResponses = { /** - * Skill registry + * Skill */ - 200: SkillRegistry; + 200: Skill; }; -export type GetSkillRegistryResponse = GetSkillRegistryResponses[keyof GetSkillRegistryResponses]; +export type GetSkillResponse = GetSkillResponses[keyof GetSkillResponses]; -export type UpdateSkillRegistryData = { - body: UpdateSkillRegistryBody; +export type UpdateSkillData = { + body: UpdateSkillBody; path: { - /** - * Team ID - */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}'; + url: '/api/v1/team/{team_id}/skill/{id}'; }; -export type UpdateSkillRegistryErrors = { +export type UpdateSkillErrors = { /** * Unauthorized */ @@ -21239,713 +22093,753 @@ export type UpdateSkillRegistryErrors = { 404: Error; }; -export type UpdateSkillRegistryError = UpdateSkillRegistryErrors[keyof UpdateSkillRegistryErrors]; +export type UpdateSkillError = UpdateSkillErrors[keyof UpdateSkillErrors]; -export type UpdateSkillRegistryResponses = { +export type UpdateSkillResponses = { /** - * Skill registry + * Skill */ - 200: SkillRegistry; + 200: Skill; }; -export type UpdateSkillRegistryResponse = UpdateSkillRegistryResponses[keyof UpdateSkillRegistryResponses]; +export type UpdateSkillResponse = UpdateSkillResponses[keyof UpdateSkillResponses]; -export type SetSkillRegistryOwnershipModeData = { +export type SetSkillOwnershipModeData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership'; + url: '/api/v1/team/{team_id}/skill/{id}/ownership'; }; -export type SetSkillRegistryOwnershipModeResponses = { +export type SetSkillOwnershipModeResponses = { 200: ResourceAuthorization; }; -export type SetSkillRegistryOwnershipModeResponse = SetSkillRegistryOwnershipModeResponses[keyof SetSkillRegistryOwnershipModeResponses]; +export type SetSkillOwnershipModeResponse = SetSkillOwnershipModeResponses[keyof SetSkillOwnershipModeResponses]; -export type ListSkillRegistryOwnershipGrantsData = { +export type ListSkillOwnershipGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants'; }; -export type ListSkillRegistryOwnershipGrantsResponses = { +export type ListSkillOwnershipGrantsResponses = { 200: Array; }; -export type ListSkillRegistryOwnershipGrantsResponse = ListSkillRegistryOwnershipGrantsResponses[keyof ListSkillRegistryOwnershipGrantsResponses]; +export type ListSkillOwnershipGrantsResponse = ListSkillOwnershipGrantsResponses[keyof ListSkillOwnershipGrantsResponses]; -export type AddSkillRegistryOwnershipGrantData = { +export type AddSkillOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants'; }; -export type AddSkillRegistryOwnershipGrantResponses = { +export type AddSkillOwnershipGrantResponses = { 200: ResourceGrant; }; -export type AddSkillRegistryOwnershipGrantResponse = AddSkillRegistryOwnershipGrantResponses[keyof AddSkillRegistryOwnershipGrantResponses]; +export type AddSkillOwnershipGrantResponse = AddSkillOwnershipGrantResponses[keyof AddSkillOwnershipGrantResponses]; -export type RemoveSkillRegistryOwnershipGrantData = { +export type RemoveSkillOwnershipGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; principal_type: string; principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/ownership/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants/{principal_type}/{principal_id}'; }; -export type RemoveSkillRegistryOwnershipGrantResponses = { +export type RemoveSkillOwnershipGrantResponses = { 200: unknown; }; -export type AddProviderSkillsToSkillRegistryData = { - body: AddProviderSkillsToRegistryRequest; +export type GetSkillPackageData = { + body?: never; path: { - /** - * Team ID - */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/provider-skills'; + url: '/api/v1/team/{team_id}/skill/{id}/package'; }; -export type AddProviderSkillsToSkillRegistryErrors = { +export type GetSkillPackageErrors = { /** * Unauthorized */ 401: Error; /** - * Not found + * Package not found */ 404: Error; }; -export type AddProviderSkillsToSkillRegistryError = AddProviderSkillsToSkillRegistryErrors[keyof AddProviderSkillsToSkillRegistryErrors]; +export type GetSkillPackageError = GetSkillPackageErrors[keyof GetSkillPackageErrors]; -export type AddProviderSkillsToSkillRegistryResponses = { +export type GetSkillPackageResponses = { /** - * Updated skill registry + * Immutable skill package manifest */ - 200: SkillRegistry; + 200: SkillPackageManifest; }; -export type AddProviderSkillsToSkillRegistryResponse = AddProviderSkillsToSkillRegistryResponses[keyof AddProviderSkillsToSkillRegistryResponses]; +export type GetSkillPackageResponse = GetSkillPackageResponses[keyof GetSkillPackageResponses]; -export type SearchSkillRegistryData = { - body: SkillDiscoverySearchRequest; +export type DownloadSkillPackageFileData = { + body: DownloadSkillPackageFileRequest; path: { - /** - * Team ID - */ team_id: string; id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/search'; + url: '/api/v1/team/{team_id}/skill/{id}/package/download'; }; -export type SearchSkillRegistryErrors = { +export type DownloadSkillPackageFileErrors = { /** * Unauthorized */ 401: Error; /** - * Not found + * Package file not found */ 404: Error; }; -export type SearchSkillRegistryError = SearchSkillRegistryErrors[keyof SearchSkillRegistryErrors]; +export type DownloadSkillPackageFileError = DownloadSkillPackageFileErrors[keyof DownloadSkillPackageFileErrors]; -export type SearchSkillRegistryResponses = { +export type DownloadSkillPackageFileResponses = { /** - * Search results + * Short-lived package file download */ - 200: SkillDiscoverySearchResponse; + 200: SkillPackageFileDownload; }; -export type SearchSkillRegistryResponse = SearchSkillRegistryResponses[keyof SearchSkillRegistryResponses]; +export type DownloadSkillPackageFileResponse = DownloadSkillPackageFileResponses[keyof DownloadSkillPackageFileResponses]; -export type ListSkillRegistrySkillSummariesData = { - body?: never; +export type SetSkillVisibilityData = { + body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; - id: string; - }; - query?: { - page_size?: number; - next_page_token?: string | null; - name_prefix?: string | null; - skill_registry_id?: null | WrappedUuidV4; + id: WrappedUuidV4; }; - url: '/api/v1/team/{team_id}/skill-registry/{id}/skill-summary'; + query?: never; + url: '/api/v1/team/{team_id}/skill/{id}/visibility'; }; -export type ListSkillRegistrySkillSummariesErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; +export type SetSkillVisibilityResponses = { + 200: ResourceAuthorization; }; -export type ListSkillRegistrySkillSummariesError = ListSkillRegistrySkillSummariesErrors[keyof ListSkillRegistrySkillSummariesErrors]; +export type SetSkillVisibilityResponse = SetSkillVisibilityResponses[keyof SetSkillVisibilityResponses]; -export type ListSkillRegistrySkillSummariesResponses = { - /** - * Skill summaries - */ - 200: SkillSummaryPaginatedResponse; +export type ListSkillVisibilityGrantsData = { + body?: never; + path: { + team_id: string; + id: WrappedUuidV4; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants'; }; -export type ListSkillRegistrySkillSummariesResponse = ListSkillRegistrySkillSummariesResponses[keyof ListSkillRegistrySkillSummariesResponses]; +export type ListSkillVisibilityGrantsResponses = { + 200: Array; +}; -export type GetSkillRegistrySkillByTitleData = { - body?: never; +export type ListSkillVisibilityGrantsResponse = ListSkillVisibilityGrantsResponses[keyof ListSkillVisibilityGrantsResponses]; + +export type AddSkillVisibilityGrantData = { + body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; - id: string; - title: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/by-title/{title}'; + url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants'; }; -export type GetSkillRegistrySkillByTitleErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; +export type AddSkillVisibilityGrantResponses = { + 200: ResourceGrant; }; -export type GetSkillRegistrySkillByTitleError = GetSkillRegistrySkillByTitleErrors[keyof GetSkillRegistrySkillByTitleErrors]; +export type AddSkillVisibilityGrantResponse = AddSkillVisibilityGrantResponses[keyof AddSkillVisibilityGrantResponses]; -export type GetSkillRegistrySkillByTitleResponses = { - /** - * Skill - */ - 200: Skill; +export type RemoveSkillVisibilityGrantData = { + body?: never; + path: { + team_id: string; + id: WrappedUuidV4; + principal_type: string; + principal_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants/{principal_type}/{principal_id}'; }; -export type GetSkillRegistrySkillByTitleResponse = GetSkillRegistrySkillByTitleResponses[keyof GetSkillRegistrySkillByTitleResponses]; +export type RemoveSkillVisibilityGrantResponses = { + 200: unknown; +}; -export type GetSkillRegistrySkillData = { +export type StateExportData = { body?: never; path: { /** * Team ID */ team_id: string; - id: string; - skill_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}'; + query?: { + format?: StateDocumentFormat; + }; + url: '/api/v1/team/{team_id}/state/export'; }; -export type GetSkillRegistrySkillErrors = { +export type StateExportErrors = { /** - * Unauthorized + * Bad Request */ - 401: Error; + 400: Error; /** - * Not found + * Internal Server Error */ - 404: Error; + 500: Error; }; -export type GetSkillRegistrySkillError = GetSkillRegistrySkillErrors[keyof GetSkillRegistrySkillErrors]; +export type StateExportError = StateExportErrors[keyof StateExportErrors]; -export type GetSkillRegistrySkillResponses = { +export type StateExportResponses = { /** - * Skill + * Exported team state */ - 200: Skill; + 200: unknown; }; -export type GetSkillRegistrySkillResponse = GetSkillRegistrySkillResponses[keyof GetSkillRegistrySkillResponses]; - -export type GetSkillRegistrySkillDescriptionData = { - body?: never; +export type StateImportData = { + body: ImportStateRequest; path: { /** * Team ID */ team_id: string; - id: string; - skill_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/skill/{skill_id}/description'; + url: '/api/v1/team/{team_id}/state/import'; }; -export type GetSkillRegistrySkillDescriptionErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; +export type StateImportResponses = { + 200: ImportStateResponse; }; -export type GetSkillRegistrySkillDescriptionError = GetSkillRegistrySkillDescriptionErrors[keyof GetSkillRegistrySkillDescriptionErrors]; +export type StateImportResponse = StateImportResponses[keyof StateImportResponses]; -export type GetSkillRegistrySkillDescriptionResponses = { - /** - * Skill description - */ - 200: SkillDescriptionResponse; +export type StateGetImportData = { + body?: never; + path: { + /** + * Team ID + */ + team_id: string; + /** + * Import run ID + */ + import_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/state/import/{import_id}'; }; -export type GetSkillRegistrySkillDescriptionResponse = GetSkillRegistrySkillDescriptionResponses[keyof GetSkillRegistrySkillDescriptionResponses]; +export type StateGetImportResponses = { + 200: ImportRunSummary; +}; -export type SetSkillRegistryVisibilityData = { - body: SetResourceAccessModeRequest; +export type StateGetImportResponse = StateGetImportResponses[keyof StateGetImportResponses]; + +export type StateImportEventsData = { + body?: never; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; + /** + * Import run ID + */ + import_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility'; + url: '/api/v1/team/{team_id}/state/import/{import_id}/events'; }; -export type SetSkillRegistryVisibilityResponses = { - 200: ResourceAuthorization; +export type StateImportEventsResponses = { + /** + * SSE stream of import events + */ + 200: unknown; }; -export type SetSkillRegistryVisibilityResponse = SetSkillRegistryVisibilityResponses[keyof SetSkillRegistryVisibilityResponses]; - -export type ListSkillRegistryVisibilityGrantsData = { - body?: never; +export type StatePlanData = { + body: PlanStateRequest; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/state/plan'; }; -export type ListSkillRegistryVisibilityGrantsResponses = { - 200: Array; +export type StatePlanResponses = { + 200: StatePlan; }; -export type ListSkillRegistryVisibilityGrantsResponse = ListSkillRegistryVisibilityGrantsResponses[keyof ListSkillRegistryVisibilityGrantsResponses]; +export type StatePlanResponse = StatePlanResponses[keyof StatePlanResponses]; -export type AddSkillRegistryVisibilityGrantData = { - body: CreateResourcePlaneGrantRequest; +export type StateSchemaData = { + body?: never; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/state/schema'; }; -export type AddSkillRegistryVisibilityGrantResponses = { - 200: ResourceGrant; +export type StateSchemaResponses = { + 200: StateSchema; }; -export type AddSkillRegistryVisibilityGrantResponse = AddSkillRegistryVisibilityGrantResponses[keyof AddSkillRegistryVisibilityGrantResponses]; +export type StateSchemaResponse = StateSchemaResponses[keyof StateSchemaResponses]; -export type RemoveSkillRegistryVisibilityGrantData = { +export type StateSchemaJsonData = { body?: never; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; - principal_type: string; - principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill-registry/{id}/visibility/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/state/schema.json'; }; -export type RemoveSkillRegistryVisibilityGrantResponses = { +export type StateSchemaJsonResponses = { + /** + * Team state JSON schema + */ 200: unknown; }; -export type DeleteSkillData = { - body?: never; +export type StateResolveSourceData = { + body: ResolveStateSourceRequest; path: { /** * Team ID */ team_id: string; - id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}'; + url: '/api/v1/team/{team_id}/state/source/resolve'; }; -export type DeleteSkillErrors = { +export type StateResolveSourceErrors = { /** - * Unauthorized + * Invalid source */ - 401: Error; + 400: Error; /** - * Not found + * Authentication required */ - 404: Error; + 401: Error; }; -export type DeleteSkillError = DeleteSkillErrors[keyof DeleteSkillErrors]; +export type StateResolveSourceError = StateResolveSourceErrors[keyof StateResolveSourceErrors]; -export type DeleteSkillResponses = { +export type StateResolveSourceResponses = { /** - * Deleted + * Resolved immutable state source */ - 200: unknown; + 200: ResolveStateSourceResponse; }; -export type GetSkillData = { - body?: never; +export type StateResolveSourceResponse = StateResolveSourceResponses[keyof StateResolveSourceResponses]; + +export type StateValidateData = { + body: ValidateStateRequest; path: { /** * Team ID */ team_id: string; - id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}'; -}; - -export type GetSkillErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; + url: '/api/v1/team/{team_id}/state/validate'; }; -export type GetSkillError = GetSkillErrors[keyof GetSkillErrors]; - -export type GetSkillResponses = { - /** - * Skill - */ - 200: Skill; +export type StateValidateResponses = { + 200: ValidateStateResponse; }; -export type GetSkillResponse = GetSkillResponses[keyof GetSkillResponses]; +export type StateValidateResponse = StateValidateResponses[keyof StateValidateResponses]; -export type UpdateSkillData = { - body: UpdateSkillBody; +export type TildePayProvisionData = { + body: ProvisionTildePayRequest; path: { /** * Team ID */ team_id: string; - id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}'; + url: '/api/v1/team/{team_id}/tilde-pay/onboarding'; }; -export type UpdateSkillErrors = { - /** - * Unauthorized - */ - 401: Error; +export type TildePayProvisionResponses = { /** - * Not found + * Fully reconciled Tilde Pay onboarding state */ - 404: Error; + 200: ProvisionTildePayResponse; }; -export type UpdateSkillError = UpdateSkillErrors[keyof UpdateSkillErrors]; +export type TildePayProvisionResponse = TildePayProvisionResponses[keyof TildePayProvisionResponses]; -export type UpdateSkillResponses = { +export type TildePayPaymentMppData = { + body: PayPaymentRequest; + path: { + /** + * Team ID + */ + team_id: string; + }; + query?: never; + url: '/api/v1/team/{team_id}/tilde-pay/payments/mpp'; +}; + +export type TildePayPaymentMppResponses = { /** - * Skill + * Tilde Pay payment response */ - 200: Skill; + 200: PaymentResponse; }; -export type UpdateSkillResponse = UpdateSkillResponses[keyof UpdateSkillResponses]; +export type TildePayPaymentMppResponse = TildePayPaymentMppResponses[keyof TildePayPaymentMppResponses]; -export type SetSkillOwnershipModeData = { - body: SetResourceAccessModeRequest; +export type TildePayPaymentX402Data = { + body: PayPaymentRequest; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/ownership'; + url: '/api/v1/team/{team_id}/tilde-pay/payments/x402'; }; -export type SetSkillOwnershipModeResponses = { - 200: ResourceAuthorization; +export type TildePayPaymentX402Responses = { + /** + * Tilde Pay payment response + */ + 200: PaymentResponse; }; -export type SetSkillOwnershipModeResponse = SetSkillOwnershipModeResponses[keyof SetSkillOwnershipModeResponses]; +export type TildePayPaymentX402Response = TildePayPaymentX402Responses[keyof TildePayPaymentX402Responses]; -export type ListSkillOwnershipGrantsData = { +export type TildePayWalletSummaryData = { body?: never; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/tilde-pay/wallet'; }; -export type ListSkillOwnershipGrantsResponses = { - 200: Array; +export type TildePayWalletSummaryResponses = { + /** + * Tilde Pay wallet summary + */ + 200: PayWalletSummaryResponse; }; -export type ListSkillOwnershipGrantsResponse = ListSkillOwnershipGrantsResponses[keyof ListSkillOwnershipGrantsResponses]; +export type TildePayWalletSummaryResponse = TildePayWalletSummaryResponses[keyof TildePayWalletSummaryResponses]; -export type AddSkillOwnershipGrantData = { - body: CreateResourcePlaneGrantRequest; +export type TildePayWalletCreateData = { + body: CreatePayWalletRequest; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants'; + url: '/api/v1/team/{team_id}/tilde-pay/wallet'; }; -export type AddSkillOwnershipGrantResponses = { - 200: ResourceGrant; +export type TildePayWalletCreateResponses = { + /** + * Tilde Pay wallet summary + */ + 200: PayWalletSummaryResponse; }; -export type AddSkillOwnershipGrantResponse = AddSkillOwnershipGrantResponses[keyof AddSkillOwnershipGrantResponses]; +export type TildePayWalletCreateResponse = TildePayWalletCreateResponses[keyof TildePayWalletCreateResponses]; -export type RemoveSkillOwnershipGrantData = { - body?: never; +export type TildePayWalletWaitUntilBalanceData = { + body: WaitForPayBalanceRequest; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; - principal_type: string; - principal_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/ownership/grants/{principal_type}/{principal_id}'; + url: '/api/v1/team/{team_id}/tilde-pay/wallet/wait-until-balance'; }; -export type RemoveSkillOwnershipGrantResponses = { - 200: unknown; +export type TildePayWalletWaitUntilBalanceResponses = { + /** + * Tilde Pay balance wait result + */ + 200: WaitUntilBalanceResponse; }; -export type GetSkillPackageData = { +export type TildePayWalletWaitUntilBalanceResponse = TildePayWalletWaitUntilBalanceResponses[keyof TildePayWalletWaitUntilBalanceResponses]; + +export type ListTrustedRuntimesData = { body?: never; path: { - /** - * Team ID - */ team_id: string; - id: string; + }; + query?: { + page_size?: number; + next_page_token?: string | null; + }; + url: '/api/v1/team/{team_id}/trusted-runtime'; +}; + +export type ListTrustedRuntimesErrors = { + /** + * Unauthorized + */ + 401: Error; +}; + +export type ListTrustedRuntimesError = ListTrustedRuntimesErrors[keyof ListTrustedRuntimesErrors]; + +export type ListTrustedRuntimesResponses = { + /** + * Trusted runtimes + */ + 200: TrustedRuntimePaginatedResponse; +}; + +export type ListTrustedRuntimesResponse = ListTrustedRuntimesResponses[keyof ListTrustedRuntimesResponses]; + +export type CreateTrustedRuntimeData = { + body: CreateTrustedRuntimeInner; + path: { + team_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/package'; + url: '/api/v1/team/{team_id}/trusted-runtime'; }; -export type GetSkillPackageErrors = { +export type CreateTrustedRuntimeErrors = { /** * Unauthorized */ 401: Error; +}; + +export type CreateTrustedRuntimeError = CreateTrustedRuntimeErrors[keyof CreateTrustedRuntimeErrors]; + +export type CreateTrustedRuntimeResponses = { /** - * Package not found + * Created trusted runtime */ - 404: Error; + 200: TrustedRuntime; }; -export type GetSkillPackageError = GetSkillPackageErrors[keyof GetSkillPackageErrors]; +export type CreateTrustedRuntimeResponse = CreateTrustedRuntimeResponses[keyof CreateTrustedRuntimeResponses]; -export type GetSkillPackageResponses = { +export type DeleteTrustedRuntimeData = { + body?: never; + path: { + team_id: string; + id: WrappedUuidV4; + }; + query?: never; + url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; +}; + +export type DeleteTrustedRuntimeErrors = { /** - * Immutable skill package manifest + * Unauthorized */ - 200: SkillPackageManifest; + 401: Error; }; -export type GetSkillPackageResponse = GetSkillPackageResponses[keyof GetSkillPackageResponses]; +export type DeleteTrustedRuntimeError = DeleteTrustedRuntimeErrors[keyof DeleteTrustedRuntimeErrors]; -export type DownloadSkillPackageFileData = { - body: DownloadSkillPackageFileRequest; +export type DeleteTrustedRuntimeResponses = { + /** + * Deleted trusted runtime + */ + 200: unknown; +}; + +export type GetTrustedRuntimeData = { + body?: never; path: { - /** - * Team ID - */ team_id: string; - id: string; + id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/package/download'; + url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; }; -export type DownloadSkillPackageFileErrors = { +export type GetTrustedRuntimeErrors = { /** * Unauthorized */ 401: Error; /** - * Package file not found + * Not found */ 404: Error; }; -export type DownloadSkillPackageFileError = DownloadSkillPackageFileErrors[keyof DownloadSkillPackageFileErrors]; +export type GetTrustedRuntimeError = GetTrustedRuntimeErrors[keyof GetTrustedRuntimeErrors]; -export type DownloadSkillPackageFileResponses = { +export type GetTrustedRuntimeResponses = { /** - * Short-lived package file download + * Trusted runtime */ - 200: SkillPackageFileDownload; + 200: TrustedRuntime; }; -export type DownloadSkillPackageFileResponse = DownloadSkillPackageFileResponses[keyof DownloadSkillPackageFileResponses]; +export type GetTrustedRuntimeResponse = GetTrustedRuntimeResponses[keyof GetTrustedRuntimeResponses]; -export type SetSkillVisibilityData = { - body: SetResourceAccessModeRequest; +export type UpdateTrustedRuntimeData = { + body: UpdateTrustedRuntimeBody; path: { - /** - * Team ID - */ team_id: string; id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/visibility'; + url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; }; -export type SetSkillVisibilityResponses = { - 200: ResourceAuthorization; +export type UpdateTrustedRuntimeErrors = { + /** + * Unauthorized + */ + 401: Error; + /** + * Not found + */ + 404: Error; }; -export type SetSkillVisibilityResponse = SetSkillVisibilityResponses[keyof SetSkillVisibilityResponses]; +export type UpdateTrustedRuntimeError = UpdateTrustedRuntimeErrors[keyof UpdateTrustedRuntimeErrors]; -export type ListSkillVisibilityGrantsData = { +export type UpdateTrustedRuntimeResponses = { + /** + * Updated trusted runtime + */ + 200: TrustedRuntime; +}; + +export type UpdateTrustedRuntimeResponse = UpdateTrustedRuntimeResponses[keyof UpdateTrustedRuntimeResponses]; + +export type WalletListData = { body?: never; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; }; - query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants'; + query?: { + page_size?: number; + owner_id?: string | null; + }; + url: '/api/v1/team/{team_id}/wallet'; }; -export type ListSkillVisibilityGrantsResponses = { - 200: Array; +export type WalletListResponses = { + /** + * List wallets + */ + 200: WalletPaginatedResponse; }; -export type ListSkillVisibilityGrantsResponse = ListSkillVisibilityGrantsResponses[keyof ListSkillVisibilityGrantsResponses]; +export type WalletListResponse = WalletListResponses[keyof WalletListResponses]; -export type AddSkillVisibilityGrantData = { - body: CreateResourcePlaneGrantRequest; +export type WalletCreateData = { + body: CreateWalletBody; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; }; query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants'; + url: '/api/v1/team/{team_id}/wallet'; }; -export type AddSkillVisibilityGrantResponses = { - 200: ResourceGrant; +export type WalletCreateErrors = { + /** + * Invalid request + */ + 400: Error; + /** + * Authentication failed + */ + 401: Error; + /** + * Forbidden + */ + 403: Error; + /** + * Upstream provider error + */ + 502: Error; }; -export type AddSkillVisibilityGrantResponse = AddSkillVisibilityGrantResponses[keyof AddSkillVisibilityGrantResponses]; +export type WalletCreateError = WalletCreateErrors[keyof WalletCreateErrors]; -export type RemoveSkillVisibilityGrantData = { - body?: never; - path: { - /** - * Team ID - */ - team_id: string; - id: WrappedUuidV4; - principal_type: string; - principal_id: string; - }; - query?: never; - url: '/api/v1/team/{team_id}/skill/{id}/visibility/grants/{principal_type}/{principal_id}'; +export type WalletCreateResponses = { + /** + * Created wallet + */ + 200: Wallet; }; -export type RemoveSkillVisibilityGrantResponses = { - 200: unknown; -}; +export type WalletCreateResponse = WalletCreateResponses[keyof WalletCreateResponses]; -export type StateExportData = { +export type WalletCustomerListData = { body?: never; path: { /** @@ -21954,33 +22848,23 @@ export type StateExportData = { team_id: string; }; query?: { - format?: StateDocumentFormat; + page_size?: number; + owner_id?: string | null; }; - url: '/api/v1/team/{team_id}/state/export'; + url: '/api/v1/team/{team_id}/wallet/customer'; }; -export type StateExportErrors = { - /** - * Bad Request - */ - 400: Error; +export type WalletCustomerListResponses = { /** - * Internal Server Error + * List wallet customers */ - 500: Error; + 200: WalletCustomerPaginatedResponse; }; -export type StateExportError = StateExportErrors[keyof StateExportErrors]; - -export type StateExportResponses = { - /** - * Exported team state - */ - 200: unknown; -}; +export type WalletCustomerListResponse = WalletCustomerListResponses[keyof WalletCustomerListResponses]; -export type StateImportData = { - body: ImportStateRequest; +export type WalletCustomerCreateData = { + body: CreateWalletCustomerBody; path: { /** * Team ID @@ -21988,16 +22872,19 @@ export type StateImportData = { team_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/import'; + url: '/api/v1/team/{team_id}/wallet/customer'; }; -export type StateImportResponses = { - 200: ImportStateResponse; +export type WalletCustomerCreateResponses = { + /** + * Created wallet customer + */ + 200: WalletCustomer; }; -export type StateImportResponse = StateImportResponses[keyof StateImportResponses]; +export type WalletCustomerCreateResponse = WalletCustomerCreateResponses[keyof WalletCustomerCreateResponses]; -export type StateGetImportData = { +export type WalletCustomerGetData = { body?: never; path: { /** @@ -22005,21 +22892,24 @@ export type StateGetImportData = { */ team_id: string; /** - * Import run ID + * Wallet customer ID */ - import_id: string; + customer_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/import/{import_id}'; + url: '/api/v1/team/{team_id}/wallet/customer/{customer_id}'; }; -export type StateGetImportResponses = { - 200: ImportRunSummary; +export type WalletCustomerGetResponses = { + /** + * Wallet customer + */ + 200: WalletCustomer; }; -export type StateGetImportResponse = StateGetImportResponses[keyof StateGetImportResponses]; +export type WalletCustomerGetResponse = WalletCustomerGetResponses[keyof WalletCustomerGetResponses]; -export type StateImportEventsData = { +export type WalletCustomerKycGetData = { body?: never; path: { /** @@ -22027,296 +22917,302 @@ export type StateImportEventsData = { */ team_id: string; /** - * Import run ID + * Wallet customer ID */ - import_id: string; + customer_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/import/{import_id}/events'; + url: '/api/v1/team/{team_id}/wallet/customer/{customer_id}/kyc'; }; -export type StateImportEventsResponses = { +export type WalletCustomerKycGetResponses = { /** - * SSE stream of import events + * Wallet customer KYC details */ - 200: unknown; + 200: GetWalletCustomerKycResponse; }; -export type StatePlanData = { - body: PlanStateRequest; +export type WalletCustomerKycGetResponse = WalletCustomerKycGetResponses[keyof WalletCustomerKycGetResponses]; + +export type WalletGetData = { + body?: never; path: { /** * Team ID */ team_id: string; + /** + * Wallet ID + */ + wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/plan'; + url: '/api/v1/team/{team_id}/wallet/{wallet_id}'; }; -export type StatePlanResponses = { - 200: StatePlan; +export type WalletGetResponses = { + /** + * Wallet + */ + 200: Wallet; }; -export type StatePlanResponse = StatePlanResponses[keyof StatePlanResponses]; +export type WalletGetResponse = WalletGetResponses[keyof WalletGetResponses]; -export type StateSchemaData = { +export type WalletGetBalancesData = { body?: never; path: { /** * Team ID */ team_id: string; + /** + * Wallet ID + */ + wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/schema'; + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/balances'; }; -export type StateSchemaResponses = { - 200: StateSchema; +export type WalletGetBalancesResponses = { + /** + * Wallet balances + */ + 200: GetBalancesResponse; }; -export type StateSchemaResponse = StateSchemaResponses[keyof StateSchemaResponses]; +export type WalletGetBalancesResponse = WalletGetBalancesResponses[keyof WalletGetBalancesResponses]; -export type StateSchemaJsonData = { +export type WalletGetCryptoDepositInformationData = { body?: never; path: { /** * Team ID */ team_id: string; + /** + * Wallet ID + */ + wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/schema.json'; + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/crypto'; }; -export type StateSchemaJsonResponses = { +export type WalletGetCryptoDepositInformationResponses = { /** - * Team state JSON schema + * Wallet crypto deposit information */ - 200: unknown; + 200: GetCryptoDepositInformationResponse; }; -export type StateResolveSourceData = { - body: ResolveStateSourceRequest; +export type WalletGetCryptoDepositInformationResponse = WalletGetCryptoDepositInformationResponses[keyof WalletGetCryptoDepositInformationResponses]; + +export type WalletGetFiatDepositInformationData = { + body?: never; path: { /** * Team ID */ team_id: string; + /** + * Wallet ID + */ + wallet_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/state/source/resolve'; -}; - -export type StateResolveSourceErrors = { - /** - * Invalid source - */ - 400: Error; - /** - * Authentication required - */ - 401: Error; + query?: { + currency?: string | null; + }; + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/fiat'; }; -export type StateResolveSourceError = StateResolveSourceErrors[keyof StateResolveSourceErrors]; - -export type StateResolveSourceResponses = { +export type WalletGetFiatDepositInformationResponses = { /** - * Resolved immutable state source + * Wallet fiat deposit information */ - 200: ResolveStateSourceResponse; + 200: GetFiatDepositInformationResponse; }; -export type StateResolveSourceResponse = StateResolveSourceResponses[keyof StateResolveSourceResponses]; +export type WalletGetFiatDepositInformationResponse = WalletGetFiatDepositInformationResponses[keyof WalletGetFiatDepositInformationResponses]; -export type StateValidateData = { - body: ValidateStateRequest; +export type WalletMakeMppPaymentData = { + body: MakeMppPaymentRequest; path: { /** * Team ID */ team_id: string; + /** + * Wallet ID + */ + wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/state/validate'; + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/payments/mpp'; }; -export type StateValidateResponses = { - 200: ValidateStateResponse; +export type WalletMakeMppPaymentResponses = { + /** + * Payment response + */ + 200: PaymentResponse; }; -export type StateValidateResponse = StateValidateResponses[keyof StateValidateResponses]; +export type WalletMakeMppPaymentResponse = WalletMakeMppPaymentResponses[keyof WalletMakeMppPaymentResponses]; -export type ListTrustedRuntimesData = { - body?: never; +export type WalletMakeX402PaymentData = { + body: MakeX402PaymentRequest; path: { /** * Team ID */ team_id: string; + /** + * Wallet ID + */ + wallet_id: string; }; - query?: { - page_size?: number; - next_page_token?: string | null; - }; - url: '/api/v1/team/{team_id}/trusted-runtime'; -}; - -export type ListTrustedRuntimesErrors = { - /** - * Unauthorized - */ - 401: Error; + query?: never; + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/payments/x402'; }; -export type ListTrustedRuntimesError = ListTrustedRuntimesErrors[keyof ListTrustedRuntimesErrors]; - -export type ListTrustedRuntimesResponses = { +export type WalletMakeX402PaymentResponses = { /** - * Trusted runtimes + * Payment response */ - 200: TrustedRuntimePaginatedResponse; + 200: PaymentResponse; }; -export type ListTrustedRuntimesResponse = ListTrustedRuntimesResponses[keyof ListTrustedRuntimesResponses]; +export type WalletMakeX402PaymentResponse = WalletMakeX402PaymentResponses[keyof WalletMakeX402PaymentResponses]; -export type CreateTrustedRuntimeData = { - body: CreateTrustedRuntimeInner; +export type WalletTransactionHistoryListData = { + body?: never; path: { /** * Team ID */ team_id: string; + /** + * Wallet ID + */ + wallet_id: string; }; - query?: never; - url: '/api/v1/team/{team_id}/trusted-runtime'; -}; - -export type CreateTrustedRuntimeErrors = { - /** - * Unauthorized - */ - 401: Error; + query?: { + page_size?: number; + next_page_token?: string | null; + }; + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history'; }; -export type CreateTrustedRuntimeError = CreateTrustedRuntimeErrors[keyof CreateTrustedRuntimeErrors]; - -export type CreateTrustedRuntimeResponses = { +export type WalletTransactionHistoryListResponses = { /** - * Created trusted runtime + * Wallet transaction history */ - 200: TrustedRuntime; + 200: WalletTransactionHistoryItemPaginatedResponse; }; -export type CreateTrustedRuntimeResponse = CreateTrustedRuntimeResponses[keyof CreateTrustedRuntimeResponses]; +export type WalletTransactionHistoryListResponse = WalletTransactionHistoryListResponses[keyof WalletTransactionHistoryListResponses]; -export type DeleteTrustedRuntimeData = { +export type WalletTransactionHistoryRefreshData = { body?: never; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; + /** + * Wallet ID + */ + wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history/refresh'; }; -export type DeleteTrustedRuntimeErrors = { +export type WalletTransactionHistoryRefreshResponses = { /** - * Unauthorized + * Wallet transaction history refresh result */ - 401: Error; + 200: RefreshWalletTransactionHistoryResponse; }; -export type DeleteTrustedRuntimeError = DeleteTrustedRuntimeErrors[keyof DeleteTrustedRuntimeErrors]; - -export type DeleteTrustedRuntimeResponses = { - /** - * Deleted trusted runtime - */ - 200: unknown; -}; +export type WalletTransactionHistoryRefreshResponse = WalletTransactionHistoryRefreshResponses[keyof WalletTransactionHistoryRefreshResponses]; -export type GetTrustedRuntimeData = { - body?: never; +export type WalletVirtualAccountCreateData = { + body: CreateWalletVirtualAccountBody; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; + /** + * Wallet ID + */ + wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/virtual-account'; }; -export type GetTrustedRuntimeErrors = { +export type WalletVirtualAccountCreateErrors = { /** - * Unauthorized + * Invalid request + */ + 400: Error; + /** + * Authentication failed */ 401: Error; /** - * Not found + * Forbidden */ - 404: Error; + 403: Error; + /** + * Upstream provider error + */ + 502: Error; }; -export type GetTrustedRuntimeError = GetTrustedRuntimeErrors[keyof GetTrustedRuntimeErrors]; +export type WalletVirtualAccountCreateError = WalletVirtualAccountCreateErrors[keyof WalletVirtualAccountCreateErrors]; -export type GetTrustedRuntimeResponses = { +export type WalletVirtualAccountCreateResponses = { /** - * Trusted runtime + * Created wallet virtual account */ - 200: TrustedRuntime; + 200: WalletVirtualAccount; }; -export type GetTrustedRuntimeResponse = GetTrustedRuntimeResponses[keyof GetTrustedRuntimeResponses]; +export type WalletVirtualAccountCreateResponse = WalletVirtualAccountCreateResponses[keyof WalletVirtualAccountCreateResponses]; -export type UpdateTrustedRuntimeData = { - body: UpdateTrustedRuntimeBody; +export type WalletWaitUntilBalanceData = { + body: WaitUntilBalanceRequest; path: { /** * Team ID */ team_id: string; - id: WrappedUuidV4; + /** + * Wallet ID + */ + wallet_id: string; }; query?: never; - url: '/api/v1/team/{team_id}/trusted-runtime/{id}'; -}; - -export type UpdateTrustedRuntimeErrors = { - /** - * Unauthorized - */ - 401: Error; - /** - * Not found - */ - 404: Error; + url: '/api/v1/team/{team_id}/wallet/{wallet_id}/wait-until-balance'; }; -export type UpdateTrustedRuntimeError = UpdateTrustedRuntimeErrors[keyof UpdateTrustedRuntimeErrors]; - -export type UpdateTrustedRuntimeResponses = { +export type WalletWaitUntilBalanceResponses = { /** - * Updated trusted runtime + * Wait result */ - 200: TrustedRuntime; + 200: WaitUntilBalanceResponse; }; -export type UpdateTrustedRuntimeResponse = UpdateTrustedRuntimeResponses[keyof UpdateTrustedRuntimeResponses]; +export type WalletWaitUntilBalanceResponse = WalletWaitUntilBalanceResponses[keyof WalletWaitUntilBalanceResponses]; export type ListWikiOntologyTemplatesData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -22332,9 +23228,6 @@ export type ListWikiOntologyTemplatesResponse = ListWikiOntologyTemplatesRespons export type ListWikisData = { body?: never; path: { - /** - * Team ID - */ team_id: string; }; query?: { @@ -22353,9 +23246,6 @@ export type ListWikisResponse = ListWikisResponses[keyof ListWikisResponses]; export type CreateWikiData = { body: CreateWikiInner; path: { - /** - * Team ID - */ team_id: string; }; query?: never; @@ -22371,9 +23261,6 @@ export type CreateWikiResponse = CreateWikiResponses[keyof CreateWikiResponses]; export type DeleteWikiData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22388,9 +23275,6 @@ export type DeleteWikiResponses = { export type GetWikiData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22407,9 +23291,6 @@ export type GetWikiResponse = GetWikiResponses[keyof GetWikiResponses]; export type UpdateWikiData = { body: UpdateWikiBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22426,9 +23307,6 @@ export type UpdateWikiResponse = UpdateWikiResponses[keyof UpdateWikiResponses]; export type ListWikiAssetsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22450,9 +23328,6 @@ export type ListWikiAssetsResponse = ListWikiAssetsResponses[keyof ListWikiAsset export type CreateWikiAssetUploadData = { body: CreateWikiAssetBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22469,9 +23344,6 @@ export type CreateWikiAssetUploadResponse = CreateWikiAssetUploadResponses[keyof export type DeleteWikiAssetData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22494,9 +23366,6 @@ export type DeleteWikiAssetResponses = { export type UpdateWikiAssetData = { body: UpdateWikiAssetBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22514,9 +23383,6 @@ export type UpdateWikiAssetResponse = UpdateWikiAssetResponses[keyof UpdateWikiA export type CompleteWikiAssetUploadData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22534,9 +23400,6 @@ export type CompleteWikiAssetUploadResponse = CompleteWikiAssetUploadResponses[k export type DownloadWikiAssetContentData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22561,9 +23424,6 @@ export type DownloadWikiAssetContentResponse = DownloadWikiAssetContentResponses export type UploadWikiAssetContentData = { body: Array; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22590,9 +23450,6 @@ export type UploadWikiAssetContentResponses = { export type DownloadWikiAssetData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22610,9 +23467,6 @@ export type DownloadWikiAssetResponse = DownloadWikiAssetResponses[keyof Downloa export type InspectWikiAssetReferencesData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; asset_id: WrappedUuidV4; @@ -22630,9 +23484,6 @@ export type InspectWikiAssetReferencesResponse = InspectWikiAssetReferencesRespo export type TraverseWikiGraphData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22656,9 +23507,6 @@ export type TraverseWikiGraphResponse = TraverseWikiGraphResponses[keyof Travers export type ListWikiOntologyInstallationsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22675,9 +23523,6 @@ export type ListWikiOntologyInstallationsResponse = ListWikiOntologyInstallation export type ApplyWikiOntologyTemplateData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; template_key: string; @@ -22695,9 +23540,6 @@ export type ApplyWikiOntologyTemplateResponse = ApplyWikiOntologyTemplateRespons export type SetWikiOwnershipModeData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22714,9 +23556,6 @@ export type SetWikiOwnershipModeResponse = SetWikiOwnershipModeResponses[keyof S export type ListWikiOwnershipGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22733,9 +23572,6 @@ export type ListWikiOwnershipGrantsResponse = ListWikiOwnershipGrantsResponses[k export type AddWikiOwnershipGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22752,9 +23588,6 @@ export type AddWikiOwnershipGrantResponse = AddWikiOwnershipGrantResponses[keyof export type RemoveWikiOwnershipGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; principal_type: ResourcePrincipalType; @@ -22771,9 +23604,6 @@ export type RemoveWikiOwnershipGrantResponses = { export type ListWikiPageTypesData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22792,9 +23622,6 @@ export type ListWikiPageTypesResponse = ListWikiPageTypesResponses[keyof ListWik export type CreateWikiPageTypeData = { body: CreatePageTypeBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -22811,9 +23638,6 @@ export type CreateWikiPageTypeResponse = CreateWikiPageTypeResponses[keyof Creat export type DeleteWikiPageTypeData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22838,9 +23662,6 @@ export type DeleteWikiPageTypeResponse = DeleteWikiPageTypeResponses[keyof Delet export type GetWikiPageTypeData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22858,9 +23679,6 @@ export type GetWikiPageTypeResponse = GetWikiPageTypeResponses[keyof GetWikiPage export type UpdateWikiPageTypeData = { body: UpdatePageTypeBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22885,9 +23703,6 @@ export type UpdateWikiPageTypeResponse = UpdateWikiPageTypeResponses[keyof Updat export type ValidateWikiPageTypeDataData = { body: ValidatePageTypeDataBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22905,9 +23720,6 @@ export type ValidateWikiPageTypeDataResponse = ValidateWikiPageTypeDataResponses export type ListWikiPageTypeVersionsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22925,9 +23737,6 @@ export type ListWikiPageTypeVersionsResponse = ListWikiPageTypeVersionsResponses export type CreateWikiPageTypeVersionData = { body: CreatePageTypeVersionBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22952,9 +23761,6 @@ export type CreateWikiPageTypeVersionResponse = CreateWikiPageTypeVersionRespons export type DeleteWikiPageTypeVersionData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -22980,9 +23786,6 @@ export type DeleteWikiPageTypeVersionResponse = DeleteWikiPageTypeVersionRespons export type GetWikiPageTypeVersionData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -23001,9 +23804,6 @@ export type GetWikiPageTypeVersionResponse = GetWikiPageTypeVersionResponses[key export type PreviewWikiPageTypeMigrationData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_type_id: WrappedUuidV4; @@ -23029,9 +23829,6 @@ export type PreviewWikiPageTypeMigrationResponse = PreviewWikiPageTypeMigrationR export type ListWikiPagesData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23052,9 +23849,6 @@ export type ListWikiPagesResponse = ListWikiPagesResponses[keyof ListWikiPagesRe export type CreateWikiPageData = { body: UpsertWikiPageBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23071,9 +23865,6 @@ export type CreateWikiPageResponse = CreateWikiPageResponses[keyof CreateWikiPag export type GrepWikiPagesData = { body: GrepWikiPagesBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23090,9 +23881,6 @@ export type GrepWikiPagesResponse2 = GrepWikiPagesResponses[keyof GrepWikiPagesR export type DeleteWikiPageData = { body: ExpectedRevisionBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23115,9 +23903,6 @@ export type DeleteWikiPageResponses = { export type GetWikiPageData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23135,9 +23920,6 @@ export type GetWikiPageResponse = GetWikiPageResponses[keyof GetWikiPageResponse export type UpdateWikiPageData = { body: UpsertWikiPageBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23162,9 +23944,6 @@ export type UpdateWikiPageResponse = UpdateWikiPageResponses[keyof UpdateWikiPag export type ListWikiPageAssetsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23182,9 +23961,6 @@ export type ListWikiPageAssetsResponse = ListWikiPageAssetsResponses[keyof ListW export type GetWikiPageBacklinksData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23204,9 +23980,6 @@ export type GetWikiPageBacklinksResponse = GetWikiPageBacklinksResponses[keyof G export type MigrateWikiPageTypeData = { body: MigrateWikiPageBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23231,9 +24004,6 @@ export type MigrateWikiPageTypeResponse = MigrateWikiPageTypeResponses[keyof Mig export type MoveWikiPageData = { body: MoveWikiPageBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23258,9 +24028,6 @@ export type MoveWikiPageResponse = MoveWikiPageResponses[keyof MoveWikiPageRespo export type GetWikiPageNeighborhoodData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23284,9 +24051,6 @@ export type GetWikiPageNeighborhoodResponse = GetWikiPageNeighborhoodResponses[k export type ListWikiPageRevisionsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; page_id: WrappedUuidV4; @@ -23307,9 +24071,6 @@ export type ListWikiPageRevisionsResponse = ListWikiPageRevisionsResponses[keyof export type ListWikiRelationshipTypesData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23326,9 +24087,6 @@ export type ListWikiRelationshipTypesResponse = ListWikiRelationshipTypesRespons export type CreateWikiRelationshipTypeData = { body: CreateRelationshipTypeBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23345,9 +24103,6 @@ export type CreateWikiRelationshipTypeResponse = CreateWikiRelationshipTypeRespo export type DeleteWikiRelationshipTypeData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23370,9 +24125,6 @@ export type DeleteWikiRelationshipTypeResponses = { export type GetWikiRelationshipTypeData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23390,9 +24142,6 @@ export type GetWikiRelationshipTypeResponse = GetWikiRelationshipTypeResponses[k export type UpdateWikiRelationshipTypeData = { body: UpdateRelationshipTypeBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23417,9 +24166,6 @@ export type UpdateWikiRelationshipTypeResponse = UpdateWikiRelationshipTypeRespo export type ListWikiRelationshipTypeVersionsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23437,9 +24183,6 @@ export type ListWikiRelationshipTypeVersionsResponse = ListWikiRelationshipTypeV export type CreateWikiRelationshipTypeVersionData = { body: CreateRelationshipTypeVersionBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23464,9 +24207,6 @@ export type CreateWikiRelationshipTypeVersionResponse = CreateWikiRelationshipTy export type GetWikiRelationshipTypeVersionData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; type_id: WrappedUuidV4; @@ -23485,9 +24225,6 @@ export type GetWikiRelationshipTypeVersionResponse = GetWikiRelationshipTypeVers export type ListWikiPageRelationshipsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23507,9 +24244,6 @@ export type ListWikiPageRelationshipsResponse = ListWikiPageRelationshipsRespons export type UpsertWikiPageRelationshipData = { body: UpsertPageRelationshipBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23533,9 +24267,6 @@ export type UpsertWikiPageRelationshipResponse = UpsertWikiPageRelationshipRespo export type DeleteWikiPageRelationshipData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; relationship_id: WrappedUuidV4; @@ -23551,9 +24282,6 @@ export type DeleteWikiPageRelationshipResponses = { export type GetWikiPageRelationshipData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; relationship_id: WrappedUuidV4; @@ -23571,9 +24299,6 @@ export type GetWikiPageRelationshipResponse = GetWikiPageRelationshipResponses[k export type UpdateWikiPageRelationshipData = { body: UpsertPageRelationshipBody; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; relationship_id: WrappedUuidV4; @@ -23591,9 +24316,6 @@ export type UpdateWikiPageRelationshipResponse = UpdateWikiPageRelationshipRespo export type RetryWikiData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23610,9 +24332,6 @@ export type RetryWikiResponse = RetryWikiResponses[keyof RetryWikiResponses]; export type ChangeWikiOwnershipData = { body: ChangeResourceOwnershipRequest; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23629,9 +24348,6 @@ export type ChangeWikiOwnershipResponse = ChangeWikiOwnershipResponses[keyof Cha export type SetWikiVisibilityData = { body: SetResourceAccessModeRequest; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23648,9 +24364,6 @@ export type SetWikiVisibilityResponse = SetWikiVisibilityResponses[keyof SetWiki export type ListWikiVisibilityGrantsData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23667,9 +24380,6 @@ export type ListWikiVisibilityGrantsResponse = ListWikiVisibilityGrantsResponses export type AddWikiVisibilityGrantData = { body: CreateResourcePlaneGrantRequest; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; }; @@ -23686,9 +24396,6 @@ export type AddWikiVisibilityGrantResponse = AddWikiVisibilityGrantResponses[key export type RemoveWikiVisibilityGrantData = { body?: never; path: { - /** - * Team ID - */ team_id: string; wiki_id: WrappedUuidV4; principal_type: ResourcePrincipalType; diff --git a/packages/sdk/src/generated/schema.d.ts b/packages/sdk/src/generated/schema.d.ts index f371ade6..5a899a2b 100644 --- a/packages/sdk/src/generated/schema.d.ts +++ b/packages/sdk/src/generated/schema.d.ts @@ -24,6 +24,40 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/billing/accounts/{account_id}/enroll": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** An organization administrator explicitly assigns a Core seat to a linked login account. */ + post: operations["billing-enroll-account"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/billing/accounts/{account_id}/seat": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** Revoke an account seat without deleting its runtime identity or organization membership. */ + delete: operations["billing-remove-account-seat"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/billing/ai-credits/ensure": { parameters: { query?: never; @@ -159,7 +193,7 @@ export interface paths { put?: never; /** * Enroll current human in a product - * @description Creates one deduplicated human Core or Pay seat, synchronizes the exact organization quantity with Autumn, and never bills agent identities. + * @description An organization administrator explicitly enrolls their login account in Core. Runtime identities never allocate seats. */ post: operations["billing-product-enroll-current-human"]; delete?: never; @@ -540,6 +574,178 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/identity/identities": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List identities + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + get: operations["list-identities"]; + put?: never; + /** + * Create identity + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + post: operations["create-identity"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/identity/identities/resolve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Resolve identity + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + post: operations["resolve-identity"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/identity/identities/{identity_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get identity + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + get: operations["get-identity"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + /** + * Update identity + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + patch: operations["update-identity"]; + trace?: never; + }; + "/api/v1/identity/identities/{identity_id}/identifiers": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** + * Remove identity identifier + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + delete: operations["remove-identity-identifier"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/identity/identities/{identity_id}/link-requests": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Create identity link + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + post: operations["create-identity-link"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/identity/identities/{identity_id}/team": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Provision identity team + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + post: operations["provision-identity-team"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/identity/identities/{identity_id}/teams": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List identity teams + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + get: operations["list-identity-teams"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/identity/identities/{identity_id}/teams/{team_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + /** + * Add identity team + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + put: operations["add-identity-team"]; + post?: never; + /** + * Remove identity team + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + delete: operations["remove-identity-team"]; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/identity/invitations/accept": { parameters: { query?: never; @@ -560,6 +766,46 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/identity/link-requests/complete": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Complete identity link + * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ + post: operations["complete-identity-link"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/identity/link-requests/preview": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Preview identity link + * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ + post: operations["preview-identity-link"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/identity/local-runtime/tunnel-connector": { parameters: { query?: never; @@ -660,6 +906,23 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/identity/onboarding/organization": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** Create the account's first native organization and team */ + post: operations["onboard-organization"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/identity/organizations": { parameters: { query?: never; @@ -948,6 +1211,54 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/identity/proxy-tokens": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List proxy tokens + * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ + get: operations["list-proxy-tokens"]; + put?: never; + /** + * Create proxy token + * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ + post: operations["create-proxy-token"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/identity/proxy-tokens/{token_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** + * Revoke proxy token + * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ + delete: operations["revoke-proxy-token"]; + options?: never; + head?: never; + /** + * Rename proxy token + * @description Requires directly authenticated account authority; proxy tokens cannot perform this operation. + */ + patch: operations["rename-proxy-token"]; + trace?: never; + }; "/api/v1/identity/team-groups": { parameters: { query?: never; @@ -5028,6 +5339,26 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/team/{team_id}/identity/realtime-ticket": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Issue proxy realtime ticket + * @description Requires the relevant explicit application capability or direct account administration. Runtime requests remain identity and tenant scoped. + */ + post: operations["issue-proxy-realtime-ticket"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/team/{team_id}/managed-user-credential": { parameters: { query?: never; @@ -7700,6 +8031,110 @@ export interface paths { patch?: never; trace?: never; }; + "/api/v1/team/{team_id}/tilde-pay/onboarding": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Provision Tilde Pay + * @description Idempotently enroll billing, create a customer when details are supplied, create a wallet after KYC, configure the wallet MCP server and tools, and optionally configure browser tools when enabled. + */ + post: operations["tilde-pay-provision"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/tilde-pay/payments/mpp": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Make MPP payment + * @description Make an MPP payment from a Tilde Pay wallet. + */ + post: operations["tilde-pay-payment-mpp"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/tilde-pay/payments/x402": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Make x402 payment + * @description Make an x402 payment from a Tilde Pay wallet. + */ + post: operations["tilde-pay-payment-x402"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/tilde-pay/wallet": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Tilde Pay wallet summary + * @description Return wallet, balances, fiat deposit information, and crypto deposit information for Tilde Pay. + */ + get: operations["tilde-pay-wallet-summary"]; + put?: never; + /** + * Create Tilde Pay wallet + * @description Create a Tilde Pay wallet after KYC and return product-shaped wallet details. + */ + post: operations["tilde-pay-wallet-create"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/tilde-pay/wallet/wait-until-balance": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Wait for Tilde Pay balance + * @description Poll wallet balances until the requested asset reaches the requested minimum. + */ + post: operations["tilde-pay-wallet-wait-until-balance"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/team/{team_id}/trusted-runtime": { parameters: { query?: never; @@ -7752,6 +8187,294 @@ export interface paths { patch: operations["update-trusted-runtime"]; trace?: never; }; + "/api/v1/team/{team_id}/wallet": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List wallets + * @description List wallets for the current org/team. + */ + get: operations["wallet-list"]; + put?: never; + /** + * Create wallet + * @description Create a Tilde wallet by provisioning a Privy EVM wallet, Compose virtual IBAN, and Compose crypto deposit wallet. + */ + post: operations["wallet-create"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/customer": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List wallet customers + * @description List wallet customers for the current org/team. + */ + get: operations["wallet-customer-list"]; + put?: never; + /** + * Create wallet customer + * @description Create a Compose customer and return a KYC verification link for wallet onboarding. + */ + post: operations["wallet-customer-create"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/customer/{customer_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get wallet customer + * @description Get a wallet customer by local id. + */ + get: operations["wallet-customer-get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/customer/{customer_id}/kyc": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get wallet customer KYC details + * @description Return the stored Compose KYC verification status and KYC flow URL for a wallet customer. + */ + get: operations["wallet-customer-kyc-get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/{wallet_id}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get wallet + * @description Get a wallet by id. + */ + get: operations["wallet-get"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/{wallet_id}/balances": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get wallet balances + * @description Refresh and return Compose balances for this wallet. + */ + get: operations["wallet-get-balances"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/crypto": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get wallet crypto deposit information + * @description Return crypto deposit information for this wallet. + */ + get: operations["wallet-get-crypto-deposit-information"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/{wallet_id}/deposit-information/fiat": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get wallet fiat deposit information + * @description Refresh and return Compose fiat deposit information for this wallet. + */ + get: operations["wallet-get-fiat-deposit-information"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/{wallet_id}/payments/mpp": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Make MPP payment + * @description Make an MPP payment from the wallet using the configured payment adapter. + */ + post: operations["wallet-make-mpp-payment"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/{wallet_id}/payments/x402": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Make x402 payment + * @description Make an x402 payment from the wallet using the configured payment adapter. + */ + post: operations["wallet-make-x402-payment"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * List wallet transaction history + * @description Return cached transaction history for this wallet without scanning the chain. + */ + get: operations["wallet-transaction-history-list"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/{wallet_id}/transaction-history/refresh": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Refresh wallet transaction history + * @description Scan configured chains for wallet-linked USDC transfers and upsert cached transaction history. + */ + post: operations["wallet-transaction-history-refresh"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/{wallet_id}/virtual-account": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Create wallet virtual account + * @description Create a currency-denominated Compose virtual account for an existing wallet. + */ + post: operations["wallet-virtual-account-create"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/v1/team/{team_id}/wallet/{wallet_id}/wait-until-balance": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Wait until wallet balance + * @description Poll the local wallet balance cache until an asset reaches the requested minimum. + */ + post: operations["wallet-wait-until-balance"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; "/api/v1/team/{team_id}/wiki-ontology-templates": { parameters: { query?: never; @@ -10160,6 +10883,20 @@ export interface components { invitation_id: string; password: string; }; + /** @description Canonical tenant destination after accepting an invitation with a login account. */ + AcceptInvitationResponse: { + identity_id: string; + invitation: components["schemas"]["UserInvitation"]; + org_id: string; + team_id: string; + }; + /** @description Explicit login-account membership, independent of runtime identity availability. */ + AccountOrganizationMembership: { + account_id: string; + name: string; + organization_id: string; + role: string; + }; /** @description Request body for adding a participant to a ChatKit session. */ AddChatKitParticipantRequestInner: { participant: components["schemas"]["ChatKitParticipantInput"]; @@ -10563,10 +11300,10 @@ export interface components { products: components["schemas"]["ProductBillingContext"][]; }; /** - * @description A separately billed Tilde product whose access is evaluated per organization. + * @description The Core subscription whose access is evaluated per organization. * @enum {string} */ - BillingProductId: "tilde_core" | "tilde_pay" | "ash"; + BillingProductId: "tilde_core"; BrokerAction: { Redirect: components["schemas"]["BrokerActionRedirect"]; } | "None"; @@ -11315,10 +12052,16 @@ export interface components { transferred_team_ids: string[]; }; CloudWhoamiResponse: { + account_organizations?: components["schemas"]["AccountOrganizationMembership"][]; groups: string[]; identity: components["schemas"]["Identity"]; local_runtime_tunnel_domain: string; local_runtime_tunnel_origin: string; + /** + * @description True after explicit first-organization creation, even if that org was removed. + * A membership-less completed account needs invitation/link recovery, not replay. + */ + organization_onboarding_completed?: boolean | null; organizations: components["schemas"]["UserOrganization"][]; teams: components["schemas"]["UserTeam"][]; }; @@ -11665,6 +12408,15 @@ export interface components { approval_url_path: string; token: string; }; + CreateIdentityLinkRequest: { + delivery?: null | components["schemas"]["IdentityLinkDelivery"]; + return_url?: string | null; + }; + CreateIdentityRequest: { + display_name?: string | null; + identifiers?: components["schemas"]["IdentityIdentifier"][]; + kind: components["schemas"]["UserType"]; + }; CreateManagedUserCredentialBody: { /** @description Allow Browser form filling to enumerate this credential. */ browser_password_manager_eligible?: boolean; @@ -11741,6 +12493,11 @@ export interface components { CreatePageTypeVersionBody: { schema: unknown; }; + CreatePayWalletRequest: { + name: string; + owner_id?: string | null; + wallet_customer_id: string; + }; CreatePersonalToolGroupInstanceBody: { authorization?: components["schemas"]["ResourceAuthorizationModes"]; credential_source_type_id: string; @@ -11753,6 +12510,12 @@ export interface components { tool_group_source_type_id: string; user_credential_id?: null | components["schemas"]["WrappedUuidV4"]; }; + CreateProxyTokenRequest: { + allowed_return_urls?: string[]; + capabilities?: string[]; + expires_at?: null | components["schemas"]["WrappedChronoDateTime"]; + name: string; + }; CreateRelationshipTypeBody: { description?: string; directionality: components["schemas"]["RelationshipDirectionality"]; @@ -12023,6 +12786,19 @@ export interface components { metadata?: null | components["schemas"]["Metadata"]; user_credential_configuration: components["schemas"]["WrappedJsonValue"]; }; + CreateWalletBody: { + name: string; + owner_id?: string | null; + wallet_customer_id: string; + }; + CreateWalletCustomerBody: { + account_type?: string; + name: string; + owner_id?: string | null; + }; + CreateWalletVirtualAccountBody: { + currency: string; + }; CreateWikiAssetBody: { alt_text?: string | null; checksum?: string | null; @@ -12042,6 +12818,15 @@ export interface components { memory_bank_ids?: components["schemas"]["WrappedUuidV4"][] | null; name: string; }; + CreatedIdentityLink: { + expires_at: components["schemas"]["WrappedChronoDateTime"]; + id: string; + url: string; + }; + CreatedProxyToken: { + secret: string; + token: components["schemas"]["OrgProxyToken"]; + }; /** @description Typed relationship established after a state-import credential is configured. */ CredentialSetupBinding: { desired_enabled?: boolean; @@ -12500,6 +13285,19 @@ export interface components { model_id?: string | null; objective: string; }; + /** + * @description A runtime actor authenticated by an organization application credential. + * Credential authority remains separate from the actor's own groups. + */ + DelegatedIdentity: { + email?: string | null; + groups: string[]; + kind: components["schemas"]["UserType"]; + org_id: string; + proxy_token_id: string; + sub: string; + team_id?: string | null; + }; DeleteChatKitAgentTurnQueueItemResponse: { deleted: boolean; }; @@ -12539,6 +13337,16 @@ export interface components { contents: string; filename: string; }; + DirectTokenPayment: { + amount: string; + asset?: string; + chain?: string; + destination_address: string; + destination_asset?: string | null; + destination_chain?: string | null; + /** Format: int64 */ + slippage_bps?: number | null; + }; /** @description Selects one package file for a lazy download URL. */ DownloadSkillPackageFileRequest: { path: string; @@ -12668,6 +13476,25 @@ export interface components { download_url: string; expires_at: components["schemas"]["WrappedChronoDateTime"]; }; + GetBalancesResponse: { + balances: components["schemas"]["WrappedJsonValue"]; + wallet_id: string; + }; + GetCryptoDepositInformationResponse: { + crypto: components["schemas"]["WrappedJsonValue"]; + wallet_id: string; + }; + GetFiatDepositInformationResponse: { + currency: string; + fiat: components["schemas"]["WrappedJsonValue"]; + wallet_id: string; + }; + GetWalletCustomerKycResponse: { + compose_customer_id: string; + kyc_flow_link?: string | null; + kyc_verified: boolean; + wallet_customer_id: string; + }; /** @description Durable desired outcome owned by one explicit agent in one conversation. */ Goal: { agent_id: string; @@ -12931,6 +13758,10 @@ export interface components { * Represents a real user that authenticated via STS/OAuth token. */ Human: { + /** @description Administrative account roles, separate from the runtime actor's resource groups. */ + account_groups?: string[]; + /** @description Login account that authenticated this runtime actor. Human-owned API keys have no account session. */ + account_id?: string | null; /** @description Email address of the user (if available from token) */ email?: string | null; /** @description Group IDs the user belongs to */ @@ -13068,7 +13899,10 @@ export interface components { * This is the result of authentication and is used throughout the system * for authorization decisions. */ - Identity: (components["schemas"]["Agent"] & { + Identity: (components["schemas"]["DelegatedIdentity"] & { + /** @enum {string} */ + type: "delegated"; + }) | (components["schemas"]["Agent"] & { /** @enum {string} */ type: "agent"; }) | (components["schemas"]["Human"] & { @@ -13078,6 +13912,25 @@ export interface components { /** @enum {string} */ type: "unauthenticated"; }; + IdentityClaimRequest: { + claim: string; + }; + IdentityIdentifier: { + namespace: string; + value: string; + }; + IdentityLinkDelivery: { + address: string; + type: string; + }; + IdentityLinkPreview: { + account_email?: string | null; + application_name: string; + display_name?: string | null; + expires_at: components["schemas"]["WrappedChronoDateTime"]; + identity_id: string; + org_id: string; + }; /** @description Tenant a linked address routes to when it arrives on a shared channel. */ IdentityLinkRoute: { /** @description ChatKit chat provider (channel inbox) that owns the conversation. */ @@ -13085,6 +13938,22 @@ export interface components { org_id: string; team_id: string; }; + IdentityTeam: { + identity_id: string; + org_id: string; + team_id: string; + }; + /** @description Runtime membership only; this record never grants a login-account role. */ + IdentityTeamMembership: { + identity_id: string; + org_id: string; + role: string; + team_id: string; + }; + IdentityTeamMembershipPaginatedResponse: { + items: components["schemas"]["IdentityTeamMembership"][]; + next_page_token?: string; + }; /** @description One pending or completed challenge. The code hash is never on the wire. */ IdentityVerification: { /** Format: int32 */ @@ -13365,6 +14234,11 @@ export interface components { /** @description Team member to link the address to. */ user_id: string; }; + LinkedIdentity: { + identity_id: string; + org_id: string; + return_url?: string | null; + }; ListApiKeysResponse: { items: components["schemas"]["HashedApiKey"][]; next_page_token?: string | null; @@ -13415,6 +14289,82 @@ export interface components { /** @enum {string} */ type: "custom_oidc"; }; + MakeMppPaymentRequest: { + body?: unknown; + headers?: { + [key: string]: string; + }; + max_amount?: string | null; + max_amount_atomic?: string | null; + method?: string | null; + payment?: null | components["schemas"]["DirectTokenPayment"]; + preferred_assets?: string[]; + /** + * @description Payment-channel contract addresses the caller explicitly permits. + * Stateful methods that sign a server-selected channel, such as the + * Stellar `channel` intent, require this pin on their first use. A + * validated `session_snapshot` pins subsequent requests. + */ + preferred_channels?: string[]; + preferred_networks?: string[]; + preferred_recipients?: string[]; + /** + * @description Session lifecycle action (`open`, `voucher`, `commit`, `topUp`, or + * `close`). Omit to open when no snapshot is supplied and voucher + * otherwise. + */ + session_action?: string | null; + /** + * @description Incremental session amount in atomic units. Required for voucher and + * commit actions unless the challenge pins an increment. + */ + session_amount_atomic?: string | null; + /** @description Delivery identifier required by a metered `commit` action. */ + session_delivery_id?: string | null; + session_snapshot?: null | components["schemas"]["PaymentSessionSnapshot"]; + /** + * @description Preferred method-specific settlement mode. Methods that negotiate + * client versus server broadcast currently accept `push` or `pull`. + */ + settlement_mode?: string | null; + /** + * @description Payment transport. Defaults to `http`; use `mcp` for MCP's nested + * payment metadata or `jsonrpc` for the generic root `_meta` binding. + * Tempo session challenges also support `sse` and `websocket` (`ws`) for + * metered streaming with in-band voucher and receipt handling. + */ + transport?: string | null; + url: string; + wallet_id: string; + }; + MakeX402PaymentRequest: { + body?: unknown; + headers?: { + [key: string]: string; + }; + max_amount?: string | null; + max_amount_atomic?: string | null; + method?: string | null; + payment?: null | components["schemas"]["DirectTokenPayment"]; + preferred_assets?: string[]; + preferred_networks?: string[]; + preferred_recipients?: string[]; + /** + * @description Stateful scheme action (`open`, `voucher`, or `refund`). Omit to open + * when no snapshot is supplied and voucher otherwise. + */ + session_action?: string | null; + /** @description Incremental amount for voucher/close actions, in atomic units. */ + session_amount_atomic?: string | null; + session_snapshot?: null | components["schemas"]["PaymentSessionSnapshot"]; + /** + * @description Payment transport. Defaults to `http`; use `mcp` when `body` is the + * JSON-RPC MCP tool-call request that should be retried with x402 metadata. + */ + transport?: string | null; + url: string; + wallet_id: string; + }; ManagedSkillSelection: { provider_id: string; skill_ids: string[]; @@ -13844,6 +14794,15 @@ export interface components { expected_revision: number; path: string; }; + OnboardOrganizationRequest: { + name: string; + team_name: string; + }; + OnboardOrganizationResponse: { + identity_id: string; + org_id: string; + team_id: string; + }; /** @description A page type bundled by an ontology template. */ OntologyPageTypeDefinition: { description: string; @@ -13917,6 +14876,23 @@ export interface components { }; /** @enum {string} */ OrgOidcProviderStatus: "draft" | "pending_verification" | "active" | "disabled"; + OrgProxyToken: { + allowed_return_urls: string[]; + capabilities: string[]; + created_at: components["schemas"]["WrappedChronoDateTime"]; + created_by_account_id: string; + expires_at?: null | components["schemas"]["WrappedChronoDateTime"]; + id: string; + last_used_at?: null | components["schemas"]["WrappedChronoDateTime"]; + name: string; + org_id: string; + revoked_at?: null | components["schemas"]["WrappedChronoDateTime"]; + token_prefix: string; + }; + OrgProxyTokenPaginatedResponse: { + items: components["schemas"]["OrgProxyToken"][]; + next_page_token?: string; + }; Organization: { /** * @description Browser app origin (for example `https://heyash.ai/app`) that owns links Tilde generates @@ -13947,6 +14923,8 @@ export interface components { topup_remaining_microusd: number; }; OrganizationMemberWithUser: { + /** @description Enabled Tilde login account linked to this runtime identity, when present. */ + account_id?: string | null; membership: components["schemas"]["UserOrganization"]; user: components["schemas"]["User"]; }; @@ -13982,6 +14960,65 @@ export interface components { * @enum {string} */ PartState: "streaming" | "done"; + /** @enum {string} */ + PayOnboardingStep: "enter_details" | "complete_kyc" | "ready"; + PayPaymentRequest: { + body?: unknown; + headers?: { + [key: string]: string; + }; + max_amount?: string | null; + max_amount_atomic?: string | null; + method?: string | null; + payment?: null | components["schemas"]["DirectTokenPayment"]; + preferred_assets?: string[]; + preferred_channels?: string[]; + preferred_networks?: string[]; + preferred_recipients?: string[]; + session_action?: string | null; + session_amount_atomic?: string | null; + session_delivery_id?: string | null; + session_snapshot?: null | components["schemas"]["PaymentSessionSnapshot"]; + settlement_mode?: string | null; + transport?: string | null; + url: string; + wallet_id: string; + }; + PayWalletSummaryError: { + field: string; + message: string; + }; + PayWalletSummaryResponse: { + balances?: null | components["schemas"]["GetBalancesResponse"]; + crypto_deposit?: null | components["schemas"]["GetCryptoDepositInformationResponse"]; + fiat_deposit?: null | components["schemas"]["GetFiatDepositInformationResponse"]; + summary_errors?: components["schemas"]["PayWalletSummaryError"][]; + wallet?: null | components["schemas"]["Wallet"]; + }; + PaymentResponse: { + protocol: string; + response: components["schemas"]["WrappedJsonValue"]; + wallet_id: string; + }; + /** + * @description Opaque-enough client state needed to safely resume a stateful payment + * scheme after a process restart. Every field is authenticated again against + * the next server challenge before it is used. + */ + PaymentSessionSnapshot: { + authorized_signer: string; + channel_id: string; + cumulative_amount: string; + deposit_amount: string; + /** Format: int64 */ + expires_at: number; + metadata?: unknown; + method: string; + network: string; + /** Format: int64 */ + nonce: number; + protocol: string; + }; PersonalMcpServerInstanceSerialized: { agent_id?: string | null; authorization?: components["schemas"]["ResourceAuthorizationModes"]; @@ -14366,6 +15403,26 @@ export interface components { memory?: null | components["schemas"]["MemorySpec"]; skill_registry?: null | components["schemas"]["SkillRegistrySpec"]; }; + ProvisionIdentityTeamRequest: { + name: string; + }; + ProvisionPayBrowserResponse: { + browser_definition_id: string; + enabled_tool_ids: string[]; + }; + ProvisionTildePayRequest: { + account_type?: string | null; + name?: string | null; + owner_id?: string | null; + }; + ProvisionTildePayResponse: { + browser?: null | components["schemas"]["ProvisionPayBrowserResponse"]; + customer?: null | components["schemas"]["WalletCustomer"]; + kyc?: null | components["schemas"]["GetWalletCustomerKycResponse"]; + mcp?: null | components["schemas"]["SetupPayMcpResponse"]; + next_step: components["schemas"]["PayOnboardingStep"]; + wallet?: null | components["schemas"]["Wallet"]; + }; /** @description App credentials and metadata created by a provider provisioner. */ ProvisionedProviderApp: { created_resource_server_credential_ids: components["schemas"]["WrappedUuidV4"][]; @@ -14559,6 +15616,12 @@ export interface components { /** @description The refresh token. If not provided, will be read from cookie. */ refresh_token?: string | null; }; + RefreshWalletTransactionHistoryResponse: { + inserted_or_updated: number; + linked_transactions: number; + scanned_chains: string[]; + wallet_id: string; + }; RegisterAgentTool: { display_name: string; identity_snapshot?: null | components["schemas"]["WrappedJsonValue"]; @@ -14695,6 +15758,9 @@ export interface components { RenameChatKitWorkspaceThreadRequestInner: { title: string; }; + RenameProxyTokenRequest: { + name: string; + }; ReorderChatKitAgentTurnQueueItemRequestInner: { /** Format: int64 */ queue_position: number; @@ -15057,12 +16123,24 @@ export interface components { debug_auth_profiles_enabled: boolean; org_context_in_header: boolean; posthog_api_host: string; - posthog_product: components["schemas"]["BillingProductId"]; + posthog_product: string; posthog_project_id: string; posthog_project_key: string; sentry_dsn: string; sentry_react_dsn?: string | null; }; + RuntimeIdentity: { + disabled: boolean; + display_name?: string | null; + id: string; + identifiers: components["schemas"]["IdentityIdentifier"][]; + kind: components["schemas"]["UserType"]; + org_id: string; + }; + RuntimeIdentityPaginatedResponse: { + items: components["schemas"]["RuntimeIdentity"][]; + next_page_token?: string; + }; SelectDebugAuthProfileRequest: { profile: string; }; @@ -15257,6 +16335,12 @@ export interface components { SetResourceAccessModeRequest: { mode: components["schemas"]["ResourceAccessMode"]; }; + SetupPayMcpResponse: { + enabled_tool_ids: string[]; + mcp_path: string; + mcp_server_id: string; + tool_group_instance_id: string; + }; SignalAction: { agent_inbox_id: string; agent_inbox_instance_id?: string | null; @@ -16209,6 +17293,11 @@ export interface components { /** Format: int64 */ timeout_ms?: number | null; }; + UpdateIdentityRequest: { + disabled?: boolean | null; + display_name?: string | null; + identifiers?: components["schemas"]["IdentityIdentifier"][]; + }; UpdateManagedUserCredentialBody: { /** @description Allow Browser form filling to enumerate this credential. */ browser_password_manager_eligible?: boolean | null; @@ -16570,6 +17659,130 @@ export interface components { * @enum {string} */ VerifiedIdentityLinkSource: "provider_attested" | "challenge" | "admin"; + WaitForPayBalanceRequest: { + asset: string; + /** Format: double */ + minimum_amount: number; + /** Format: int64 */ + poll_interval_secs?: number | null; + /** Format: int64 */ + timeout_secs?: number | null; + wallet_id: string; + }; + WaitUntilBalanceRequest: { + asset: string; + /** Format: double */ + minimum_amount: number; + /** Format: int64 */ + poll_interval_secs?: number; + /** Format: int64 */ + timeout_secs?: number; + wallet_id: string; + }; + WaitUntilBalanceResponse: { + /** Format: double */ + observed_amount: number; + satisfied: boolean; + wallet_id: string; + }; + Wallet: { + cached_compose_balances?: null | components["schemas"]["WrappedJsonValue"]; + compose_customer_id: string; + compose_deposit_chain: string; + compose_deposit_currency: string; + compose_deposit_wallet_id?: string | null; + created_at: components["schemas"]["WrappedChronoDateTime"]; + id: string; + last_compose_sync_at?: null | components["schemas"]["WrappedChronoDateTime"]; + name: string; + org_id: string; + owner_id?: string | null; + privy_evm_address: string; + privy_wallet_id: string; + status: string; + team_id: string; + updated_at: components["schemas"]["WrappedChronoDateTime"]; + wallet_customer_id: string; + }; + WalletCustomer: { + account_type: string; + compose_customer_id: string; + compose_customer_payload: components["schemas"]["WrappedJsonValue"]; + compose_kyc_payload?: null | components["schemas"]["WrappedJsonValue"]; + created_at: components["schemas"]["WrappedChronoDateTime"]; + id: string; + kyc_flow_link?: string | null; + kyc_verified: boolean; + name: string; + org_id: string; + owner_id?: string | null; + team_id: string; + updated_at: components["schemas"]["WrappedChronoDateTime"]; + }; + WalletCustomerPaginatedResponse: { + items: components["schemas"]["WalletCustomer"][]; + next_page_token?: string; + }; + WalletMerchant: { + created_at: components["schemas"]["WrappedChronoDateTime"]; + favicon_url?: string | null; + icon_fetched_at?: null | components["schemas"]["WrappedChronoDateTime"]; + icon_media_type?: string | null; + icon_sha256?: string | null; + id: string; + merchant_url: string; + name?: string | null; + org_id: string; + origin: string; + raw_metadata: components["schemas"]["WrappedJsonValue"]; + team_id: string; + updated_at: components["schemas"]["WrappedChronoDateTime"]; + }; + WalletPaginatedResponse: { + items: components["schemas"]["Wallet"][]; + next_page_token?: string; + }; + WalletTransactionHistoryItem: { + amount?: string | null; + /** Format: int32 */ + amount_decimals?: number | null; + amount_raw?: string | null; + asset?: string | null; + chain?: string | null; + counterparty_address?: string | null; + created_at: components["schemas"]["WrappedChronoDateTime"]; + direction: string; + id: string; + item_type: string; + merchant?: null | components["schemas"]["WalletMerchant"]; + merchant_id?: string | null; + occurred_at: components["schemas"]["WrappedChronoDateTime"]; + org_id: string; + raw_payload: components["schemas"]["WrappedJsonValue"]; + scanned_at?: null | components["schemas"]["WrappedChronoDateTime"]; + status: string; + team_id: string; + updated_at: components["schemas"]["WrappedChronoDateTime"]; + wallet_id: string; + }; + WalletTransactionHistoryItemPaginatedResponse: { + items: components["schemas"]["WalletTransactionHistoryItem"][]; + next_page_token?: string; + }; + WalletVirtualAccount: { + cached_compose_deposit_info?: null | components["schemas"]["WrappedJsonValue"]; + compose_customer_id: string; + compose_virtual_account_id: string; + created_at: components["schemas"]["WrappedChronoDateTime"]; + currency: string; + id: string; + org_id: string; + status?: string | null; + team_id: string; + updated_at: components["schemas"]["WrappedChronoDateTime"]; + wallet_customer_id: string; + wallet_id: string; + }; /** @description Safe public metadata for a webhook signing key. Secret material is omitted. */ WebhookSigningKeyMetadata: { created_at: components["schemas"]["WrappedChronoDateTime"]; @@ -16874,16 +18087,17 @@ export interface operations { }; }; }; - "billing-ai-gateway-ensure": { + "billing-enroll-account": { parameters: { query?: never; header?: never; - path?: never; + path: { + account_id: string; + }; cookie?: never; }; requestBody?: never; responses: { - /** @description Organization billing and AI Gateway are ready */ 200: { headers: { [name: string]: unknown; @@ -16892,131 +18106,7 @@ export interface operations { "application/json": components["schemas"]["BillingContext"]; }; }; - /** @description Authentication failed */ - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Organization membership required */ - 403: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - }; - }; - "billing-ai-credit-receipt-commit": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CommitAiCreditReceiptBody"]; - }; - }; - responses: { - /** @description Updated AI-credit balance */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["OrganizationAiCreditContext"]; - }; - }; - }; - }; - "billing-ai-credit-reserve": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ReserveAiCreditsBody"]; - }; - }; - responses: { - /** @description Reserved AI credits */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AiCreditReservation"]; - }; - }; - }; - }; - "billing-ai-credit-reservation-release": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ReleaseAiCreditReservationBody"]; - }; - }; - responses: { - /** @description Updated AI-credit balance */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["OrganizationAiCreditContext"]; - }; - }; - }; - }; - "billing-ai-credit-topup-create": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["CreateAiCreditTopupBody"]; - }; - }; - responses: { - /** @description AI-credit checkout */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AiCreditTopup"]; - }; - }; - /** @description Invalid amount or idempotency key */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Authentication failed */ - 401: { + 402: { headers: { [name: string]: unknown; }; @@ -17024,7 +18114,6 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Organization administrator required */ 403: { headers: { [name: string]: unknown; @@ -17035,49 +18124,23 @@ export interface operations { }; }; }; - "billing-autumn-bridge-post": { + "billing-remove-account-seat": { parameters: { query?: never; header?: never; path: { - /** @description autumn-js RPC name (e.g. `getOrCreateCustomer`, `attach`, `listPlans`) */ - operation: string; + account_id: string; }; cookie?: never; }; - /** @description Opaque JSON forwarded to Autumn */ - requestBody: { - content: { - "application/json": unknown; - }; - }; + requestBody?: never; responses: { - /** @description Upstream Autumn response body — see https://docs.useautumn.com/api-reference */ - 200: { + 204: { headers: { [name: string]: unknown; }; content?: never; }; - /** @description Invalid request */ - 400: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Authentication failed */ - 401: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Forbidden */ 403: { headers: { [name: string]: unknown; @@ -17086,27 +18149,9 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Unknown autumn-js operation */ - 404: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; - /** @description Upstream Autumn error */ - 502: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["Error"]; - }; - }; }; }; - "billing-context-get": { + "billing-ai-gateway-ensure": { parameters: { query?: never; header?: never; @@ -17115,7 +18160,239 @@ export interface operations { }; requestBody?: never; responses: { - /** @description Organization billing context */ + /** @description Organization billing and AI Gateway are ready */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["BillingContext"]; + }; + }; + /** @description Authentication failed */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Organization membership required */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "billing-ai-credit-receipt-commit": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CommitAiCreditReceiptBody"]; + }; + }; + responses: { + /** @description Updated AI-credit balance */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["OrganizationAiCreditContext"]; + }; + }; + }; + }; + "billing-ai-credit-reserve": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ReserveAiCreditsBody"]; + }; + }; + responses: { + /** @description Reserved AI credits */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AiCreditReservation"]; + }; + }; + }; + }; + "billing-ai-credit-reservation-release": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ReleaseAiCreditReservationBody"]; + }; + }; + responses: { + /** @description Updated AI-credit balance */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["OrganizationAiCreditContext"]; + }; + }; + }; + }; + "billing-ai-credit-topup-create": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateAiCreditTopupBody"]; + }; + }; + responses: { + /** @description AI-credit checkout */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["AiCreditTopup"]; + }; + }; + /** @description Invalid amount or idempotency key */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Authentication failed */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Organization administrator required */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "billing-autumn-bridge-post": { + parameters: { + query?: never; + header?: never; + path: { + /** @description autumn-js RPC name (e.g. `getOrCreateCustomer`, `attach`, `listPlans`) */ + operation: string; + }; + cookie?: never; + }; + /** @description Opaque JSON forwarded to Autumn */ + requestBody: { + content: { + "application/json": unknown; + }; + }; + responses: { + /** @description Upstream Autumn response body — see https://docs.useautumn.com/api-reference */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Invalid request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Authentication failed */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Forbidden */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Unknown autumn-js operation */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Upstream Autumn error */ + 502: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "billing-context-get": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Organization billing context */ 200: { headers: { [name: string]: unknown; @@ -17149,7 +18426,7 @@ export interface operations { query?: never; header?: never; path: { - /** @description tilde_core or tilde_pay */ + /** @description tilde_core */ product_id: string; }; cookie?: never; @@ -17995,6 +19272,406 @@ export interface operations { }; }; }; + "list-identities": { + parameters: { + query?: { + /** @description Page size; defaults to 50 and is clamped to 1..100 */ + page_size?: number; + /** @description Opaque cursor returned by the previous page */ + next_page_token?: string; + }; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RuntimeIdentityPaginatedResponse"]; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "create-identity": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateIdentityRequest"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RuntimeIdentity"]; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "resolve-identity": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["IdentityIdentifier"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RuntimeIdentity"]; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "get-identity": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path: { + /** @description Identity id */ + identity_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RuntimeIdentity"]; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "update-identity": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path: { + /** @description Identity id */ + identity_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateIdentityRequest"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RuntimeIdentity"]; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "remove-identity-identifier": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path: { + /** @description Identity id */ + identity_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["IdentityIdentifier"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RuntimeIdentity"]; + }; + }; + }; + }; + "create-identity-link": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path: { + /** @description Identity id */ + identity_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateIdentityLinkRequest"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CreatedIdentityLink"]; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "provision-identity-team": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path: { + /** @description Identity id */ + identity_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ProvisionIdentityTeamRequest"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["IdentityTeam"]; + }; + }; + }; + }; + "list-identity-teams": { + parameters: { + query?: { + /** @description Page size; defaults to 50 and is clamped to 1..100 */ + page_size?: number; + /** @description Opaque cursor returned by the previous page */ + next_page_token?: string; + }; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path: { + /** @description Identity id */ + identity_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["IdentityTeamMembershipPaginatedResponse"]; + }; + }; + }; + }; + "add-identity-team": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path: { + /** @description Identity id */ + identity_id: string; + /** @description Team id */ + team_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["IdentityTeamMembership"]; + }; + }; + }; + }; + "remove-identity-team": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path: { + /** @description Identity id */ + identity_id: string; + /** @description Team id */ + team_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + }; + }; "accept-invitation": { parameters: { query?: never; @@ -18013,7 +19690,7 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["UserInvitation"]; + "application/json": components["schemas"]["AcceptInvitationResponse"]; }; }; 403: { @@ -18026,6 +19703,55 @@ export interface operations { }; }; }; + "complete-identity-link": { + parameters: { + query?: never; + header: { + /** @description Hosted Tilde confirmation origin */ + Origin: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["IdentityClaimRequest"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["LinkedIdentity"]; + }; + }; + }; + }; + "preview-identity-link": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["IdentityClaimRequest"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["IdentityLinkPreview"]; + }; + }; + }; + }; get_local_runtime_tunnel_connector: { parameters: { query?: never; @@ -18224,6 +19950,45 @@ export interface operations { }; }; }; + "onboard-organization": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["OnboardOrganizationRequest"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["OnboardOrganizationResponse"]; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 409: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; "list-organizations": { parameters: { query?: { @@ -19283,6 +21048,177 @@ export interface operations { }; }; }; + "list-proxy-tokens": { + parameters: { + query?: { + /** @description Page size; defaults to 50 and is clamped to 1..100 */ + page_size?: number; + /** @description Opaque cursor returned by the previous page */ + next_page_token?: string; + }; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["OrgProxyTokenPaginatedResponse"]; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "create-proxy-token": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateProxyTokenRequest"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["CreatedProxyToken"]; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "revoke-proxy-token": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path: { + /** @description Token id */ + token_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "rename-proxy-token": { + parameters: { + query?: never; + header?: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + }; + path: { + /** @description Token id */ + token_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["RenameProxyTokenRequest"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": unknown; + }; + }; + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; "list-organization-team-groups": { parameters: { query?: { @@ -20636,7 +22572,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -20658,7 +22593,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -20689,7 +22623,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -20724,7 +22657,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -20751,7 +22683,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -20774,7 +22705,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -20801,7 +22731,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -20828,7 +22757,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; }; @@ -20855,7 +22783,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; plane: components["schemas"]["ResourceGrantPlane"]; @@ -20879,7 +22806,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; plane: components["schemas"]["ResourceGrantPlane"]; @@ -20907,7 +22833,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; routine_id: components["schemas"]["WrappedUuidV4"]; plane: components["schemas"]["ResourceGrantPlane"]; @@ -21414,7 +23339,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -21445,7 +23369,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -21488,7 +23411,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -21519,7 +23441,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -21562,7 +23483,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -21666,7 +23586,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -21689,7 +23608,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -21716,7 +23634,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -21798,7 +23715,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -21822,7 +23738,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -21850,7 +23765,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -21875,7 +23789,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -21908,7 +23821,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -21932,7 +23844,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -21960,7 +23871,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -21985,7 +23895,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22010,7 +23919,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22039,7 +23947,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22068,7 +23975,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22097,7 +24003,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22125,7 +24030,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22149,7 +24053,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22177,7 +24080,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22202,7 +24104,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22231,7 +24132,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22263,7 +24163,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22288,7 +24187,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22317,7 +24215,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22346,7 +24243,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22380,7 +24276,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22404,7 +24299,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22432,7 +24326,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22457,7 +24350,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; session_id: components["schemas"]["WrappedUuidV4"]; @@ -22539,7 +24431,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -22582,7 +24473,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -22625,7 +24515,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; tool_id: string; @@ -22669,7 +24558,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -22712,7 +24600,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; plane: string; @@ -22744,7 +24631,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; plane: string; @@ -22788,7 +24674,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; plane: string; @@ -23387,7 +25272,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; connection_id: string; }; @@ -23418,7 +25302,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; connection_id: string; }; @@ -23453,7 +25336,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; connection_id: string; }; @@ -23488,7 +25370,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; connection_id: string; }; @@ -23519,7 +25400,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; connection_id: string; }; @@ -23550,7 +25430,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; connection_id: string; }; @@ -23585,7 +25464,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -23615,7 +25493,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -23649,7 +25526,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; provider_id: string; }; @@ -23680,7 +25556,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; provider_id: string; }; @@ -23715,7 +25590,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; provider_id: string; }; @@ -23746,7 +25620,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; provider_id: string; }; @@ -23777,7 +25650,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; provider_id: string; }; @@ -23808,7 +25680,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; provider_id: string; }; @@ -23839,7 +25710,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; provider_id: string; }; @@ -23870,7 +25740,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; provider_id: string; }; @@ -23901,7 +25770,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -24086,7 +25954,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -24108,7 +25975,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -24134,7 +26000,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24157,7 +26022,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24180,7 +26044,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24203,7 +26066,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24230,7 +26092,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24253,7 +26114,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -24276,7 +26136,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; proposal_id: string; }; @@ -25189,7 +27048,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; message_id: components["schemas"]["WrappedUuidV4"]; @@ -25272,7 +27130,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: string; }; @@ -25315,7 +27172,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: string; }; @@ -25358,7 +27214,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: string; plane: string; @@ -25390,7 +27245,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: string; plane: string; @@ -25434,7 +27288,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: string; plane: string; @@ -25566,7 +27419,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -25627,7 +27479,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -25668,7 +27519,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -25703,7 +27553,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -25742,7 +27591,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -25785,7 +27633,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; invitation_id: components["schemas"]["WrappedUuidV4"]; @@ -25825,7 +27672,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; invitation_id: components["schemas"]["WrappedUuidV4"]; @@ -25986,7 +27832,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -26187,7 +28032,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: string; }; @@ -26271,7 +28115,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; tool_name: string; @@ -26685,7 +28528,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; broker_state_id: string; }; @@ -26716,7 +28558,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -26738,7 +28579,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -26761,7 +28601,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -26788,7 +28627,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -26811,7 +28649,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -26838,7 +28675,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; principal_type: string; @@ -26861,7 +28697,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -26888,7 +28723,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -26911,7 +28745,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -26938,7 +28771,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; principal_type: string; @@ -26961,7 +28793,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -26984,7 +28815,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -27011,7 +28841,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; state_id: string; }; @@ -27035,7 +28864,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; state_id: string; }; @@ -27066,7 +28894,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -27089,7 +28916,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -27113,7 +28939,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -27135,7 +28960,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -27163,7 +28987,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27190,7 +29013,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27213,7 +29035,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27240,7 +29061,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -27263,7 +29083,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27290,7 +29109,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27313,7 +29131,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27340,7 +29157,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -27367,7 +29183,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -27390,7 +29205,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -27414,7 +29228,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -27442,7 +29255,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -27470,7 +29282,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -27498,7 +29309,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; credential_source_type_id: string; }; @@ -27526,7 +29336,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; credential_source_type_id: string; }; @@ -27552,7 +29361,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; credential_source_type_id: string; }; @@ -27580,7 +29388,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; credential_source_type_id: string; }; @@ -27608,7 +29415,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; credential_source_type_id: string; }; @@ -27637,7 +29443,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -27660,7 +29465,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -27684,7 +29488,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -27706,7 +29509,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -27734,7 +29536,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27761,7 +29562,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27784,7 +29584,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27811,7 +29610,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -27834,7 +29632,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27861,7 +29658,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27884,7 +29680,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -27911,7 +29706,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -27934,7 +29728,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -27985,7 +29778,7 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ + /** @description Tilde team ID */ team_id: string; }; cookie?: never; @@ -28030,7 +29823,7 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ + /** @description Tilde team ID */ team_id: string; }; cookie?: never; @@ -28075,7 +29868,7 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ + /** @description Tilde team ID */ team_id: string; }; cookie?: never; @@ -28116,7 +29909,7 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ + /** @description Tilde team ID */ team_id: string; }; cookie?: never; @@ -28161,7 +29954,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; }; @@ -28192,7 +29984,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; }; @@ -28227,7 +30018,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; }; @@ -28262,7 +30052,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; }; @@ -28302,7 +30091,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; }; @@ -28337,7 +30125,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; release_id: string; @@ -28369,7 +30156,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; release_id: string; @@ -28406,7 +30192,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; release_id: string; @@ -28433,6 +30218,37 @@ export interface operations { }; }; }; + "issue-proxy-realtime-ticket": { + parameters: { + query?: never; + header: { + /** @description Organization routing when not selected by host */ + "X-Tilde-Org-Id"?: string | null; + /** @description Enabled runtime identity acting in the route team */ + "X-Tilde-Identity-Id": string; + }; + path: { + /** @description Team id */ + team_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["IssueChatKitRealtimeSocketTicketRequest"]; + }; + }; + responses: { + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ChatKitRealtimeSocketTicket"]; + }; + }; + }; + }; list_managed_user_credentials: { parameters: { query?: { @@ -28441,7 +30257,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -28464,7 +30279,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; type_id: string; }; @@ -28494,7 +30308,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; type_id: string; id: components["schemas"]["WrappedUuidV4"]; @@ -28519,7 +30332,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; type_id: string; id: components["schemas"]["WrappedUuidV4"]; @@ -28548,7 +30360,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -31504,7 +33315,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -31526,7 +33336,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -31555,7 +33364,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -31577,7 +33385,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31600,7 +33407,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31621,7 +33427,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31648,7 +33453,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31671,7 +33475,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31694,7 +33497,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31725,7 +33527,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31748,7 +33549,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31773,7 +33573,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; document_id: string; @@ -31797,7 +33596,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31820,7 +33618,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31847,7 +33644,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31870,7 +33666,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31897,7 +33692,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; principal_type: components["schemas"]["ResourcePrincipalType"]; @@ -31920,7 +33714,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31947,7 +33740,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -31974,7 +33766,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32001,7 +33792,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32024,7 +33814,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32051,7 +33840,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32078,7 +33866,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32101,7 +33888,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32128,7 +33914,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; bank_id: components["schemas"]["WrappedUuidV4"]; principal_type: components["schemas"]["ResourcePrincipalType"]; @@ -32151,7 +33936,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; memory_bank_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32177,7 +33961,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32199,7 +33982,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32225,7 +34007,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32251,7 +34032,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32276,7 +34056,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32303,7 +34082,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32330,7 +34108,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; session_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32356,7 +34133,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; agent_id: string; }; @@ -32383,7 +34159,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32407,7 +34182,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32430,7 +34204,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -32457,7 +34230,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; setup_id: string; }; @@ -32599,7 +34371,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; profile_id: string; }; @@ -32675,7 +34446,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; profile_id: string; }; @@ -32702,7 +34472,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; profile_id: string; }; @@ -32725,7 +34494,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; profile_id: string; }; @@ -32752,7 +34520,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; profile_id: string; principal_type: components["schemas"]["ResourcePrincipalType"]; @@ -32775,7 +34542,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; profile_id: string; }; @@ -32802,7 +34568,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; profile_id: string; }; @@ -32825,7 +34590,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; profile_id: string; }; @@ -32852,7 +34616,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; profile_id: string; principal_type: components["schemas"]["ResourcePrincipalType"]; @@ -32975,7 +34738,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; delivery_id: components["schemas"]["WrappedUuidV4"]; }; @@ -32998,7 +34760,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; delivery_id: components["schemas"]["WrappedUuidV4"]; }; @@ -33048,7 +34809,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33074,7 +34834,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -33101,7 +34860,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -33128,7 +34886,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; plane: components["schemas"]["ResourceGrantPlane"]; @@ -33152,7 +34909,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; plane: components["schemas"]["ResourceGrantPlane"]; @@ -33180,7 +34936,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; plane: components["schemas"]["ResourceGrantPlane"]; @@ -33204,7 +34959,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; }; @@ -33227,7 +34981,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; }; @@ -33250,7 +35003,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; }; @@ -33277,7 +35029,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; instance_id: string; }; @@ -33334,7 +35085,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33366,7 +35116,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33402,7 +35151,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33425,7 +35173,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33470,7 +35217,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; provider_id: string; }; @@ -33507,7 +35253,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33539,7 +35284,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -33575,7 +35319,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -33617,7 +35360,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -33657,7 +35399,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -33703,7 +35444,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -33730,7 +35470,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -33753,7 +35492,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -33780,7 +35518,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -33803,7 +35540,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -33849,7 +35585,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -33900,7 +35635,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -33942,7 +35676,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; title: string; @@ -33985,7 +35718,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; skill_id: string; @@ -34028,7 +35760,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; skill_id: string; @@ -34071,7 +35802,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34098,7 +35828,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34121,7 +35850,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34148,7 +35876,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -34171,7 +35898,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -34213,7 +35939,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -34253,7 +35978,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -34299,7 +36023,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34326,7 +36049,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34349,7 +36071,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34376,7 +36097,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -34399,7 +36119,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -34441,7 +36160,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: string; }; @@ -34487,7 +36205,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34514,7 +36231,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34537,7 +36253,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34564,7 +36279,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; principal_type: string; @@ -34836,6 +36550,164 @@ export interface operations { }; }; }; + "tilde-pay-provision": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["ProvisionTildePayRequest"]; + }; + }; + responses: { + /** @description Fully reconciled Tilde Pay onboarding state */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ProvisionTildePayResponse"]; + }; + }; + }; + }; + "tilde-pay-payment-mpp": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PayPaymentRequest"]; + }; + }; + responses: { + /** @description Tilde Pay payment response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PaymentResponse"]; + }; + }; + }; + }; + "tilde-pay-payment-x402": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["PayPaymentRequest"]; + }; + }; + responses: { + /** @description Tilde Pay payment response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PaymentResponse"]; + }; + }; + }; + }; + "tilde-pay-wallet-summary": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Tilde Pay wallet summary */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PayWalletSummaryResponse"]; + }; + }; + }; + }; + "tilde-pay-wallet-create": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreatePayWalletRequest"]; + }; + }; + responses: { + /** @description Tilde Pay wallet summary */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PayWalletSummaryResponse"]; + }; + }; + }; + }; + "tilde-pay-wallet-wait-until-balance": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["WaitForPayBalanceRequest"]; + }; + }; + responses: { + /** @description Tilde Pay balance wait result */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["WaitUntilBalanceResponse"]; + }; + }; + }; + }; "list-trusted-runtimes": { parameters: { query?: { @@ -34844,7 +36716,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -34876,7 +36747,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -34912,7 +36782,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; id: components["schemas"]["WrappedUuidV4"]; }; @@ -34949,27 +36818,142 @@ export interface operations { }; }; }; - "delete-trusted-runtime": { + "delete-trusted-runtime": { + parameters: { + query?: never; + header?: never; + path: { + team_id: string; + id: components["schemas"]["WrappedUuidV4"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Deleted trusted runtime */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "update-trusted-runtime": { + parameters: { + query?: never; + header?: never; + path: { + team_id: string; + id: components["schemas"]["WrappedUuidV4"]; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["UpdateTrustedRuntimeBody"]; + }; + }; + responses: { + /** @description Updated trusted runtime */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["TrustedRuntime"]; + }; + }; + /** @description Unauthorized */ + 401: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Not found */ + 404: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + }; + }; + "wallet-list": { parameters: { - query?: never; + query?: { + page_size?: number; + owner_id?: string | null; + }; header?: never; path: { /** @description Team ID */ team_id: string; - id: components["schemas"]["WrappedUuidV4"]; }; cookie?: never; }; requestBody?: never; responses: { - /** @description Deleted trusted runtime */ + /** @description List wallets */ 200: { headers: { [name: string]: unknown; }; - content?: never; + content: { + "application/json": components["schemas"]["WalletPaginatedResponse"]; + }; }; - /** @description Unauthorized */ + }; + }; + "wallet-create": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateWalletBody"]; + }; + }; + responses: { + /** @description Created wallet */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Wallet"]; + }; + }; + /** @description Invalid request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Authentication failed */ 401: { headers: { [name: string]: unknown; @@ -34978,35 +36962,379 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; + /** @description Forbidden */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Upstream provider error */ + 502: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; }; }; - "update-trusted-runtime": { + "wallet-customer-list": { + parameters: { + query?: { + page_size?: number; + owner_id?: string | null; + }; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description List wallet customers */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["WalletCustomerPaginatedResponse"]; + }; + }; + }; + }; + "wallet-customer-create": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; - id: components["schemas"]["WrappedUuidV4"]; }; cookie?: never; }; requestBody: { content: { - "application/json": components["schemas"]["UpdateTrustedRuntimeBody"]; + "application/json": components["schemas"]["CreateWalletCustomerBody"]; }; }; responses: { - /** @description Updated trusted runtime */ + /** @description Created wallet customer */ 200: { headers: { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["TrustedRuntime"]; + "application/json": components["schemas"]["WalletCustomer"]; }; }; - /** @description Unauthorized */ + }; + }; + "wallet-customer-get": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet customer ID */ + customer_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Wallet customer */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["WalletCustomer"]; + }; + }; + }; + }; + "wallet-customer-kyc-get": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet customer ID */ + customer_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Wallet customer KYC details */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["GetWalletCustomerKycResponse"]; + }; + }; + }; + }; + "wallet-get": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet ID */ + wallet_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Wallet */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Wallet"]; + }; + }; + }; + }; + "wallet-get-balances": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet ID */ + wallet_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Wallet balances */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["GetBalancesResponse"]; + }; + }; + }; + }; + "wallet-get-crypto-deposit-information": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet ID */ + wallet_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Wallet crypto deposit information */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["GetCryptoDepositInformationResponse"]; + }; + }; + }; + }; + "wallet-get-fiat-deposit-information": { + parameters: { + query?: { + currency?: string | null; + }; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet ID */ + wallet_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Wallet fiat deposit information */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["GetFiatDepositInformationResponse"]; + }; + }; + }; + }; + "wallet-make-mpp-payment": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet ID */ + wallet_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["MakeMppPaymentRequest"]; + }; + }; + responses: { + /** @description Payment response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PaymentResponse"]; + }; + }; + }; + }; + "wallet-make-x402-payment": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet ID */ + wallet_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["MakeX402PaymentRequest"]; + }; + }; + responses: { + /** @description Payment response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["PaymentResponse"]; + }; + }; + }; + }; + "wallet-transaction-history-list": { + parameters: { + query?: { + page_size?: number; + next_page_token?: string | null; + }; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet ID */ + wallet_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Wallet transaction history */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["WalletTransactionHistoryItemPaginatedResponse"]; + }; + }; + }; + }; + "wallet-transaction-history-refresh": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet ID */ + wallet_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Wallet transaction history refresh result */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["RefreshWalletTransactionHistoryResponse"]; + }; + }; + }; + }; + "wallet-virtual-account-create": { + parameters: { + query?: never; + header?: never; + path: { + /** @description Team ID */ + team_id: string; + /** @description Wallet ID */ + wallet_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["CreateWalletVirtualAccountBody"]; + }; + }; + responses: { + /** @description Created wallet virtual account */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["WalletVirtualAccount"]; + }; + }; + /** @description Invalid request */ + 400: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Authentication failed */ 401: { headers: { [name: string]: unknown; @@ -35015,8 +37343,17 @@ export interface operations { "application/json": components["schemas"]["Error"]; }; }; - /** @description Not found */ - 404: { + /** @description Forbidden */ + 403: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["Error"]; + }; + }; + /** @description Upstream provider error */ + 502: { headers: { [name: string]: unknown; }; @@ -35026,13 +37363,41 @@ export interface operations { }; }; }; - "list-wiki-ontology-templates": { + "wallet-wait-until-balance": { parameters: { query?: never; header?: never; path: { /** @description Team ID */ team_id: string; + /** @description Wallet ID */ + wallet_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + "application/json": components["schemas"]["WaitUntilBalanceRequest"]; + }; + }; + responses: { + /** @description Wait result */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["WaitUntilBalanceResponse"]; + }; + }; + }; + }; + "list-wiki-ontology-templates": { + parameters: { + query?: never; + header?: never; + path: { + team_id: string; }; cookie?: never; }; @@ -35056,7 +37421,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -35078,7 +37442,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; }; cookie?: never; @@ -35104,7 +37467,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35127,7 +37489,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35148,7 +37509,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35180,7 +37540,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35203,7 +37562,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35230,7 +37588,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -35259,7 +37616,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -35287,7 +37643,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -35311,7 +37666,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -35342,7 +37696,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -35382,7 +37735,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -35406,7 +37758,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; asset_id: components["schemas"]["WrappedUuidV4"]; @@ -35437,7 +37788,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35460,7 +37810,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35483,7 +37832,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; template_key: string; @@ -35507,7 +37855,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35534,7 +37881,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35557,7 +37903,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35584,7 +37929,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; principal_type: components["schemas"]["ResourcePrincipalType"]; @@ -35609,7 +37953,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35632,7 +37975,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35659,7 +38001,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -35683,7 +38024,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -35712,7 +38052,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -35747,7 +38086,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -35775,7 +38113,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -35799,7 +38136,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -35834,7 +38170,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -35859,7 +38194,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -35889,7 +38223,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_type_id: components["schemas"]["WrappedUuidV4"]; @@ -35925,7 +38258,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35948,7 +38280,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -35975,7 +38306,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36002,7 +38332,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -36026,7 +38355,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -36061,7 +38389,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -36094,7 +38421,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -36120,7 +38446,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -36144,7 +38469,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -36179,7 +38503,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -36220,7 +38543,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -36247,7 +38569,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; page_id: components["schemas"]["WrappedUuidV4"]; @@ -36271,7 +38592,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36294,7 +38614,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36321,7 +38640,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -36345,7 +38663,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -36374,7 +38691,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -36409,7 +38725,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -36433,7 +38748,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -36468,7 +38782,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; type_id: components["schemas"]["WrappedUuidV4"]; @@ -36496,7 +38809,6 @@ export interface operations { }; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36519,7 +38831,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36553,7 +38864,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; relationship_id: components["schemas"]["WrappedUuidV4"]; @@ -36577,7 +38887,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; relationship_id: components["schemas"]["WrappedUuidV4"]; @@ -36599,7 +38908,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; relationship_id: components["schemas"]["WrappedUuidV4"]; @@ -36627,7 +38935,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36650,7 +38957,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36677,7 +38983,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36704,7 +39009,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36727,7 +39031,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; }; @@ -36754,7 +39057,6 @@ export interface operations { query?: never; header?: never; path: { - /** @description Team ID */ team_id: string; wiki_id: components["schemas"]["WrappedUuidV4"]; principal_type: components["schemas"]["ResourcePrincipalType"];