API reference · v1
Resolve repository setup status
Find a repository in the signed-in workspace by its Git remote. When the repository cannot be identified in scope, return the same generic setup action as for an unknown repository. No name, binding, or assessment from another workspace is revealed. Unsupported hosts are rejected without a request to that host. A failed provider read is an error.
Authorization
apiSession Owner credential for a single workspace. Expires after seven days or on revocation.
In: header
Query Parameters
Canonical GitHub repository URL derived from the selected remote or --repo.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/repository-context?remote=string"{ "workspace_id": "63d66c0c-6cd9-428d-ae50-03344c0086fe", "repository": { "id": "b24a126b-76a2-46e4-ae08-95477789565f", "full_name": "example/inventory" }, "status": "ready", "mode": "shadow", "next_action_url": null, "latest_assessment": null}Get workspace status GET
Check available and reserved credits, processing state and the number of connected repositories visible to the owner. The session selects the workspace.
List connected repositories GET
Lists only repositories visible to the current owner in the session workspace. Totals use the same access and search filters.