v1

latestOpenAPI 3.0.32026-07-2659199427.5 KB
Request chunked content

Get results by chunkingId

Fetch chunked content by chunking ID. The ID is returned in the response of the POST operation you used to trigger the chunking operation.

get/ai/async-chunking/{CHUNKING_ID}

Response

OK

chunkingIdstring uuid

The universal unique identifier (UUID) returned in the POST request. This UUID is required in the GET request to retrieve results.

statusstring

The current status of the request. Allowed values are:

  • SUBMITTED - The POST request was successful and the response has returned the chunkingId and status that is used by the GET request.

  • READY - The results associated with the chunkingId are available and ready to be retrieved.

  • ERROR - An error was generated when the GET request was sent.

  • RETRIEVED - The results associated with the chunkingId are returned successfully when the GET request was sent.

Example response

{
  "chunkingId": "441eb3be-7de6-470a-8141-e416a15c7db1",
  "status": "READY",
  "chunkedData": [
    {
      "chunks": [
        "Chunks of text from the text submitted in the POST request."
      ]
    }
  ],
  "tokensUsed": {
    "inputTokens": 9
  }
}