Query
query DinoaiAgentRun($agentSessionId: String!) {
dinoaiAgentRun(agentSessionId: $agentSessionId) {
ok
agentSessionId
status
messages {
ts
role
content
}
workspaceUid
childSessionIds
}
}Variables
{
"agentSessionId": "string"
}Response
{
"data": {
"dinoaiAgentRun": {
"ok": true,
"agentSessionId": "string",
"status": "QUEUED",
"messages": [
{
"ts": 1.5,
"role": "string",
"content": "string"
}
],
"workspaceUid": "string",
"childSessionIds": [
"string"
]
}
}
}dinoaiAgentRun
Get the current status and accumulated messages for a DinoAI agent run.
QUERY
dinoaiAgentRun(agentSessionId: String!): DinoAiAgentRunArguments
agentSessionId
String!
required
Returns
ok
Boolean!
agentSessionId
String!
status
messages
workspaceUid
String!
childSessionIds
[String!]!
steps
Every step of the run so far, tool calls included, as the session panel shows them. messages holds only what the agent delivered; this is how a client shows progress while the agent works. Only read when selected. Null, with an error, when the steps could not be read.
Arguments
after
Int
Return only steps with a greater index.
includeToolIo
Boolean
default:false
Include each tool's input and output. They can hold raw query results and file contents.
maxChars
Int
default:2000
Cut content and toolInput at this length (at most 20000).
startupSteps
The start-up checklist while the agent pod boots (the same one Slack shows). Empty when the run has no checklist or it cannot be read.
Query
query DinoaiAgentRun($agentSessionId: String!) {
dinoaiAgentRun(agentSessionId: $agentSessionId) {
ok
agentSessionId
status
messages {
ts
role
content
}
workspaceUid
childSessionIds
}
}Variables
{
"agentSessionId": "string"
}Response
{
"data": {
"dinoaiAgentRun": {
"ok": true,
"agentSessionId": "string",
"status": "QUEUED",
"messages": [
{
"ts": 1.5,
"role": "string",
"content": "string"
}
],
"workspaceUid": "string",
"childSessionIds": [
"string"
]
}
}
}