Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/docs/API-Reference/api-files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ slug: /api-files

Use the `/files` endpoints to move files between your local machine and Langflow.

All `/files` endpoints (both `/v1/files` and `/v2/files`) require authentication with a Langflow API key.
You can only access files that belong to your own user account, even as a superuser.

## Differences between `/v1/files` and `/v2/files`

There are two versions of the `/files` endpoints.
Expand Down
8 changes: 6 additions & 2 deletions docs/docs/API-Reference/api-reference-api-examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,14 @@ curl -X GET \

### Get configuration

Returns configuration details for your Langflow deployment:
Returns configuration details for your Langflow deployment.
Requires a [Langflow API key](/api-keys-and-authentication).

```bash
curl -X GET \
"$LANGFLOW_SERVER_URL/api/v1/config" \
-H "accept: application/json"
-H "accept: application/json" \
-H "x-api-key: $LANGFLOW_API_KEY"
```

<details>
Expand Down Expand Up @@ -313,6 +315,7 @@ Other endpoints are helpful for specific use cases, such as administration and f
* 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.
* POST `/v1/validate/code`: Validate a Python code snippet for a custom component.
* POST `/v1/validate/prompt`: Validate a prompt payload.

</TabItem>
<TabItem value="Codebase contribution" label="Codebase development">
Expand Down Expand Up @@ -389,6 +392,7 @@ Langflow MCP servers support both streamable HTTP and SSE transport.
* 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.
* POST `/v1/validate/code`: Validate a Python code snippet for a custom component.
* POST `/v1/validate/prompt`: Validate a prompt payload.

</TabItem>
<TabItem value="Deprecated" label="Deprecated">
Expand Down
Loading