Skip to main content
GET
/
api
/
agents
/
jobs
List all agent jobs
curl --request GET \
  --url https://interact.turntwo.com/api/agents/jobs \
  --header 'X-API-Key: <api-key>' \
  --header 'X-Organization-Id: <api-key>'
{
  "organization": {
    "id": "<string>",
    "name": "<string>"
  },
  "jobs": [
    {
      "id": "<string>",
      "name": "<string>",
      "status": "active",
      "createdAt": "2023-11-07T05:31:56Z",
      "agent": {
        "id": "<string>",
        "name": "<string>"
      },
      "runCount": 123,
      "isRunning": 123,
      "isScheduled": true,
      "lastRunAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API key for authentication

X-Organization-Id
string
header
required

Organization ID associated with the API key

Response

Successful response

organization
object
required

Organization information

jobs
object[]
required