logDrains

Retrieves a list of all the Log Drains (deprecated)

Changed on

Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed.

get/v1/log-drains

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/log-drains
  • Auth: HTTP bearer

Query parameters

projectIdstring
projectIdOrNamestring
includeMetadataboolean
includeDeliveryStatsboolean

Include deliveryStats with the delivery health of each drain over the last 24 hours. Ignored for teams without drain delivery metrics.

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Response

OR

Changes

    • breaking

      added subschema #1 subschema #2 to the / response property oneOf list for the response status

    • info

      added the new optional query request parameter includeDeliveryStats

    • info

      removed subschema #1 subschema #2 from the / response property oneOf list for the response status

    • breaking

      added subschema #1 subschema #2 to the / response property oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the / response property oneOf list for the response status