List generations
GET
/generations
const url = 'https://api.mixen.ai/v1/generations?type=image&limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.mixen.ai/v1/generations?type=image&limit=50' \ --header 'Authorization: Bearer <token>'Previously generated artifacts of the account that owns this API key: images, videos and music from the bot, the web cabinet and the API alike — newest first. Pass next_cursor as cursor for the next older page. Fetch the artifact bytes from /v1/generations/{type}/{id}/content. Prompts are returned as stored; charged_rub is a decimal string.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}