Skip to content

List models

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

List every model in your org, newest first. Each entry carries a field count and a short preview of its schema — fetch a single model to see the full field definitions.

Your models.

Media typeapplication/json
object
data
required
Array<object>

A model (schema + strategy + output tags). Own key id; slug is a friendly, unique-per-org handle accepted anywhere the id is.

object
key
additional properties
any
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": "mdl_inv01",
"slug": "invoice",
"name": "Invoice",
"description": "Supplier invoices with line items, taxes and totals.",
"fieldCount": 12,
"fieldPreview": [
"Invoice Number",
"Invoice Date",
"Total"
],
"strategy": "single",
"features": [],
"coverUrl": null,
"updatedAt": "2026-07-07T04:50:26.659Z"
}
]

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"
}