Read a project's plan back as the JSON sync-plan accepts
const url = 'https://example.com/api/board/plan?project_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {cookie: 'sb-access-token=<sb-access-token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Omit to list the project’s plan keys instead of reading one plan.
Responses
Section titled “ Responses ”The plan document, or the project’s plan listing
Invalid request
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)
Not authenticated
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)
True if re-linking GitHub may fix the issue
Forbidden
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)
No plan with that key on this project
object
Rate limited
object
Human-readable error message
Stable machine-readable error code for client branching
First validation message per field path
object
Structured validation issues (Zod)
object
Seconds until rate limit resets (429 responses)
Seconds until the rate limit resets