# Get Shared Job By Link

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Get Shared Job By Link"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/api/v2/shared_jobs/{link}"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Publicly resolve a shared job link and return the job's results. No deepset Cloud login is required unless the link was created with login_required=true, in which case a valid session is required (but not membership in the job's workspace).

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"in":"path","name":"link","required":true,"schema":{"title":"Link","type":"string"}}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"content":{"application/json":{"schema":{"description":"A shared job as shown to an external, unauthenticated viewer resolving its link.\n\nDeliberately excludes internal fields the full `SharedJobResponse`/`JobResponse` have (e.g.\n`workspace_id`, `pipeline_id`, `created_by`) -- this viewer isn't a member of the workspace.","properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration"},"executed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Executed At"},"job_name":{"title":"Job Name","type":"string"},"results":{"items":{"description":"A job result as shown to an external, unauthenticated viewer of a shared job link.\n\nDeliberately excludes internal fields the full `JobResultResponse` has (e.g. `filters`,\n`params`, `prompt(s)`, the raw pipeline `response`, `error`) -- those can carry internal\ndocument content or implementation detail this viewer has no other access to.","properties":{"answer":{"title":"Answer","type":"string"},"duration":{"title":"Duration","type":"number"},"failed":{"title":"Failed","type":"boolean"},"file":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File"},"group_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group Name"},"no_answer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"No Answer"},"query":{"title":"Query","type":"string"},"query_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query Label"}},"required":["query","answer","file","no_answer","duration","failed","query_label","group_name"],"title":"PublicJobResultResponse","type":"object"},"title":"Results","type":"array"},"status":{"enum":["CREATED","STARTED","FAILED","ENDED"],"title":"JobStatus","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["title","description","job_name","status","executed_at","duration","results"],"title":"PublicSharedJobResponse","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"ctx":{"title":"Context","type":"object"},"input":{"title":"Input"},"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location","type":"array"},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object"},"title":"Detail","type":"array"}},"title":"HTTPValidationError","type":"object"}}},"description":"Validation Error"}}}
>
  
</StatusCodes>
