Publishing Tasks

A Task is a computational job submitted from a Source. Providers registered for that Source compete to execute it.

What's in a Task

Component
Description

Source

The execution environment to use

Config

Task parameters (JSON)

Payment

Amount in $OGPU

Expiry

Deadline for completion

Publishing a Task

Via Client App

  1. Select your Source

  2. Click "New Task"

  3. Enter:

    • Configuration (model parameters, inputs, etc.)

    • Payment amount

    • Expiry duration

  4. Submit

Via SDK

Task Lifecycle

Possible Statuses

Status
Meaning

New

Published, awaiting attempts

Attempted

Provider(s) started executing

Responded

Result(s) submitted

Finalized

Completed, payment released

Expired

Deadline passed, payment refunded

Canceled

Client canceled, payment refunded

Retrieving Results

Via Client App

Results appear in your task history. Download from the UI.

Via SDK

Results are stored on IPFS and linked in the response.

Via Direct RPC

For full control, interact with the protocol contracts directly via RPC.

Tips

  • Set realistic expiry times — Too short may result in no completions

  • Check provider availability — Ensure providers are registered for your Source

  • Monitor via Management dApp — Track task progress at management.opengpu.networkarrow-up-right

Last updated