CorfedoCorfedoDocs
ReferenceAPI referenceSearch and read

List Contexts

GET /api/v1/contexts. Request parameters and response schemas.

GET
/api/v1/contexts

Authorization

corfedoOAuth corfedo:tenant:contexts:read, corfedo:repositories:code:read
headerAuthorizationBearer <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:tenant:contexts:read, corfedo:repositories:code:read

Response Body

OK

application/json
  1. response
contexts*array<>
Example Request
curl -X GET 'https://example.com/api/v1/contexts'
Example Response
{  "contexts": [    {      "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6",      "name": "string",      "description": null,      "owner": "personal",      "revision": "string",      "createdAt": "2019-08-24T14:15:22Z",      "changedAt": "2019-08-24T14:15:22Z",      "repositoryCount": -2147483648,      "inaccessibleCount": null,      "manageable": true    }  ]}