GET /api/trackers/credentials — list the workspace's connected Linear/Notion credentials (ADR 0029, Slice 5). Used to populate the issue-tracker credential picker in the project-edit modal.
const url = 'https://example.com/api/trackers/credentials';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/trackers/credentialsGET /api/trackers/credentials — list the workspace’s connected Linear/Notion credentials (ADR 0029, Slice 5). Used to populate the issue-tracker credential picker in the project-edit modal.
Responses
Section titled “Responses”OK
A connected tracker credential, surfaced to the project-edit UI so it can offer a credential picker for the Linear/Notion issue tracker. Carries no secret material, only the id, provider, display label and renewal state.
object
Refresh failures in a row since the last successful renewal.
When the access token expires: the lifetime Linear stated, or the moment the
tracker rejected it. None while no lifetime is known (Notion).
A refresh whose outcome is unknown: it is not retried, the credential must be reconnected. A counted failure without it is retried with backoff.
Example generated
[ { "account_label": "example", "consecutive_refresh_failures": 1, "expires_at": "2026-04-15T12:00:00Z", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "provider": "example", "refresh_unresolved": true }]