Skip to Content
API ReferenceOpenAPI Spec

OpenAPI Spec

The entire Foresight API is described in one machine-readable file: an OpenAPI 3.1  document listing every endpoint, parameter, response shape, and error code — the same contract this reference is written from.

You don’t read it; you feed it to things:

  • Generate a typed client in your language with any OpenAPI generator.
  • Import it into Postman, Insomnia, or Bruno and every request is pre-built.
  • Hand it to your agent — most coding agents can turn a spec URL into working calls on the first try.
curl https://api.creativeforesight.io/openapi.json

It’s served from both hosts — api.creativeforesight.io/openapi.json and docs.creativeforesight.io/openapi.json — and the two are kept identical by a build-time check.

Last updated on