Skip to main content
POST
/
playbooks
/
{id}
/
checks
Add a check to a playbook
curl --request POST \
  --url https://app.gc.ai/api/external/v1/playbooks/{id}/checks \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Limitation of liability",
  "positions": [
    {
      "guidance": "Require a mutual liability cap at 12 months of fees."
    }
  ],
  "description": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "title": "<string>",
  "description": "<string>",
  "positions": [
    {
      "guidance": "<string>"
    }
  ],
  "created_at": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

API key for authentication. Format: gcai_xxxxxxxxx

Create API keys in the GC AI app under Settings → API.

Path Parameters

id
string<uuid>
required

Playbook ID from GET /playbooks.

Body

application/json
title
string
required

Check title (required, non-empty).

Minimum string length: 1
Example:

"Limitation of liability"

positions
object[]
required

The check's positions: exactly one standard position plus any number of fallback positions.

Minimum array length: 1
description
string | null

Optional internal description.

importance
enum<string> | null

Optional priority within the playbook.

Available options:
low,
medium,
high,
null

Response

Check created

id
string<uuid>
required

Unique check identifier

title
string
required

Check title

description
string | null
required

Optional internal description, or null if unset

importance
enum<string> | null
required

Priority of this check within the playbook, or null if unset

Available options:
low,
medium,
high,
null
positions
object[]
required

The check's positions: one standard stance plus any fallbacks.

created_at
string | null
required

ISO 8601 creation timestamp

updated_at
string | null
required

ISO 8601 last-update timestamp