Get the active profile drain cutoff and expiry
GET
jwtheader
AuthorizationBearer <JWT>profileId*stringMatch
^[a-z0-9]+(?:-[a-z0-9]+)*$Length
3 <= length <= 64application/json- response
orgId*stringMatch
^[a-z0-9]+(?:-[a-z0-9]+)*$Length
length <= 63profileId*stringMatch
^[a-z0-9]+(?:-[a-z0-9]+)*$Length
3 <= length <= 64cutoff*stringAn ISO 8601 date time string
Match
^(?:\d+(?:\.\d+?)?|(?:\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z))$Format
date-timeexpiresAt*stringAn ISO 8601 date time string
Match
^(?:\d+(?:\.\d+?)?|(?:\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z))$Format
date-timecurl -X GET 'https://ai-search.your-tenant-id.my.contextual.io/api/v1/profiles/string/drain'Example Response
{ "orgId": "string", "profileId": "string", "cutoff": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z"}