List Dependencies
POST /api/v1/dependencies. Request parameters and response schemas.
POST
corfedoOAuth corfedo:repositories:dependencies: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:dependencies:read
application/json- body
repository*stringquery?null|stringecosystem?null|package?null|stringversion?null|stringdirectness?null|vulnerable?booleancursor?null|stringlimit?integerFormat
int32Range
-2147483648 <= value <= 2147483647OK
- response
repository*stringrevision?null|stringstate*DependencyCoverageStateValue in
"notIndexed""disabled""pending""failed""partial""scanned"error?null|stringgaps*array<>securityState?null|dependencies*array<>nextCursor?null|stringcurl -X POST 'https://example.com/api/v1/dependencies' \ -H 'Content-Type: application/json' \ -d '{ "repository": "string"}'Example Response
{ "repository": "string", "revision": null, "state": "notIndexed", "error": null, "gaps": [ { "ecosystem": "npm", "kind": "filesNotParsed", "files": -2147483648, "repositories": -2147483648 } ], "securityState": null, "dependencies": [ { "ecosystem": "npm", "name": "string", "canonicalName": "string", "origin": "installed", "version": "string", "referenceKind": null, "directness": "direct", "kind": null, "files": [ { "path": "string", "kind": "manifest", "declaredReason": null, "uses": [ { "location": null, "contexts": [ "string" ], "specification": null } ] } ], "security": null } ], "nextCursor": null}