Authorization header. See the API overview for authentication details.
POST /agents/invoke
Send a task to an agent. Jarvis queues the task and returns a task ID you can use to check its status.Request
The agent to invoke. Accepted values:
paperclip, hermes.A natural-language description of the task you want the agent to perform.
Optional key-value pairs passed to the agent as additional context (e.g., file paths, prior conversation, environment variables).
Task priority. Accepted values:
low, normal, high. Defaults to normal.Response
A unique identifier for the queued task. Use this with
GET /agents/status/{id}.The agent that will handle the task.
Initial task status. Always
queued on a successful invoke.ISO 8601 timestamp for when the task was created.
Example
curl
Response
GET /agents/status/
Check the current status of a task.Path parameter
The task ID returned by
POST /agents/invoke.Response
The task identifier.
The agent assigned to the task.
Current task status. One of:
queued, running, completed, failed.The agent’s output. Present only when
status is completed.Error message. Present only when
status is failed.ISO 8601 timestamp for when the agent started working on the task.
ISO 8601 timestamp for when the task finished. Present only when
status is completed or failed.Example
curl
Response
GET /agents/history
List recent agent tasks across all agents, ordered by most recent first.Query parameters
Filter results to a specific agent. Accepted values:
paperclip, hermes.Filter by task status. Accepted values:
queued, running, completed, failed.Maximum number of tasks to return. Defaults to
20. Maximum is 100.Number of tasks to skip for pagination. Defaults to
0.Response
An array of task summary objects.
Total number of tasks matching the query (before pagination).
Example
curl
Response