ServerlessV1Log

Retrieve a list of all logs.

Changed on

Retrieve a list of all logs.

get/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Logs

Request

  • Base URL
    https://serverless.twilio.com
  • URL
    https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Logs
  • Auth
    HTTP basic

Path parameters

ServiceSidstring required

The SID of the Service to read the Log resource from.

EnvironmentSidstring required

The SID of the environment with the Log resources to read.

Query parameters

FunctionSidstring

The SID of the function whose invocation produced the Log resources to read.

StartDatestring date-time

The date/time (in GMT, ISO 8601) after which the Log resources must have been created. Defaults to 1 day prior to current date/time.

EndDatestring date-time

The date/time (in GMT, ISO 8601) before which the Log resources must have been created. Defaults to current date/time.

PageSizeinteger

How many resources to return in each list page. The default is 50, and the maximum is 1000.

Pageinteger

The page index. This value is simply for client state.

PageTokenstring

The page token. This is provided by the API.

Response

OK

Changes

    • breaking

      the response property // became nullable for the status

    • info

      removed the error enum value from the // response property for the response status

    • info

      removed the info enum value from the // response property for the response status

    • info

      removed the warn enum value from the // response property for the response status

    • breaking

      for the query request parameter PageSize, the format changed from no format to int64