Skip to main content
GET
Get a procedure task

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

taskId
string<uuid>
required

Response

The task.

id
string<uuid>
required
runId
string<uuid>
required

The run that created the task.

procedureId
string
required

Stable procedure identifier

Maximum string length: 256
Pattern: ^[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*$
title
string | null
required
status
string
required

open waits for an answer; blocked waits on something else first; completed was answered; closed ended without an answer, as when its run was cancelled. New statuses may be added.

dueOn
string | null
required

The day it is due (YYYY-MM-DD), if any.

createdAt
string<date-time>
required
completedAt
string<date-time> | null
required
webUrl
string<uri>
required

The task’s page in Effective, where a person answers it.

instructions
string | null
required

What the procedure asks, in Markdown.

answerSchema
object | null
required

The JSON Schema an answer must match. Null when any object is accepted.

assignees
object[]
required

Who may answer it.

canSubmit
boolean
required

Whether the caller may answer it now: it is open and assigned to them.

submission
object | null
required

The latest answer, once it has one.