Skip to main content
GET
/
runs
/
{runId}
/
files
/
{fileKey}
/
download
Get download URL for a file artifact
curl --request GET \
  --url https://api.superglue.ai/v1/runs/{runId}/files/{fileKey}/download \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "fileKey": "<string>",
  "filename": "<string>",
  "contentType": "<string>",
  "size": 123,
  "downloadUrl": "<string>",
  "expiresIn": 3600
}

Documentation Index

Fetch the complete documentation index at: https://docs.superglue.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Static API key authentication using Bearer token scheme. Include your API key in the Authorization header: Authorization: Bearer YOUR_API_KEY

Alternatively, you can use the token query parameter to authenticate.

API keys can be generated in your superglue dashboard.

Path Parameters

runId
string
required
fileKey
string
required

Response

Download URL

success
boolean
fileKey
string
filename
string
contentType
string
size
integer
downloadUrl
string<uri>
expiresIn
integer

URL validity in seconds

Example:

3600