Skip to main content

Get a download link for a report file

POST/studies/{id}/reports/{reportId}/link

A link to download one file of one report version: summary.pdf (one page), report.pdf, report.docx, slides.pptx, quotes.pdf (quote cards) or report.json. Good for 15 minutes; anyone holding it in that time can download that one file. Recordings are never in any file: a clip is a reference to play in the app. Calls no model. (The MCP tool report_download_link.)

Scope results:read · Credential a workspace API key (jean_sk_…, make one in the Jean app) or an OAuth access token. See scopes.

curl --fail-with-body -X POST "https://app.jeantechnologies.com/api/v1/studies/STUDY_ID/reports/REPORT_ID/link" \
-H "Authorization: Bearer $JEAN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"format": "summary.pdf"
}'

An Idempotency-Key header is optional here and makes a retry safe. See idempotency.

Path​

NameTypeRequiredNotes
idstring (UUID)yes
reportIdstring (UUID)yes

Body​

FieldTypeRequiredNotes
format"summary.pdf", "report.pdf", "report.docx", "slides.pptx", "quotes.pdf", "report.json"yes

Response · 200​

FieldTypeRequiredNotes
urlstringyes
expiresAtstringyes
consoleUrlstringyesThe same file for a signed-in member of the workspace.
The full response schema
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"expiresAt": {
"type": "string"
},
"consoleUrl": {
"type": "string",
"description": "The same file for a signed-in member of the workspace."
}
},
"required": [
"url",
"expiresAt",
"consoleUrl"
],
"additionalProperties": false
}

Errors​

StatusMeaning
400The request is not valid: the body is not JSON, a field is wrong (listed in errors), or a required Idempotency-Key is missing.
401No key or token, or one that is wrong, expired or revoked.
403The key or connection lacks the scope this operation needs. scope names it.
404No such address, or no study (or conversation) with that id in this workspace. Another workspace's id is answered the same way.
409The study is not in a state that allows this (the detail says what to do instead), or the Idempotency-Key was used with a different request.
429Too many requests from this key or connection, or the workspace has reached its hourly or daily limit for model calls (title "Workspace model limit reached", window says which). Retry-After says when to try again.
503The language model is not available. Try again later.

Every error is application/problem+json, the same shape on every endpoint.

API overview · OpenAPI document