Iterant is in early access. These docs describe the product as it works today.
Iterant Docs
tasks

Get an agent task

Poll this every 30-60 seconds while a task runs; a typical task settles in about five minutes. `resultingRoute` is the page a `build_page` task produced. It is always empty for a `prompt` task, even on success: a free-form turn has no single route, and its result is the chat thread at `chatUrl`. `error` is present only when `status` is `failed`.

GET
/api/v1/public/brands/{brandSlug}/tasks/{taskId}/

Authorization

tenantApiKeyAuth
AuthorizationBearer <token>

In: header

Path Parameters

brandSlug*string
taskId*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/public/brands/string/tasks/497f6eca-6276-4993-bfeb-53cbbbba6f08/"
{  "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",  "command": "prompt",  "status": "running",  "createdAt": "2019-08-24T14:15:22Z",  "finishedAt": "2019-08-24T14:15:22Z",  "resultingRoute": "string",  "chatUrl": "string",  "error": "string"}

Last updated on