diff --git a/skyvern-frontend/src/routes/tasks/detail/ActionScreenshot.tsx b/skyvern-frontend/src/routes/tasks/detail/ActionScreenshot.tsx index 079ed2c3..d50bd94b 100644 --- a/skyvern-frontend/src/routes/tasks/detail/ActionScreenshot.tsx +++ b/skyvern-frontend/src/routes/tasks/detail/ActionScreenshot.tsx @@ -25,9 +25,9 @@ function ActionScreenshot({ artifactId, stepId, index, taskStatus }: Props) { } = useQuery({ queryKey: ["artifact", artifactId], queryFn: async () => { - const client = await getClient(credentialGetter); + const client = await getClient(credentialGetter, "sans-api-v1"); return client - .get(`${apiPathPrefix}/artifacts/${artifactId}`) + .get(`/artifacts/${artifactId}`) .then((response) => response.data); }, enabled: Boolean(artifactId),