Skip to main content
GET
List a brand's prompts

Authorizations

Authorization
string
header
required

An API key from the Account tab, sent as Authorization: Bearer agl_live_.... Keys are secret; store them server-side.

Path Parameters

id
string<uuid>
required

Brand id (UUID). A value that is not a UUID returns 404.

Query Parameters

active
boolean

Filter by state. Omit to return both active and disabled prompts.

limit
integer

Page size, 1–200. Invalid values fall back to the default.

Required range: 1 <= x <= 200
offset
integer
default:0

Rows to skip (0 or more). Use with pagination.hasMore to page.

Required range: x >= 0

Response

A page of prompts.

prompts
object[]
required
pagination
object
required

Offset pagination. hasMore tells you whether another page exists.