Skip to main content
POST
/
v2
/
traces
/
{traceId}
/
action
New action
curl --request POST \
  --url http://api.local.stratumn.com:3000/v2/traces/{traceId}/action \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'traceInput={}' \
  --form 'actionKey=<string>' \
  --form 'workflowId=<string>' \
  --form 'groupLabel=<string>' \
  --form file_example='@example-file' \
  --form other_file_example='@example-file'
{
  "error": "<unknown>",
  "data": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

traceId
string
required

Body

multipart/form-data
traceInput
object

This is the form data of the link

actionKey
string

The label of the action

workflowId
string

The UUID of the workflow

groupLabel
string

The label of the group performing the action

file_example
file
other_file_example
file

Response

default - application/json

The updated trace

error
any
required

The error of the request

data
string<uuid>

The trace id