sitemap.xml API
API portal
OpenAPI contracts for tenant integrations.
Published contract artifacts power this portal.
- OpenAPI specs from contracts.yml
- Shared Zod schemas mirrored in @pandora/contracts
- Tenant API keys via api-management
Pandora knowledge workstream API — OpenAPI 0.1.0
- POST/v1/knowledge/ws6/meetingsWrite a meeting shard. Send transcript or storageKey.
- POST/v1/knowledge/ws6/codeWrite a code document shard.
- POST/v1/knowledge/ws6/assetsWrite a voice, audio, or canvas asset shard. Send body or storageKey.
- POST/v1/knowledge/ws6/announcementsWrite an announcement shard.
- POST/v1/knowledge/ws6/activityWrite an activity event shard.
- POST/v1/knowledge/ws6/peopleProject a directory person into a person shard.
- POST/v1/knowledge/ws7/policiesWrite an executable policy shard.
- POST/v1/knowledge/ws7/org-memoryWrite a shared organization memory shard.
- POST/v1/knowledge/ws8/rulesWrite a protect or retention policy shard.
- POST/v1/knowledge/ws9/metricsWrite metric snapshot shards.
- POST/v1/knowledge/ws9/quality-reportsWrite a quality report shard.
- POST/v1/knowledge/ws12/localesStamp locale on an existing shard.
- POST/v1/knowledge/ws15/erasureRedact or delete one shard and its embeddings.
- POST/v1/knowledge/ws16/scansScan one document, asset, or message shard. The decision is not stored as a new type.
- POST/v1/knowledge/ws11/queryRun a read-only UQL query against shards. SQL is not accepted.
- GET/v1/knowledge/ws10/openapiReturn this document from the knowledge service.
- POST/v1/knowledge/ws13/residencyStamp a residency region on shard data and its storage object.
Full OpenAPI JSON
{
"openapi": "3.1.0",
"info": {
"title": "Pandora knowledge workstream API",
"version": "0.1.0",
"description": "Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port."
},
"paths": {
"/v1/knowledge/ws6/meetings": {
"post": {
"operationId": "createMeetingNote",
"summary": "Write a meeting shard. Send transcript or storageKey.",
"description": "Gated by knowledge service. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"title"
],
"properties": {
"title": {
"type": "string",
"description": "Meeting title"
},
"transcript": {
"type": "string",
"description": "Transcript text stored in object storage"
},
"storageKey": {
"type": "string",
"description": "Existing storage key when the transcript is already uploaded"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws6/code": {
"post": {
"operationId": "createCodeDocument",
"summary": "Write a code document shard.",
"description": "Gated by knowledge service. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"title",
"content"
],
"properties": {
"title": {
"type": "string",
"description": "Document title"
},
"content": {
"type": "string",
"description": "Source text"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws6/assets": {
"post": {
"operationId": "createMediaAsset",
"summary": "Write a voice, audio, or canvas asset shard. Send body or storageKey.",
"description": "Gated by knowledge service. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"name",
"type"
],
"properties": {
"name": {
"type": "string",
"description": "Asset name"
},
"type": {
"type": "string",
"description": "voice, audio, or canvas"
},
"body": {
"type": "string",
"description": "Inline payload"
},
"storageKey": {
"type": "string",
"description": "Existing storage key"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws6/announcements": {
"post": {
"operationId": "createAnnouncement",
"summary": "Write an announcement shard.",
"description": "Gated by knowledge service. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"title",
"body"
],
"properties": {
"title": {
"type": "string",
"description": "Announcement title"
},
"body": {
"type": "string",
"description": "Announcement body"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws6/activity": {
"post": {
"operationId": "writeActivityEvent",
"summary": "Write an activity event shard.",
"description": "Gated by knowledge service. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"actorId",
"objectType",
"objectId",
"kind",
"at"
],
"properties": {
"actorId": {
"type": "string",
"description": "Actor id"
},
"objectType": {
"type": "string",
"description": "Object type"
},
"objectId": {
"type": "string",
"description": "Object id"
},
"kind": {
"type": "string",
"description": "view, edit, share, follow, or search"
},
"at": {
"type": "string",
"description": "ISO-8601 timestamp"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws6/people": {
"post": {
"operationId": "upsertPersonShard",
"summary": "Project a directory person into a person shard.",
"description": "Gated by knowledge service. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"userId",
"name"
],
"properties": {
"userId": {
"type": "string",
"description": "Directory user id"
},
"name": {
"type": "string",
"description": "Display name"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws7/policies": {
"post": {
"operationId": "createExecutablePolicy",
"summary": "Write an executable policy shard.",
"description": "Gated by agents.policy.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"title"
],
"properties": {
"title": {
"type": "string",
"description": "Policy title"
},
"body": {
"type": "string",
"description": "Policy body"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws7/org-memory": {
"post": {
"operationId": "writeOrgMemory",
"summary": "Write a shared organization memory shard.",
"description": "Gated by agents.org_memory.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"content"
],
"properties": {
"content": {
"type": "string",
"description": "Memory content"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws8/rules": {
"post": {
"operationId": "createGovernanceRule",
"summary": "Write a protect or retention policy shard.",
"description": "Gated by governance.protect.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"kind",
"title"
],
"properties": {
"kind": {
"type": "string",
"description": "protect or retention"
},
"title": {
"type": "string",
"description": "Rule title"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws9/metrics": {
"post": {
"operationId": "writeMetricSnapshots",
"summary": "Write metric snapshot shards.",
"description": "Gated by insights.snapshots.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"snapshots"
],
"properties": {
"snapshots": {
"type": "array",
"description": "Metric snapshots from usage or optimizer impact"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws9/quality-reports": {
"post": {
"operationId": "writeQualitySnapshot",
"summary": "Write a quality report shard.",
"description": "Gated by insights.snapshots.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"periodStart",
"periodEnd",
"narrative"
],
"properties": {
"periodStart": {
"type": "string",
"description": "ISO-8601 period start"
},
"periodEnd": {
"type": "string",
"description": "ISO-8601 period end"
},
"narrative": {
"type": "string",
"description": "Report narrative"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws12/locales": {
"post": {
"operationId": "writeContentLocale",
"summary": "Stamp locale on an existing shard.",
"description": "Gated by content.locales.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"shardId",
"locale"
],
"properties": {
"shardId": {
"type": "string",
"description": "Shard to translate"
},
"locale": {
"type": "string",
"description": "BCP 47 language tag"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws15/erasure": {
"post": {
"operationId": "eraseShardForDsr",
"summary": "Redact or delete one shard and its embeddings.",
"description": "Gated by privacy.dsr.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"shardId",
"mode"
],
"properties": {
"shardId": {
"type": "string",
"description": "Shard to erase"
},
"mode": {
"type": "string",
"description": "delete or redact"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws16/scans": {
"post": {
"operationId": "scanExternalContent",
"summary": "Scan one document, asset, or message shard. The decision is not stored as a new type.",
"description": "Gated by security.external_content.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"shardId"
],
"properties": {
"shardId": {
"type": "string",
"description": "Inbound shard to scan"
}
}
}
}
}
}
}
},
"/v1/knowledge/ws11/query": {
"post": {
"operationId": "queryWarehouseShards",
"summary": "Run a read-only UQL query against shards. SQL is not accepted.",
"description": "Gated by warehouse.query.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "UQL FIND query"
},
"tenantId": {
"type": "string",
"description": "Optional caller tenant. A foreign id is not found."
}
}
}
}
}
}
}
},
"/v1/knowledge/ws10/openapi": {
"get": {
"operationId": "getKnowledgeWsOpenApi",
"summary": "Return this document from the knowledge service.",
"description": "Gated by platform.openapi.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
}
}
},
"/v1/knowledge/ws13/residency": {
"post": {
"operationId": "writeShardResidency",
"summary": "Stamp a residency region on shard data and its storage object.",
"description": "Gated by residency.shard.enabled. Call these paths on the knowledge service that already hosts them. Authenticate with the existing tenant context. Do not send secrets. The base URL comes from deployment configuration (KNOWLEDGE_PUBLIC_URL when set). This document does not embed a host or a port.",
"responses": {
"200": {
"description": "Success payload"
},
"201": {
"description": "Created shard"
},
"401": {
"description": "Authentication required",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"403": {
"description": "Lever is off",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
},
"404": {
"description": "Not found, including a foreign tenant",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorEnvelope"
}
}
}
}
},
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"required": [
"shardId",
"region"
],
"properties": {
"shardId": {
"type": "string",
"description": "Shard to pin"
},
"region": {
"type": "string",
"description": "Residency pin from the platform region enum"
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"ErrorEnvelope": {
"type": "object",
"required": [
"success",
"error"
],
"properties": {
"success": {
"const": false
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
}
}
}
}
}
}
}
}