Lookup Scope
POST /api/v1/scope/lookup. Request parameters and response schemas.
POST
corfedoOAuth corfedo:repositories:code:readheader
AuthorizationBearer <token>Corfedo-issued bearer credential for the workspace's API resource, such as https://workspace.corfedo.example/api; the workspace host is the issuer. Public clients identify themselves with a Client ID Metadata Document URL and use PKCE S256; service clients use private_key_jwt. Browser cookies and MCP-resource credentials are not accepted.
Scope: corfedo:repositories:code:read
application/json- body
prefix?stringtarget?ScopeNameTargetValue in
"repositories""contexts""all""owners"limit?integerFormat
int32Range
-2147483648 <= value <= 2147483647OK
application/json- response
matches?array<||>curl -X POST 'https://example.com/api/v1/scope/lookup' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "matches": [ { "kind": "repository", "repositoryId": "string", "provider": "string", "forgeHost": "string", "name": "string" } ]}