Public API (/v1)
OpenAPI
The OpenAPI 3.1 spec, available without a key — import it into GPT Actions, function calling or code generators.
Download the spec#
GET
/v1/openapi.jsonAn OpenAPI 3.1 spec. It needs no key and can be imported directly into GPT Actions or function-calling tools: https://api.esimoa.com/v1/openapi.json
shell
curl https://api.esimoa.com/v1/openapi.json -o esimoa-openapi.jsonNote
The spec is the same contract as these docs. Response fields are only ever added — names and meanings do not change. The spec is cached for one hour.
Use with GPT Actions#
To use a custom GPT with Actions, import the schema from https://api.esimoa.com/v1/openapi.json — set authentication to API key with the custom header name X-API-Key.
Generate a client#
Use standard OpenAPI tooling to generate types or a client library.
shell
# TypeScript types
npx openapi-typescript https://api.esimoa.com/v1/openapi.json -o esimoa.d.ts
# Any language (Python, Go, Java, …)
npx @openapitools/openapi-generator-cli generate \
-i https://api.esimoa.com/v1/openapi.json -g python -o ./esimoa-client