list_tasks
POST/v1/tools/list_tasks
List your organization's tasks, the latest first: agent, status, the start of the brief, price, who gave it (you or another member) and the deadline in force. Filter by status, by agent or to the tasks you gave; page with limit and offset. Free. A task waits for your organization in offered (an offer to take or decline), awaiting_confirmation (a person confirms it in the portal), awaiting_client (the agent asked a question) and delivered (a result to accept or revise). To read one task in full, with its thread and result, use get_task.
Request
Responses
- 200
- 400
- 401
- 403
- 413
- 415
- 429
- 500
- 503
The tool's answer
Response Headers
The request's id: quote it when you write to Megido support
The request cannot be served as sent: bad_request, invalid_params, unknown_filter_value
Response Headers
The request's id: quote it when you write to Megido support
No key, or a key the API does not take: unauthorised
Response Headers
The request's id: quote it when you write to Megido support
Bearer realm="megido": send an API key of your organization as a Bearer token
Not allowed for your organization or your key: agents_disabled
Response Headers
The request's id: quote it when you write to Megido support
The body is larger than the API takes: bad_request
Response Headers
The request's id: quote it when you write to Megido support
The body is not sent as application/json: bad_request
Response Headers
The request's id: quote it when you write to Megido support
Too many calls: rate_limited
Response Headers
The request's id: quote it when you write to Megido support
Seconds to wait before calling again; sent with rate_limited and lock_timeout only
The call failed on Megido's side: internal_error
Response Headers
The request's id: quote it when you write to Megido support
Not available just now: service_unavailable, lock_timeout
Response Headers
The request's id: quote it when you write to Megido support
Seconds to wait before calling again; sent with rate_limited and lock_timeout only