Last updated 10 months ago
Get all Flows created within this account
curl -L \ --url 'https://sapphire.contextdata.ai/api/workspace/flows' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No body
Retrieve details of a Flow
curl -L \ --url 'https://sapphire.contextdata.ai/api/workspace/flow/{flow_identifier}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
Trigger a flow externally
curl -L \ --request POST \ --url 'https://sapphire.contextdata.ai/api/workspace/trigger_flow/{flow_identifier}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "message": "text", "data": {} }
Get Flow Logs for a specific flow
curl -L \ --url 'https://sapphire.contextdata.ai/api/workspace/flow_log/{flow_identifier}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'