{
"opencollection": "1.0.0",
"info": {
"name": "Langflow Base Projects API",
"version": "1.9.0"
},
"items": [
{
"info": {
"name": "Projects",
"type": "folder"
},
"items": [
{
"info": {
"name": "Read Projects",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/projects/",
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Read Projects"
},
{
"info": {
"name": "Create Project",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/api/v1/projects/",
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Create Project"
},
{
"info": {
"name": "Download File",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/projects/download/:project_id",
"params": [
{
"name": "project_id",
"value": "",
"type": "path"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Download all flows from project as a zip file."
},
{
"info": {
"name": "Upload File",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/api/v1/projects/upload/",
"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 file.
Accepts either a JSON file with project metadata (folder_name, folder_description, flows)
or a ZIP file containing individual flow JSON files (as produced by the download endpoint)."
},
{
"info": {
"name": "Read Project",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/projects/:project_id",
"params": [
{
"name": "project_id",
"value": "",
"type": "path"
},
{
"name": "page",
"value": "",
"type": "query"
},
{
"name": "size",
"value": "",
"type": "query"
},
{
"name": "is_component",
"value": "",
"type": "query"
},
{
"name": "is_flow",
"value": "",
"type": "query"
},
{
"name": "search",
"value": "",
"type": "query"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Read Project"
},
{
"info": {
"name": "Update Project",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "{{baseUrl}}/api/v1/projects/:project_id",
"params": [
{
"name": "project_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 Project"
},
{
"info": {
"name": "Delete Project",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/projects/:project_id",
"params": [
{
"name": "project_id",
"value": "",
"type": "path"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete Project"
}
]
}
],
"bundled": true
}