Sonna
API ReferenceHistory

List History

List generation history with optional filters.

GET
/history

Query Parameters

profile_id?string|null
search?string|null
limit?Limit
offset?Offset

Response Body

application/json

application/json

curl -X GET "https://example.com/history"
{
  "items": [
    {
      "id": "string",
      "profile_id": "string",
      "profile_name": "string",
      "text": "string",
      "language": "string",
      "audio_path": "string",
      "duration": 0,
      "seed": 0,
      "created_at": "2019-08-24T14:15:22Z"
    }
  ],
  "total": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}