API Requests

List Api Requests

Changed on

List all API requests

get/api_requests

Request

  • Base URL
    https://api.buttondown.com/v1
  • URL
    https://api.buttondown.com/v1/api_requests
  • Auth
    API key in header Authorization

Query parameters

api_key_idstring[]

If provided, only return requests made with the given API key ID(s).

creation_date__gtstring date-time

If provided, only return requests created after the given datetime.

Example:2024-01-01T00:00:00Z
creation_date__ltstring date-time

If provided, only return requests created before the given datetime.

Example:2024-12-31T23:59:59Z
date__endstring date

If provided, only return requests created on or before the given date.

date__startstring date

If provided, only return requests created on or after the given date.

limitinteger

The maximum number of results to return per page.

Example:100
methodstring[]

If provided, only return requests with the given HTTP method(s).

[
  "GET",
  "POST"
]
pathstring[]

If provided, only return requests matching the given API path(s).

sourceAPIRequestSource[]

If provided, only return requests from the given source(s).

[
  "api"
]
status_codestring[]

If provided, only return requests with the given HTTP status code(s).

[
  "200",
  "404"
]
versionstring[]

If provided, only return requests made with the given API version(s).

Response

OK

cursorstring nullable

An opaque cursor to pass back to fetch the next page, or null if this is the last page.

Changes

    • warning

      added the new claude enum value to the // response property for the response status

    • warning

      added the new cursor enum value to the // response property for the response status

    • warning

      added the new gemini enum value to the // response property for the response status

    • warning

      added the new llm enum value to the // response property for the response status

    • warning

      added the new openai enum value to the // response property for the response status

    • warning

      added the new perplexity enum value to the // response property for the response status

    • warning

      added the new windsurf enum value to the // response property for the response status

    • info

      added the enum value claude to the property items/ of the query request parameter source

    • info

      added the enum value cursor to the property items/ of the query request parameter source

    • info

      added the enum value gemini to the property items/ of the query request parameter source

    • info

      added the enum value llm to the property items/ of the query request parameter source

    • info

      added the enum value openai to the property items/ of the query request parameter source

    • info

      added the enum value perplexity to the property items/ of the query request parameter source

    • info

      added the enum value windsurf to the property items/ of the query request parameter source

    • info

      added the non-success response with the status