Skip to Content
Docs

Report migration item failures

POST
/migrations/errors

Authorization

jwt
headerAuthorizationBearer <JWT>

Request Body

application/json
  1. body
orgId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Lengthlength <= 63
profileId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Length3 <= length <= 64
generationId*string
Match^[A-Za-z0-9_-]{1,64}$
tallyKey*string
Length1 <= length
failedItems*integer
Range0 <= value <= 9007199254740991

Response Body

Migration error count recorded

Example Request
curl -X POST 'https://ai-search.your-tenant-id.my.contextual.io/api/v1/migrations/errors' \  -H 'Content-Type: application/json' \  -d '{  "orgId": "string",  "profileId": "string",  "generationId": "string",  "tallyKey": "string",  "failedItems": 0}'
Example Response
Empty