AI Agent

Get Agent Create Progress

Get the progress for an agent creation batch.

get/companies/{company}/agents/progress/{batchId}

Path parameters

companyinteger required
batchIdstring uuid required

Response

Agent creation is running or has completed. The response includes a batch payload and may include a result when available.

Example response

{
  "batch": {
    "createdAt": "2023-01-01 01:01:01",
    "cancelledAt": "2023-01-01 01:01:01",
    "finishedAt": "2023-01-01 01:01:01"
  },
  "result": {
    "agent": {
      "fallbacks": [
        {
          "destination": {
            "value": "nt:12"
          }
        }
      ],
      "schedule": {
        "preset": "custom",
        "timezone": "America/Chicago",
        "timezone_source": "explicit"
      }
    }
  },
  "progress": {
    "stage": "crawling",
    "message": "agent.create.crawl.urls_selected",
    "startedAt": "2023-01-01T01:01:01+00:00",
    "updatedAt": "2023-01-01T01:02:01+00:00"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.