Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

GET /models

Summary

Returns a <Response> object with {status} and {data} fields

Intent

Used when a client needs {resource} details wrapped in <Envelope>

Parameters

NameTypeRequiredDescription
filterstringNoA filter like {“key”: “value”} or <expression>

Request example

Terminal window
curl -X GET https://api.example.com/models \
-H "Authorization: Bearer {token}"

Response example

{
"id": "obj_123",
"status": "ok"
}

Error cases

  • 401 — Missing or invalid authentication token
  • 400 — Request validation failed

Gotchas

  • Watch out for {braces} and <tags> in the query string