Skip to main content
GET
/
workflows
List workflows
curl --request GET \
  --url https://api.usebits.com/api/public/v1/workflows \
  --header 'x-api-key: <api-key>'
{
  "object": "list",
  "data": [
    {
      "id": "clx123abc",
      "name": "Login to Dashboard",
      "model": "sonnet",
      "createdAt": "2024-01-01T00:00:00.000Z",
      "updatedAt": "2024-01-15T12:30:00.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJpZCI6ImNseDEyM2FiYyIsInYiOjF9"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Keys start with 'bb_' prefix.

Query Parameters

limit
integer
default:20

Number of items to return (1-100)

Required range: 1 <= x <= 100
Example:

20

cursor
string

Opaque cursor from previous response for pagination

Example:

"eyJpZCI6ImNseDEyM2FiYyIsInYiOjF9"

order
enum<string>
default:desc

Sort order by createdAt

Available options:
asc,
desc
Example:

"desc"

Response

List of workflows

object
enum<string>
required
Available options:
list
Example:

"list"

data
object[]
required

Array of items

has_more
boolean
required

Whether there are more items available

Example:

true

next_cursor
string

Cursor to use for fetching the next page (only present when has_more is true)

Example:

"eyJpZCI6ImNseDEyM2FiYyIsInYiOjF9"