Skip to content

A workspace's integrations: its own model provider, the alert sources that open issues (Sentry, Datadog, webhooks), and the trackers whose tickets agents can read (Jira, Linear).

GET/workspaces/{workspace}/integrations

Secrets are never returned. Members only.

kind is models, alerts or tracker. secret_hint shows the end of the secret; the secret itself is never returned. webhook_url is where an alert source sends its alerts.

Name Type Required Description
workspace string Yes The workspace’s slug, e.g. “flagon-io”.
curl https://api.g1t.sh/workspaces/flagon-io/integrations \
-H "Authorization: Bearer $G1T_TOKEN"

A successful request answers 200 with:

[
{
"id": "con_01kpx3m7q2f8r9t4v6w0y1z2ab",
"workspace": "flagon-io",
"provider": "anthropic",
"kind": "models",
"name": "Anthropic",
"config": {
"assign": false,
"write_back": true
},
"secret_hint": "…3f9a",
"webhook_url": null,
"created_by": "syntaqx",
"created_at": "2026-10-04T15:42:07.318Z",
"last_used_at": "2026-10-04T15:42:08.102Z",
"last_error": null,
"models": [
"claude-haiku-4-5",
"claude-sonnet-4-5"
]
},
{
"id": "con_01kpx4n8r3g9s0v5w7x1z2a3bc",
"workspace": "flagon-io",
"provider": "jira",
"kind": "tracker",
"name": "Jira",
"config": {
"assign": false,
"write_back": true,
"site": "https://acme.atlassian.net",
"email": "syntaqx@example.com",
"keys": [
"TECH"
]
},
"secret_hint": "…x7Qe",
"webhook_url": null,
"created_by": "syntaqx",
"created_at": "2026-10-04T15:42:07.318Z",
"last_used_at": null,
"last_error": null,
"models": []
}
]

A failed request answers with one of these statuses and a body like {"error": {"code": "not_found", "message": "Repository not found."}}. See errors.

Status Code When
401 unauthenticated A token is required, or the one sent is not valid.
403 forbidden The token is valid but not allowed to do this, such as a member-only change or an agent token outside its repository.
404 not_found It does not exist, or you cannot see it.
422 invalid The input is not valid. message says which field and why.