Skip to main content
POST
/
v0
/
definitions
/
unlink
Unlink an evaluation definition from a task
curl --request POST \
  --url https://api.avidoai.com/v0/definitions/unlink \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "evalId": "123e4567-e89b-12d3-a456-426614174000",
  "taskId": "456e4567-e89b-12d3-a456-426614174000"
}'
{
  "success": true
}

Authorizations

x-api-key
string
header
required

Your unique Avido API key

Body

application/json

Request body for linking or unlinking an evaluation definition to/from a task

evalId
string<uuid>
required

The unique identifier of the evaluation definition to link/unlink

Example:

"123e4567-e89b-12d3-a456-426614174000"

taskId
string<uuid>
required

The unique identifier of the task to link/unlink the evaluation definition to/from

Example:

"456e4567-e89b-12d3-a456-426614174000"

Response

Successfully unlinked evaluation definition from task

The response is of type any.

I