About this endpoint
What it does
Submits a job to generate product categories from the provided product content and optional context, language, voice tone, and maximum quantity settings. The endpoint returns identifiers you can use to track the job status.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| content | String | Yes | Product name and its parameters. |
| context | String | No | List of other categories to consider. |
| language | String | No | Default: English. |
| voice_tone | String | No | Preferred writing style parameter. It can be adjectives like funny or joyous, or even the name of a famous writer |
| max_quantity | Integer | No | Maximum number of product categories to generate |
Response
Returns a JSON object with job_id and status_url string fields. job_id is the unique identifier for the submitted job, and status_url is the URL used to poll for job status.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | Yes | The unique identifier for the submitted job. |
| status_url | String | Yes | The URL to poll for 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. Use job_id from the response to track the job.