Skip to main content
PUT
/
v0
/
definitions
/
{id}
/
tasks
/
{taskId}
Update task-specific config for an evaluation definition
curl --request PUT \
  --url https://api.avidoai.com/v0/definitions/{id}/tasks/{taskId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-application-id: <api-key>' \
  --data '{
  "config": {
    "expected": "42"
  }
}'
This response does not have an example.

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Path Parameters

id
string<uuid>
required

The unique identifier of the evaluation definition

Example:

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

taskId
string<uuid>
required

The unique identifier of the task

Example:

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

Body

application/json

Request body for updating task-specific configuration for an evaluation definition

config
object

Response

Successfully updated task configuration