GET
/
rest
/
logs
curl --request GET \
  --url https://copilotz.com/rest/logs \
  --header 'Authorization: Bearer <token>'
{
  "name": "functionCall",
  "input": "User requested weather update.",
  "output": "Weather update sent to user.",
  "status": "completed",
  "tags": [
    "weather",
    "update"
  ],
  "duration": 1500,
  "createdAt": "2024-09-17T16:52:28.684Z",
  "updatedAt": "2024-09-17T16:52:28.684Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

input.0.thread.extId
integer
name
string

Response

200 - application/json

Successful response

Response containing log details for a specific thread.