Skip to content

Update checklist

PATCH
/api/v1/checklists/templates/{template_id}
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 }'
template_id
required
Template Id
string format: uuid
Media typeapplication/json
ChecklistUpdateRequest

Update an existing checklist template. All fields are optional — only provided fields are updated.

object
name
Any of:
string
description
Any of:
string
phase
Any of:
string
context_tag
Any of:
string
items
Any of:
Array<object>
ChecklistItemSchema

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
id
Any of:
string
text
required
Text

The check item description shown to the pilot.

string
source
Source

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).

string
default: manual
required
Required

Whether this item must be completed before the checklist can be submitted.

boolean
default: true
is_critical
Is Critical

If true, a red result on this item blocks the entity from progressing (e.g. flight cannot launch).

boolean
group
Any of:
string
order
Any of:
integer
help_text
Any of:
string
source_config
Any of:
object
key
additional properties
any
when
Any of:
object
key
additional properties
any
is_mandatory
Any of:
boolean
is_active
Any of:
boolean

OK

Media typeapplication/json
Response
object
key
additional properties
any

Example generated

{}