API ReferenceSessions
/public/sessions/{sessionId}/items
List a session's messages and tool calls
List a session's messages and tool calls
Authorization
ApiKeyAuth X-Api-Key<token>
API key for authentication. Passed as a header on every request.
In: header
Path Parameters
sessionId*string
Query Parameters
pageIndex?integer
Format
int32pageSize?integer
Format
int32type?array<>
toolType?array<>
status?array<>
Header Parameters
X-API-Version?string
Response Body
application/problem+json
application/json
application/json
curl -X GET "https://napster-api.napster.com/public/sessions/string/items"{
"items": [
{
"type": "string",
"message": {
"role": "user",
"text": "string",
"interrupted": true
},
"timestamp": 0
}
],
"filteredCount": 0,
"totalCount": 0,
"pageIndex": 0,
"pageSize": 0,
"search": "string"
}[
{
"code": "string",
"description": "string",
"type": "failure",
"numericType": 0
}
]{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"code": "string",
"description": "string",
"type": "failure",
"numericType": 0
}{
"code": "string",
"description": "string",
"type": "failure",
"numericType": 0
}{
"code": "string",
"description": "string",
"type": "failure",
"numericType": 0
}