Linear API
Every handle of the Linear fake: the linear fixture, the people and objects a test creates on it, and what they read and wait for. How to test a Linear app or agent, step by step, is in the Linear guide.
Each call is shown in every SDK's language, with its required options (the table under it lists them all). Arguments go first; options are TypeScript's trailing object, Python's keyword arguments and Rust's builder setters. The variable names are the ones the calls return elsewhere on these pages, so user is a LinearUser handle.
Besides the errors listed with each method, most methods can fail with action_requires, cross_workspace_credential, fake_actor_in_live_world, internal, invalid_argument, live_misconfigured, live_not_allowlisted, not_found, session_not_found, unauthorized, unsupported_in_live: a bad request, a closed session, or live mode refusing or misconfigured.
LinearFixture#
Returned by Session.linear().
| Field | Python / Rust | Type |
|---|---|---|
app | app | LinearApp |
apiUrl | api_url | string |
createUser()#
Create a person in the workspace.
const user = await linear.createUser({ name: "…" });user = await linear.create_user(name="…")let user = linear.create_user().name("…").await?;| Parameter | Python / Rust | Type | Required | |
|---|---|---|---|---|
name | name | string | yes | option |
id | id | string | no | option |
displayName | display_name | string | no | option |
email | email | string | no | option |
admin | admin | boolean | no | option |
guest | guest | boolean | no | option |
token | token | string | no | option; read from CHANNELSTACK_LINEAR_USER_{name}_TOKEN when left out |
Returns LinearUser.
users()#
The people this session created.
const users = await linear.users();users = await linear.users()let users = linear.users().await?;Returns LinearUsers.
createApp()#
Make another OAuth app in the workspace, installed with actor=app: its own app user (mentionable and assignable), access token, client and webhook secret. Or return the one made with this name and settings. Its webhooks go to CHANNELSTACK_LINEAR_APP_<NAME>_WEBHOOK_URL.
const app = await linear.createApp({ name: "…" });app = await linear.create_app(name="…")let app = linear.create_app().name("…").await?;| Parameter | Type | Required | |
|---|---|---|---|
name | string | yes | option |
events | string[] | no | option |
Returns LinearApp.
Live: refused with unsupported_in_live: Live, the Linear workspace has the built-in app only: another app needs a sandbox app of its own.
apps()#
The apps this session used: the built-in one first, then each it got from createApp, in the order it first did. Another session's are not_found here.
const apps = await linear.apps();apps = await linear.apps()let apps = linear.apps().await?;Returns LinearApps.
teams()#
The teams this session created.
const teams = await linear.teams();teams = await linear.teams()let teams = linear.teams().await?;Returns LinearTeams.
createTeam()#
Create a team: its members, workflow states and labels. Without a key one is made up, so parallel tests never share one.
const team = await linear.createTeam({ key: "…" });team = await linear.create_team(key="…")let team = linear.create_team().key("…").await?;| Parameter | Type | Required | |
|---|---|---|---|
key | string | no | option |
name | string | no | option |
members | LinearUser[] | no | option |
states | Array<{ name: string; type: "backlog" | "unstarted" | "started" | "completed" | "canceled" | "triage" }> | no | option |
labels | string[] | no | option |
Returns LinearTeam.
issues()#
The issues in this session's teams, read again from Linear live, oldest first.
const issues = await linear.issues();issues = await linear.issues()let issues = linear.issues().await?;Returns LinearIssues.
deliveries()#
Every webhook channelstack sent the agent for this session, with every attempt.
const deliveries = await linear.deliveries({ type: "…" });deliveries = await linear.deliveries(type="…")let deliveries = linear.deliveries().r#type("…").await?;| Parameter | Python / Rust | Type | Required | |
|---|---|---|---|---|
type | type · r#type | string | no | option |
resource | resource | LinearIssue | no | option |
app | app | LinearApp | no | option |
Returns LinearDeliveries.
Live: refused with unsupported_in_live: Live, the platform delivers to the agent itself and channelstack isn't in the path (delivery chaos is fake-only).
calls()#
The GraphQL operations the agent sent about this session's issues and sessions, by root field (agentActivityCreate).
const apiCalls = await linear.calls({ operation: "…" });api_calls = await linear.calls(operation="…")let api_calls = linear.calls().operation("…").await?;| Parameter | Type | Required | |
|---|---|---|---|
operation | string | no | option |
error | true | string | no | option |
Returns LinearApiCalls.
Live: needs proxy mode: Linear doesn't report the app's calls; proxy mode sees them. Proxy mode doesn't read the app's calls back live yet (#24), so for now the call is refused with action_requires and the test is skipped.
waitForCall()#
Waits for the next API call from the agent after the last one this handle returned: it polls calls() and never sleeps longer than it must.
const apiCall = await linear.waitForCall({ operation: "…" });api_call = await linear.wait_for_call(operation="…")let api_call = linear.wait_for_call().operation("…").await?;| Parameter | Type | Required | |
|---|---|---|---|
operation | string | no | filter |
error | true | string | no | filter |
timeout | Duration | no | default 10s |
Returns LinearApiCall. When the time is up, it fails with what it was waiting for.
LinearApp#
Returned by LinearFixture.createApp(), LinearIssue.delegatedTo().
| Field | Python / Rust | Type |
|---|---|---|
id | id | string |
name | name | string |
kind | kind | "app" |
botUserId | bot_user_id | string |
accessToken | access_token | string |
webhookSecret | webhook_secret | string |
clientId | client_id | string |
clientSecret | client_secret | string |
comment()#
An app a test made comments on an issue, as its own commentCreate would. Its mention of another app is refused (to confirm, B6).
const comment = await app.comment("…", { issue });comment = await app.comment("…", issue=issue)let comment = app.comment("…").issue(&issue).await?;| Parameter | Type | Required | |
|---|---|---|---|
body | string | yes | positional |
issue | LinearIssue | yes | option |
Returns LinearComment.
Live: refused with unsupported_in_live: Live, the Linear workspace has the built-in app only: another app needs a sandbox app of its own.
reply()#
An app a test made replies in a comment's thread, as its own commentCreate with a parentId would.
const result = await app.reply("…", { comment });result = await app.reply("…", comment=comment)let result = app.reply("…").comment(&comment).await?;| Parameter | Type | Required | |
|---|---|---|---|
body | string | yes | positional |
comment | LinearComment | yes | option |
Returns LinearComment.
Live: refused with unsupported_in_live: Live, the Linear workspace has the built-in app only: another app needs a sandbox app of its own.
LinearUser#
Returned by LinearFixture.createUser(), LinearIssue.assignee().
| Field | Python / Rust | Type |
|---|---|---|
id | id | string |
name | name | string |
kind | kind | "user" |
displayName | display_name | string |
email | email | string | undefined |
admin | admin | boolean |
guest | guest | boolean |
createIssue()#
Create an issue. Sends Issue (create); with delegate, it opens an agent session and sends AgentSessionEvent (created).
const result = await user.createIssue(issue, { team });result = await user.create_issue(issue, team=team)let result = user.create_issue(issue).team(&team).await?;| Parameter | Type | Required | |
|---|---|---|---|
issue | { title: string; description?: string; priority?: number; state?: string; labels?: string[]; assignee?: LinearUser; delegate?: LinearApp; parent?: LinearIssue } | yes | positional |
team | LinearTeam | yes | option |
Returns LinearIssue.
Errors forbidden.
editIssue()#
Edit an issue's title, description or priority. Sends Issue (update).
const delivery = await user.editIssue(changes, { issue });delivery = await user.edit_issue(changes, issue=issue)let delivery = user.edit_issue(changes).issue(&issue).await?;| Parameter | Type | Required | |
|---|---|---|---|
changes | { title?: string; description?: string; priority?: number } | yes | positional |
issue | LinearIssue | yes | option |
Returns LinearDelivery | undefined.
Errors forbidden.
undelegate()#
Take an issue back from the app. Sends Issue (update).
const delivery = await user.undelegate({ issue });delivery = await user.undelegate(issue=issue)let delivery = user.undelegate().issue(&issue).await?;| Parameter | Type | Required | |
|---|---|---|---|
issue | LinearIssue | yes | option |
Returns LinearDelivery | undefined.
Errors forbidden.
assign()#
Assign an issue to a person, or (with no one) unassign it. Sends Issue (update).
const delivery = await user.assign({ issue });delivery = await user.assign(issue=issue)let delivery = user.assign().issue(&issue).await?;| Parameter | Type | Required | |
|---|---|---|---|
assignee | LinearUser | no | positional |
issue | LinearIssue | yes | option |
Returns LinearDelivery | undefined.
Errors forbidden.
setState()#
Move an issue to a workflow state, by name. Sends Issue (update).
const delivery = await user.setState("…", { issue });delivery = await user.set_state("…", issue=issue)let delivery = user.set_state("…").issue(&issue).await?;| Parameter | Type | Required | |
|---|---|---|---|
state | string | yes | positional |
issue | LinearIssue | yes | option |
Returns LinearDelivery | undefined.
Errors forbidden.
label()#
Put labels on an issue, by name. Sends Issue (update).
const delivery = await user.label(labels, { issue });delivery = await user.label(labels, issue=issue)let delivery = user.label(labels).issue(&issue).await?;| Parameter | Type | Required | |
|---|---|---|---|
labels | string | string[] | yes | positional |
issue | LinearIssue | yes | option |
Returns LinearDelivery | undefined.
Errors forbidden.
delegate()#
Delegate an issue to an app. Opens that app's agent session and sends it AgentSessionEvent (created); an issue delegated to another app moves.
const agentSession = await user.delegate(app, { issue });agent_session = await user.delegate(app, issue=issue)let agent_session = user.delegate(&app).issue(&issue).await?;| Parameter | Type | Required | |
|---|---|---|---|
app | LinearApp | yes | positional |
issue | LinearIssue | yes | option |
Returns LinearAgentSession.
Errors forbidden.
comment()#
Comment on an issue. A mention of the app opens an agent session and sends AgentSessionEvent (created).
const comment = await user.comment("…", { issue });comment = await user.comment("…", issue=issue)let comment = user.comment("…").issue(&issue).await?;| Parameter | Type | Required | |
|---|---|---|---|
body | string | yes | positional |
issue | LinearIssue | yes | option |
Returns LinearComment.
Errors forbidden.
reply()#
Reply in a comment's thread. In an agent session's thread, it prompts the session (AgentSessionEvent prompted).
const result = await user.reply("…", { comment });result = await user.reply("…", comment=comment)let result = user.reply("…").comment(&comment).await?;| Parameter | Type | Required | |
|---|---|---|---|
body | string | yes | positional |
comment | LinearComment | yes | option |
Returns LinearComment.
Errors forbidden.
edit()#
Edit a comment. Sends Comment (update).
const delivery = await user.edit("…", { comment });delivery = await user.edit("…", comment=comment)let delivery = user.edit("…").comment(&comment).await?;| Parameter | Type | Required | |
|---|---|---|---|
body | string | yes | positional |
comment | LinearComment | yes | option |
Returns LinearDelivery | undefined.
Errors forbidden.
delete()#
Delete a comment. Sends Comment (remove).
const delivery = await user.delete({ comment });delivery = await user.delete(comment=comment)let delivery = user.delete().comment(&comment).await?;| Parameter | Type | Required | |
|---|---|---|---|
comment | LinearComment | yes | option |
Returns LinearDelivery | undefined.
Errors forbidden.
react()#
React to a comment with an emoji. Linear sends no webhook for it.
await user.react("…", { comment });await user.react("…", comment=comment)user.react("…").comment(&comment).await?;| Parameter | Type | Required | |
|---|---|---|---|
emoji | string | yes | positional |
comment | LinearComment | yes | option |
Returns nothing.
Errors forbidden.
prompt()#
Send a follow-up in an agent session. Sends AgentSessionEvent (prompted).
const delivery = await user.prompt("…", { session });delivery = await user.prompt("…", session=session)let delivery = user.prompt("…").session(&session).await?;| Parameter | Type | Required | |
|---|---|---|---|
body | string | yes | positional |
session | LinearAgentSession | yes | option |
Returns LinearDelivery | undefined.
Errors forbidden.
answer()#
Answer a question the agent asked (an elicitation activity). Sends AgentSessionEvent (prompted).
const delivery = await user.answer("…", { elicitation });delivery = await user.answer("…", elicitation=elicitation)let delivery = user.answer("…").elicitation(&elicitation).await?;| Parameter | Type | Required | |
|---|---|---|---|
body | string | yes | positional |
elicitation | LinearAgentActivity | yes | option |
Returns LinearDelivery | undefined.
Errors forbidden.
stop()#
Press Stop on an agent session. Sends AgentSessionEvent (prompted) with the stop signal.
const delivery = await user.stop({ session });delivery = await user.stop(session=session)let delivery = user.stop().session(&session).await?;| Parameter | Type | Required | |
|---|---|---|---|
session | LinearAgentSession | yes | option |
Returns LinearDelivery.
Errors forbidden.
Live: needs the browser actor: Linear sends the stop signal only when a person presses Stop, and it can't be published through the API. The browser actor doesn't do this yet (#47), so for now the call is refused with action_requires and the test is skipped.
LinearComment#
Returned by LinearApp.comment(), LinearApp.reply(), LinearUser.comment(), LinearUser.reply().
| Field | Python / Rust | Type |
|---|---|---|
id | id | string |
issue | issue | LinearIssue |
author | author | LinearUser | LinearApp |
body | body | string |
createdAt | created_at | string |
url | url | string |
session | session | LinearAgentSession | undefined |
delivery | delivery | LinearDelivery | undefined |
replies()#
The replies in a comment's thread, once the agent is quiet.
const commentReplies = await comment.replies();comment_replies = await comment.replies()let comment_replies = comment.replies().await?;Returns LinearCommentReplies. It reads once the app is quiet.
deliveryFor()#
The Comment (create) delivery this comment caused to this app (decision 0027), or nothing when it wasn't told. The comment's delivery is the built-in app's.
const delivery = await comment.deliveryFor(app);delivery = await comment.delivery_for(app)let delivery = comment.delivery_for(&app).await?;| Parameter | Type | Required | |
|---|---|---|---|
app | LinearApp | yes | positional |
Returns LinearDelivery | undefined.
Live: refused with unsupported_in_live: Live, the platform delivers to the agent itself and channelstack isn't in the path (delivery chaos is fake-only).
transcript()#
A comment's thread as a person reads it.
const transcript = await comment.transcript();transcript = await comment.transcript()let transcript = comment.transcript().await?;Returns LinearTranscript.
LinearIssue#
Returned by LinearUser.createIssue(), LinearIssue.refresh(), LinearTeam.issue().
| Field | Type |
|---|---|
id | string |
identifier | string |
url | string |
team | LinearTeam |
creator | LinearUser | LinearApp |
refresh()#
Read the issue again.
const updated = await issue.refresh();updated = await issue.refresh()let updated = issue.refresh().await?;Returns LinearIssue.
title()#
The issue's title as it is now.
const result = await issue.title();result = await issue.title()let result = issue.title().await?;Returns string.
state()#
The issue's workflow state.
const issueState = await issue.state();issue_state = await issue.state()let issue_state = issue.state().await?;Returns LinearIssueState.
assignee()#
Who the issue is assigned to, if anyone.
const user = await issue.assignee();user = await issue.assignee()let user = issue.assignee().await?;Returns LinearUser | undefined.
delegatedTo()#
The app the issue is delegated to, if any.
const app = await issue.delegatedTo();app = await issue.delegated_to()let app = issue.delegated_to().await?;Returns LinearApp | undefined.
labels()#
The names of the labels on the issue.
const items = await issue.labels();items = await issue.labels()let items = issue.labels().await?;Returns string[].
comments()#
The comments on the issue, oldest first, without the one Linear writes to open a delegated session's thread.
const comments = await issue.comments();comments = await issue.comments()let comments = issue.comments().await?;Returns LinearComments.
sessions()#
The agent sessions on the issue, oldest first.
const agentSessions = await issue.sessions();agent_sessions = await issue.sessions()let agent_sessions = issue.sessions().await?;Returns LinearAgentSessions.
session()#
The issue's latest agent session, waiting for one to be opened.
const agentSession = await issue.session();agent_session = await issue.session()let agent_session = issue.session().await?;Returns LinearAgentSession. While refused with not_found, it tries again until the wait's timeout.
transcript()#
The issue as a person reads it: description, comments and the agent's sessions.
const transcript = await issue.transcript();transcript = await issue.transcript()let transcript = issue.transcript().await?;Returns LinearTranscript.
waitForComment()#
Waits for the next comment after the last one this handle returned: it polls comments() and never sleeps longer than it must.
const comment = await issue.waitForComment({ from: "my-agent" });comment = await issue.wait_for_comment(from_="my-agent")let comment = issue.wait_for_comment().from("my-agent").await?;| Parameter | Python / Rust | Type | Required | |
|---|---|---|---|---|
from | from_ · from | LinearUser | LinearApp | string | no | a handle, or a name |
body | body | string | RegExp | no | contains, or matches |
timeout | timeout | Duration | no | default 10s |
Returns LinearComment. When the time is up, it fails with what it was waiting for.
latestComment()#
The latest comment, once the app is quiet. Waits for at least one: it polls comments() and never sleeps longer than it must.
const comment = await issue.latestComment({ from: "my-agent" });comment = await issue.latest_comment(from_="my-agent")let comment = issue.latest_comment().from("my-agent").await?;| Parameter | Python / Rust | Type | Required | |
|---|---|---|---|---|
from | from_ · from | LinearUser | LinearApp | string | no | a handle, or a name |
timeout | timeout | Duration | no | default 10s |
quietFor | quiet_for | Duration | no | default 750ms |
Returns LinearComment. When the time is up, it fails with what it was waiting for.
LinearTeam#
Returned by LinearFixture.createTeam().
| Field | Type |
|---|---|
id | string |
key | string |
name | string |
issue()#
An issue of this team by its identifier (ENG-12).
const issue = await team.issue("…");issue = await team.issue("…")let issue = team.issue("…").await?;| Parameter | Type | Required | |
|---|---|---|---|
identifier | string | yes | positional |
Returns LinearIssue.
LinearAgentSession#
Returned by LinearUser.delegate(), LinearIssue.session().
| Field | Python / Rust | Type |
|---|---|---|
id | id | string |
issue | issue | LinearIssue |
app | app | LinearApp |
startedBy | started_by | LinearUser |
delivery | delivery | LinearDelivery | undefined |
state()#
The session's status.
const result = await agentSession.state();result = await agent_session.state()let result = agent_session.state().await?;Returns "pending" | "active" | "stopping" | "awaitingInput" | "complete" | "error" | "stale".
activities()#
The session's activities, oldest first: the agent's, and the prompts of people.
const agentActivities = await agentSession.activities();agent_activities = await agent_session.activities()let agent_activities = agent_session.activities().await?;Returns LinearAgentActivities.
externalUrls()#
The links the agent attached to the session.
const externalUrls = await agentSession.externalUrls();external_urls = await agent_session.external_urls()let external_urls = agent_session.external_urls().await?;Returns LinearExternalUrls.
plan()#
The agent's plan: each step and its status.
const plan = await agentSession.plan();plan = await agent_session.plan()let plan = agent_session.plan().await?;Returns LinearPlan.
transcript()#
The session as a person reads it.
const transcript = await agentSession.transcript();transcript = await agent_session.transcript()let transcript = agent_session.transcript().await?;Returns LinearTranscript.
waitForState()#
Waits for the agent session to reach that state: it polls state() and never sleeps longer than it must.
const result = await agentSession.waitForState(wanted);result = await agent_session.wait_for_state(wanted)let result = agent_session.wait_for_state(wanted).await?;| Parameter | Type | Required | |
|---|---|---|---|
wanted | "pending" | "active" | "stopping" | "awaitingInput" | "complete" | "error" | "stale" | Array<"pending" | "active" | "stopping" | "awaitingInput" | "complete" | "error" | "stale"> | yes | positional |
timeout | Duration | no | default 10s |
Returns "pending" | "active" | "stopping" | "awaitingInput" | "complete" | "error" | "stale". When the time is up, it fails with what it was waiting for.
waitForActivity()#
Waits for the next activity after the last one this handle returned: it polls activities() and never sleeps longer than it must.
const agentActivity = await agentSession.waitForActivity();agent_activity = await agent_session.wait_for_activity()let agent_activity = agent_session.wait_for_activity().await?;| Parameter | Python / Rust | Type | Required | |
|---|---|---|---|---|
type | type · r#type | string | RegExp | no | contains, or matches |
timeout | timeout | Duration | no | default 10s |
Returns LinearAgentActivity. When the time is up, it fails with what it was waiting for.
LinearDelivery#
Returned by LinearUser.editIssue(), LinearUser.undelegate(), LinearUser.assign(), LinearUser.setState().
| Field | Python / Rust | Type |
|---|---|---|
id | id | string |
channel | channel | "linear" |
app | app | string |
type | type · r#type | string |
action | action | string |
webhookId | webhook_id | string |
payload | payload | unknown | undefined |
attempts | attempts | DeliveryAttempt[] |
status | status | "pending" | "acknowledged" | "failed" | "timed_out" | "unreachable" |
refresh()#
Re-read a delivery: its attempts and status.
const updated = await delivery.refresh();updated = await delivery.refresh()let updated = delivery.refresh().await?;Returns LinearDelivery.
Live: refused with unsupported_in_live: Live, the platform delivers to the agent itself and channelstack isn't in the path (delivery chaos is fake-only).
redeliver()#
Redeliver, as Linear retries: the same delivery, with a new webhookTimestamp and a new signature.
const deliveryAttempt = await delivery.redeliver();delivery_attempt = await delivery.redeliver()let delivery_attempt = delivery.redeliver().await?;Returns DeliveryAttempt.
Live: refused with unsupported_in_live: Linear has no API to redeliver a webhook.
resend()#
Send the delivery again: stale (its webhookTimestamp two minutes old), or signed with a secret that isn't the app's.
const deliveryAttempt = await delivery.resend({ badSignature });delivery_attempt = await delivery.resend(bad_signature=bad_signature)let delivery_attempt = delivery.resend().bad_signature(bad_signature).await?;| Parameter | Python / Rust | Type | Required | |
|---|---|---|---|---|
badSignature | bad_signature | boolean | no | option |
stale | stale | boolean | no | option |
Returns DeliveryAttempt.
Live: refused with unsupported_in_live: Live, the platform delivers to the agent itself and channelstack isn't in the path (delivery chaos is fake-only).
settled()#
Waits for the delivery to settle: it polls refresh() and never sleeps longer than it must.
const updated = await delivery.settled();updated = await delivery.settled()let updated = delivery.settled().await?;| Parameter | Type | Required | |
|---|---|---|---|
timeout | Duration | no | default 10s |
Returns LinearDelivery. When the time is up, it fails with what it was waiting for.
LinearAgentActivity#
| Field | Python / Rust | Type |
|---|---|---|
id | id | string |
session | session | LinearAgentSession |
type | type · r#type | "thought" | "action" | "elicitation" | "response" | "error" | "prompt" |
author | author | LinearUser | LinearApp |
body | body | string | undefined |
action | action | { action: string; parameter?: string; result?: string } | undefined |
ephemeral | ephemeral | boolean |
createdAt | created_at | string |
Types#
Plain values the handles return and take.
LinearApps#
type LinearApps = LinearApp[];
LinearUsers#
type LinearUsers = LinearUser[];
LinearTeams#
type LinearTeams = LinearTeam[];
LinearIssues#
type LinearIssues = LinearIssueListing[];
LinearIssueListing#
| Field | Type |
|---|---|
issue | LinearIssue |
title | string |
LinearIssueState#
| Field | Python / Rust | Type |
|---|---|---|
name | name | string |
type | type · r#type | "backlog" | "unstarted" | "started" | "completed" | "canceled" | "triage" | "duplicate" |
LinearComments#
type LinearComments = LinearComment[];
LinearAgentSessions#
type LinearAgentSessions = LinearAgentSession[];
LinearTranscript#
| Field | Type |
|---|---|
entries | LinearTranscriptEntry[] |
text | string |
LinearTranscriptEntry#
| Field | Type |
|---|---|
id | string |
author | LinearPrincipal |
at | string |
text | string |
controls | string[] |
edited | boolean |
depth | number |
LinearPrincipal#
| Field | Type |
|---|---|
id | string |
name | string |
kind | "user" | "app" |
LinearCommentReplies#
type LinearCommentReplies = LinearComment[];
LinearAgentActivities#
type LinearAgentActivities = LinearAgentActivity[];
LinearExternalUrls#
type LinearExternalUrls = Array<{ label: string; url: string }>;
LinearPlan#
type LinearPlan = Array<{ content: string; status: "pending" | "inProgress" | "completed" | "canceled" }>;
LinearDeliveries#
type LinearDeliveries = LinearDelivery[];
LinearApiCalls#
type LinearApiCalls = LinearApiCall[];
LinearApiCall#
| Field | Python / Rust | Type |
|---|---|---|
id | id | string |
channel | channel | "linear" |
operation | operation | string |
method | method | string |
path | path | string |
at | at | string |
durationMs | duration_ms | number |
request | request | unknown | undefined |
responseStatus | response_status | number |
response | response | unknown | undefined |
error | error | string | undefined |