Get a Project by handle or id

GET/o/{org}/p/{project}
View .md

A private Project is its creator's alone; anyone else gets the same 404 as for a missing one.

Authenticate with a signed-in session token (an API key cannot call this route).

Path parameters

orgstringrequired

The org's slug or id. A caller with no role in the org gets 404.

projectstringrequired

A Project's handle (name) or id, resolved inside {org} — OR the reserved sentinel _ meaning "no Project" (a direct-repo / repo-less dispatch on POST; "no Project constraint, resolve by session id alone" everywhere else). A real handle that doesn't match the session's actual Project is 404.

Responses

200The Project.
projectProjectrequired

The repository is optional Context. A GitHub one has installation_id, repo_owner and repo_name all set; a gitlab.com one has repo_host: gitlab, repo_owner (its group path) and repo_name, with installation_id and repo_id null; with none, all are null.

26 fields
idstringrequired
Format uuid
org_idstringoptional

The org the Project belongs to.

Format uuid
user_idstringoptional

The Project's creator: the one person who sees it while it is private, and the only one who changes its visibility.

Format uuid
visibilitystringoptional

Who sees the Project, its runs, automations, secrets and files: private is its creator alone, org is every member of its org. A run is always readable by whoever started it; a run with no Project is readable by them alone.

One ofprivateorg
namestringrequired
repo_hoststringoptional

Present when the repository is on gitlab.com; absent for a GitHub repository or none.

One ofgitlab
installation_idinteger | nullrequired
Format int64
repo_ownerstring | nullrequired
repo_namestring | nullrequired
repo_idinteger | nulloptional
Format int64
default_branchstring | nulloptional
default_harnessstringrequired

Launch-boundary managed harnesses.

One ofclaudecodexopencode
default_harness_versionstring | nulloptional
readinessstringrequired
One ofpendingreadyerror
sync_statusstringoptional
One ofidlesyncingsyncederror
sync_errorstring | nulloptional
last_synced_atstring | nulloptional
Format date-time
created_atstringoptional
Format date-time
updated_atstringoptional
Format date-time
is_defaultbooleanoptional

The project a prompt-only surface (Slack) resolves to. Per user, not per org.

people_countintegeroptional

How many people it is shared with by name (GET …/people lists them).

goalstringoptional

What the Project is for; empty when unset.

instructionsstringoptional

Standing instructions every run in the Project receives ahead of its prompt; empty when unset.

paused_atstring | nulloptional

When it was paused: no run or follow-up starts (409 PROJECT_PAUSED) and no automation fires. Null when running.

Format date-time
archived_atstring | nulloptional

When it was archived. A client leaves it out of its lists; nothing else changes, its runs and automations carry on. Null when not archived.

Format date-time
last_run_atstring | nulloptional

When a run last started in the Project. Null before its first run.

Format date-time
401No bearer, an unknown, revoked or expired one, or an API key on a route keys cannot call.
errorstringoptional

A sentence for a person.

codestringoptional

Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.

error_codestringoptional

The machine code on routes that name it this way.

messagestringoptional
requestIdstringoptional
404No such resource for the caller, including one in an org the caller is not in or a Project that is private to someone else.
errorstringoptional

A sentence for a person.

codestringoptional

Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.

error_codestringoptional

The machine code on routes that name it this way.

messagestringoptional
requestIdstringoptional
429The account is over its request budget, 1,800 a minute shared by the person's API keys and console on every API host (RATE_LIMITED).

The account is over its request budget, 1,800 a minute shared by the person's API keys and console on every API host (RATE_LIMITED). The error names the limit. Wait Retry-After seconds.

errorstringoptional

A sentence for a person.

codestringoptional

Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, TOKEN_LIMIT_REACHED.

error_codestringoptional

The machine code on routes that name it this way.

messagestringoptional
requestIdstringoptional