Download URLs in API Results
Adrian Duyzer
Reading a single result from the API now returns a temporary download URL for each artifact and for the payload.
Impact: existing integrations do not need to change. GET /platform/artifacts/:id and GET /platform/results/:id/payload still work, with new size limits that no customer’s files reach today. For new integrations, we recommend downloadUrl.
The new fields are in the response from GET /platform/results/:id. This example leaves out the rest of the response and shortens the URLs:
{
"detail": {
"artifacts": [
{
"id": "b613c64c-dcba-4321-fe65-987654321098",
"usage": "output",
"contentType": "application/edi-x12",
"filename": "invoice-001.edi",
"downloadUrl": "https://tediware-production.s3.ca-central-1.amazonaws.com/7tzn..."
}
]
},
"payload": {
"format": "edi",
"bytes": 1824,
"downloadUrl": "https://tediware.com/platform/downloads?token=eyJf..."
}
}
Using the URLs:
- Send a plain GET with no
Authorizationheader. A request that includes the header is refused. Some HTTP clients add it automatically (don’t). - Each URL works for one hour. Read the result again to get a new one.
- Anyone who has the URL can use it until it expires, so keep it out of your logs.
- Artifacts download directly from S3. If your firewall only allows approved hosts, approve
tediware-production.s3.ca-central-1.amazonaws.comas well astediware.com. - The MCP
result_gettool returns the same URLs to coding agents that connect with an API key.
Notes and limits:
- The results list, the feed, traces and webhooks do not include download URLs.
GET /platform/artifacts/:idnow returns files up to 500 MB, andGET /platform/results/:id/payloadreturns up to 128 MB of JSON. Above those sizes they respond with a413that includes adownloadUrlfor the whole file or payload.
The full reference is in the Results and Artifacts API docs.
This update was written with AI assistance. It has been reviewed and edited by a human.