Unify and manage your data

List entity exports for a conversation job

Learn more about list entity exports for a conversation job.

Use the List entity exports for a conversation job to list the entity exports for a conversation job. This lets you find an existing export and get its download URL.

HTTP method and endpoint

Use the following HTTP method and endpoint path to list entity exports for a conversation job.

GET {TenantURL}/ai/agentflow/api/v202605/{tenant_id}/lrt/jobs/{conversation_id}/entities/export

The following table describes the endpoint path parameters.

ParameterTypeRequiredDescription
TenantURLStringYesThe base URL for your tenant.
conversation_idStringYesThe unique identifier of the conversation associated with the job.
tenant_idStringYesThe tenant identifier.

Query parameters

The following table describes the query parameters and their values.

ParameterTypeRequiredDescriptionAccepted values / Default
limitIntegerNoThe maximum number of exports to return per page.Default: 50
page_tokenStringNoThe page token from a previous response. Omit to get the first page.—

Request headers

The following request headers must be included.

HeaderValueRequired
Authorization<access_token>Yes

Request body

This operation does not require a request body.

Example request

Use the following example to see how a complete request is structured, with headers.

GET {TenantURL}/ai/agentflow/api/v202605/tenant-xyz/lrt/jobs/example-id/entities/export
Authorization: <access_token>

Response body

The following table describes the fields returned in the response body.

ParameterTypeDescription
exportsArrayThe exports returned in this page.
exports[].export_idStringThe unique identifier of the entity export.
exports[].statusStringThe status of the export job: queued, running, completed, or failed.
exports[].formatStringThe output file format of the export, as requested.
exports[].include_conversationBooleanWhether the export includes the full conversation record, as requested.
exports[].filtersObjectThe entity status and confidence filters applied when the export was created.
exports[].filters.statusStringThe status filter applied when the export was created, if one was supplied.
exports[].filters.confidenceStringThe confidence filter applied when the export was created, if one was supplied.
exports[].total_countIntegerThe total number of entities matched for this export.
exports[].written_rowsIntegerThe number of entity rows written to the export file.
exports[].written_bytesIntegerThe size of the export file, in bytes.
exports[].created_atStringThe date and time when the export was created.
exports[].completed_atStringThe date and time when the export finished. Empty while the export is in progress.
exports[].expires_atStringThe date and time when the download link expires.
exports[].filenameStringThe name of the generated export file.
exports[].download_urlStringThe URL used to download the completed export file. Empty until the export completes.
exports[].email_sent_atStringThe date and time when a completion email was sent. Empty if no email was sent.
exports[].error_codeStringThe error code recorded if the export failed. Null if the export did not fail.
next_page_tokenStringThe token to pass as page_token to get the next page of results. Empty when there are no more pages.
total_countIntegerThe number of exports in this page of results.

Example response

The following example shows a response with paginated list of exports.

{
  "exports": [
    {
      "export_id": "<string>",
      "status": "<string>",
      "format": "<string>",
      "include_conversation": false,
      "filters": {
        "status": "<string>",
        "confidence": "<string>"
      },
      "total_count": 0,
      "written_rows": 0,
      "written_bytes": 0,
      "created_at": "<string>",
      "completed_at": "<string>",
      "expires_at": "<string>",
      "filename": "<string>",
      "download_url": "<string>",
      "email_sent_at": "<string>",
      "error_code": "<string>"
    }
  ],
  "next_page_token": "<string>",
  "total_count": 0
}

The following table lists the possible error responses returned by this API.

HTTP statusDescriptionRecommended action
404 Not FoundJob not foundVerify the identifier in the request path and resend the request with a valid identifier.
422 Unprocessable EntityValidation ErrorReview the request parameters or body, correct the invalid values, and resend the request.