Fetch route publishing status

Retrieve the status of publishing routes action

This endpoint allows you to check the status of a previously triggered route-publishing action for a specific workspace and date.
It returns both high-level metadata about the action and granular information about the status of publishing each of the individual routes for the day.

Request URL


Sample Response Payload

A successful response contains metadata describing the action as well as detailed publish results for each route.

{
  "actionUuid": "b6efdf4f-5272-4ca5-9066-fe13fd0d96d4",
  "actionName": "Publish",
  "error": "One or more of routes failed to publish",
  "actionSummary": {
    "routes": [
      {
        "uuid": "be7be486-52ae-4b92-a2db-b7fac9fa885c",
        "actionStatus": "finished"
      },
      {
        "uuid": "c44dc101-48c4-420b-abda-fc30b29be014",
        "actionStatus": "finished"
      },
      {
        "uuid": "c44dc101-48c4-420b-abda-fc30b29ba712",
        "error": "route doesn't exist",
        "actionStatus": "failed"
      }
    ]
  },
  "status": "failed"
}

📘

Status of Publishing Routes

The status field can resemble any one of these values: pending, finished, failed. The status field is an indicator of overall state of publishing routes for a given day. If action fails to publish atleast 1 route for the day, the status field will set to failed, even if other routes have been successfully published.

DATA fields

FieldTypeDescription
actionUuuidStringUnique identifier of the action.
actionNameStringName of the action being performed.
errorStringIf status is failed, the error message will indicate the type of failure.
actionSummaryObjectSummary of publishing routes action
actionSummary.routesArrayArray of routes that were attempted to publish
actionSummary.routes.uuidStringRoute's uuid
actionSummary.routes.actionStatusStringRoute's publishing status
actionSummary.routes.errorStringDetailed error message for failure to publish a route
statusIntegerCurrent status of the action. Possible values: pending, finished, and failed.

❗️

Failed Status

The action will be marked asfailed if any individual route fails. You must inspect actionSummary for detailed per-route outcomes.