Skip to main content
POST
/
v2
/
workflows
/
{workflowId}
/
traces
/
search
Search traces
curl --request POST \
  --url http://api.local.stratumn.com:3000/v2/workflows/{workflowId}/traces/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "filters": {}
}'
{
  "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

workflowId
string
required

The name of the workflow

Body

application/json
filters
object

The state data keys and values on which the Traces will be filtered on

Response

200 - application/json

The trace ids of the given workflow id and state data

error
any
required

The error of the request

data
string<uuid>[]

The trace ids