---
title: "GET /executions/{executionId}/metadata-url"
method: GET
path: "/executions/{executionId}/metadata-url"
---

# GET /executions/{executionId}/metadata-url

`GET /executions/{executionId}/metadata-url`

This endpoint is used to retrieve a file execution's metadata document, limited to inbound/outbound x12 files. This endpoint returns the metadata document download URL, it must be then fetched for the actual document content. There are no size restrictions on documents when fetching from this endpoint.

## Path parameters

- `executionId` string, required

## Response `200`

GetExecutionMetadataDocumentUrl 200 response

- GetExecutionMetadataDocumentUrlResponseContent
  - `documentDownloadUrl` string — A URL to download the document. This URL is available for 60 minutes.

## Other responses

- `400` — BadRequestException 400 response
- `401` — UnauthorizedException 401 response
- `403` — AccessDeniedException 403 response
- `404` — ResourceNotFoundException 404 response
- `409` — ResourceUnderChangeException 409 response
- `422` — UnprocessableEntityException 422 response
- `429` — ThrottlingException 429 response
- `500` — ServiceException 500 response
- `503` — ServiceUnavailableException 503 response
- `504` — GatewayTimeoutException 504 response

---

[API](https://skmtc.net/stedi/apis/core.md) · [All operations](https://skmtc.net/stedi/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stedi/core/versions/172bd33e0d66/schema)
