ServerlessV1Log

Retrieve a specific log.

Changed on

Retrieve a specific log.

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

Request

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

Path parameters

ServiceSidstring required

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

EnvironmentSidstring required

The SID of the environment with the Log resource to fetch.

Sidstring required

The SID of the Log resource to fetch.

Response

OK

sidstring nullable

The unique string that we created to identify the Log resource.

account_sidstring nullable

The SID of the Account that created the Log resource.

service_sidstring nullable

The SID of the Service that the Log resource is associated with.

environment_sidstring nullable

The SID of the environment in which the log occurred.

build_sidstring nullable

The SID of the build that corresponds to the log.

deployment_sidstring nullable

The SID of the deployment that corresponds to the log.

function_sidstring nullable

The SID of the function whose invocation produced the log.

request_sidstring nullable

The SID of the request associated with the log.

levelstring nullable

The log level.

messagestring nullable

The log message.

date_createdstring date-time nullable

The date and time in GMT when the Log resource was created specified in ISO 8601 format.

urlstring uri nullable

The absolute URL of the Log resource.

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

    • info

      api tag ServerlessV1Log added