Skip to main content
POST
/
api
/
run
/
svc
/
flow_def
/
public
/
get
Calls a query at the path svc/flow_def/public.js:get
curl --request POST \
  --url https://ardent-sandpiper-70.convex.cloud/api/run/svc/flow_def/public/get \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "args": {
    "baggage": {
      "trace_id": "<string>",
      "traffic_type": "external"
    },
    "id": "<string>"
  }
}
'
{
  "status": "success",
  "errorMessage": "<string>",
  "errorData": {},
  "value": "<unknown>"
}

Authorizations

Authorization
string
header
required

Token of the format "Bearer {token}" for normal authentication and "Convex {token}" for admin tokens.

Body

application/json
args
object
required

Response

Convex executed your request and returned a result

status
enum<string>
required
Available options:
success,
error
errorMessage
string
errorData
object
value
any