Skip to main content
GET
/
ai
/
async-chunking
/
{CHUNKING_ID}
Get results by chunkingId
import requests

url = "https://application_id.applications.lucidworks.com/ai/async-chunking/{CHUNKING_ID}"

response = requests.get(url)

print(response.text)
{
"chunkingId": "29fa64f4-a3a0-43ec-bc11-e8489d7e0332",
"status": "READY",
"chunkedData": [
{
"chunks": [
"The itsy bitsy spider climbed up the waterspout.\nDown came the rain.\nAnd washed the spider out.\nOut came the sun.\nAnd dried up all the rain.\nAnd the itsy bitsy spider climbed up the spout again."
],
"spans": [
[
0,
194
]
],
"vectors": [
{
"tokensUsed": {
"inputTokens": 52
},
"vector": [
-24,
-8,
21,
-4,
2,
-6,
30,
5,
-3,
-1,
-4,
-35,
8,
12,
6,
10,
-5,
19,
-36,
13,
27,
-10,
3,
-1,
4,
13,
-8,
12,
-9,
-81,
-10,
-5,
5,
-6,
16,
-4,
-12,
0,
12,
11,
12,
0,
-16,
-16,
-24,
-18,
1,
-14,
24,
-22,
9,
-5,
-10,
6,
-4,
4,
35,
3,
8,
3,
19,
4,
-84,
54,
38,
23,
-33,
-7,
10,
19,
-12,
20,
17,
19,
11,
1,
-1,
-5,
-3,
2,
-27,
-16,
-13,
8,
-5,
-12,
6,
-25,
24,
9,
0,
-4,
-5,
-4,
-4,
2,
4,
4,
-8,
89,
-32,
11,
22,
-2,
-10,
-17,
-8,
-25,
-1,
4,
1,
-5,
30,
-9,
9,
-8,
2,
3,
-25,
5,
11,
1,
17,
-3,
14,
-19,
30,
55,
19,
4,
20,
-30,
-3,
-20,
-1,
4,
1,
11,
5,
-17,
-17,
-31,
0,
-48,
7,
39,
-20,
10,
-10,
8,
-2,
13,
-2,
-10,
13,
18,
0,
39,
-11,
-1,
5,
-7,
-12,
9,
24,
-25,
-16,
-2,
0,
-5,
9,
17,
-28,
8,
19,
-4,
-9,
-10,
7,
12,
16,
-14,
-25,
21,
10,
-10,
-7,
-4,
15,
22,
5,
-9,
-2,
-20,
-19,
-9,
-8,
0,
-14,
-9,
33,
-13,
-6,
7,
5,
13,
15,
-4,
20,
13,
-2,
5,
15,
-9,
-15,
-5,
2,
2,
6,
17,
19,
-43,
-22,
-69,
1,
-1,
-20,
26,
-20,
13,
-23,
24,
-1,
27,
-22,
9,
17,
-12,
16,
13,
9,
15,
12,
-16,
13,
-2,
-26,
0,
-18,
81,
51,
5,
-23,
2,
14,
-12,
-43,
12,
16,
16,
-19,
-17,
-30,
-11,
20,
3,
-23,
-5,
-5,
-2,
3,
-13,
2,
8,
0,
20,
6,
18,
-14,
-33,
22,
-15,
8,
12,
-12,
13,
-18,
24,
8,
-1,
-28,
11,
-22,
-18,
28,
-7,
-11,
14,
13,
16,
-18,
6,
-28,
26,
-39,
17,
3,
0,
-5,
-5,
-15,
3,
-22,
11,
18,
-24,
-5,
4,
-4,
-127,
2,
13,
6,
-6,
12,
20,
29,
-19,
12,
0,
0,
-2,
-3,
13,
15,
5,
-7,
19,
-11,
8,
8,
87,
-10,
4,
24,
-2,
11,
9,
-3,
22,
10,
15,
-18,
-5,
6,
-20,
34,
6,
-10,
-26,
0,
-7,
-14,
50,
-18,
-15,
-22,
12,
26,
-21,
-13,
3,
-7,
8,
4,
-27,
-14,
-20,
-15,
1,
-35,
-7,
2,
24
]
}
],
"stats": {
"totalChunks": 1,
"totalInferences": 1
}
}
]
}

Path Parameters

CHUNKING_ID
string
required

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

Response

OK

chunkingId
string<uuid>

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

Example:

"441eb3be-7de6-470a-8141-e416a15c7db1"

status
string

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:

"READY"

chunkedData
object[]
vector
object[]
tokensUsed
object