Export Booking Logs
Changed onExport the bookings matching the current filters as typed .xlsx / CSV.
Same filters, same query, same sort as list_bookings_endpoint — the file equals the screen by construction. Above the row cap the request 422s rather than truncating. Booking-scoped custom metrics export two columns each, resolved from each booking's own log-less result. Every export writes a durable ExportAudit row (metadata only, never row contents).
Request
- Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
- URL: https://api.getanana.com/api/v1/logs/booking/export
- Auth: none declared
Query parameters
Booking-anchored discrepancy filter values (PR 6/PR 7).
judged_without_reservation is log-anchored (a stamped log with NO canonical reservation) and therefore lives on the logs surface — a bookings list cannot show a booking that doesn't exist.
File format: xlsx or csv.
Ordered visible column keys to export. Core identity columns (booked / reservation / property) always export. Unknown keys 422.
Booking-scoped custom metrics to export — two columns each (result, score), resolved from each booking's own log-less result.
Filename stem (sanitized to ASCII kebab).
Human filter description for the workbook context header.
Deprecated - use offset.
Deprecated - use limit.
Which timestamp the date range filters. Valid values differ per subject; an unknown one is a 422 listing them.
Deprecated - use start_date.
Deprecated - use end_date.
Deprecated - use date_field=created_at.
Include hotels the conversation was only considered for, not just the one it was attributed to.
Named conversation-population filters: business_hours, min_call_25s, real_customer_message, exclude_spam_test, dedupe_24h.
Reject filters this subject cannot apply with a 422, instead of returning a wider population and reporting them in ignored_filters.
Deprecated - use agent_id.
Deprecated - use metric_filters.
Deprecated - use metric_filters.
Deprecated - use has_booking_intent.
Response
The export file (XLSX or CSV, per the format param).
Changes
- info
added the new optional
queryrequest parameterchannel
- info
- info
added the enum value
opera_syncto the propertyanyOf[subschema #1]/items/of thequeryrequest parameterorigin
- info