Run the secret-aware Linear registration lifecycle.
The api_key is vault-put under linear/<id>/auth BEFORE the
row is written; only the vault key reference lives on
adapter_config. A one-shot tools/list health check runs
before returning. On health failure the row lands with
status='error' and the caller retries by re-running with a
fresh key. On validation failure (400), error and
detail are populated and the HTTP layer raises before
reaching the response model.
Documentation Index
Fetch the complete documentation index at: https://docs.copass.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body for POST /sources/linear.
Tool-shape kept narrow per ADR 0007 §B / Chunk B brief decision #5
(no generalization to register_polling_source until N>1 polling
integrations exist).
Linear API key (lin_api_*). Stored in the managed secret store before the row is written; never echoed back.
1Source name. Defaults to 'Linear'.
Subset of Linear entities to ingest. Defaults to all five (teams, users, projects, issues, cycles).
teams, users, projects, issues, cycles Per-source tool-call rate cap. 1-600. Default 60.
1 <= x <= 600Polling cadence. Min 60s. Default 900s (15m).
x >= 60Successful Response
Outcome shape for POST /sources/linear.
On success data_source_id and status='active' are
populated; on health-check failure status='error' and
health_error carries a short reason. Validation failures
surface at the HTTP layer (400) before reaching this shape.