Skip to main content
GET
Read managed source files

Authorizations

Authorization
string
header
required

WorkOS access JWT or a user-owned WorkOS API key. User keys are bound to one organization and restricted to their enabled product permissions. Session-only onboarding and session revocation require an interactive access JWT. No cookie session is assumed.

Headers

X-Request-Id
string

Optional caller-provided correlation identifier.

Required string length: 1 - 128

Path Parameters

project_id
string
required

Project identifier.

Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Query Parameters

commit_sha
string
Pattern: ^[a-f0-9]{40}$
path
string

Printable ASCII USTAR-compatible relative repository path without dot segments, backslashes, Git metadata or credential files. Environment secrets use the protected secret form; .env.example is allowed.

Required string length: 1 - 240

Response

The tenant-scoped managed source result.

commit_sha
string
required
Pattern: ^[a-f0-9]{40}$
files
object[]
required
Maximum array length: 2000