Smart Agent Teams
EndpointsRoutines

List Routines

List the company's routines, oldest first. A routine pairs an agent with a cron schedule and a task template. Schedules are stored but not evaluated by this API; see the trigger endpoint.

GET
/api/companies/{company_id}/routines

List the company's routines, oldest first.

A routine pairs an agent with a cron schedule and a task template. Schedules are stored but not evaluated by this API; see the trigger endpoint.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

company_id*Company Id
Formatuuid

Response Body

Successful Response

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/routines"
[  {    "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",    "created_at": "2019-08-24T14:15:22Z",    "cron": "string",    "description": "string",    "enabled": true,    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "last_run_at": "2019-08-24T14:15:22Z",    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",    "title": "string"  }]