Get a list of the available retrieval calls

get/retrievalCalls

Returns a list of the retrieval calls made.

Request Samples

Response Samples

1{
2 "count": 1,
3 "items": [
4 {
5 "completionCost": 0.0005,
6 "completionTokens": 25,
7 "configurationIds": [
8 "de772bda-8756-41a8-9c68-defe2932bdad"
9 ],
10 "id": "079b46b9-fbc4-44ce-8cb1-163330e4d812",
11 "input": {
12 "content": "What is the weather like today?"
13 },
14 "output": {
15 "documents": [
16 {
17 "id": "weather-document-123",
18 "metadata": {},
19 "pageContent": "The weather today is sunny with a high of 75°F.",
20 "type": "Document"
21 }
22 ]
23 },
24 "parentQueryId": "19c0e653-28f5-49da-aa34-7ade481b362e"
25 }
26 ],
27 "limit": 50,
28 "name": "retrievalCalls",
29 "start": 0
30}

Query Parameters

NameTypeRequiredDescription
filter
string or null
false

The criteria for filtering. Supported attributes include id and parentQueryId. Additional attributes might be added in future releases.

limit
integer
false

The maximum number of records to be returned. >= 1 or <= 100

Default:
50
start
integer
false

The zero-based offset of the first record to be returned. >= 0

Default:
0

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid.

Schema
401Unauthorized

The user was not authenticated.

Schema
422Unprocessable Entity

The server understands the request but was unable to process the contained instructions.

Schema