Lookup Symbols
POST /api/v1/symbols/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
name*stringmatch?SymbolNameMatchValue in
"exact""contains""regex"caseSensitive?booleankind?null|scope?null|options?OK
application/json- response
status*CodeSearchStatusValue in
"complete""partial""unavailable"matches?array<>execution?null|scope?null|coverage?repositories?array<>hasMore?booleanscopeReduced?booleanoutputTruncated?booleancurl -X POST 'https://example.com/api/v1/symbols/lookup' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "status": "complete", "matches": [ { "repository": "string", "repositoryId": "string", "path": null, "revision": "string", "status": "found", "snippet": null, "symbol": null } ], "execution": null, "scope": null, "coverage": { "total": -2147483648, "complete": -2147483648, "partial": -2147483648, "unavailable": -2147483648 }, "repositories": [ { "repositoryId": "string", "repository": "string", "state": "complete", "failure": "none", "partialReasons": [ "deadline" ] } ], "hasMore": true, "scopeReduced": true, "outputTruncated": true}