Skip to content

List folders

GET
/api/v1/folders
curl --request GET \
--url https://api.langparse.dev/api/v1/folders \
--header 'X-Api-Key: <X-Api-Key>'

List every folder in your org. Folders group uploaded files (e.g. one per managed inbox or upload batch); use GET /v1/folders/{folderId}/documents to browse a folder’s files + their parsed documents.

The org’s folders.

Media typeapplication/json
object
data
required
Array<object>
object
id
string
name
string
path
string
parentId
string
nullable
meta
required
object
pagination

List pagination. Bounded collections return real totals; large (cursor-backed) collections may leave totals null and set cursor.

object
page
integer
pageSize
integer
totalItems
integer
nullable
totalPages
integer
nullable
hasNext
boolean
hasPrevious
boolean
cursor
string
nullable
Example
[
{
"id": "fld_mr9y6w",
"name": "Website Examples",
"path": "Website Examples",
"parentId": null
}
]

Missing or invalid API key.

Media typeapplication/json

Error response. statusCode mirrors the HTTP status; statusMessage is human-readable.

object
statusCode
integer
statusMessage
string
Example
{
"statusCode": 404,
"statusMessage": "Document not found"
}