API reference
Base URL
Section titled “Base URL”https://api.remodeled.ai/public/v1The OpenAI-compatible endpoints live under https://api.remodeled.ai/public/openai/v1.
Authentication
Section titled “Authentication”Send your key as a bearer token on every request. Only GET /public/v1/openapi.json works without one.
Authorization: Bearer rmk_...Conventions
Section titled “Conventions”- 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
cursorandlimit, newest first.nextCursorisnullon the last page. - Every answer has an
X-Request-Idheader, and the rate limit headers. - Errors have one shape and a stable
code(errors).
Versioning
Section titled “Versioning”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.
The OpenAPI document
Section titled “The OpenAPI document”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.
curl https://api.remodeled.ai/public/v1/openapi.json Start a design POST /public/v1/designs
Upload a photo POST /public/v1/uploads
Objects Design, Asset, Catalog and the rest
Webhook events What your webhook receives