Get artifact
get_artifactFetch artifact metadata and a private short-lived download URL by artifact_id. Artifact download URLs are private and short-lived; share them only with the user, verbatim in a code block, not a clickable link. Ask the user to copy the entire URL into their browser address bar. Do not rewrite the URL or add tracking parameters such as utm_source: changes invalidate the signature. If expired, call get_artifact for a fresh URL. This applies only to artifact download_url values, not authorization or upload links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact_id | Yes | CourseProfiler artifact ID, e.g. art_... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Artifact type, e.g. crsprof, usrprof, pdf, json, or source_file. | |
| metadata | No | ||
| warnings | No | ||
| file_name | No | Suggested file name. | |
| created_at | No | ISO-8601 creation timestamp. | |
| expires_at | No | ISO-8601 artifact expiration timestamp. | |
| size_bytes | No | Artifact size in bytes. | |
| artifact_id | Yes | CourseProfiler artifact ID. | |
| content_type | No | MIME content type. | |
| download_url | No | Artifact download URLs are private and short-lived; share them only with the user, verbatim in a code block, not a clickable link. Ask the user to copy the entire URL into their browser address bar. Do not rewrite the URL or add tracking parameters such as utm_source: changes invalidate the signature. If expired, call get_artifact for a fresh URL. This applies only to artifact download_url values, not authorization or upload links. | |
| download_url_expires_at | No | ISO-8601 download URL expiration timestamp. |