Skip to content

API reference

https://api.remodeled.ai/public/v1

The OpenAI-compatible endpoints live under https://api.remodeled.ai/public/openai/v1.

Send your key as a bearer token on every request. Only GET /public/v1/openapi.json works without one.

Authorization: Bearer rmk_...
  • Bodies are JSON (Content-Type: application/json), except a photo upload, whose body is the image.
  • Field names are camelCase. Unknown fields are refused (422 invalid_request), so typos don’t pass silently.
  • Ids are UUIDs. Times are ISO 8601 in UTC.
  • Lists page with cursor and limit, newest first. nextCursor is null on the last page.
  • Every answer has an X-Request-Id header, and the rate limit headers.
  • Errors have one shape and a stable code (errors).

The version is in the path (/v1). Within it, we only add: new endpoints, new optional fields, new values in answers, new error codes. Code should ignore fields it doesn’t know. A change that could break code would be a new version, announced in the changelog well ahead.

Every page in this reference is made from one OpenAPI 3.1 document, and so are the SDKs’ types. Use it to make a client in another language, or load it into Postman or Insomnia.

Terminal window
curl https://api.remodeled.ai/public/v1/openapi.json