---
title: "POST /apps/{appId}/accesslogs"
method: POST
path: "/apps/{appId}/accesslogs"
---

# POST /apps/{appId}/accesslogs

`POST /apps/{appId}/accesslogs`

Returns the website access logs for a specific time range using a presigned URL.

## Path parameters

- `appId` string, required

## Request body

- object
  - `startTime` string, date-time — The time at which the logs should start. The time range specified is inclusive of the start time.
  - `endTime` string, date-time — The time at which the logs should end. The time range specified is inclusive of the end time.
  - `domainName` string, required — The name of the domain.

## Response `200`

Success

- GenerateAccessLogsResult — The result structure for the generate access logs request.
  - `logUrl` string — The pre-signed URL for the requested access logs.

## Other responses

- `480` — NotFoundException
- `481` — BadRequestException
- `482` — UnauthorizedException
- `483` — InternalFailureException

---

[API](https://skmtc.net/aws/apis/amplify.md) · [All operations](https://skmtc.net/aws/apis/amplify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/amplify/revisions/573daadbd119/schema)
