v1
latestOpenAPI 3.1.02026-07-1255227258.8 KBentities
Update Instruction
put/instructions/{instruction_id}
Path parameters
instruction_idstring uuid required
The ID of the instruction.
Example:00000000-0000-0000-0000-000000000000
The ID of the instruction.
Request body
Example request
{
"active": true
}Response
Successful Response
Example response
{
"name": "Find all pizzas",
"active": true,
"scope": "document",
"prompt": "Find all pizzas described in the text.",
"context_template": "Document: {{document.name}} {{document.metadata.key_foo}}",
"filter": {
"toppings": {
"$in": [
"pizza",
"mushrooms"
]
}
}
}