# Retrieve App Services logs **GET /groups/{groupId}/apps/{appId}/logs** ## Servers - The root API resource and starting point for the App Services API.: https://services.cloud.mongodb.com/api/admin/v3.0 (The root API resource and starting point for the App Services API.) ## Authentication methods - Token auth ## Parameters #### Path parameters - **groupId** (string) An Atlas [Project/Group ID](https://docs.atlas.mongodb.com/tutorial/manage-projects/). - **appId** (string) The ObjectID of your application. [The App Services API Project and Application IDs section](#section/Project-and-Application-IDs) demonstrates how to find this value. #### Query parameters - **co_id** (string) Return only log messages associated with the given request Correlation ID. - **errors_only** (boolean) The value of this field does not matter. If included in the request, this endpoint only returns error logs (even if the value is set to `false`). If this field is excluded from the request, this endpoint only returns non-error logs. - **user_id** (string) Return only log messages associated with the given `user_id`. - **start_date** (string) The date and time in ISO 8601 at which to begin returning results, exclusive. - **end_date** (string) The date and time in ISO 8601 at which to cease returning results, inclusive. - **skip** (integer) The offset number of matching log entries to skip before including them in the response. - **limit** (integer) The maximum number of log entries to include in the response. If the query matches more than this many logs, it returns documents in ascending order by date until the limit is reached. - **type** (string) The kind of log you would like to retrieve. ## Responses ### 200: Successfully retrieved. #### Body Parameters: application/json (object) - **logs** (array[object]) At most 100 results per request. - **nextEndDate** (string) The end date and time of the next page of log entries in ISO 8601 format. App Services paginates the result sets of queries that match more than 100 log entries and includes this field in paginated responses. To get the next page of up to 100 entries, pass this value as the `end_date` parameter in a subsequent request. - **nextSkip** (integer) The offset into the next page of log entries in ISO 8601 format. MongoDB App Services paginates the result sets of queries that match more than 100 log entries and includes this field in paginated responses where the first entry on the next page has the same timestamp as the last entry on this page. To get the next page of up to 100 entries, pass this value, if it is present, as the `skip` parameter in a subsequent request. [Powered by Bump.sh](https://bump.sh)