Skip to main content
GET
/
v2
/
playbooks
List Playbooks
curl --request GET \
  --url https://app.textql.com/v2/playbooks \
  --header 'Authorization: Bearer <token>'
{
  "playbooks": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "prompt": "<string>",
      "status": "draft",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total_count": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.textql.com/llms.txt

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

Authorizations

Authorization
string
header
required

API key or JWT token

Query Parameters

limit
integer<int64>

Maximum number of playbooks to return

offset
integer<int64>

Number of playbooks to skip

search_term
string

Filter playbooks by name

sort_by
enum<string>

Field to sort by

Available options:
name,
created_at,
updated_at
sort_direction
enum<string>

Sort direction

Available options:
asc,
desc
status_filter
enum<string>

Filter by playbook status

Available options:
draft,
deployed

Response

Paginated list of playbooks

playbooks
object[]
total_count
integer<int64>