MCPcopy
hub / github.com/ray-project/ray / getTask

Function getTask

python/ray/dashboard/client/src/service/task.ts:13–18  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

11};
12
13export const getTask = (taskId: string) => {
14 const url = `api/v0/tasks?detail=1&limit=1&filter_keys=task_id&filter_predicates=%3D&filter_values=${encodeURIComponent(
15 taskId,
16 )}`;
17 return get<StateApiResponse<Task>>(url);
18};
19
20export const downloadTaskTimelineHref = (jobId: string | undefined) => {
21 let url = "api/v0/tasks/timeline?download=1";

Callers 1

useStateApiTaskFunction · 0.90

Calls 1

getFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…