Skip to main content
GET
/
prompts
List prompts
curl --request GET \
  --url https://api.baytos.ai/v1/prompts \
  --header 'Authorization: Bearer <token>'
{
  "prompts": [
    {
      "id": "<string>",
      "title": "<string>",
      "packageName": "<string>"
    }
  ],
  "cursor": "<string>",
  "hasMore": true
}

Authorizations

Authorization
string
header
required

API key obtained from https://claro.baytos.ai

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 100
cursor
string

Response

Successfully retrieved prompts

prompts
object[]
cursor
string | null
hasMore
boolean