Skip to main content
GET
/
api
/
v1
/
personalize
/
generations
List recent generation runs for a given prompt
curl --request GET \
  --url https://api.example.com/api/v1/personalize/generations \
  --header 'Authorization: Bearer <token>'
{
  "runs": [
    {
      "run_id": "<string>",
      "prompt_source": "named",
      "n_leads": 123,
      "n_completed": 123,
      "n_failed": 123,
      "status": "in_progress",
      "started_at": "<string>",
      "prompt_name": "<string>",
      "completed_at": "<string>"
    }
  ],
  "has_more": false
}

Documentation Index

Fetch the complete documentation index at: https://bavlio.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

sender_profile_id
string
required

Sender profile UUID

prompt_source
enum<string>
required
Available options:
named,
custom_prompt
prompt_name
string | null

Required when prompt_source='named'; ignored otherwise.

limit
integer
default:15
Required range: 1 <= x <= 50

Response

Successful Response

runs
RunSummary · object[]
required
has_more
boolean
default:false