Skip to content

The runner, just before carrying an action out

The OpenAPI spec (JSON)Licence, versions and sign-in

POST
/api/v1/actions/{id}/start
curl --request POST \
--url https://deck.example.com/api/v1/actions/1/start \
--header 'Authorization: Bearer <token>'
id
required
integer format: int64

An action as stored on a card version.

Media typeapplication/json

An action as stored on a card version.

object
action
required

One proposed action. The type tag is also the name runner.eligible uses.

One of:
object
account
required
string
>= 1 characters <= 100 characters
thread_id
required
string
>= 1 characters <= 200 characters
type
required
string
Allowed value: archive
key
additional properties
card_id
required
integer format: int64
card_version
required
integer format: int64
error
string | null
finished_at
string | null
id
required
integer format: int64
outcome

What was sent and what came back.

run_by
Any of:
string
Allowed values: runner agent
seq
required
integer format: int64
started_at
string | null
status
required
string
Allowed values: pending released started done failed stopped

Example

{
"action": {
"type": "archive"
},
"run_by": "runner",
"status": "pending"
}

An error, with its message.

Media typeapplication/json

Every error the REST API returns, with an HTTP status.

object
error
required
string

Example generated

{
"error": "example"
}