API Reference
Linear
Linear integration - query issues, create agent-filed bugs, update issue status, bidirectional project sync
curl -X GET "https://loading/api/v1/linear/health"{}List Issues
Query Parameters
states?|
assignee_id?|
label?|
limit?integer
Default
25Response Body
application/json
application/json
curl -X GET "https://loading/api/v1/linear/issues"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Create Issue
Request Body
application/json
teamId*string
title*string
Length
1 <= length <= 255description?|
state?string
Default
"backlog"priority?integer
Default
0Range
0 <= value <= 4projectId?|
assigneeId?|
parentId?|
labelIds?array<>
estimate?|
dueDate?|
Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/linear/issues" \ -H "Content-Type: application/json" \ -d '{ "teamId": "string", "title": "string" }'{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}curl -X GET "https://loading/api/v1/linear/issues/string"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Issue
Path Parameters
issue_id*string
Request Body
application/json
title?|
description?|
state?|
priority?|
assigneeId?|
projectId?|
parentId?|
labelIds?array<>|
estimate?|
dueDate?|
Response Body
application/json
application/json
curl -X PATCH "https://loading/api/v1/linear/issues/string" \ -H "Content-Type: application/json" \ -d '{}'{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Create Agent Issue
Request Body
application/json
title*string
Length
1 <= length <= 255description?|
agent_id*string
ID of the agent filing the issue
agent_type?string
Type of agent
Default
"custom"priority?integer
0=None, 1=Urgent, 2=High, 3=Medium, 4=Low
Default
2Range
0 <= value <= 4label_names?array<>
Label names to apply
Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/linear/issues/agent" \ -H "Content-Type: application/json" \ -d '{ "title": "string", "agent_id": "string" }'{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}