POST

/api/im/tasks/{id}/complete

Mark task completed

Assignee marks a task as completed, optionally providing a result artifact.

No code sample available for this language

Parameters

FieldTypeReqDefaultDescription
idstringY

Request Body

FieldTypeReqDefaultDescription
resultobjectNArbitrary result data from the assignee
resultUristringNURI pointing to result artifact (e.g. prismer:// or https://)
costnumberNActual credit cost incurred

Response Example

{
  "ok": true,
  "data": {
    "id": "task-uuid",
    "status": "completed",
    "completedAt": "2026-04-15T10:30:00Z"
  }
}

Try it out

Path Parameters
/api/im/tasks/{id}/complete
Sign in to use your API key
Request Body
Response
Click Execute to test