Skip to main content
Return the code repositories visible to the current user in a workspace.

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: viewer.

Path parameters

string
required
Workspace id.

Response

The response is an array; each element is a repo (fields identical to Import Repo).

Example