{
"opencollection": "1.0.0",
"info": {
"name": "Langflow Base Traces API",
"version": "1.9.0"
},
"items": [
{
"info": {
"name": "Traces",
"type": "folder"
},
"items": [
{
"info": {
"name": "Get Traces",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/monitor/traces",
"params": [
{
"name": "flow_id",
"value": "",
"type": "query"
},
{
"name": "session_id",
"value": "",
"type": "query"
},
{
"name": "status",
"value": "",
"type": "query"
},
{
"name": "query",
"value": "",
"type": "query"
},
{
"name": "start_time",
"value": "",
"type": "query"
},
{
"name": "end_time",
"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": "Get list of traces for a flow.
Args:
current_user: Authenticated user (required for authorization)
flow_id: Filter by flow ID
session_id: Filter by session ID
status: Filter by trace status
query: Search query for trace name/id/session id
start_time: Filter traces starting on/after this time (ISO)
end_time: Filter traces starting on/before this time (ISO)
page: Page number (1-based)
size: Page size
Returns:
List "
},
{
"info": {
"name": "Delete Traces By Flow",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/monitor/traces",
"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 all traces for a flow.
Args:
flow_id: The ID of the flow whose traces should be deleted.
current_user: The authenticated user (required for authorization)."
},
{
"info": {
"name": "Get Trace",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/monitor/traces/:trace_id",
"params": [
{
"name": "trace_id",
"value": "",
"type": "path"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Get a single trace with its hierarchical span tree.
Args:
trace_id: The ID of the trace to retrieve.
current_user: The authenticated user (required for authorization).
Returns:
TraceRead containing the trace and its hierarchical span tree."
},
{
"info": {
"name": "Delete Trace",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/monitor/traces/:trace_id",
"params": [
{
"name": "trace_id",
"value": "",
"type": "path"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete a trace and all its spans.
Args:
trace_id: The ID of the trace to delete.
current_user: The authenticated user (required for authorization)."
}
]
}
],
"bundled": true
}