Download OpenAPI specification:
Canonical OpenAPI contract for SGRS API tiers. Public routes live under /api, admin routes under /admin, and internal godlike routes under /internals.
| X-Tenant-ID required | string |
| scope_id required | string (ScopeId) [ 1 .. 120 ] characters ^[a-z0-9][a-z0-9-]*$ |
| name required | string [ 1 .. 500 ] characters |
| type | string <= 50 characters Default: "txt" |
| text required | string [ 1 .. 100000 ] characters |
| document_id | string [ 1 .. 200 ] characters |
| source | string [ 1 .. 500 ] characters |
| idempotency_key | string [ 1 .. 200 ] characters |
{- "scope_id": "string",
- "name": "string",
- "type": "txt",
- "text": "string",
- "document_id": "string",
- "source": "string",
- "idempotency_key": "string"
}{- "scope_id": "string",
- "name": "string",
- "type": "string",
- "document_id": "string",
- "idempotency_key": "string",
- "queued": true,
- "seq": 0,
- "integration_version": "v1",
- "message": "string"
}| name required | string non-empty |
{- "name": "string"
}{- "tenant_id": "string",
- "api_key": "string",
- "key_prefix": "string",
- "message": "string"
}