An agent task takes named inputs (vars), works with a model and its tools, and returns a typed result (output). This section covers tasks you run on their own — POST /v1/task-runs, one at a time or in batches of up to 1000, or an email batch drafting each row. The same task can also be entered by an agent mid-conversation and hand its result back as a JSON tool result; that is documented in agent tasks. Use a task when the work has an input and an answer rather than a conversation: research a company from a domain, classify an inbound message, extract terms from a document, draft an opening line.
Only name is required to save a draft. Publishing additionally needs at least one output field and a provider key for the model.

How a task differs from an agent

A task has an agent’s prompt, llm, tools, mcps, faqs, vars, timezone and lifecycle hooks (on_enter, on_exit, on_user_turn_completed; the last fires only when an agent entered the task). It has none of an agent’s session fields, and sending one is a 422:

What the prompt can read

{{secrets.…}}, {{args.…}} and {{tooldata.…}} are refused in a prompt. See variables.

Config reference

Talqing charges no platform fee on task runs. A run’s cost is your own provider spend, reported as provider_cost.

Create, publish and run

Every write lands on a draft; runs use the published version. See versions.
A completed run returns the declared fields under output:
In the dashboard, Tasks in the sidebar lists tasks; the editor has Prompt, Model, Inputs and output, Tools, FAQs, Limits, Run and Runs sections, with TaskCoPilot beside them.

Next

Inputs and output

Declare vars and output, and how submit_result collects the result.

Running and runs

Run one, read the trace, attempts and steps_used.

Agent tasks

Enter a task from a live conversation instead.