All endpoints of the xander API with fields, types, examples and responses. The page is
generated from the platform's OpenAPI description and therefore shows what the API actually
speaks. Every endpoint has a Try it form: enter the Client ID and Client Secret
of your Service Principal and the portal makes the call server-side; the secret is used for that
one request and never stored. How you get credentials is explained in the
Onboarding; complete workflows are in the
Cookbook.
client_credentials with Client ID and Client Secret of your Service Principal
Headers
Authorization: Bearer <access_token>, for JSON additionally Content-Type: application/json
The token is valid for about 60 minutes and carries the role Api.Use. Without a valid
token the API answers 401. JSON property names are written in camelCase; the API also
accepts PascalCase. There is no version prefix in the path and a single environment: every call
is billed.
Upload audio, PDF, Word and images once and reference them by ID afterwards. Saves bandwidth and allows several extractions of the same file.
POST/audiostore/upload
Upload an audio file. Uploads an audio file. Use the ID in audioInput.audioId of the transcription endpoints instead of sending the file as base64 in every call.
Request (multipart/form-data)
Field
Type
Meaning
audio
file
The audio file as a form field (multipart/form-data).
Responses
Status
Meaning
Body
200
Success. Body is the file ID as text.
The response is the file ID as text. Uploaded files are kept only as long as subsequent calls need them.
Try it
POST/pdfstore/upload
Upload a PDF. Uploads a PDF. Use the ID in pdfInput.pdfId of the document endpoints, especially when you run several extractions on the same document with different schemas.
Request (multipart/form-data)
Field
Type
Meaning
pdf
file
The PDF file as a form field (multipart/form-data).
Responses
Status
Meaning
Body
200
Success. Body is the file ID as text.
The response is the file ID as text. Uploaded files are kept only as long as subsequent calls need them.
Try it
POST/docstore/upload
Upload a Word document. Uploads a Word document (.docx). Use the ID in docInput.docId of the document endpoints or as the resourceId of a query parameter prefixed docx_. xander converts the document to PDF and presents it to the model as a PDF or as page images, depending on what the model supports.
Request (multipart/form-data)
Field
Type
Meaning
doc
file
The Word file (.docx) as a form field (multipart/form-data).
Responses
Status
Meaning
Body
200
Success. Body is the file ID as text.
The response is the file ID as text. Uploaded files are kept only as long as subsequent calls need them.
Try it
POST/imagestore/upload
Upload an image. Uploads an image (PNG, JPEG, GIF, WebP). xander validates the file signature against the content type and rejects oversized files or too many pixels. Use the ID as the resourceId of a query parameter prefixed image_.
Request (multipart/form-data)
Field
Type
Meaning
image
file
The image file as a form field (multipart/form-data).
Responses
Status
Meaning
Body
200
Success. Body is the file ID as text.
The response is the file ID as text. Uploaded files are kept only as long as subsequent calls need them.
Try it
Transcription
Speech to text. Short recordings synchronously, long recordings asynchronously with job polling.
POST/prompt/audioTranscription
Transcribe short audio synchronously. Transcribes short recordings (under 20 MB and under 20 minutes) in one call. For longer recordings use the asynchronous endpoint.
Set transcriptionOptions.audioLanguage only if you know the language for sure; without it the default is German, with the value auto the provider detects the language itself. A wrong hint degrades every transcript.
Set options.sessionMetadata.useCaseSessionId to your own correlation ID and reuse it in every call of the same workflow. It is our correlation key for support requests.
Try it
POST/prompt/audioTranscription-large
Transcribe long audio synchronously. Transcribes long recordings by segmenting them internally. The call can take several minutes and holds the connection open the whole time. For long recordings we recommend the asynchronous endpoint.
Every component on the network path (proxy, load balancer, your framework) has its own timeout. The asynchronous route avoids them all.
Try it
POST/prompt-async/audioTranscription-large
Transcribe long audio asynchronously. Starts a transcription job for long recordings and returns a job ID immediately. Poll the status endpoint for the result.
Job accepted. Body { "jobId" }, Location header points at the status endpoint.
Responds 202 Accepted with { "jobId": "..." } and a Location header pointing at the status endpoint. Processing continues server-side even if your process dies.
Set options.sessionMetadata.useCaseSessionId to your own correlation ID and reuse it in every call of the same workflow. It is our correlation key for support requests.
While the job runs you get 202 Accepted with { "jobId", "status" }. Done means 200 OK with the result in the same shape as the synchronous endpoint. A failed job answers 400, 422 or 500 with { "error", "message" }; unknown IDs return 404.
Try it
Information extraction from text
Free text or structured JSON matching your schema, driven by the prompt template of your project.
POST/prompt/informationextraction
Extract information from text. Evaluates a text according to the instructions of the prompt template and returns the answer as free text (for example a summary or a report in Markdown).
{
"userQuery": {
"userQueryText": "Maintenance of HVAC unit completed. Replaced F7 filter, checked refrigerant pressure (4.2 bar), cleaned condenser coils, tightened belt tension on the air handler. No anomalies detected, system back in normal operation."
},
"options": {
"promptIdentification": {
"projectId": "your-project-id",
"promptname": "developerportal/service_report"
},
"sessionMetadata": {
"useCaseName": "field-service-voice-intake",
"useCaseSessionId": "ticket-2026-04-12-001"
}
}
}
xander passes userQuery.userQueryText to the template as the parameter user_query. That name is reserved and must not appear in queryParameter.
Set options.sessionMetadata.useCaseSessionId to your own correlation ID and reuse it in every call of the same workflow. It is our correlation key for support requests.
Try it
POST/prompt-async/informationextraction
Extract information asynchronously. Starts the free-text extraction as a job and returns a job ID immediately. Same request as the synchronous endpoint.
{
"userQuery": {
"userQueryText": "Maintenance of HVAC unit completed. Replaced F7 filter, checked refrigerant pressure (4.2 bar), cleaned condenser coils, tightened belt tension on the air handler. No anomalies detected, system back in normal operation."
},
"options": {
"promptIdentification": {
"projectId": "your-project-id",
"promptname": "developerportal/service_report"
},
"sessionMetadata": {
"useCaseName": "field-service-voice-intake",
"useCaseSessionId": "ticket-2026-04-12-001"
}
}
}
Responses
Status
Meaning
Body
202
Job accepted. Body { "jobId" }, Location header points at the status endpoint.
Responds 202 Accepted with { "jobId": "..." } and a Location header pointing at the status endpoint. Processing continues server-side even if your process dies.
While the job runs you get 202 Accepted with { "jobId", "status" }. Done means 200 OK with the result in the same shape as the synchronous endpoint. A failed job answers 400, 422 or 500 with { "error", "message" }; unknown IDs return 404.
Try it
POST/prompt/informationextraction-structured
Extract structured information from text. Evaluates a text according to the instructions of the prompt template and returns a JSON object that matches your schema in outputStructure.jsonSchemaDefinition.
Your target schema. Required on the structured endpoints.
Example
{
"userQuery": {
"userQueryText": "Arrived at customer site Mueller AG in Winterthur for scheduled maintenance of the HVAC rooftop unit, model Carrier 50XC. The facility manager reported intermittent cooling issues over the past two weeks especially during peak afternoon hours. Visual inspection shows the F7 intake filter is heavily clogged with dust and debris. Condenser coils have moderate fouling on the outdoor section. Checked refrigerant pressure reading 4.2 bar on the high side which is within normal range. Belt tension on the air handler is slightly loose measured 12mm deflection instead of the specified 8mm. Replaced the F7 filter with a new unit from stock. Cleaned the condenser coils using compressed air and coil cleaner solution. Adjusted the belt tension to 8mm deflection per manufacturer spec. System restarted and running normally discharge air temperature measured at 14 degrees Celsius which is within target range. Recommend scheduling a follow-up in 3 months for the next regular maintenance cycle. Also recommend replacing the V-belt at the next visit as it shows early signs of wear."
},
"options": {
"promptIdentification": {
"projectId": "your-project-id",
"promptname": "developerportal/service_report_structured"
},
"sessionMetadata": {
"useCaseName": "field-service-voice-intake",
"useCaseSessionId": "ticket-2026-04-12-001"
}
},
"outputStructure": {
"jsonSchemaDefinition": "{\"type\":\"object\",\"properties\":{\"report\":{\"type\":\"object\",\"properties\":{\"issueDescription\":{\"type\":\"string\",\"description\":\"Summary of the reported issue or reason for the service visit\"},\"taskBackground\":{\"type\":\"string\",\"description\":\"Who requested the service, initial situation, customer and site context\"},\"findings\":{\"type\":\"object\",\"properties\":{\"visualInspection\":{\"type\":\"string\",\"description\":\"Observations from visual inspection of the equipment or site\"},\"measurements\":{\"type\":\"string\",\"description\":\"Technical measurements taken (pressure, temperature, voltage, deflection, etc.)\"}},\"additionalProperties\":false},\"assessment\":{\"type\":\"string\",\"description\":\"Professional assessment of root cause and overall equipment condition\"},\"workPerformed\":{\"type\":\"string\",\"description\":\"All actions taken: parts replaced, adjustments made, cleaning performed\"},\"nextSteps\":{\"type\":\"string\",\"description\":\"Recommended follow-up actions, next scheduled visit, parts to order\"}},\"required\":[\"issueDescription\",\"taskBackground\",\"workPerformed\"],\"additionalProperties\":false},\"accountabilityReport\":{\"type\":\"object\",\"description\":\"Quality checks performed by the AI on its own output\",\"properties\":{\"noHallucination\":{\"type\":\"boolean\",\"description\":\"Was only text from the transcript used in the report?\"},\"completeness\":{\"type\":\"boolean\",\"description\":\"Was the entire transcript accounted for in the report?\"},\"transcriptionCorrections\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"wrong\":{\"type\":\"string\"},\"corrected\":{\"type\":\"string\"}},\"required\":[\"wrong\",\"corrected\"],\"additionalProperties\":false},\"description\":\"List of transcription errors corrected\"},\"productNameCorrections\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"wrong\":{\"type\":\"string\"},\"corrected\":{\"type\":\"string\"}},\"required\":[\"wrong\",\"corrected\"],\"additionalProperties\":false},\"description\":\"Product/model/manufacturer names corrected due to misspelling\"},\"companyNameCorrections\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"wrong\":{\"type\":\"string\"},\"corrected\":{\"type\":\"string\"}},\"required\":[\"wrong\",\"corrected\"],\"additionalProperties\":false},\"description\":\"Company or site names corrected due to misspelling\"}},\"required\":[\"noHallucination\",\"completeness\"],\"additionalProperties\":false},\"reportImprovements\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Suggestions for improving the report technically or linguistically\"}},\"required\":[\"report\",\"accountabilityReport\"],\"additionalProperties\":false}"
}
}
The schema travels as a JSON string, not as an embedded object. additionalProperties: false and a description per field improve accuracy noticeably.
Set options.sessionMetadata.useCaseSessionId to your own correlation ID and reuse it in every call of the same workflow. It is our correlation key for support requests.
Extract structured information asynchronously. Starts the structured extraction as a job and returns a job ID immediately. Same request as the synchronous endpoint.
Your target schema. Required on the structured endpoints.
Example
{
"userQuery": {
"userQueryText": "Arrived at customer site Mueller AG in Winterthur for scheduled maintenance of the HVAC rooftop unit, model Carrier 50XC. The facility manager reported intermittent cooling issues over the past two weeks especially during peak afternoon hours. Visual inspection shows the F7 intake filter is heavily clogged with dust and debris. Condenser coils have moderate fouling on the outdoor section. Checked refrigerant pressure reading 4.2 bar on the high side which is within normal range. Belt tension on the air handler is slightly loose measured 12mm deflection instead of the specified 8mm. Replaced the F7 filter with a new unit from stock. Cleaned the condenser coils using compressed air and coil cleaner solution. Adjusted the belt tension to 8mm deflection per manufacturer spec. System restarted and running normally discharge air temperature measured at 14 degrees Celsius which is within target range. Recommend scheduling a follow-up in 3 months for the next regular maintenance cycle. Also recommend replacing the V-belt at the next visit as it shows early signs of wear."
},
"options": {
"promptIdentification": {
"projectId": "your-project-id",
"promptname": "developerportal/service_report_structured"
},
"sessionMetadata": {
"useCaseName": "field-service-voice-intake",
"useCaseSessionId": "ticket-2026-04-12-001"
}
},
"outputStructure": {
"jsonSchemaDefinition": "{\"type\":\"object\",\"properties\":{\"report\":{\"type\":\"object\",\"properties\":{\"issueDescription\":{\"type\":\"string\",\"description\":\"Summary of the reported issue or reason for the service visit\"},\"taskBackground\":{\"type\":\"string\",\"description\":\"Who requested the service, initial situation, customer and site context\"},\"findings\":{\"type\":\"object\",\"properties\":{\"visualInspection\":{\"type\":\"string\",\"description\":\"Observations from visual inspection of the equipment or site\"},\"measurements\":{\"type\":\"string\",\"description\":\"Technical measurements taken (pressure, temperature, voltage, deflection, etc.)\"}},\"additionalProperties\":false},\"assessment\":{\"type\":\"string\",\"description\":\"Professional assessment of root cause and overall equipment condition\"},\"workPerformed\":{\"type\":\"string\",\"description\":\"All actions taken: parts replaced, adjustments made, cleaning performed\"},\"nextSteps\":{\"type\":\"string\",\"description\":\"Recommended follow-up actions, next scheduled visit, parts to order\"}},\"required\":[\"issueDescription\",\"taskBackground\",\"workPerformed\"],\"additionalProperties\":false},\"accountabilityReport\":{\"type\":\"object\",\"description\":\"Quality checks performed by the AI on its own output\",\"properties\":{\"noHallucination\":{\"type\":\"boolean\",\"description\":\"Was only text from the transcript used in the report?\"},\"completeness\":{\"type\":\"boolean\",\"description\":\"Was the entire transcript accounted for in the report?\"},\"transcriptionCorrections\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"wrong\":{\"type\":\"string\"},\"corrected\":{\"type\":\"string\"}},\"required\":[\"wrong\",\"corrected\"],\"additionalProperties\":false},\"description\":\"List of transcription errors corrected\"},\"productNameCorrections\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"wrong\":{\"type\":\"string\"},\"corrected\":{\"type\":\"string\"}},\"required\":[\"wrong\",\"corrected\"],\"additionalProperties\":false},\"description\":\"Product/model/manufacturer names corrected due to misspelling\"},\"companyNameCorrections\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"wrong\":{\"type\":\"string\"},\"corrected\":{\"type\":\"string\"}},\"required\":[\"wrong\",\"corrected\"],\"additionalProperties\":false},\"description\":\"Company or site names corrected due to misspelling\"}},\"required\":[\"noHallucination\",\"completeness\"],\"additionalProperties\":false},\"reportImprovements\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"Suggestions for improving the report technically or linguistically\"}},\"required\":[\"report\",\"accountabilityReport\"],\"additionalProperties\":false}"
}
}
Responses
Status
Meaning
Body
202
Job accepted. Body { "jobId" }, Location header points at the status endpoint.
Responds 202 Accepted with { "jobId": "..." } and a Location header pointing at the status endpoint. Processing continues server-side even if your process dies.
While the job runs you get 202 Accepted with { "jobId", "status" }. Done means 200 OK with the result in the same shape as the synchronous endpoint. A failed job answers 400, 422 or 500 with { "error", "message" }; unknown IDs return 404.
Try it
Information extraction from documents
The same extraction for PDF and Word documents, inline as base64 or by ID from the upload.
POST/prompt/pdf-informationextraction-structured
Extract structured information from PDF or Word. Evaluates a PDF or Word document according to the prompt template and returns a JSON object matching your schema. The document comes inline as base64 (pdfInput.pdfFile, docInput.docFile) or by ID from the upload (pdfInput.pdfId, docInput.docId).
A schema with few, well-described fields yields better results than one with fifty. Evaluate long documents section by section in several calls.
Set options.sessionMetadata.useCaseSessionId to your own correlation ID and reuse it in every call of the same workflow. It is our correlation key for support requests.
Try it
POST/prompt/pdf-informationextraction
Extract information from PDF or Word. Like the structured document endpoint, but without a schema: the template's answer comes back as free text. Same inputs, same template.
Set options.sessionMetadata.useCaseSessionId to your own correlation ID and reuse it in every call of the same workflow. It is our correlation key for support requests.
Try it
Operations
Availability of the API and its dependencies.
GET/health
Health check. State of the API and its dependencies plus the current utilisation of the processing pool. Use it to verify your connection and as the first call after obtaining a token.