docs: clarify available API endpoints and their use cases#9382
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughAdds an “Available endpoints” catalog with tabbed sections (Application development, Codebase contribution, Deprecated) to the API reference docs, enumerating v1/v2 FastAPI endpoints across multiple domains. Also updates bullet formatting in “Next steps.” No code or public API changes. Changes
Sequence Diagram(s)Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15–25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Actionable comments posted: 2
🔭 Outside diff range comments (2)
docs/docs/API-Reference/api-reference-api-examples.mdx (2)
1-4: Frontmatter missing required description fieldDocs under api-reference must include at least title and description. Add a concise description for SEO and consistency.
Apply this diff:
--- title: Get started with the Langflow API +description: Learn how to call Langflow API endpoints, set environment variables, and choose the right endpoint for your use case. slug: /api-reference-api-examples ---
129-134: Fix curl examples, duplicate export, and malformed run URL in docs/docs/API-Reference/api-reference-api-examples.mdxVerified the file — the examples contain concrete issues; apply the fixes below.
Problems to fix
- docs/docs/API-Reference/api-reference-api-examples.mdx
- Lines 94 & 98: duplicate
export LANGFLOW_API_KEY— remove the duplicate (keep a single export).- Line 95:
export LANGFLOW_SERVER_URL="https://localhost:7860"— base URL docs usehttp://localhost:7860; change tohttp://localhost:7860for local deployments (or ensure scheme matches actual deployment).- Line 102: malformed run URL —
"$LANGFLOW_SERVER_URL/api/v1/run/$FLOW_ID$?stream=false"has an extra$before?(remove the extra$).- Lines 132 and 156 (Get version / Get configuration examples): the
-H "accept: application/json"lines are missing trailing backslashes so the following-His treated as a separate command — add the continuation backslash.Suggested corrected snippets
Request: Get version
curl -X GET \ "$LANGFLOW_SERVER_URL/api/v1/version" \ -H "accept: application/json" \ -H "x-api-key: $LANGFLOW_API_KEY"Request: Get configuration
curl -X GET \ "$LANGFLOW_SERVER_URL/api/v1/config" \ -H "accept: application/json" \ -H "x-api-key: $LANGFLOW_API_KEY"Set environment variables
# Set environment variables export LANGFLOW_API_KEY="sk-..." export LANGFLOW_SERVER_URL="http://localhost:7860" export FLOW_ID="359cd752-07ea-46f2-9d3b-a4407ef618da" export PROJECT_ID="1415de42-8f01-4f36-bf34-539f23e47466"Use environment variables in API requests
curl --request POST \ --url "$LANGFLOW_SERVER_URL/api/v1/run/$FLOW_ID?stream=false" \ --header "Content-Type: application/json" \ --header "x-api-key: $LANGFLOW_API_KEY" \ --data '{ "input_value": "hello world!", "output_type": "chat", "input_type": "chat", "tweaks": { "ChatOutput-6zcZt": { "should_store_message": true } } }'
🧹 Nitpick comments (4)
docs/docs/API-Reference/api-reference-api-examples.mdx (4)
237-242: Punctuation and section-heading consistency (“API keys”)Align with the pattern used elsewhere (“Bold label.” then “See …”).
Apply this diff:
-* **API keys** See [API keys and authentication](/api-keys-and-authentication). +* **API keys**. See [API keys and authentication](/api-keys-and-authentication).
297-302: Punctuation and section-heading consistency (“Auth (login)”)Match the same style used for “Projects”, “Monitor”, “Build”, etc.
Apply this diff:
-* **Auth (login)** See [API keys and authentication](/api-keys-and-authentication). +* **Auth (login)**. See [API keys and authentication](/api-keys-and-authentication).
367-370: Tighten wording for parallelism and brevity in “Next steps”Reduce repetition and keep list items concise.
Apply this diff:
-* Use the Langflow API to [run a flow](/api-flows-run). -* Use the Langflow API to [upload files](/api-files). -* Use the Langflow API to [get flow logs](/api-logs). +* [Run a flow](/api-flows-run). +* [Upload files](/api-files). +* [Get flow logs](/api-logs).
22-23: Typo: “Langfow” → “Langflow”In the tip admonition, “Langfow API response” should be “Langflow API response”.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/docs/API-Reference/api-reference-api-examples.mdx(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
docs/docs/**/*.{md,mdx}
📄 CodeRabbit Inference Engine (.cursor/rules/docs_development.mdc)
docs/docs/**/*.{md,mdx}: All documentation content must be written in Markdown or MDX files located under docs/docs/, following the prescribed directory structure for guides, reference, how-to, concepts, and API documentation.
All documentation Markdown and MDX files must begin with a frontmatter block including at least title and description fields.
Use admonitions (:::tip, :::warning, :::danger) in Markdown/MDX files to highlight important information, warnings, or critical issues.
All images referenced in documentation must include descriptive alt text for accessibility.
All code examples included in documentation must be tested and verified to work as shown.
Internal links in documentation must be functional and not broken.
Content must follow the style guide: professional but approachable tone, second person voice, present tense, short paragraphs, sentence case headers, inline code with backticks, bold for UI elements, italic for emphasis, and parallel structure in lists.
Use consistent terminology: always capitalize Langflow, Component, Flow, and uppercase API and JSON.
Files:
docs/docs/API-Reference/api-reference-api-examples.mdx
🧠 Learnings (2)
📓 Common learnings
Learnt from: CR
PR: langflow-ai/langflow#0
File: .cursor/rules/docs_development.mdc:0-0
Timestamp: 2025-07-18T18:26:42.027Z
Learning: Applies to docs/docs/api-reference/**/*.{md,mdx} : API documentation pages must follow the provided template, including sections for Endpoint, Request, Response, and Example.
📚 Learning: 2025-07-18T18:26:42.027Z
Learnt from: CR
PR: langflow-ai/langflow#0
File: .cursor/rules/docs_development.mdc:0-0
Timestamp: 2025-07-18T18:26:42.027Z
Learning: Applies to docs/docs/api-reference/**/*.{md,mdx} : API documentation pages must follow the provided template, including sections for Endpoint, Request, Response, and Example.
Applied to files:
docs/docs/API-Reference/api-reference-api-examples.mdx
🪛 LanguageTool
docs/docs/API-Reference/api-reference-api-examples.mdx
[style] ~223-~223: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e}: Stream an image from a flow. * GET /v1/files/profile_pictures/{folder_nam...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~224-~224: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e}: Get a profile picture asset. * GET /v1/files/profile_pictures/list`: List...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~225-~225: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...available profile picture assets. * GET /v1/files/list/{flow_id}: List files ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~277-~277: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...lows/{flow_id}: Read a flow by ID. * GET /v1/flows/public_flow/{flow_id}`: Read...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~328-~328: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ownload a component from the Store. * GET /v1/store/tags: List Store tags. * ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~329-~329: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... /v1/store/tags: List Store tags. * GET /v1/store/users/likes: List component...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~345-~345: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...n that runs a flow and returns TTS. * WS `/v1/voice/ws/flow_tts/{flow_id}/{sessi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~369-~369: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ow API to upload files. * Use the Langflow API to [get flow logs](/ap...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: build-and-deploy
🔇 Additional comments (1)
docs/docs/API-Reference/api-reference-api-examples.mdx (1)
189-206: Good addition: clear “Available endpoints” framing and top-level guidanceThe intro explains the intent and points to the primary run/webhook use cases. The Tabs structure is appropriate for discoverability.
| <Tabs groupId="Usage"> | ||
| <TabItem value="Application development" label="Application development" default> | ||
|
|
||
| * **Base** | ||
| * GET `/v1/version`: Return Langflow version. See [Get version](/api-reference-api-examples#get-version). | ||
| * GET `/v1/config`: Return deployment configuration. See [Get configuration](/api-reference-api-examples#get-configuration). | ||
| * POST `/v1/run/{flow_id_or_name}`: Run a flow. See [Run flow](/api-flows-run#run-flow). | ||
| * POST `/v1/webhook/{flow_id_or_name}`: Trigger a flow via webhook payload. See [Webhook run flow](/api-flows-run#webhook-run-flow). | ||
|
|
||
| * **Projects**. See [Projects endpoints](/api-projects). | ||
| * POST `/v1/projects/`: Create a project. | ||
| * GET `/v1/projects/`: List projects. | ||
| * GET `/v1/projects/{project_id}`: Read a project (with paginated flows support). | ||
| * PATCH `/v1/projects/{project_id}`: Update project info and membership. | ||
| * DELETE `/v1/projects/{project_id}`: Delete a project. | ||
| * GET `/v1/projects/download/{project_id}`: Export all flows in a project as ZIP. | ||
| * POST `/v1/projects/upload/`: Import a project ZIP (creates project and flows). | ||
|
|
||
| * **Files**. See [Files endpoints](/api-files). | ||
| * Files (v1) | ||
| * POST `/v1/files/upload/{flow_id}`: Upload a file to a specific flow. | ||
| * GET `/v1/files/download/{flow_id}/{file_name}`: Download a file from a flow. | ||
| * GET `/v1/files/images/{flow_id}/{file_name}`: Stream an image from a flow. | ||
| * GET `/v1/files/profile_pictures/{folder_name}/{file_name}`: Get a profile picture asset. | ||
| * GET `/v1/files/profile_pictures/list`: List available profile picture assets. | ||
| * GET `/v1/files/list/{flow_id}`: List files for a flow. | ||
| * DELETE `/v1/files/delete/{flow_id}/{file_name}`: Delete a file from a flow. | ||
| * Files (v2) | ||
| * POST `/v2/files` (alias `/v2/files/`): Upload a file owned by the current user. | ||
| * GET `/v2/files` (alias `/v2/files/`): List files owned by the current user. | ||
| * DELETE `/v2/files/batch/`: Delete multiple files by IDs. | ||
| * POST `/v2/files/batch/`: Download multiple files as a ZIP by IDs. | ||
| * GET `/v2/files/{file_id}`: Download a file by ID (or return raw content internally). | ||
| * PUT `/v2/files/{file_id}`: Edit a file name by ID. | ||
| * DELETE `/v2/files/{file_id}`: Delete a file by ID. | ||
| * DELETE `/v2/files` (alias `/v2/files/`): Delete all files for the current user. | ||
|
|
||
| * **API keys** See [API keys and authentication](/api-keys-and-authentication). | ||
| * GET `/v1/api_key/`: List API keys for the current user. See [API keys and authentication](/api-keys-and-authentication). | ||
| * POST `/v1/api_key/`: Create a new API key. | ||
| * DELETE `/v1/api_key/{api_key_id}`: Delete an API key. | ||
| * POST `/v1/api_key/store`: Save an encrypted Store API key (cookie set). | ||
|
|
||
| * **Monitor**. See [Monitor endpoints](/api-monitor). | ||
| * GET `/v1/monitor/builds`: Get vertex builds for a flow. | ||
| * DELETE `/v1/monitor/builds`: Delete vertex builds for a flow. | ||
| * GET `/v1/monitor/messages/sessions`: List message session IDs (auth required). | ||
| * GET `/v1/monitor/messages`: List messages with optional filters. | ||
| * DELETE `/v1/monitor/messages`: Delete messages by IDs (auth required). | ||
| * PUT `/v1/monitor/messages/{message_id}`: Update a message. | ||
| * PATCH `/v1/monitor/messages/session/{old_session_id}`: Change a session ID for all messages in that session. | ||
| * DELETE `/v1/monitor/messages/session/{session_id}`: Delete messages by session. | ||
| * GET `/v1/monitor/transactions`: List transactions for a flow (paginated). | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Codebase contribution" label="Codebase contribution"> | ||
|
|
||
| * **Base (metadata)** | ||
| * GET `/v1/all`: Return all available Langflow component types. See [Get all components](/api-reference-api-examples#get-all-components). | ||
| * GET `/v1/version`: Return Langflow version. See [Get version](/api-reference-api-examples#get-version). | ||
| * GET `/v1/config`: Return deployment configuration. See [Get configuration](/api-reference-api-examples#get-configuration). | ||
| * POST `/v1/run/advanced/{flow_id}`: Advanced run with explicit `inputs`, `outputs`, `tweaks`, and optional `session_id`. | ||
|
|
||
| * **Build (internal editor support)**. See [Build endpoints](/api-build). | ||
| * POST `/v1/build/{flow_id}/flow`: Start a flow build and return a job ID. | ||
| * GET `/v1/build/{job_id}/events`: Stream or fetch build events. | ||
| * POST `/v1/build/{job_id}/cancel`: Cancel a build job. | ||
| * POST `/v1/build_public_tmp/{flow_id}/flow`: Build a public flow without auth. | ||
|
|
||
| * **Custom components** | ||
| * POST `/v1/custom_component`: Build a custom component from code and return its node. | ||
| * POST `/v1/custom_component/update`: Update an existing custom component’s build config and outputs. | ||
|
|
||
| * **Flows**. See [Flow management endpoints](/api-flows). | ||
| * POST `/v1/flows/`: Create a flow. | ||
| * GET `/v1/flows/`: List flows (supports pagination and filters). | ||
| * GET `/v1/flows/{flow_id}`: Read a flow by ID. | ||
| * GET `/v1/flows/public_flow/{flow_id}`: Read a public flow by ID. | ||
| * PATCH `/v1/flows/{flow_id}`: Update a flow. | ||
| * DELETE `/v1/flows/{flow_id}`: Delete a flow. | ||
| * POST `/v1/flows/batch/`: Create multiple flows. | ||
| * POST `/v1/flows/upload/`: Import flows from a JSON file. | ||
| * DELETE `/v1/flows/`: Delete multiple flows by IDs. | ||
| * POST `/v1/flows/download/`: Export flows to a ZIP file. | ||
| * GET `/v1/flows/basic_examples/`: List basic example flows. | ||
|
|
||
| * **Validate** | ||
| * POST `/v1/validate/code`: Validate a Python code snippet for a custom component. | ||
|
|
||
| * **Users**. See [Users endpoints](/api-users). | ||
| * POST `/v1/users/`: Add a user (superuser required when auth enabled). | ||
| * GET `/v1/users/whoami`: Return the current authenticated user. | ||
| * GET `/v1/users/`: List all users (superuser required). | ||
| * PATCH `/v1/users/{user_id}`: Update a user (with role checks). | ||
| * PATCH `/v1/users/{user_id}/reset-password`: Reset own password. | ||
| * DELETE `/v1/users/{user_id}`: Delete a user (cannot delete yourself). | ||
|
|
||
| * **Auth (login)** See [API keys and authentication](/api-keys-and-authentication). | ||
| * POST `/v1/login`: Login and set tokens as cookies. | ||
| * GET `/v1/auto_login`: Auto-login (if enabled) and set tokens. | ||
| * POST `/v1/refresh`: Refresh tokens using refresh cookie. | ||
| * POST `/v1/logout`: Logout and clear cookies. | ||
|
|
||
| * **MCP (global)** | ||
| * HEAD `/v1/mcp/sse`: Health check for MCP SSE. | ||
| * GET `/v1/mcp/sse`: Open SSE stream for MCP server events. | ||
| * POST `/v1/mcp/`: Post messages to the MCP server. | ||
|
|
||
| * **MCP (project-specific)** | ||
| * GET `/v1/mcp/project/{project_id}`: List MCP-enabled tools and project auth settings. | ||
| * HEAD `/v1/mcp/project/{project_id}/sse`: Health check for project SSE. | ||
| * GET `/v1/mcp/project/{project_id}/sse`: Open project-scoped MCP SSE. | ||
| * POST `/v1/mcp/project/{project_id}`: Post messages to project MCP server. | ||
| * POST `/v1/mcp/project/{project_id}/` (trailing slash): Same as above. | ||
| * PATCH `/v1/mcp/project/{project_id}`: Update MCP settings for flows and project auth settings. | ||
| * POST `/v1/mcp/project/{project_id}/install`: Install MCP client config for Cursor/Windsurf/Claude (local only). | ||
| * GET `/v1/mcp/project/{project_id}/installed`: Check which clients have MCP config installed. | ||
|
|
||
| * **Starter projects** | ||
| * GET `/v1/starter-projects/`: Return a list of starter projects. | ||
|
|
||
| * **Store (Components Store)** | ||
| * GET `/v1/store/check/`: Return whether the Store feature is enabled. | ||
| * GET `/v1/store/check/api_key`: Check if a Store API key exists and is valid. | ||
| * POST `/v1/store/components/`: Share a component to the Store. | ||
| * PATCH `/v1/store/components/{component_id}`: Update a shared component. | ||
| * GET `/v1/store/components/`: List available Store components (filters supported). | ||
| * GET `/v1/store/components/{component_id}`: Download a component from the Store. | ||
| * GET `/v1/store/tags`: List Store tags. | ||
| * GET `/v1/store/users/likes`: List components liked by the current user. | ||
| * POST `/v1/store/users/likes/{component_id}`: Like a component. | ||
|
|
||
| * **Validate** | ||
| * POST `/v1/validate/prompt`: Validate a prompt payload. | ||
|
|
||
| * **Variables** | ||
| * POST `/v1/variables/`: Create a variable (e.g., API keys) for the user. | ||
| * GET `/v1/variables/`: List variables for the user. | ||
| * PATCH `/v1/variables/{variable_id}`: Update a variable. | ||
| * DELETE `/v1/variables/{variable_id}`: Delete a variable. | ||
|
|
||
| * **Voice** | ||
| * WS `/v1/voice/ws/flow_as_tool/{flow_id}`: Bi-directional voice session exposing the flow as a tool. | ||
| * WS `/v1/voice/ws/flow_as_tool/{flow_id}/{session_id}`: Same as above with explicit session ID. | ||
| * WS `/v1/voice/ws/flow_tts/{flow_id}`: Voice-to-text session that runs a flow and returns TTS. | ||
| * WS `/v1/voice/ws/flow_tts/{flow_id}/{session_id}`: Same as above with explicit session ID. | ||
| * GET `/v1/voice/elevenlabs/voice_ids`: List available ElevenLabs voice IDs for the user. | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Deprecated" label="Deprecated"> | ||
|
|
||
| * **Base (deprecated)** | ||
| * POST `/v1/predict/{flow_id}`: Deprecated; use `/v1/run/{flow_id}` instead. See [Deprecated flow trigger endpoints](/api-flows-run#deprecated-flow-trigger-endpoints). | ||
| * POST `/v1/process/{flow_id}`: Deprecated; use `/v1/run/{flow_id}` instead. See [Deprecated flow trigger endpoints](/api-flows-run#deprecated-flow-trigger-endpoints). | ||
| * GET `/v1/task/{task_id}`: Deprecated task status endpoint. | ||
| * POST `/v1/upload/{flow_id}`: Deprecated file upload; see [/api-files](/api-files). | ||
|
|
||
| * **Build (deprecated)** | ||
| * POST `/v1/build/{flow_id}/vertices` (deprecated): Get vertices order for a flow. | ||
| * POST `/v1/build/{flow_id}/vertices/{vertex_id}` (deprecated): Build a single vertex. | ||
| * GET `/v1/build/{flow_id}/{vertex_id}/stream` (deprecated): Stream a single vertex. | ||
|
|
||
| </TabItem> | ||
| </Tabs> | ||
|
|
There was a problem hiding this comment.
💡 Verification agent
🧩 Analysis chain
Validate internal links referenced from this section
Several cross-links are introduced here. Let’s verify that the target slugs exist and anchors are present to avoid broken links in production docs.
Run this script to check linked slugs and anchors:
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Slugs to verify
SLUGS=(
"/api-flows-run"
"/api-flows"
"/api-files"
"/api-monitor"
"/api-build"
"/api-users"
"/api-keys-and-authentication"
"/api-projects"
"/api-logs"
"/api"
"/get-started-quickstart"
"/environment-variables"
"/concepts-publish"
)
echo "Verifying slugs exist in frontmatter..."
for s in "${SLUGS[@]}"; do
if rg -n --glob "docs/docs/**/*.md*" $'^---[\\s\\S]*?slug:\\s*'${s//\//\\/} --no-line-number > /dev/null; then
echo "OK slug found: $s"
else
echo "MISS slug not found: $s"
fi
done
# Verify specific anchors used in this file
# /api-projects#read-projects
API_PROJECTS_FILE=$(rg -n --glob "docs/docs/**/*.md*" $'^---[\\s\\S]*?slug:\\s*/api-projects\\s*$' -l | head -n1 || true)
if [[ -n "${API_PROJECTS_FILE:-}" ]]; then
if rg -n $'^#{1,6}\\s+Read projects' "$API_PROJECTS_FILE" > /dev/null; then
echo "OK anchor 'Read projects' exists in /api-projects"
else
echo "MISS anchor 'Read projects' not found in /api-projects"
fi
else
echo "MISS could not locate file for slug /api-projects"
fi
# Self-referencing links
if rg -n --glob "docs/docs/**/*.md*" $'^---[\\s\\S]*?slug:\\s*/api-reference-api-examples\\s*$' -l > /dev/null; then
echo "OK self slug exists: /api-reference-api-examples"
else
echo "MISS self slug not found: /api-reference-api-examples"
fiLength of output: 4940
🏁 Script executed:
#!/bin/bash
set -euo pipefail
SLUGS=(
"/api-flows-run"
"/api-flows"
"/api-files"
"/api-monitor"
"/api-build"
"/api-users"
"/api-keys-and-authentication"
"/api-projects"
"/api-logs"
"/api"
"/get-started-quickstart"
"/environment-variables"
"/concepts-publish"
)
echo "Verifying slugs exist in frontmatter..."
for s in "${SLUGS[@]}"; do
file=$(rg -l --glob 'docs/docs/**/*.{md,mdx}' -e "^slug:\\s*${s}\\s*$" | head -n1 || true)
if [[ -n "$file" ]]; then
echo "OK slug found: $s -> $file"
else
echo "MISS slug not found: $s"
fi
done
# Verify specific anchors used in this file (/api-projects#read-projects)
API_PROJECTS_FILE=$(rg -l --glob 'docs/docs/**/*.{md,mdx}' -e "^slug:\\s*/api-projects\\s*$" | head -n1 || true)
if [[ -n "${API_PROJECTS_FILE:-}" ]]; then
if rg -n -i -e '^#{1,6}\s+Read projects' "$API_PROJECTS_FILE" > /dev/null; then
echo "OK anchor 'Read projects' exists in /api-projects -> $API_PROJECTS_FILE"
elif rg -n -i -e '^#{1,6}\s+Read project' "$API_PROJECTS_FILE" > /dev/null; then
echo "OK anchor 'Read project' exists in /api-projects -> $API_PROJECTS_FILE"
else
echo "MISS anchor 'Read projects' not found in /api-projects -> $API_PROJECTS_FILE"
fi
else
echo "MISS could not locate file for slug /api-projects"
fi
# Self-referencing link (/api-reference-api-examples)
SELF_FILE=$(rg -l --glob 'docs/docs/**/*.{md,mdx}' -e "^slug:\\s*/api-reference-api-examples\\s*$" | head -n1 || true)
if [[ -n "${SELF_FILE:-}" ]]; then
echo "OK self slug exists: /api-reference-api-examples -> $SELF_FILE"
else
echo "MISS self slug not found: /api-reference-api-examples"
fiLength of output: 6017
Action: Fix missing /api slug referenced from API examples
Verified slugs referenced from docs/docs/API-Reference/api-reference-api-examples.mdx — all targets exist except /api. Anchor check: "Read projects" exists. Self slug exists.
-
Resolved (OK):
- /api-flows-run -> docs/docs/API-Reference/api-flows-run.mdx
- /api-flows -> docs/docs/API-Reference/api-flows.mdx
- /api-files -> docs/docs/API-Reference/api-files.mdx
- /api-monitor -> docs/docs/API-Reference/api-monitor.mdx
- /api-build -> docs/docs/API-Reference/api-build.mdx
- /api-users -> docs/docs/API-Reference/api-users.mdx
- /api-keys-and-authentication -> docs/docs/Configuration/api-keys-and-authentication.mdx
- /api-projects -> docs/docs/API-Reference/api-projects.mdx (anchor "Read projects" present)
- /api-logs -> docs/docs/API-Reference/api-logs.mdx
- /get-started-quickstart -> docs/docs/Get-Started/get-started-quickstart.mdx
- /environment-variables -> docs/docs/Configuration/environment-variables.mdx
- /concepts-publish -> docs/docs/Concepts/concepts-publish.mdx
- /api-reference-api-examples -> docs/docs/API-Reference/api-reference-api-examples.mdx (self slug)
-
Missing / action required:
- /api -> NOT FOUND — update the link(s) in docs/docs/API-Reference/api-reference-api-examples.mdx to a valid slug or add a page with slug /api.
Please address the /api link(s) (or confirm intended target) so the docs won’t contain a broken internal link.
🧰 Tools
🪛 LanguageTool
[style] ~223-~223: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e}: Stream an image from a flow. * GET /v1/files/profile_pictures/{folder_nam...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~224-~224: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e}: Get a profile picture asset. * GET /v1/files/profile_pictures/list`: List...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~225-~225: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...available profile picture assets. * GET /v1/files/list/{flow_id}: List files ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~277-~277: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...lows/{flow_id}: Read a flow by ID. * GET /v1/flows/public_flow/{flow_id}`: Read...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~328-~328: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ownload a component from the Store. * GET /v1/store/tags: List Store tags. * ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~329-~329: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... /v1/store/tags: List Store tags. * GET /v1/store/users/likes: List component...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~345-~345: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...n that runs a flow and returns TTS. * WS `/v1/voice/ws/flow_tts/{flow_id}/{sessi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
🤖 Prompt for AI Agents
In docs/docs/API-Reference/api-reference-api-examples.mdx around lines 200 to
364 there are internal links pointing to the missing slug "/api"; locate every
occurrence of "/api" in this section and either (A) replace each with the
intended existing slug (e.g., a specific API reference page such as
/api-reference-api-examples or another accurate target) or (B) if the intent was
a top-level API landing page, create a new docs page with the slug /api and add
the appropriate anchors; after changes, run the local docs link-checker to
ensure no broken internal links remain.
There was a problem hiding this comment.
Actionable comments posted: 1
🔭 Outside diff range comments (5)
docs/docs/API-Reference/api-reference-api-examples.mdx (5)
1-4: Add required frontmatter descriptionAPI docs must include at least title and description in the frontmatter. Add a concise description to comply with the docs guideline.
--- title: Get started with the Langflow API slug: /api-reference-api-examples +description: Learn how to call the Langflow API, set environment variables, and see available endpoints grouped by use case. ---
93-99: Clean up environment variable setup (duplicate key and scheme consistency)
- LANGFLOW_API_KEY is exported twice; keep a single export.
- Prefer http in the quickstart to match the base URL guidance above (localhost typically serves HTTP).
# Set environment variables -export LANGFLOW_API_KEY="sk..." -export LANGFLOW_SERVER_URL="https://localhost:7860" +export LANGFLOW_SERVER_URL="http://localhost:7860" export FLOW_ID="359cd752-07ea-46f2-9d3b-a4407ef618da" export PROJECT_ID="1415de42-8f01-4f36-bf34-539f23e47466" export LANGFLOW_API_KEY="sk-..."
100-105: Fix malformed curl URL (extra “$” before query string)The extra “$” breaks the request.
curl --request POST \ - --url "$LANGFLOW_SERVER_URL/api/v1/run/$FLOW_ID$?stream=false" \ + --url "$LANGFLOW_SERVER_URL/api/v1/run/$FLOW_ID?stream=false" \ --header "Content-Type: application/json" \ --header "x-api-key: $LANGFLOW_API_KEY" \
130-134: Add missing line continuation in curl exampleWithout a trailing backslash at Line 132, the next -H becomes a separate (invalid) shell command.
curl -X GET \ "$LANGFLOW_SERVER_URL/api/v1/version" \ - -H "accept: application/json" + -H "accept: application/json" \ -H "x-api-key: $LANGFLOW_API_KEY"
154-158: Add missing line continuation in curl exampleSame issue as above; the last header must be part of the same command.
curl -X GET \ "$LANGFLOW_SERVER_URL/api/v1/config" \ - -H "accept: application/json" + -H "accept: application/json" \ -H "x-api-key: $LANGFLOW_API_KEY"
🧹 Nitpick comments (5)
docs/docs/API-Reference/api-reference-api-examples.mdx (5)
22-22: Fix typo: “Langfow” → “Langflow”Spelling error in the sentence referencing the API response.
-The quickstart demonstrates how to get automatically generated code snippets for your flows, use a script to run a flow, and extract data from the Langfow API response. +The quickstart demonstrates how to get automatically generated code snippets for your flows, use a script to run a flow, and extract data from the Langflow API response.
139-146: Use proper JSON code fence for JSON resultSwitch the code block language from text to json for correct highlighting and clarity.
-```text +```json { "version": "1.1.1", "main_version": "1.1.1", "package": "Langflow" }--- `178-186`: **Capitalize “Components” per style guide** Style guide: always capitalize Component. Update the sentence accordingly. ```diff -Returns a dictionary of all Langflow components: +Returns a dictionary of all Langflow Components:
237-242: Punctuation fix for section lead-inMinor grammar for consistency with similar sections.
-* **API keys** See [API keys and authentication](/api-keys-and-authentication). +* **API keys.** See [API keys and authentication](/api-keys-and-authentication).
189-364: Future-proofing: risk of drift vs. OpenAPI specEnumerating endpoints is valuable, but it can drift from the live OpenAPI schema. Consider adding a short note at the start of this section reminding readers that the /docs OpenAPI spec is canonical and may be more up to date.
Proposed addition near Line 191:
Langflow exposes many FastAPI endpoints because the API mirrors everything the platform does, not just running flows. +Note: The OpenAPI specification at your deployment’s /docs endpoint is the canonical source of truth and may change more frequently than this page.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/docs/API-Reference/api-reference-api-examples.mdx(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
docs/docs/**/*.{md,mdx}
📄 CodeRabbit Inference Engine (.cursor/rules/docs_development.mdc)
docs/docs/**/*.{md,mdx}: All documentation content must be written in Markdown or MDX files located under docs/docs/, following the prescribed directory structure for guides, reference, how-to, concepts, and API documentation.
All documentation Markdown and MDX files must begin with a frontmatter block including at least title and description fields.
Use admonitions (:::tip, :::warning, :::danger) in Markdown/MDX files to highlight important information, warnings, or critical issues.
All images referenced in documentation must include descriptive alt text for accessibility.
All code examples included in documentation must be tested and verified to work as shown.
Internal links in documentation must be functional and not broken.
Content must follow the style guide: professional but approachable tone, second person voice, present tense, short paragraphs, sentence case headers, inline code with backticks, bold for UI elements, italic for emphasis, and parallel structure in lists.
Use consistent terminology: always capitalize Langflow, Component, Flow, and uppercase API and JSON.
Files:
docs/docs/API-Reference/api-reference-api-examples.mdx
🧠 Learnings (1)
📚 Learning: 2025-07-18T18:26:42.027Z
Learnt from: CR
PR: langflow-ai/langflow#0
File: .cursor/rules/docs_development.mdc:0-0
Timestamp: 2025-07-18T18:26:42.027Z
Learning: Applies to docs/docs/api-reference/**/*.{md,mdx} : API documentation pages must follow the provided template, including sections for Endpoint, Request, Response, and Example.
Applied to files:
docs/docs/API-Reference/api-reference-api-examples.mdx
🪛 LanguageTool
docs/docs/API-Reference/api-reference-api-examples.mdx
[style] ~223-~223: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e}: Stream an image from a flow. * GET /v1/files/profile_pictures/{folder_nam...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~224-~224: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e}: Get a profile picture asset. * GET /v1/files/profile_pictures/list`: List...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~225-~225: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...available profile picture assets. * GET /v1/files/list/{flow_id}: List files ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[grammar] ~237-~237: There might be a mistake here.
Context: ...tication](/api-keys-and-authentication). * GET /v1/api_key/: List API keys for th...
(QB_NEW_EN)
[style] ~277-~277: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...lows/{flow_id}: Read a flow by ID. * GET /v1/flows/public_flow/{flow_id}`: Read...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[grammar] ~286-~286: There might be a mistake here.
Context: ... List basic example flows. * Validate * POST /v1/validate/code: Validate a Pyt...
(QB_NEW_EN)
[grammar] ~312-~312: There might be a mistake here.
Context: ...cp/project/{project_id}: Post messages to project MCP server. * POST /v1/mcp/p...
(QB_NEW_EN)
[grammar] ~312-~312: There might be a mistake here.
Context: ...}: Post messages to project MCP server. * POST /v1/mcp/project/{project_id}/` (tr...
(QB_NEW_EN)
[grammar] ~318-~318: There might be a mistake here.
Context: ... config installed. * Starter projects * GET /v1/starter-projects/: Return a li...
(QB_NEW_EN)
[grammar] ~321-~321: There might be a mistake here.
Context: ... projects. * Store (Components Store) * GET /v1/store/check/: Return whether t...
(QB_NEW_EN)
[grammar] ~322-~322: There might be a mistake here.
Context: ...rn whether the Store feature is enabled. * GET /v1/store/check/api_key: Check if ...
(QB_NEW_EN)
[grammar] ~323-~323: There might be a mistake here.
Context: ... if a Store API key exists and is valid. * POST /v1/store/components/: Share a co...
(QB_NEW_EN)
[grammar] ~324-~324: There might be a mistake here.
Context: ...nents/: Share a component to the Store. * PATCH /v1/store/components/{component_i...
(QB_NEW_EN)
[grammar] ~326-~326: There might be a mistake here.
Context: ...le Store components (filters supported). * GET `/v1/store/components/{component_id}...
(QB_NEW_EN)
[grammar] ~327-~327: There might be a mistake here.
Context: ...}: Download a component from the Store. * GET /v1/store/tags`: List Store tags. ...
(QB_NEW_EN)
[style] ~328-~328: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ownload a component from the Store. * GET /v1/store/tags: List Store tags. * ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[grammar] ~328-~328: There might be a mistake here.
Context: ...* GET /v1/store/tags: List Store tags. * GET /v1/store/users/likes: List compon...
(QB_NEW_EN)
[style] ~329-~329: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... /v1/store/tags: List Store tags. * GET /v1/store/users/likes: List component...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[grammar] ~332-~332: There might be a mistake here.
Context: ...nt_id}: Like a component. * **Validate** * POST /v1/validate/prompt`: Validate a p...
(QB_NEW_EN)
[style] ~345-~345: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...n that runs a flow and returns TTS. * WS `/v1/voice/ws/flow_tts/{flow_id}/{sessi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~369-~369: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ow API to upload files. * Use the Langflow API to [get flow logs](/ap...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
🔇 Additional comments (1)
docs/docs/API-Reference/api-reference-api-examples.mdx (1)
189-206: Strong addition: clear endpoint catalog and use-case tabsThe new “Available endpoints” section, structured by application development vs. codebase contribution and deprecated, greatly improves discoverability. Good use of Tabs/TabItem and cross-links to focused pages.
| <Tabs groupId="Usage"> | ||
| <TabItem value="Application development" label="Application development" default> | ||
|
|
||
| * **Base** | ||
| * GET `/v1/version`: Return Langflow version. See [Get version](/api-reference-api-examples#get-version). | ||
| * GET `/v1/config`: Return deployment configuration. See [Get configuration](/api-reference-api-examples#get-configuration). | ||
| * POST `/v1/run/{flow_id_or_name}`: Run a flow. See [Run flow](/api-flows-run#run-flow). | ||
| * POST `/v1/webhook/{flow_id_or_name}`: Trigger a flow via webhook payload. See [Webhook run flow](/api-flows-run#webhook-run-flow). | ||
|
|
||
| * **Projects**. See [Projects endpoints](/api-projects). | ||
| * POST `/v1/projects/`: Create a project. | ||
| * GET `/v1/projects/`: List projects. | ||
| * GET `/v1/projects/{project_id}`: Read a project (with paginated flows support). | ||
| * PATCH `/v1/projects/{project_id}`: Update project info and membership. | ||
| * DELETE `/v1/projects/{project_id}`: Delete a project. | ||
| * GET `/v1/projects/download/{project_id}`: Export all flows in a project as ZIP. | ||
| * POST `/v1/projects/upload/`: Import a project ZIP (creates project and flows). | ||
|
|
||
| * **Files**. See [Files endpoints](/api-files). | ||
| * Files (v1) | ||
| * POST `/v1/files/upload/{flow_id}`: Upload a file to a specific flow. | ||
| * GET `/v1/files/download/{flow_id}/{file_name}`: Download a file from a flow. | ||
| * GET `/v1/files/images/{flow_id}/{file_name}`: Stream an image from a flow. | ||
| * GET `/v1/files/profile_pictures/{folder_name}/{file_name}`: Get a profile picture asset. | ||
| * GET `/v1/files/profile_pictures/list`: List available profile picture assets. | ||
| * GET `/v1/files/list/{flow_id}`: List files for a flow. | ||
| * DELETE `/v1/files/delete/{flow_id}/{file_name}`: Delete a file from a flow. | ||
| * Files (v2) | ||
| * POST `/v2/files` (alias `/v2/files/`): Upload a file owned by the current user. | ||
| * GET `/v2/files` (alias `/v2/files/`): List files owned by the current user. | ||
| * DELETE `/v2/files/batch/`: Delete multiple files by IDs. | ||
| * POST `/v2/files/batch/`: Download multiple files as a ZIP by IDs. | ||
| * GET `/v2/files/{file_id}`: Download a file by ID (or return raw content internally). | ||
| * PUT `/v2/files/{file_id}`: Edit a file name by ID. | ||
| * DELETE `/v2/files/{file_id}`: Delete a file by ID. | ||
| * DELETE `/v2/files` (alias `/v2/files/`): Delete all files for the current user. | ||
|
|
||
| * **API keys** See [API keys and authentication](/api-keys-and-authentication). | ||
| * GET `/v1/api_key/`: List API keys for the current user. See [API keys and authentication](/api-keys-and-authentication). | ||
| * POST `/v1/api_key/`: Create a new API key. | ||
| * DELETE `/v1/api_key/{api_key_id}`: Delete an API key. | ||
| * POST `/v1/api_key/store`: Save an encrypted Store API key (cookie set). | ||
|
|
||
| * **Monitor**. See [Monitor endpoints](/api-monitor). | ||
| * GET `/v1/monitor/builds`: Get vertex builds for a flow. | ||
| * DELETE `/v1/monitor/builds`: Delete vertex builds for a flow. | ||
| * GET `/v1/monitor/messages/sessions`: List message session IDs (auth required). | ||
| * GET `/v1/monitor/messages`: List messages with optional filters. | ||
| * DELETE `/v1/monitor/messages`: Delete messages by IDs (auth required). | ||
| * PUT `/v1/monitor/messages/{message_id}`: Update a message. | ||
| * PATCH `/v1/monitor/messages/session/{old_session_id}`: Change a session ID for all messages in that session. | ||
| * DELETE `/v1/monitor/messages/session/{session_id}`: Delete messages by session. | ||
| * GET `/v1/monitor/transactions`: List transactions for a flow (paginated). | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Codebase contribution" label="Codebase contribution"> | ||
|
|
||
| * **Base (metadata)** | ||
| * GET `/v1/all`: Return all available Langflow component types. See [Get all components](/api-reference-api-examples#get-all-components). | ||
| * GET `/v1/version`: Return Langflow version. See [Get version](/api-reference-api-examples#get-version). | ||
| * GET `/v1/config`: Return deployment configuration. See [Get configuration](/api-reference-api-examples#get-configuration). | ||
| * POST `/v1/run/advanced/{flow_id}`: Advanced run with explicit `inputs`, `outputs`, `tweaks`, and optional `session_id`. | ||
|
|
||
| * **Build (internal editor support)**. See [Build endpoints](/api-build). | ||
| * POST `/v1/build/{flow_id}/flow`: Start a flow build and return a job ID. | ||
| * GET `/v1/build/{job_id}/events`: Stream or fetch build events. | ||
| * POST `/v1/build/{job_id}/cancel`: Cancel a build job. | ||
| * POST `/v1/build_public_tmp/{flow_id}/flow`: Build a public flow without auth. | ||
|
|
||
| * **Custom components** | ||
| * POST `/v1/custom_component`: Build a custom component from code and return its node. | ||
| * POST `/v1/custom_component/update`: Update an existing custom component’s build config and outputs. | ||
|
|
||
| * **Flows**. See [Flow management endpoints](/api-flows). | ||
| * POST `/v1/flows/`: Create a flow. | ||
| * GET `/v1/flows/`: List flows (supports pagination and filters). | ||
| * GET `/v1/flows/{flow_id}`: Read a flow by ID. | ||
| * GET `/v1/flows/public_flow/{flow_id}`: Read a public flow by ID. | ||
| * PATCH `/v1/flows/{flow_id}`: Update a flow. | ||
| * DELETE `/v1/flows/{flow_id}`: Delete a flow. | ||
| * POST `/v1/flows/batch/`: Create multiple flows. | ||
| * POST `/v1/flows/upload/`: Import flows from a JSON file. | ||
| * DELETE `/v1/flows/`: Delete multiple flows by IDs. | ||
| * POST `/v1/flows/download/`: Export flows to a ZIP file. | ||
| * GET `/v1/flows/basic_examples/`: List basic example flows. | ||
|
|
||
| * **Validate** | ||
| * POST `/v1/validate/code`: Validate a Python code snippet for a custom component. | ||
|
|
||
| * **Users**. See [Users endpoints](/api-users). | ||
| * POST `/v1/users/`: Add a user (superuser required when auth enabled). | ||
| * GET `/v1/users/whoami`: Return the current authenticated user. | ||
| * GET `/v1/users/`: List all users (superuser required). | ||
| * PATCH `/v1/users/{user_id}`: Update a user (with role checks). | ||
| * PATCH `/v1/users/{user_id}/reset-password`: Reset own password. | ||
| * DELETE `/v1/users/{user_id}`: Delete a user (cannot delete yourself). | ||
|
|
||
| * **Auth (login)** See [API keys and authentication](/api-keys-and-authentication). | ||
| * POST `/v1/login`: Login and set tokens as cookies. | ||
| * GET `/v1/auto_login`: Auto-login (if enabled) and set tokens. | ||
| * POST `/v1/refresh`: Refresh tokens using refresh cookie. | ||
| * POST `/v1/logout`: Logout and clear cookies. | ||
|
|
||
| * **MCP (global)** | ||
| * HEAD `/v1/mcp/sse`: Health check for MCP SSE. | ||
| * GET `/v1/mcp/sse`: Open SSE stream for MCP server events. | ||
| * POST `/v1/mcp/`: Post messages to the MCP server. | ||
|
|
||
| * **MCP (project-specific)** | ||
| * GET `/v1/mcp/project/{project_id}`: List MCP-enabled tools and project auth settings. | ||
| * HEAD `/v1/mcp/project/{project_id}/sse`: Health check for project SSE. | ||
| * GET `/v1/mcp/project/{project_id}/sse`: Open project-scoped MCP SSE. | ||
| * POST `/v1/mcp/project/{project_id}`: Post messages to project MCP server. | ||
| * POST `/v1/mcp/project/{project_id}/` (trailing slash): Same as above. | ||
| * PATCH `/v1/mcp/project/{project_id}`: Update MCP settings for flows and project auth settings. | ||
| * POST `/v1/mcp/project/{project_id}/install`: Install MCP client config for Cursor/Windsurf/Claude (local only). | ||
| * GET `/v1/mcp/project/{project_id}/installed`: Check which clients have MCP config installed. | ||
|
|
||
| * **Starter projects** | ||
| * GET `/v1/starter-projects/`: Return a list of starter projects. | ||
|
|
||
| * **Store (Components Store)** | ||
| * GET `/v1/store/check/`: Return whether the Store feature is enabled. | ||
| * GET `/v1/store/check/api_key`: Check if a Store API key exists and is valid. | ||
| * POST `/v1/store/components/`: Share a component to the Store. | ||
| * PATCH `/v1/store/components/{component_id}`: Update a shared component. | ||
| * GET `/v1/store/components/`: List available Store components (filters supported). | ||
| * GET `/v1/store/components/{component_id}`: Download a component from the Store. | ||
| * GET `/v1/store/tags`: List Store tags. | ||
| * GET `/v1/store/users/likes`: List components liked by the current user. | ||
| * POST `/v1/store/users/likes/{component_id}`: Like a component. | ||
|
|
||
| * **Validate** | ||
| * POST `/v1/validate/prompt`: Validate a prompt payload. | ||
|
|
||
| * **Variables** | ||
| * POST `/v1/variables/`: Create a variable (e.g., API keys) for the user. | ||
| * GET `/v1/variables/`: List variables for the user. | ||
| * PATCH `/v1/variables/{variable_id}`: Update a variable. | ||
| * DELETE `/v1/variables/{variable_id}`: Delete a variable. | ||
|
|
||
| * **Voice** | ||
| * WS `/v1/voice/ws/flow_as_tool/{flow_id}`: Bi-directional voice session exposing the flow as a tool. | ||
| * WS `/v1/voice/ws/flow_as_tool/{flow_id}/{session_id}`: Same as above with explicit session ID. | ||
| * WS `/v1/voice/ws/flow_tts/{flow_id}`: Voice-to-text session that runs a flow and returns TTS. | ||
| * WS `/v1/voice/ws/flow_tts/{flow_id}/{session_id}`: Same as above with explicit session ID. | ||
| * GET `/v1/voice/elevenlabs/voice_ids`: List available ElevenLabs voice IDs for the user. | ||
|
|
||
| </TabItem> | ||
| <TabItem value="Deprecated" label="Deprecated"> | ||
|
|
||
| * **Base (deprecated)** | ||
| * POST `/v1/predict/{flow_id}`: Deprecated; use `/v1/run/{flow_id}` instead. See [Deprecated flow trigger endpoints](/api-flows-run#deprecated-flow-trigger-endpoints). | ||
| * POST `/v1/process/{flow_id}`: Deprecated; use `/v1/run/{flow_id}` instead. See [Deprecated flow trigger endpoints](/api-flows-run#deprecated-flow-trigger-endpoints). | ||
| * GET `/v1/task/{task_id}`: Deprecated task status endpoint. | ||
| * POST `/v1/upload/{flow_id}`: Deprecated file upload; see [/api-files](/api-files). | ||
|
|
||
| * **Build (deprecated)** | ||
| * POST `/v1/build/{flow_id}/vertices` (deprecated): Get vertices order for a flow. | ||
| * POST `/v1/build/{flow_id}/vertices/{vertex_id}` (deprecated): Build a single vertex. | ||
| * GET `/v1/build/{flow_id}/{vertex_id}/stream` (deprecated): Stream a single vertex. | ||
|
|
||
| </TabItem> | ||
| </Tabs> | ||
|
|
There was a problem hiding this comment.
💡 Verification agent
🧩 Analysis chain
Validate all internal links exist to avoid 404s
Given the breadth of links introduced here, please verify that each referenced slug exists in the docs. The script below checks for pages with matching slug frontmatter.
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Slugs referenced in this page
slugs=(
"/get-started-quickstart"
"/environment-variables"
"/api-projects"
"/api-files"
"/api-keys-and-authentication"
"/api-flows-run"
"/api-flows"
"/api-build"
"/api-users"
"/api-monitor"
"/api-logs"
"/api"
)
missing=0
for s in "${slugs[@]}"; do
# Look for exact slug frontmatter in repo
if ! rg -n --no-messages "^\s*slug:\s*${s}\s*$" > /dev/null; then
echo "Missing slug page for: ${s}"
missing=1
fi
done
if [ $missing -eq 0 ]; then
echo "All referenced slugs are present."
else
echo "Some slugs appear missing. Please confirm redirects or add the pages."
fiLength of output: 1443
Action required — missing doc slug /api referenced in API examples
I ran the slug-check script; all referenced slugs exist except /api.
- Affected file: docs/docs/API-Reference/api-reference-api-examples.mdx (lines 200–364) — referenced slug: /api — no matching frontmatter found in the repo.
Please either:
- Add a page with frontmatter
slug: /api, or - Update the link in the file to the correct existing slug, or
- Add a redirect from
/apito the intended page.
🧰 Tools
🪛 LanguageTool
[style] ~223-~223: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e}: Stream an image from a flow. * GET /v1/files/profile_pictures/{folder_nam...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~224-~224: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e}: Get a profile picture asset. * GET /v1/files/profile_pictures/list`: List...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~225-~225: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...available profile picture assets. * GET /v1/files/list/{flow_id}: List files ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[grammar] ~237-~237: There might be a mistake here.
Context: ...tication](/api-keys-and-authentication). * GET /v1/api_key/: List API keys for th...
(QB_NEW_EN)
[style] ~277-~277: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...lows/{flow_id}: Read a flow by ID. * GET /v1/flows/public_flow/{flow_id}`: Read...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[grammar] ~286-~286: There might be a mistake here.
Context: ... List basic example flows. * Validate * POST /v1/validate/code: Validate a Pyt...
(QB_NEW_EN)
[grammar] ~312-~312: There might be a mistake here.
Context: ...cp/project/{project_id}: Post messages to project MCP server. * POST /v1/mcp/p...
(QB_NEW_EN)
[grammar] ~312-~312: There might be a mistake here.
Context: ...}: Post messages to project MCP server. * POST /v1/mcp/project/{project_id}/` (tr...
(QB_NEW_EN)
[grammar] ~318-~318: There might be a mistake here.
Context: ... config installed. * Starter projects * GET /v1/starter-projects/: Return a li...
(QB_NEW_EN)
[grammar] ~321-~321: There might be a mistake here.
Context: ... projects. * Store (Components Store) * GET /v1/store/check/: Return whether t...
(QB_NEW_EN)
[grammar] ~322-~322: There might be a mistake here.
Context: ...rn whether the Store feature is enabled. * GET /v1/store/check/api_key: Check if ...
(QB_NEW_EN)
[grammar] ~323-~323: There might be a mistake here.
Context: ... if a Store API key exists and is valid. * POST /v1/store/components/: Share a co...
(QB_NEW_EN)
[grammar] ~324-~324: There might be a mistake here.
Context: ...nents/: Share a component to the Store. * PATCH /v1/store/components/{component_i...
(QB_NEW_EN)
[grammar] ~326-~326: There might be a mistake here.
Context: ...le Store components (filters supported). * GET `/v1/store/components/{component_id}...
(QB_NEW_EN)
[grammar] ~327-~327: There might be a mistake here.
Context: ...}: Download a component from the Store. * GET /v1/store/tags`: List Store tags. ...
(QB_NEW_EN)
[style] ~328-~328: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ownload a component from the Store. * GET /v1/store/tags: List Store tags. * ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[grammar] ~328-~328: There might be a mistake here.
Context: ...* GET /v1/store/tags: List Store tags. * GET /v1/store/users/likes: List compon...
(QB_NEW_EN)
[style] ~329-~329: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... /v1/store/tags: List Store tags. * GET /v1/store/users/likes: List component...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[grammar] ~332-~332: There might be a mistake here.
Context: ...nt_id}: Like a component. * **Validate** * POST /v1/validate/prompt`: Validate a p...
(QB_NEW_EN)
[style] ~345-~345: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...n that runs a flow and returns TTS. * WS `/v1/voice/ws/flow_tts/{flow_id}/{sessi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
🤖 Prompt for AI Agents
In docs/docs/API-Reference/api-reference-api-examples.mdx around lines 200–364,
the file references the slug "/api" which does not exist in the repo; either
create a new docs page that contains frontmatter with slug: /api (add title and
content or a redirect meta), or update the markdown links in this file to point
to the correct existing slug(s) (search for the intended target and replace /api
with that slug), or add a redirect rule from /api to the intended page in your
site config/redirects; locate all occurrences of "/api" in this range, choose
one of the three options, and apply the change so the link resolves.
This comment has been minimized.
This comment has been minimized.
|
|
Build successful! ✅ |
* update-file-size-limit-to-1024-mb * docs: clarify available API endpoints and their use cases (#9382) * available-endpoints * asterisk * structure-into-tabs-and-confirm-login-endpoint * reorg and clarify some usage --------- Co-authored-by: April M <april.murphy@datastax.com> --------- Co-authored-by: April M <april.murphy@datastax.com>
* available-endpoints * asterisk * structure-into-tabs-and-confirm-login-endpoint * reorg and clarify some usage --------- Co-authored-by: April M <april.murphy@datastax.com>
* available-endpoints * asterisk * structure-into-tabs-and-confirm-login-endpoint * reorg and clarify some usage --------- Co-authored-by: April M <april.murphy@datastax.com>
* update-file-size-limit-to-1024-mb * docs: clarify available API endpoints and their use cases (langflow-ai#9382) * available-endpoints * asterisk * structure-into-tabs-and-confirm-login-endpoint * reorg and clarify some usage --------- Co-authored-by: April M <april.murphy@datastax.com> --------- Co-authored-by: April M <april.murphy@datastax.com>
* docs: update file size limit to 1024 mb (#9397) * update-file-size-limit-to-1024-mb * docs: clarify available API endpoints and their use cases (#9382) * available-endpoints * asterisk * structure-into-tabs-and-confirm-login-endpoint * reorg and clarify some usage --------- Co-authored-by: April M <april.murphy@datastax.com> --------- Co-authored-by: April M <april.murphy@datastax.com> * add-lfx-kb-agent-struct-out * update-release-notes * docs: docling integration into file component (#9481) * init * ui-package-manager * more-content * components-page * dependency-included-for-1.6 * remove-package-management-feature * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * clarify-file-extension-behavior * config-dir-not-in-1.6 * clarify-outputs * add-links-andupdate-parameters * more-params * clarify-supported-filetypes * installation-in-bundle * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * Apply suggestions from code review --------- Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * docs: Traceloop SDK integration documentation (#9514) * Added documentation file for langflow-traceloop-instana integration * updated sidebar.js * Updated documentation with metrics integration instructions * Update docs/docs/Integrations/integrations-instana-traceloop.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update docs/docs/Integrations/integrations-instana-traceloop.mdx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * update doc * Format correction * Formatting correction * Updated Slug title * style-edit * Split configure environment variables into steps * Formatted as per Google developer style guide * Update docs/docs/Integrations/integrations-instana-traceloop.mdx Co-authored-by: Edwin Jose <edwinjose900@gmail.com> * More context added on OTLP security * Added screenshots of Instana dashboards * Updated as per the review comments * Update docs/docs/Integrations/integrations-instana-traceloop.mdx Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> * Update docs/docs/Integrations/integrations-instana-traceloop.mdx Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> * Update docs/docs/Integrations/integrations-instana-traceloop.mdx Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> * Update docs/docs/Integrations/integrations-instana-traceloop.mdx Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> * updated refer documentation links --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> Co-authored-by: Edwin Jose <edwinjose900@gmail.com> * docling-and-traceloop-links-for-release-notes-remove-duplicates * traceloop-touchup * add-component-release-notes * docs: 1.6 knowledge base feature (#9381) * sidebars-and-content * add-kb-components * completed-basic-outline * updates-and-new-names * kb-tutorial-content * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * move-component-docs-to-main-page * code-review * reorganize-content * add-link-to-agents * fix links, create components-kb * move and revise kb content * missing import --------- Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> Co-authored-by: April M <april.murphy@datastax.com> * docs: Component documentation updates for 1.6.0 (#9627) * bundles icon * component menu and bundle icons * mcp icon extension * more bundle icon * workspace gestures and locking * mcp server stuff * fix typo and move serper component * g-assist edit * simplify hidden param text and update cohere * amazon components * nvidia system assist * use partial for hidden param text * fix import, add partial for agent summary * style changes to prep for separating vector page * rework llm and embedding model pages * handle legacy components * remove memories page * tools page * applied partials to vector stores before moving * move redis and ds, fix links * astra db component updates * c vector stores * traceloop copyedits * advanced parsing * elastic page and ocr engine edit * q-w vector stores * rest of vector stores * fix build errors * Revert "mcp icon extension" This reverts commit 4d15827. * unused imports and build errors * build errors * better icon reference * tip edits * fixing after preview * more touchup * small style edits for ts client page * replicate pr 9676 * fix style * KB comments * Update docs/docs/Components/bundles-mongodb.mdx Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> --------- Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> * add deprecated component to release notes * knowledge and message history * wording * legacy components * capitalization * docs: OpenAI responses endpoint (#9539) * init * more-content-and-examples * cleanup * add-response-tabs-and-streaming-example * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * requires-agent-component-to-emit-message * [autofix.ci] apply automated fixes * test-and-explain-more * global-var-and-fallback * bash-not-curl-codeblock * tighten-up-intro-para * add-entry-to-concepts-publish-page * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * fix-merge-mistake * flow-id-or-endpoint-name * reformat * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * standardize-table-codefont --------- Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * fix build * code rabbit comments * docs: remove knowledge base content from 1.6 (#9784) * remove-kb-content * broken links * random change to restart build --------- Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> Co-authored-by: April M <april.murphy@datastax.com> * docs: update composio bundle page (#9442) * update-composio-integrations * update-doc-to-be-general * trailing-space * add-tool-script * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * global-variable * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * reorder-steps-and-move-script * clarify-connection * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * tools slug/name * test composio steps * remove unnecessary import * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> --------- Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: April M <april.murphy@datastax.com> * chore: small misses and sync with 9-Sep-25 release build (#9792) * io page * fix slug * custom models and canvas controls * message history * composio slack * move a flow * vlm option for docling * docs: add oauth for mcp (#9626) * oauth-and-none-options * mcp-composer-for-server * updates-from-testing * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * clarify-client-update * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * code-review * clarify-oauth-values * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * code-review * double-words --------- Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * docs: include guidance for openai client dummy key (#9871) * test-client-calls * less-prose * clearer-intro * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * remove-indentation-and-correct-example-key-value * comment-syntax --------- Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * docs: mcp tools troubleshooting (#9866) * move-mcp-troubleshooting-from-server-page-and-add-issue * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> --------- Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> * docs: auth changes (#9731) * initial-content * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * code-review * Apply suggestions from code review --------- Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> * docs: CORS configuration (#9773) * initial-content * title * clarify-default * cleanup * cors-defaults-with-warning-for-1.7 * docs-and-code-review * clarify-cors-in-future-release * code-review * developer mode for docling * auto login * cors * auth variables * environment variables pt 1 * env var pt 2 * env var pt 3 * env var pt 5 * align CLI page with env var * autologin * docs: clarify log format behavior (#9945) clarify-log-format-behavior * docling dependency exceptions --------- Co-authored-by: April M <april.murphy@datastax.com> Co-authored-by: April I. Murphy <36110273+aimurphy@users.noreply.github.com> Co-authored-by: Sandesh R <115570766+2getsandesh@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Edwin Jose <edwinjose900@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com>



On the API landing page, clarify the available endpoints and what they are used for.
Separate endpoints by use case (application development, codebase contribution, deprecated), and list the endpoints for each group.
Summary by CodeRabbit