Postman Collection
Download the ActionFlows Postman collection to test REST endpoints for auth, flows, runs, the run queue, and agent chat.
Postman Collection
Download the ActionFlows API Postman collection to quickly test and explore our API endpoints.
Download
Download Postman Collection
Importing the Collection
- Open Postman
- Click Import button
- Select the downloaded
ActionFlows-API.postman_collection.jsonfile - The collection will be imported with all endpoints
Setting Up Variables
After importing, configure the collection variables:
-
Click on the collection name
-
Go to the Variables tab
-
Set the following variables:
base_url:https://api.actionflows.ai(or your custom API URL)api_key: Your ActionFlows API key (get it from organization settings)organization_id: Your organization ID (optional, for testing)action_flow_id: A flow ID for testing (optional)run_id: A run ID for testing (optional). Must start withrun_.queue_id: A queued run ID (optional)action_agent_id: An agent ID for testing (optional)session_id: An agent session ID (optional)
Available Endpoints
Authentication
- Validate Authentication - Verify your API key
Flows
- List Flows - List flow metadata for your organization
- Get Flow - Get flow metadata (no graph)
- List Flow Runs - Get run history for a specific flow
Runs
- List Runs - Get public run objects across all flows
- Trigger Run - Enqueue a flow run (
inputs+ optionaltrigger) - Get Run - Get a public run object
- Cancel Run - Cancel a running flow
- Stream Run - Stream public run updates (SSE)
Queue
- List Queued Runs - List waiting queue items
- Get Queued Run - Get a queue item
- Cancel Queued Run - Cancel a waiting queue item
Agents
- List Agents / Get Agent - Discovery metadata
- Create Chat Completion - OpenAI-compatible chat (
modelis the agent id; sendX-ActionFlows-Session-Idto continue a session)
See also the API Reference and Agents API.
Usage Tips
- API Key: Set your API key in the collection variables to use it across all requests
- Organization ID: Some endpoints require or work better with an organization ID
- Flow ID: Use
action_flow_idwhen testing flow-specific endpoints - Run ID: Use
run_idwhen testing run-specific endpoints. It must start withrun_. - Query Parameters: Many endpoints have optional query parameters that are disabled by default. Enable them as needed.
Environment Variables
You can also create Postman environments for different stages:
- Production:
https://api.actionflows.ai - Development: Your local or staging API URL