Gravity AI UI Developer Docs

API docs for agents and developers integrating with Gravity AI UI. The public surfaces include an OpenAPI spec, a Streamable HTTP MCP server, OAuth discovery metadata, markdown docs, structured errors, and documented webhooks status.

Remote MCP

Connect coding agents to public gallery lookup and interface generation. Generated MCP results are returned to the caller only; they are not saved or published.

https://gravity-ai.ydb-qdrant.tech/mcpcodex mcp add gravityAiUi --url https://gravity-ai.ydb-qdrant.tech/mcp
search_interfacesget_interfacegenerate_interfacerefine_interface

API behavior for agents

Rate limits

The public demo is for low-volume interactive use. Agents should back off on transient failures and respect RateLimit-* or Retry-After headers when present.

Errors

Handled API and discovery routes return structured JSON with error.code, error.message, and docs links where useful.

Idempotency

Mutation endpoints document Idempotency-Key for agent retry planning. Durable idempotency is not enforced in this metadata-only pass.

Local verification commands

Baseline commands for local development and verification.

npm run dev -- --port 3000npm run lintnpm testnpm run typechecknpm run build

Ask AI about Gravity AI UI

Open an AI assistant with a product evaluation prompt.