List tasks for a workspace
const url = 'https://your-org.evershell.ai/v1/workspaces/example/tasks';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-org.evershell.ai/v1/workspaces/example/tasks \ --header 'Authorization: Bearer <token>'Permissions: workspace:read or workspace:read:own
(creator-match on :own).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Bare JSON array of Task objects, ordered newest-first.
object
Lifecycle: submitted → delivered (handed to the agent)
→ running → optional compacting interludes → terminal
completed / failed / cancelled. delivery_failed is
a separate terminal state when the agent never accepted
the task (typically unreachable pod).
Wall-clock duration in seconds, populated once the task reaches a terminal status. Server-derived from (completed_at − created_at).
Example
[ { "id": "task_01HZ", "status": "submitted" }]Caller lacks the required scope, or cross-org access attempted
object
object
Closed-enum slug (e.g. permission_denied, validation_error, workspace_not_found)
Human-readable summary
Server-generated request id for correlating logs
Optional structured context. Validation errors land at
details.fields as a per-field map.
object
Example
{ "error": { "code": "permission_denied", "message": "caller lacks required scope", "request_id": "7f3a9c2e" }}Resource not found in the caller’s org
object
object
Closed-enum slug (e.g. permission_denied, validation_error, workspace_not_found)
Human-readable summary
Server-generated request id for correlating logs
Optional structured context. Validation errors land at
details.fields as a per-field map.
object
Example
{ "error": { "code": "permission_denied", "message": "caller lacks required scope", "request_id": "7f3a9c2e" }}