get_api_management_v1_workspaces_slug_tasks
GET
/api/management/v1/workspaces/{slug}/tasks
const url = 'https://example.com/api/management/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://example.com/api/management/v1/workspaces/example/tasks \ --header 'Authorization: Bearer <token>'List tasks through the authenticated management service.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
Workspace management slug
Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
agent_profile_id
#1161 C12 — the profile PIN this task was stored with, so an M2M caller can
verify the gate it armed instead of probing the column with raw SQL. null is
the ungated (no-pin) shape.
string | null format: uuid
agent_type
required
string
id
required
string format: uuid
key
required
string
project_id
string | null format: uuid
status
required
string
title
required
string
Example generated
[ { "agent_profile_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "agent_type": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "key": "example", "project_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "status": "example", "title": "example" }]