Apps

Call one action on an externally driven round

Changed on

Runs one action for the agent holding the round's decision task. The caller must hold a live claim on that task with the current execution_epoch, else 409. Answers 200 with the result when it finishes within the wait window, else 202 with a call_id to poll. An action's own error is a 200 with is_error: true; a call refused before it ran (closed round, another call running) is a 409. On an OAuth session an action above the person's role is 403. Requires a decide grant on the app.

post/v1/apps/{id}/mining/rounds/{runId}/tools/{name}

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required
runId, string uuid required
name, string required

The action's name

Request body

object required
execution_epoch, integer required

The epoch of your claim on the round's decision task.

input, object required

The action's input, shaped by its input_schema.

Response

The call finished.

AppRulesToolCall required
call_id, string uuid
status, 'done' | 'running'
content, string

The action's answer

is_error, boolean

True when the action answered with an error.

poll, string

The path to poll

state, string

The call's queue state while running.

Changes