Skip to Content
Docs

Get the physical projection schema of each live search index

GET
/profiles/{profileId}/schema

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

profileId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Length3 <= length <= 64

Response Body

application/json
  1. response
profileId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Length3 <= length <= 64
namespaces*array<>
Example Request
curl -X GET 'https://ai-search.your-tenant-id.my.contextual.io/api/v1/profiles/string/schema'
Example Response
{  "profileId": "string",  "namespaces": [    {      "slot": "current",      "namespace": "string",      "generationId": "string",      "observation": "observed",      "observedAt": "2019-08-24T14:15:22Z",      "columns": [        {          "alias": "string",          "storage": "string",          "type": "string",          "status": "active"        }      ],      "skipped": {        "count": 1,        "firstAt": "2019-08-24T14:15:22Z",        "lastAt": "2019-08-24T14:15:22Z",        "last": {          "kind": "projection-value",          "alias": "string",          "storage": "string",          "received": "string",          "providerStatus": -9007199254740991        }      }    }  ]}