# Retrieve a list of all logs. **GET /v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Logs** Retrieve a list of all logs. A record of an event that occurred related to a function invocation. ## Servers - https://serverless.twilio.com: https://serverless.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **ServiceSid** (string) The SID of the Service to read the Log resource from. - **EnvironmentSid** (string) The SID of the environment with the Log resources to read. ### Query parameters - **FunctionSid** (string) The SID of the function whose invocation produced the Log resources to read. - **StartDate** (string(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. - **EndDate** (string(date-time)) The date/time (in GMT, ISO 8601) before which the Log resources must have been created. Defaults to current date/time. - **PageSize** (integer(int64)) How many resources to return in each list page. The default is 50, and the maximum is 1000. - **Page** (integer) The page index. This value is simply for client state. - **PageToken** (string) The page token. This is provided by the API. ## Responses ### 200 OK #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **logs** (array[object]) - **meta** (object) [Powered by Bump.sh](https://bump.sh)