Skip to main content
GET
/
api
/
v1
/
projects
/
{project_slug}
/
data
/
requests
Query Project Requests
curl --request GET \
  --url https://api.example.com/api/v1/projects/{project_slug}/data/requests \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "app_id": "<string>",
      "environment": "<string>",
      "method": "<string>",
      "path": "<string>",
      "status_code": 123,
      "response_time_ms": 123,
      "request_size": 123,
      "response_size": 123,
      "ip_address": "<string>",
      "user_agent": "<string>",
      "consumer_id": "<string>",
      "consumer_name": "<string>",
      "consumer_group": "<string>"
    }
  ],
  "total_count": 123,
  "page": 123,
  "page_size": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.apilens.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

project_slug
string
required

Query Parameters

app_slugs
string | null
environment
string | null
since
string | null
until
string | null
methods
string | null
status_codes
string | null
min_response_time
number | null
max_response_time
number | null
path_filter
string | null
page
integer
default:1
page_size
integer
default:50

Response

200 - application/json

OK

items
RequestItemResponse · object[]
required
total_count
integer
required
page
integer
required
page_size
integer
required