Skip to content

Download PDF report

GET
/v3/orgs/{organization_path}/tasks/{task_id}/report
curl --request GET \
--url https://api.cardio.ai/v3/orgs/example/tasks/1/report \
--header 'X-Api-Token: <X-Api-Token>'

Returns the generated PDF report for a completed task.

organization_path
required
string

Unique organization path from organization settings.

task_id
required
integer format: uint64

Unique task identifier.

PDF report bytes.

Media type application/pdf
string format: binary

Bad Request - missing or invalid parameters.

Media type application/json
string
Example generated
example

Unauthorized - missing, expired, or invalid token.

Media type application/json
string
Example generated
example

Forbidden - the provided token is not authorized to call this endpoint.

Media type application/json
string
Example generated
example

Not Found - requested resource does not exist or is unavailable.

Media type application/json
string
Example generated
example

Conflict - current resource state does not allow the operation.

Media type application/json
string
Example generated
example

Too Many Requests - rate limit exceeded.

Media type application/json
string
Example generated
example