Skip to main content
GET
List audited branches and their security posture.
Scope: cyber:branches:read. See API Tokens.

Authorizations

Authorization
string
header
required

CloudThinker token: a personal access token ct_pat_… (fine-grained scopes, created in Settings) or an OAuth access token ct_oat_… (1 hour, from the OAuth flow). Send Authorization: Bearer <token>. Scopes have the form module:resource:read|write; write includes read.

Path Parameters

workspace_id
string<uuid>
required

Workspace to act in. Every call names it.

Query Parameters

Text in the repository path or branch.

Maximum string length: 500
state
enum<string>

Only this audit state.

Available options:
running,
complete,
failed,
partial,
verification_pending
posture
enum<string>

Only this posture.

Available options:
confirmed,
incomplete,
needs_verification,
never_scanned,
stale,
no_findings
limit
integer
default:20

Items per page.

Required range: 1 <= x <= 100
cursor
string

next_cursor from the previous page.

Maximum string length: 512

Response

OK

Audited branches, most recent first.

items
CodeAuditBranch · object[]
required
next_cursor
string | null
required

Pass back as cursor for the next page. Null on the last page.