GET
/
log
curl --request GET \
  --url https://api.vapi.ai/log \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "callId": "<string>",
      "orgId": "<string>",
      "log": "<string>",
      "level": "INFO",
      "time": "2023-11-07T05:31:56Z"
    }
  ],
  "metadata": {
    "itemsPerPage": 123,
    "totalItems": 123,
    "currentPage": 123
  }
}

Authorizations

Authorization
string
headerrequired

Retrieve your API Key from Dashboard.

Query Parameters

callId
string
required
page
number

This is the page number to return. Defaults to 1.

sortOrder
enum<string>

This is the sort order for pagination. Defaults to 'ASC'.

Available options:
ASC,
DESC
limit
number

This is the maximum number of items to return. Defaults to 100.

createdAtGt
string

This will return items where the createdAt is greater than the specified value.

createdAtLt
string

This will return items where the createdAt is less than the specified value.

createdAtGe
string

This will return items where the createdAt is greater than or equal to the specified value.

createdAtLe
string

This will return items where the createdAt is less than or equal to the specified value.

updatedAtGt
string

This will return items where the updatedAt is greater than the specified value.

updatedAtLt
string

This will return items where the updatedAt is less than the specified value.

updatedAtGe
string

This will return items where the updatedAt is greater than or equal to the specified value.

updatedAtLe
string

This will return items where the updatedAt is less than or equal to the specified value.

Response

200 - application/json
results
object[]
required
metadata
object
required