Skip to Content

Public M2M API — ai

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/ai

Exported methods: POST

POST

  • Resource scopes: tickets:read
  • Explicit response statuses: 404, 422
  • Explicit error codes: invalid_request, not_found
  • Response keys observed across outcomes: action, articles, classification, draft, summary

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
actionenumNoNodraft_reply, classify_ticket, summarize_thread, suggest_kb—
bodystringYesNo—max(20000)
contextHintstringYesNo—max(1000)
fromEmailstringYesNo—email()
fromNamestringYesNo—max(200)
subjectstringYesNo—max(500)
ticketIdstringYesNo——
topKnumberYesNo—int(), min(1), max(10)