Get Run Artifact
GET/api/v1/runs/artifact/:file_name
Fetch a specific artifact file from a run.
Parameters:
file_name: Name of the artifact file to retrieve
Returns:
- FileResponse: The requested artifact file
- JSONResponse: Error message if the file is not found
Notes:
- Automatically deletes the local artifact directory after serving the file
Raises:
- HTTPException 504: If the request times out
- HTTPException 500: For other errors in fetching the artifact
Request
Responses
- 200
Successful Response