- Getting started
- CREDIT ENDPOINTS
- GENERATE ENDPOINTS
- GETText generation rules and limits
- GETAvailable text generation tones
- GETText generation styles
- GETTarget audiences for text generation
- GETAvailable text types for generation
- GETText generation history
- GETStatus of generated texts
- GETGenerated text for multiple records
- GETActive generation requests
- GETDetails of a specific generation request
- POSTText generation
- POSTCancel a bulk generation request
- POSTUpdate generated text fields
- IMAGE ENDPOINTS
- KEYWORDS ENDPOINTS
- GETKeyword optimization data
- POSTOptimize keywords for text
- DELETEKeyword optimization
- PUTKeyword optimization
- GETKeyword optimization list
- PUTKeyword optimization data
- DELETERanking keywords
- PUTKeyword optimization pipelines
- GETKeyword state
- POSTKeyword pipeline
- DELETEKeyword pipeline
- POSTRestore keyword pipeline
- POSTAdd triggers to keyword pipeline
- POSTAdd triggers to a specific keyword pipeline
- POSTLock a specific keyword pipeline
- POSTUnlock a specific keyword pipeline
- GETPipeline snapshots
- PUTUpdate or create a snapshot
- POSTAdd manual keywords
- GETManual keywords
- REVIEW ENDPOINTS
- SUGGESTION ENDPOINTS
Get text generation history
get
/text/Generate/History
This method retrieves a history of text generation requests based on various filter criteria such as type, storeId, recordId, start and end dates, and more. It allows you to paginate through the results using a continuation token.
Requirements
Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Parameter Name | Type | Description |
---|---|---|
type | string, required | Specifies the type of history to retrieve (e.g., "Product", "Category"). |
storeId | string, required | Filters results by the store ID. |
recordId | string, optional | A single or comma-separated list of record IDs to filter by. |
startDate | string, date-time, optional | The inclusive start date for filtering history results. |
endDate | string, date-time, optional | The exclusive end date for filtering history results. |
userName | string, optional | Filters results by the username who performed the request. |
language | string, optional | Filters results by language. |
continuationToken | string, optional | The token used to retrieve the next page of results. |
pageSize | integer, optional | Specifies the number of results per page (default=100, min=100). |
Response
200
401
404
500
//This status is returned when the history is successfully retrieved.
//This status is returned if the API key is missing or invalid.
//This status is returned if no history matching the filters is found.
//The server encountered an error when processing the request.
Parameter Name | Type | Description |
---|---|---|
continuationToken | string | The token used to retrieve the next page of results if there are more available. |
histories | array of objects | The list of history records, each containing:
|