Prerequisites:
- This feature is available on workspaces with DinoAI programmable agents enabled.
- Requests must be authenticated with a Paradime API key that has access to the DinoAI Agents API.
- Use the GraphQL endpoint shown to you when you generate your API key — it is region-specific (for example
api.paradime.ioorapi.us.paradime.io).
The example below authenticates with an account API key — pass
Authorization: Bearer <token> and X-Paradime-Workspace: <workspace_uid> (the account key starts with prdm_cmp_). Legacy workspace API keys are still supported: send X-API-KEY and X-API-SECRET headers instead. See API Keys.Trigger an agent run
Triggers a DinoAI programmable agent run. At least one ofagent or message must be provided.
- Args
- Returns
agent (String): Name of the YAML-defined agent to load (matches the file name under .dinoai/agents/ without the .yml extension).message (String): Custom prompt appended to the agent’s context. When only agent is provided, the run starts with the agent’s role/goal/backstory.slack (DinoAiAgentSlackInput): Optional Slack routing for this run. If provided, both subfields are required.channel(String!): Slack channel ID the run should post into (e.g."C0123456789").threadTs(String!): Slack thread timestamp the run should reply in (e.g."1714142436.001200").
Send a follow-up message
Sends a follow-up message to an active DinoAI agent session. The agent pod stays alive for up to 24 hours since the last message; follow-ups resume the same conversation with full context.- Args
- Returns
agentSessionId (String!): The session ID of the running agent.message (String!): The follow-up message to send.Get an agent run
Fetches the current state of a DinoAI agent run.- Args
- Returns
agentSessionId (String!): The session ID returned by triggerDinoaiAgentRun or sendDinoaiAgentMessage.