Skip to Content
Docs

Complete a migration once its pipeline signal has passed all queued work

POST
/migrations/complete

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
type*string
vectorStoreId*string
Match^[A-Za-z0-9._-]+$
Length1 <= length <= 226
payload*
action*string

Response Body

Migration completion applied or absorbed as a no-op

Example Request
curl -X POST 'https://ai-search.your-tenant-id.my.contextual.io/api/v1/migrations/complete' \  -H 'Content-Type: application/json' \  -d '{  "orgId": "string",  "profileId": "string",  "type": "pipeline-signal",  "vectorStoreId": "string",  "payload": {    "generationId": "string",    "functionalHash": "string"  },  "action": "migration-complete"}'
Example Response
Empty