Skip to main content
POST
Add a prompt

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.

Body

application/json
text
string
required

The question to ask about the brand.

Maximum string length: 300
Example:

"What are the best project management tools?"

Response

The created prompt, plus current prompt usage.

prompt
object
required
usage
object
required