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

Platform API › Tasks

Read a task's page for language models

One task's page as plain text for language models: its inputs, examples, output, errors and limits.

GEThttps://api.refabric.com/v1/tasks/{name}/llms.txt
import requests

url = "https://api.refabric.com/v1/tasks/{name}/llms.txt"

response = requests.get(url)

print(response.json())
"string"

Authentication. No key: a published task is the same for every reader.

Common use cases

  • Give an AI agent everything it needs to call one task.

Conflicts. A task that was removed answers 410 task_removed; an unknown name 404.

See also

  • GET /v1/tasks/{name}
  • GET /v1/tasks/{name}/openapi.json

Authorization

No key needed.

Parameters

Path parameters

  • stringrequired

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.

    • 401 — No valid API key was sent.
    • 403 — Your key or your plan does not allow this.
    • 404 — Nothing has this address.
    • 410 — This was removed.
    • 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.