Linear

Read bounded team issues, selected issue context and comments through fixed GraphQL queries.

3 implemented operations

connector.yaml
issue.readRead one exact issue's current description, workflow state and project; not a comments or activity-history read.read
linear issue.readread#
  • LocalReadyThe runtime sends the operation's declared HTTP requests.
  • HostedReadyRuns hosted on Runx Connect.
Runx scope
read
Target
{"$concat":["https://api.linear.app/issue/",{"$argument":"/issue_id"}]}
Credentials
Any of access_token, api_key
Local implementation
Declared HTTP requests: api.linear.app
Inputs
Field and constraintsType / valuesRequired
issue_idPattern: ^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|[A-Z][A-Z0-9]{0,20}-[1-9][0-9]{0,12})$stringYes

Required fields apply within their containing object. Unlisted fields are rejected.

Full input schema
{
  "type": "object",
  "required": [
    "issue_id"
  ],
  "properties": {
    "issue_id": {
      "type": "string",
      "pattern": "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|[A-Z][A-Z0-9]{0,20}-[1-9][0-9]{0,12})$"
    }
  },
  "additionalProperties": false
}

Result fields issue

Operation digest sha256:81a35e49b2e5580ac98aa522859a88ccbe3ed573015e66e4f2c15dec6127966dImplementation sha256:813a0a0779cdf2a36af6eec69c0b25477966951ade6c9328cfba7d0f02c157b2

issues.listRead one bounded page of issues from the exact selected team; preserves provider continuation metadata.read
linear issues.listread#
  • LocalReadyThe runtime sends the operation's declared HTTP requests.
  • HostedReadyRuns hosted on Runx Connect.
Runx scope
read
Target
{"$concat":["https://api.linear.app/team/",{"$argument":"/team_id"},"/issues"]}
Credentials
Any of access_token, api_key
Local implementation
Declared HTTP requests: api.linear.app
Inputs
Field and constraintsType / valuesRequired
afterMin. 1 characterMax. 4096 charactersstringNo
limitMinimum 1Maximum 100integerYes
team_idPattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$stringYes

Required fields apply within their containing object. Unlisted fields are rejected.

Full input schema
{
  "type": "object",
  "required": [
    "team_id",
    "limit"
  ],
  "properties": {
    "after": {
      "type": "string",
      "maxLength": 4096,
      "minLength": 1
    },
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1
    },
    "team_id": {
      "type": "string",
      "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
    }
  },
  "additionalProperties": false
}

Result fields issues

Operation digest sha256:69e3eaf6bb8c7fce93fabd9d9180402e313388f73e237d897507fceb528659e9Implementation sha256:c77fb0de3a810331757cb07fac53b5ace3413ba641339d7fb9d402d3f2601e81

comments.listRead one bounded page of comments on the exact selected issue; preserve null bot authors and continuation metadata.read
linear comments.listread#
  • LocalReadyThe runtime sends the operation's declared HTTP requests.
  • HostedReadyRuns hosted on Runx Connect.
Runx scope
read
Target
{"$concat":["https://api.linear.app/issue/",{"$argument":"/issue_id"},"/comments"]}
Credentials
Any of access_token, api_key
Local implementation
Declared HTTP requests: api.linear.app
Inputs
Field and constraintsType / valuesRequired
afterMin. 1 characterMax. 4096 charactersstringNo
limitMinimum 1Maximum 100integerYes
issue_idPattern: ^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|[A-Z][A-Z0-9]{0,20}-[1-9][0-9]{0,12})$stringYes

Required fields apply within their containing object. Unlisted fields are rejected.

Full input schema
{
  "type": "object",
  "required": [
    "issue_id",
    "limit"
  ],
  "properties": {
    "after": {
      "type": "string",
      "maxLength": 4096,
      "minLength": 1
    },
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1
    },
    "issue_id": {
      "type": "string",
      "pattern": "^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}|[A-Z][A-Z0-9]{0,20}-[1-9][0-9]{0,12})$"
    }
  },
  "additionalProperties": false
}

Result fields comments

Operation digest sha256:d5b4e018d159f1abe39b94c8c6f9921ce6038ed664d4077b51cd9bd6e38cd856Implementation sha256:adb30e2389e193ce02a1add948a452da1f992c823c4386c501d2e83fea61b700

Authentication

Commands here are for runx 0.11.1.

Linear accepts 2 kinds of stored credential.

Stored credential api_key
A api_key with one field: api_key (Linear personal API key). Sent only to api.linear.app. Supply it through standard input in the project where the skill runs; Runx stores the profile and selects it for this connector. The hosted placement can hold it in Runx Connect’s credential custody instead.
runx connector use linear --credential api_key
Stored credential access_token
A oauth2 with one field: access_token (Linear OAuth access token with read scope). Sent only to api.linear.app. Supply it through standard input in the project where the skill runs; Runx stores the profile and selects it for this connector.
runx connector use linear --credential access_token
Hosted key
Runx Connect holds the key for the hosted placement; it never returns to your machine.
runx connector use linear --hosted

Authentication methods describe what the provider requires. They do not imply Runx supports every way the provider authenticates, and they do not grant access to your account.

Permissions

Each operation requires every Runx scope it declares. The account or key behind an instance must also reach the target on Linear’s side; setting one up adds no Linear permissions.

A stored credential may do everything its scopes allow. Add --scope to runx connector use --credential to narrow it.