About this endpoint
What it does
Submits an async job to generate tours and activities product categories from the provided content and optional travel context. The response returns a job identifier and a status URL to check the job later.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| city | String | No | Specify the city of travel. |
| content | String | Yes | Provide the content to generate travel product categories. |
| context | String | No | Provide additional context to improve paraphrasing accuracy. |
| country | String | No | Specify the country related to travel. |
| language | String | No | Specify the language of the output, defaults to English. |
| max_quantity | Number | No | Specify the maximum length of the paraphrased content. |
Response
Returns a JSON object with job_id and status_url string fields. job_id identifies the submitted job, and status_url is the URL used to check the job status. Success returns an object shaped like { job_id, status_url }.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | Yes | Job identifier for the submitted async job. |
| status_url | String | Yes | URL used to check the submitted job status. |
Notes
This endpoint kicks off an async job and returns immediately with a job identifier; the actual work runs in the background. Pair this call with the corresponding job_check endpoint — poll that until the status reaches a terminal state to retrieve the result. Extract the job identifier from job_id.