For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETList versions for a flow
      • POSTPublish a specific flow version
      • GETGet the published version for a flow
      • GETGet a specific flow version
Dashboard
LogoLogo
Runtype APIFlow Versions

List versions for a flow

GET
/v1/flow-versions/:flowId
GET
/v1/flow-versions/:flowId
$curl https://api.runtype.com/v1/flow-versions/flowId \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "flowId": "a1b2c3d4e5f6g7h8i9j0",
3 "publishedVersionId": "v1234567890abcdef",
4 "versions": [
5 {
6 "createdAt": "2024-06-10T09:15:00Z",
7 "id": "v1234567890abcdef",
8 "label": "Initial Release",
9 "notes": "First stable version of the flow with core functionality.",
10 "stepCount": 5,
11 "stepSummary": "Setup, validation, processing, output, cleanup",
12 "versionNumber": 1,
13 "versionType": "published"
14 }
15 ]
16}
Was this page helpful?
Previous

Publish a specific flow version

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

flowIdstringRequired

Query parameters

typeenumOptional
Allowed values:

Response

Flow versions list
flowIdstring
publishedVersionIdstring or null
versionslist of objects

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error