Execute checklist and create immutable completion record
POST
/api/v1/checklists/templates/{template_id}/evaluate
const url = 'https://app.ayna.com/api/v1/checklists/templates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/evaluate';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"pilot_id":"example","aircraft_id":"example","drone_id":"example","mission_id":"example","flight_id":"example","responses":{},"notes":""}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.ayna.com/api/v1/checklists/templates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/evaluate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "pilot_id": "example", "aircraft_id": "example", "drone_id": "example", "mission_id": "example", "flight_id": "example", "responses": {}, "notes": "" }'Run a checklist against the specified entities, collect responses, and create an immutable ChecklistCompletion audit record.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”template_id
required
Template Id
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
EvaluateRequest
object
Responses
Section titled “Responses”OK
Media typeapplication/json
Response
object
key
additional properties
any
Example generated
{}