{ "opencollection": "1.0.0", "info": { "name": "Arthur GenAI Engine Agent Discovery Tasks API", "version": "2.1.688" }, "items": [ { "info": { "name": "Tasks", "type": "folder" }, "items": [ { "info": { "name": "Get All Tasks", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v2/tasks", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "[Deprecated] Use /tasks/search endpoint. This endpoint will be removed in a future release." }, { "info": { "name": "Create Task", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/tasks", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Register a new task. When a new task is created, all existing default rules will be auto-applied for this new task. Optionally specify if the task is agentic." }, { "info": { "name": "Get Task", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v2/tasks/:task_id", "params": [ { "name": "task_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get tasks." }, { "info": { "name": "Archive Task", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v2/tasks/:task_id", "params": [ { "name": "task_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Archive task. Also archives all task-scoped rules. Associated default rules are unaffected." }, { "info": { "name": "Unarchive Task", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/tasks/:task_id/unarchive", "params": [ { "name": "task_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Unarchive a previously archived task. Also unarchives all task-scoped rules and metrics that were archived with it." }, { "info": { "name": "Get Agent Tasks", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v2/agent-tasks", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get agentic tasks with enriched agent metadata (tools, sub-agents, models). Returns only agentic tasks." }, { "info": { "name": "Redirect To Tasks", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/task" }, "docs": "Redirect to /tasks endpoint." }, { "info": { "name": "Search Tasks", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/tasks/search", "params": [ { "name": "sort", "value": "", "type": "query", "description": "Sort the results (asc/desc)" }, { "name": "page_size", "value": "", "type": "query", "description": "Page size. Default is 10. Must be greater than 0 and less than 5000." }, { "name": "page", "value": "", "type": "query", "description": "Page number" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Search tasks. Can filter by task IDs, task name substring, and agentic status." }, { "info": { "name": "Create Task Rule", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/tasks/:task_id/rules", "params": [ { "name": "task_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a rule to be applied only to this task. Available rule types are KeywordRule, ModelHallucinationRuleV2, ModelSensitiveDataRule, PIIDataRule, PromptInjectionRule, RegexRule, ToxicityRule.Note: The rules are cached by the validation endpoints for 60 seconds." }, { "info": { "name": "Update Task Rules", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/v2/tasks/:task_id/rules/:rule_id", "params": [ { "name": "task_id", "value": "", "type": "path" }, { "name": "rule_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Enable or disable an existing rule for this task including the default rules." }, { "info": { "name": "Archive Task Rule", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v2/tasks/:task_id/rules/:rule_id", "params": [ { "name": "task_id", "value": "", "type": "path" }, { "name": "rule_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Archive an existing rule for this task." }, { "info": { "name": "Create Task Metric", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/tasks/:task_id/metrics", "params": [ { "name": "task_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create metrics for a task. Only agentic tasks can have metrics." }, { "info": { "name": "Update Task Metric", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/v2/tasks/:task_id/metrics/:metric_id", "params": [ { "name": "task_id", "value": "", "type": "path" }, { "name": "metric_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a task metric." }, { "info": { "name": "Archive Task Metric", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v2/tasks/:task_id/metrics/:metric_id", "params": [ { "name": "task_id", "value": "", "type": "path" }, { "name": "metric_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Archive a task metric." }, { "info": { "name": "Stream Demo Chatbot", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/tasks/:task_id/demos/chatbot/stream", "params": [ { "name": "task_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Stream a demo chatbot response." } ] } ], "bundled": true }