Playbooks Get a playbook by name
GET
/api/playbooks/{name}

Authentication

Bearer Token (BearerAuth)

Path Parameters

namestringrequired

Playbook name


Headers

X-Target-Serverstringrequired

Internal IP and port of the pt-agent instance (e.g. 10.10.0.26:9741)


Responses

200
Playbook with content

Response Fields:

  • name (string)

  • safe_name (string)

  • description (string)

  • created_at (string)

  • updated_at (string)

  • content (string)

Example:

{
  "name": "string",
  "safe_name": "string",
  "description": "string",
  "created_at": "string",
  "updated_at": "string",
  "content": "string"
}