For AI agents: this page is also available as Markdown at https://docs.refabric.com/api-reference/platform/tasks/list-tasks.md, and the index of every page is https://docs.refabric.com/llms.txt.

Platform API › Tasks

List tasks

Every task you can run, each with its inputSchema and outputSchema.

GEThttps://api.refabric.com/v1/tasks
import requests

url = "https://api.refabric.com/v1/tasks"

response = requests.get(url)

print(response.json())
{
  "items": []
}

Filters and sorting

  • surface lists only the tasks you may run there — with your key; without a key it is ignored.

Authentication. No key: the published tasks are the same for every reader. A key you send is still checked, and only surface reads it.

Common use cases

  • Build a form or a tool definition from a task's inputSchema.
  • See which tasks exist before you call one.

See also

  • GET /v1/tasks/{name}
  • POST /v1/tasks/{name}

Authorization

No key needed.

Parameters

Query parameters

  • stringoptionalDefault:

    Narrow to what you may run on this surface. Needs your key (or a signed-in session); without one it is ignored.

Header parameters

  • stringoptional

    The contract version you wrote against (a date). Absent: the current version.

    format: date

  • stringoptional

    Your own id for this request; we answer it back under X-Client-Request-ID.

    max length 128

Response

200 — Done: the answer is in the body.

  • array<object>required

    The tasks, in catalogue order.

  • 400 — The request cannot be read as it was sent (a header, the URL or the body's form).
  • 401 — No valid API key was sent.
  • 403 — Your key or your plan does not allow this.
  • 422 — A field is missing or has a value this operation cannot use.
  • 429 — Too many requests: wait for the number of seconds in the Retry-After header.
  • 500 — Something went wrong on our side; retry, and quote the request id if it keeps happening.