Sazabi
APILogs

Get log schema

POST
/logs/schema

Describe the active log backend, supported commands, query fields, and schema context.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/logs/schema" \  -H "Content-Type: application/json" \  -d '{}'
{  "backend": {    "id": "clickhouse",    "name": "string",    "kind": "native"  },  "features": [    "string"  ],  "commands": [    "schema"  ],  "queryableFields": [    "string"  ],  "searchableFields": [    "string"  ],  "question": "string",  "selectedBundles": [    {      "id": "string",      "service": "string",      "keys": [        "string"      ],      "rowCount": 0,      "score": 0    }  ],  "selectedAttributeKeys": [    "string"  ],  "observedServiceNames": [    "string"  ],  "observedAttributeKeys": [    "string"  ],  "indexStatus": "ready",  "schemaContext": {    "property1": null,    "property2": null  }}