Skip to main content
GET
{baseUrl}
/
api
/
flow
/
workflows
/
Error
A valid request URL is required to generate request examples
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "status": "active",
      "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123,
  "page": 123,
  "per_page": 123
}
Returns workflows in the selected team. Workflow endpoints are team-oriented, so include team_id for predictable results.
Required API key scope: workflows:read.

Query parameters

team_id
string
required
Team UUID that owns the workflows.
Search workflows by name, description, or owner.
status
string
Filter by workflow status.
ordering
string
Sort by name, updated_at, or created_at. Prefix with - for descending order.
page
integer
Page number for paginated responses.
page_size
integer
Number of workflows per page. Maximum value is 100.

Response

count
integer
Total number of matching workflows.
results
array
Workflow records visible to the key.

Authorizations

Authorization
string
header
default:phk_your_api_key
required

Paste your Pharen API key without the Bearer prefix.

Query Parameters

team_id
string<uuid>

Team UUID for team-scoped keys.

page
integer
default:1

Page number for paginated results.

Required range: x >= 1
per_page
integer
default:20

Number of results per page.

Required range: 1 <= x <= 100

Response

Workflows returned.

data
object[]
total
integer
page
integer
per_page
integer