{
"opencollection": "1.0.0",
"info": {
"name": "Langflow Base Flows API",
"version": "1.9.0"
},
"items": [
{
"info": {
"name": "Flows",
"type": "folder"
},
"items": [
{
"info": {
"name": "Read Flows",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/flows/",
"params": [
{
"name": "remove_example_flows",
"value": "",
"type": "query"
},
{
"name": "components_only",
"value": "",
"type": "query"
},
{
"name": "get_all",
"value": "",
"type": "query"
},
{
"name": "folder_id",
"value": "",
"type": "query"
},
{
"name": "header_flows",
"value": "",
"type": "query"
},
{
"name": "page",
"value": "",
"type": "query"
},
{
"name": "size",
"value": "",
"type": "query"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve a list of flows with optional pagination, filtering, and header-only mode."
},
{
"info": {
"name": "Create Flow",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/api/v1/flows/",
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create Flow"
},
{
"info": {
"name": "Delete Multiple Flows",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/flows/",
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete multiple flows by their IDs."
},
{
"info": {
"name": "Read Basic Examples",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/flows/basic_examples/"
},
"docs": "Retrieve a list of basic example flows."
},
{
"info": {
"name": "Create Flows",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/api/v1/flows/batch/",
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create multiple new flows."
},
{
"info": {
"name": "Download Multiple File",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/api/v1/flows/download/",
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Download all flows as a zip file."
},
{
"info": {
"name": "Read Public Flow",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/flows/public_flow/:flow_id",
"params": [
{
"name": "flow_id",
"value": "",
"type": "path"
}
]
},
"docs": "Read a public flow."
},
{
"info": {
"name": "Upload File",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/api/v1/flows/upload/",
"params": [
{
"name": "folder_id",
"value": "",
"type": "query"
}
],
"body": {
"type": "multipart-form",
"data": []
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Upload flows from a JSON or ZIP file (upsert semantics for flows with stable IDs)."
},
{
"info": {
"name": "Read Flow",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/flows/:flow_id",
"params": [
{
"name": "flow_id",
"value": "",
"type": "path"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Read a flow."
},
{
"info": {
"name": "Upsert Flow",
"type": "http"
},
"http": {
"method": "PUT",
"url": "{{baseUrl}}/api/v1/flows/:flow_id",
"params": [
{
"name": "flow_id",
"value": "",
"type": "path"
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create or update a flow with a specific ID (upsert).
Returns 201 for creation, 200 for update. Returns 404 if owned by another user."
},
{
"info": {
"name": "Update Flow",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "{{baseUrl}}/api/v1/flows/:flow_id",
"params": [
{
"name": "flow_id",
"value": "",
"type": "path"
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update a flow."
},
{
"info": {
"name": "Delete Flow",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/flows/:flow_id",
"params": [
{
"name": "flow_id",
"value": "",
"type": "path"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete a flow."
},
{
"info": {
"name": "Get Starter Projects",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/starter-projects/",
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Get a list of starter projects."
}
]
}
],
"bundled": true
}