Saltar al contenido principal
GET
/
v1
/
agents
/
automations
/
{automationId}
Get one automation by id
curl --request GET \
  --url https://api.bold-factory.com/v1/agents/automations/{automationId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "agentId": "<string>",
  "owner": "<string>",
  "schedule": {
    "interval": 123,
    "timezone": "<string>",
    "times": [
      "<string>"
    ],
    "daysOfWeek": [],
    "daysOfMonth": [
      123
    ],
    "lastDayOfMonth": true,
    "monthlyPattern": {},
    "between": {
      "start": "<string>",
      "end": "<string>"
    },
    "startDate": "2023-12-25",
    "endDate": "2023-12-25",
    "skipDates": [
      "2023-12-25"
    ]
  },
  "enabled": true,
  "nextRunAt": "2023-11-07T05:31:56Z",
  "lastRunAt": "2023-11-07T05:31:56Z",
  "runCount": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedAt": "2023-11-07T05:31:56Z",
  "lastModifiedBy": "<string>"
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

automationId
string
requerido

Respuesta

OK

id
string
requerido
agentId
string
requerido
owner
string
requerido
schedule
object
requerido
enabled
boolean
requerido
nextRunAt
null | string<date-time>
requerido
lastRunAt
null | string<date-time>
requerido
runCount
integer<int32>
requerido
createdAt
string<date-time>
requerido
createdBy
string
requerido
lastModifiedAt
string<date-time>
requerido
lastModifiedBy
string
requerido