Flows

Get Flows

get

Get all Flows created within this account

Authorizations
Responses
200
OK
get
GET /api/workspace/flows HTTP/1.1
Host: sapphire.contextdata.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

No content

Get Flow

get

Retrieve details of a Flow

Authorizations
Path parameters
flow_identifierstringRequired
Responses
200
OK
get
GET /api/workspace/flow/{flow_identifier} HTTP/1.1
Host: sapphire.contextdata.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

No content

Trigger Flow

post

Trigger a flow externally

Authorizations
Path parameters
flow_identifierstringRequired
Responses
200
OK
application/json
post
POST /api/workspace/trigger_flow/{flow_identifier} HTTP/1.1
Host: sapphire.contextdata.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "message": "text",
  "data": {}
}

Get Flow Logs

get

Get Flow Logs for a specific flow

Authorizations
Path parameters
flow_identifierstringRequired
Responses
200
OK
get
GET /api/workspace/flow_log/{flow_identifier} HTTP/1.1
Host: sapphire.contextdata.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

No content

Last updated