{
"opencollection": "1.0.0",
"info": {
"name": "Langflow Base Monitor API",
"version": "1.9.0"
},
"items": [
{
"info": {
"name": "Monitor",
"type": "folder"
},
"items": [
{
"info": {
"name": "Get Vertex Builds",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/monitor/builds",
"params": [
{
"name": "flow_id",
"value": "",
"type": "query"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Get Vertex Builds"
},
{
"info": {
"name": "Delete Vertex Builds",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/monitor/builds",
"params": [
{
"name": "flow_id",
"value": "",
"type": "query"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete Vertex Builds"
},
{
"info": {
"name": "Get Messages",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/monitor/messages",
"params": [
{
"name": "flow_id",
"value": "",
"type": "query"
},
{
"name": "session_id",
"value": "",
"type": "query"
},
{
"name": "sender",
"value": "",
"type": "query"
},
{
"name": "sender_name",
"value": "",
"type": "query"
},
{
"name": "order_by",
"value": "",
"type": "query"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Get Messages"
},
{
"info": {
"name": "Delete Messages",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/monitor/messages",
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete Messages"
},
{
"info": {
"name": "Update Session Id",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "{{baseUrl}}/api/v1/monitor/messages/session/:old_session_id",
"params": [
{
"name": "old_session_id",
"value": "",
"type": "path"
},
{
"name": "new_session_id",
"value": "",
"type": "query",
"description": "The new session ID to update to"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update Session Id"
},
{
"info": {
"name": "Delete Messages Session",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/monitor/messages/session/:session_id",
"params": [
{
"name": "session_id",
"value": "",
"type": "path"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete messages for a single session.
Only deletes messages from sessions belonging to flows owned by the current user."
},
{
"info": {
"name": "Get Message Sessions",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/monitor/messages/sessions",
"params": [
{
"name": "flow_id",
"value": "",
"type": "query"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Get Message Sessions"
},
{
"info": {
"name": "Delete Messages Sessions",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/monitor/messages/sessions",
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Bulk delete messages for multiple sessions at once.
Only deletes messages from sessions belonging to flows owned by the current user.
Args:
session_ids: List of session IDs to delete (max 500)
session: Database session
current_user: Current authenticated user
Returns:
Confirmation message with count of deleted sessions
Raises:
HTTPException: 400 if session_ids list exceeds 500 items
HTTPException: 500 if database operation fai"
},
{
"info": {
"name": "Get Shared Messages",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/monitor/messages/shared",
"params": [
{
"name": "source_flow_id",
"value": "",
"type": "query",
"description": "The original public flow ID"
},
{
"name": "session_id",
"value": "",
"type": "query"
},
{
"name": "order_by",
"value": "",
"type": "query"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Get messages for a shared/public flow, scoped to the authenticated user.
Uses a deterministic virtual flow_id derived from the user's ID and the
original flow ID. Only messages stored under this virtual flow_id are returned."
},
{
"info": {
"name": "Rename Shared Session",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "{{baseUrl}}/api/v1/monitor/messages/shared/session/:old_session_id",
"params": [
{
"name": "old_session_id",
"value": "",
"type": "path"
},
{
"name": "new_session_id",
"value": "",
"type": "query",
"description": "The new session ID"
},
{
"name": "source_flow_id",
"value": "",
"type": "query",
"description": "The original public flow ID"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Rename a session on a shared/public flow, scoped to the authenticated user."
},
{
"info": {
"name": "Delete Shared Messages Session",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/monitor/messages/shared/session/:session_id",
"params": [
{
"name": "session_id",
"value": "",
"type": "path"
},
{
"name": "source_flow_id",
"value": "",
"type": "query",
"description": "The original public flow ID"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete messages for a session on a shared/public flow, scoped to the authenticated user."
},
{
"info": {
"name": "Get Shared Message Sessions",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/monitor/messages/shared/sessions",
"params": [
{
"name": "source_flow_id",
"value": "",
"type": "query",
"description": "The original public flow ID"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Get session IDs for a shared/public flow, scoped to the authenticated user.
Uses a deterministic virtual flow_id derived from the user's ID and the
original flow ID. Only messages stored under this virtual flow_id are returned."
},
{
"info": {
"name": "Update Shared Message",
"type": "http"
},
"http": {
"method": "PUT",
"url": "{{baseUrl}}/api/v1/monitor/messages/shared/:message_id",
"params": [
{
"name": "message_id",
"value": "",
"type": "path"
},
{
"name": "source_flow_id",
"value": "",
"type": "query",
"description": "The original public flow ID"
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Update a message on a shared/public flow, scoped to the authenticated user."
},
{
"info": {
"name": "Update Message",
"type": "http"
},
"http": {
"method": "PUT",
"url": "{{baseUrl}}/api/v1/monitor/messages/:message_id",
"params": [
{
"name": "message_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 Message"
},
{
"info": {
"name": "Get Transactions",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/monitor/transactions",
"params": [
{
"name": "flow_id",
"value": "",
"type": "query"
},
{
"name": "page",
"value": "",
"type": "query",
"description": "Page number"
},
{
"name": "size",
"value": "",
"type": "query",
"description": "Page size"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Get Transactions"
}
]
}
],
"bundled": true
}