Skip to content

Read a project's plan back as the JSON sync-plan accepts

GET
/board/plan
curl --request GET \
--url 'https://example.com/api/board/plan?project_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0' \
--cookie sb-access-token=<sb-access-token>

With plan_key, returns { plan } — the plan document (program, milestones, tickets) rebuilt from the live board, in exactly the shape POST /board/sync-plan takes, so a second edit is GET → change one ticket → POST. Stage, status and progress are excluded by design. Without plan_key, returns { plans }: every plan key on the project with its program name and live milestone/ticket counts. Archived milestones and tickets are excluded from both.

project_id
required
string format: uuid
plan_key
string
>= 1 characters

Omit to list the project’s plan keys instead of reading one plan.

The plan document, or the project’s plan listing

Media type application/json
One of:
object
plan
required

Plan document — the same shape sync-plan accepts.

object
key
additional properties
any

Invalid request

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number

Not authenticated

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number
reconnect

True if re-linking GitHub may fix the issue

boolean

Forbidden

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number

No plan with that key on this project

Media type application/json
object
error
required
string
code
required
string
Allowed values: PLAN_NOT_FOUND

Rate limited

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number
retryAfter

Seconds until the rate limit resets

number
Retry-After
string