---
title: "List remote tasks"
method: GET
path: "/api/{org_id}/tasks"
tags: ["RemoteTasks"]
---

# List remote tasks

`GET /api/{org_id}/tasks`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/tasks`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/tasks/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists each remote task head at its newest row.

## Path parameters

- `org_id` string, required

## Response `200`

- object
  - `list` RemoteTaskResponseBody[], required
    - `auth` RemoteTaskAuthResponse, required: Auth on the way out: the shape, and whether a Secret is configured.
      - `headerName` string, nullable
      - `type` string, required
      - `usesSecret` boolean, required
    - `contentType` string, required
    - `createdAt` integer, required
    - `customHeaders` RemoteTaskHeaderResponse[], required
      - `key` string, required
      - `usesSecret` boolean, required
      - `value` string, nullable
    - `description` string, nullable
    - `draftSourceVersion` integer, nullable
    - `endpoint` string, required
    - `entityId` string, required
    - `httpMethod` string, required
    - `id` string, required
    - `isActive` boolean, required
    - `isDraft` boolean, required
    - `isReferenceable` boolean, required: Whether an Experiment may pin this row.
    - `maxAttempts` integer, required
    - `maxConcurrency` integer, required
    - `name` string, required
    - `orgId` string, required
    - `referencedBy` integer, nullable: Number of live Experiments pinned to any published version of this head. Populated by the list endpoint, which can compute all heads in one batch; omitted from single-version responses.
    - `requestTemplate` string, nullable
    - `responseSchema` string, required
    - `signing` RemoteTaskSigningResponse, required: Signing on the way out. The key id is shown because the receiver needs it to select a key; the secret behind it is not.
      - `enabled` boolean, required
      - `keyId` string, nullable
      - `usesSecret` boolean, required
    - `taskRef` string, nullable: `name@version`, present only when there is a version to pin.
    - `timeoutMs` integer, required
    - `updatedAt` integer, required
    - `verificationError` string, nullable
    - `verificationStatus` string, required
    - `verifiedAt` integer, nullable
    - `version` integer, required: `0` marks the head's draft, which no Experiment can reference.

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
