GET
/
endpoints
/
{id}
/
logs

Parameters

Path

id
string
required

Baseplate endpoint ID

Authorization
string
required

Baseplate API key. Needs to be in the format β€œBearer &BASEPLATE_API_KEY”

Content-Type
string

Use application/json

Body

page
number
default: "1"

Page number for pagination. Starts at 1.

page_size
number
default: "50"

Page size for pagination.

[
  {
    "id": "1ab444b6-adff-4347-967a-fa86590ec61f",
    "user_id": "20af31df-3a61-419a-ac46-2678561a761e",
    "endpoint_id": "a99d0cec-4f4d-4ea5-9ba2-0bf818e71ac0",
    "timestamp": {
      "value": "2023-04-05T21:16:08.338Z"
    },
    "model": "gpt-3.5-turbo",
    "prompt": "[{\"role\":\"user\",\"content\":\"Hello.\"}]",
    "completion": "Hi!",
    "positive_rating": null,
    "values": null,
    "search_results": "[{\"confidence\":0.729523659,\"data\":{\"text\":\"embedding\"},\"embedding\":\"changed embedding\",\"image_paths\":null,\"metadata\":{\"documentId\":\"text\",\"rowId\":218963,\"url\":\"/5274962e-04c3-4a23-b3d5-1d7e1ea6a230/test.pdf\"},\"query\":\"Hello.\",\"variable\":\"context_2\"}]",
    "status": "{\"status\":200}",
    "deployment_id": 27,
    "latency": null
  }
]