Skip to Content
Docs

Return the agent's starters

POST
/api/agent_starters

List the starters (suggested first questions) of the agent an API key belongs to. Returns {"starters": [...]}, empty when the agent has none. Returns: {"starters": [...]} with 200; 400 when api_key is missing and 401 when it belongs to no agent.

Personal access token scope: chat:run.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
api_key*string

The agent's API key

Response Body

The agent's starters

Example Request
curl -X POST 'http://localhost:7091/api/agent_starters' \  -H 'Content-Type: application/json' \  -d '{  "api_key": "string"}'
Example Response
Empty