{
"opencollection": "1.0.0",
"info": {
"name": "Langflow Base Users API",
"version": "1.9.0"
},
"items": [
{
"info": {
"name": "Users",
"type": "folder"
},
"items": [
{
"info": {
"name": "Read All Users",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/users/",
"params": [
{
"name": "skip",
"value": "",
"type": "query"
},
{
"name": "limit",
"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": "Retrieve a list of users from the database with pagination."
},
{
"info": {
"name": "Add User",
"type": "http"
},
"http": {
"method": "POST",
"url": "{{baseUrl}}/api/v1/users/",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Add a new user to the database.
This endpoint allows public user registration (sign up).
User activation is controlled by the NEW_USER_IS_ACTIVE setting."
},
{
"info": {
"name": "Read Current User",
"type": "http"
},
"http": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/users/whoami",
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Retrieve the current user's data."
},
{
"info": {
"name": "Patch User",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "{{baseUrl}}/api/v1/users/:user_id",
"params": [
{
"name": "user_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 an existing user's data."
},
{
"info": {
"name": "Delete User",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "{{baseUrl}}/api/v1/users/:user_id",
"params": [
{
"name": "user_id",
"value": "",
"type": "path"
}
],
"auth": {
"type": "oauth2",
"flow": "resource_owner_password_credentials",
"accessTokenUrl": "api/v1/login",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "Delete a user from the database."
},
{
"info": {
"name": "Reset Password",
"type": "http"
},
"http": {
"method": "PATCH",
"url": "{{baseUrl}}/api/v1/users/:user_id/reset-password",
"params": [
{
"name": "user_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": "Reset a user's password."
}
]
}
],
"bundled": true
}