Skip to Content
Docs

Get search profile index state

GET
/profiles/{profileId}/index-state

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

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

Response Body

application/json
  1. response
id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
profileId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Length3 <= length <= 64
currentNamespace?string
Length1 <= length
nextNamespace?string
Length1 <= length
currentGeneration?
nextGeneration?
migration?
retired*array<>
Default[]
pendingEffects*array<|||>
Default[]
lastCutoverAt?string

An ISO 8601 date time string

Match^(?:\d+(?:\.\d+?)?|(?:\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z))$
Formatdate-time
_metaData*
Example Request
curl -X GET 'https://ai-search.your-tenant-id.my.contextual.io/api/v1/profiles/string/index-state'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "profileId": "string",  "currentNamespace": "string",  "nextNamespace": "string",  "currentGeneration": {    "generationId": "string",    "embedderModel": "voyage-4-lite",    "dimensions": 1,    "functionalHash": "string",    "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      }    },    "acceptedHash": "string",    "configSnapshot": {      "source": {        "kind": "native-object",        "objectType": "string",        "query": {          "property1": null,          "property2": null        }      },      "template": {        "language": "handlebars",        "header": "string",        "body": "string"      },      "chunking": {        "splitterId": "plain-text-window",        "size": 1600,        "overlap": 10,        "preserveBoundaries": true      },      "embedding": {        "model": "voyage-4-lite",        "dimensions": 1024      },      "projections": []    },    "driftedAt": "2019-08-24T14:15:22Z",    "hydratedAt": "2019-08-24T14:15:22Z"  },  "nextGeneration": {    "generationId": "string",    "embedderModel": "voyage-4-lite",    "dimensions": 1,    "functionalHash": "string",    "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      }    },    "configSnapshot": {      "source": {        "kind": "native-object",        "objectType": "string",        "query": {          "property1": null,          "property2": null        }      },      "template": {        "language": "handlebars",        "header": "string",        "body": "string"      },      "chunking": {        "splitterId": "plain-text-window",        "size": 1600,        "overlap": 10,        "preserveBoundaries": true      },      "embedding": {        "model": "voyage-4-lite",        "dimensions": 1024      },      "projections": []    }  },  "migration": {    "phase": "queuing",    "totalQueued": 0,    "tallyKey": "string",    "errorCount": 0,    "queuedAt": "2019-08-24T14:15:22Z",    "doneQueuingAt": "2019-08-24T14:15:22Z",    "completionSignalQueuedAt": "2019-08-24T14:15:22Z",    "triggeredBy": {      "kind": "profile-commit",      "actor": "string",      "profileVersion": 0    }  },  "retired": [],  "pendingEffects": [],  "lastCutoverAt": "2019-08-24T14:15:22Z",  "_metaData": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "hash": "string"  }}