mutation TriggerDinoaiAgentRun {
triggerDinoaiAgentRun {
ok
agentSessionId
status
warning
}
}{
"data": {
"triggerDinoaiAgentRun": {
"ok": true,
"agentSessionId": "string",
"status": "string",
"warning": "string"
}
}
}triggerDinoaiAgentRun
Start a DinoAI agent run. Every argument is optional, but you must pass
agent, message, or both.
agentonly: runs that agent with its own instructions.messageonly: runs DinoAI with no agent, on that prompt.- Both: runs the agent and gives it
messageas the first prompt.
Returns an agentSessionId. Poll it with dinoaiAgentRun and send
follow-ups with sendDinoaiAgentMessage.
triggerDinoaiAgentRun(agent: String, baseBranch: String, message: String, modelFamily: String, slack: DinoAiAgentSlackInput): TriggerDinoAiAgentRunArguments
Name of the agent to run, as defined in the app or in
.dinoai/agents/. Omit it to run DinoAI with no agent (then message
is required).
Git branch or ref the run checks out before it makes its working branch. Defaults to the repository's default branch.
The prompt for the run. Required when you omit agent. With an agent and
no message, the run starts with the agent's own instructions only.
Model family slug that overrides the agent's own choice. An unknown slug
still starts the run on the workspace default and sets warning.
Post the run to this Slack thread.
Returns
mutation TriggerDinoaiAgentRun {
triggerDinoaiAgentRun {
ok
agentSessionId
status
warning
}
}{
"data": {
"triggerDinoaiAgentRun": {
"ok": true,
"agentSessionId": "string",
"status": "string",
"warning": "string"
}
}
}