Update checklist
const url = 'https://app.ayna.com/api/v1/checklists/templates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","description":"example","phase":"example","context_tag":"example","items":[{"id":"example","text":"example","source":"manual","required":true,"is_critical":false,"group":"example","order":1,"help_text":"example","source_config":{},"when":{}}],"is_mandatory":true,"is_active":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://app.ayna.com/api/v1/checklists/templates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "description": "example", "phase": "example", "context_tag": "example", "items": [ { "id": "example", "text": "example", "source": "manual", "required": true, "is_critical": false, "group": "example", "order": 1, "help_text": "example", "source_config": {}, "when": {} } ], "is_mandatory": true, "is_active": true }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Update an existing checklist template. All fields are optional — only provided fields are updated.
object
A single item in a checklist template.
Each item represents one check that must be performed or verified.
The source field controls how it resolves:
- manual → pilot checks a box
- input → pilot enters a value
- checker → AYNA auto-evaluates (FAA cert, registration, Remote ID, etc.)
- record → resolves when a matching document exists in the record graph
- field → resolves when a specified entity field is populated
- agent → AI agent resolves it asynchronously
object
The check item description shown to the pilot.
How this item resolves. One of: manual (pilot checks a box), input (pilot enters a value), checker (AYNA auto-evaluates — e.g. cert valid, FAA reg, Remote ID), record (resolves when a matching document is on file), field (resolves when an entity field is populated), agent (AI agent resolves it).
Whether this item must be completed before the checklist can be submitted.
If true, a red result on this item blocks the entity from progressing (e.g. flight cannot launch).
Responses
Section titled “Responses”OK
object
Example generated
{}