Skip to content

Reference

OpenAPI

The whole API as an OpenAPI 3.1 document, for code generators, API clients and agents.

openapi.json describes every endpoint of this API: its fields, its answers, its headers and its error codes. It is written from the same source as these pages, with each release.

curl -O https://frameport.ai/openapi.json

Use it

  • Import it in Postman, Insomnia or Bruno to get every request ready to send.
  • Generate a typed client, for example with openapi-typescript or openapi-generator.
  • Give it to a coding agent, with llms.txt for the models.
TypeScript types
npx openapi-typescript https://frameport.ai/openapi.json -o frameport.d.ts
Model ids, prices and options change more often than the endpoints: read them from GET /v1/models rather than from the document.