---
title: "Retrieve a specific log."
method: GET
path: "/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Logs/{Sid}"
tags: ["ServerlessV1Log"]
---

# Retrieve a specific log.

`GET /v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Logs/{Sid}`

Retrieve a specific log.

## Path parameters

- `ServiceSid` string, required
- `EnvironmentSid` string, required
- `Sid` string, required

## Response `200`

OK

- ServerlessV1ServiceEnvironmentLog
  - `sid` string, nullable — The unique string that we created to identify the Log resource.
  - `account_sid` string, nullable — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Log resource.
  - `service_sid` string, nullable — The SID of the Service that the Log resource is associated with.
  - `environment_sid` string, nullable — The SID of the environment in which the log occurred.
  - `build_sid` string, nullable — The SID of the build that corresponds to the log.
  - `deployment_sid` string, nullable — The SID of the deployment that corresponds to the log.
  - `function_sid` string, nullable — The SID of the function whose invocation produced the log.
  - `request_sid` string, nullable — The SID of the request associated with the log.
  - `level` string, nullable — The log level.
  - `message` string, nullable — The log message.
  - `date_created` string, date-time, nullable — The date and time in GMT when the Log resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
  - `url` string, uri, nullable — The absolute URL of the Log resource.

---

[API](https://skmtc.net/twilio/apis/serverless-v1.md) · [All operations](https://skmtc.net/twilio/apis/serverless-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twilio/serverless-v1/revisions/594d94b79d49/schema)
