Klipper StudioDevelopers

Errors

Errors use RFC 9457 application/problem+json:

{
  "type": "https://klipperstudio.com/developers/errors#plan_not_found",
  "title": "Not found",
  "status": 404,
  "code": "plan_not_found",
  "detail": "No plan or credit pack with code 'gold'. List them with GET https://klipperstudio.com/api/v1/plans.",
  "instance": "/api/v1/plans/gold"
}

Branch on code, never on detail text. MCP tools return the same detail as a tool result with isError: true.

Codes

StatusCodeMeaning and fix
400invalid_parameterA query parameter has the wrong type; fields names it
400invalid_cursor, invalid_limitPass next_cursor unchanged; limit is 1-50
400invalid_kindkind is time_plan or credit_pack (plans) or page/developer (search)
400invalid_minutes, invalid_account, invalid_remove_watermarkCheck the estimate parameters
400missing_query, missing_urlq (search) or url (moments) is required
400invalid_idempotency_key8-128 characters of [A-Za-z0-9._:-]
400invalid_jsonThe body is not JSON
404not_foundNo such endpoint; see the OpenAPI spec
404plan_not_found, page_not_found, clip_plan_not_foundUnknown code, path or plan id (plans expire after 30 days)
405method_not_allowedWrong HTTP method
409idempotency_key_reusedSame key, different body: use a new key
415unsupported_media_typeSend Content-Type: application/json
422invalid_body, unknown_field, body_too_largeBody is not an object, has extra fields, or is over 16 KB
422invalid_videos_per_month, invalid_minutes_per_video, invalid_horizon_days, invalid_platformsClip-plan field out of range
422invalid_video_urlNot a YouTube video link
422video_unreadableThe video is private, age-restricted or still live
429rate_limited, tool_busyWait Retry-After seconds
500internal_errorRetry with a delay; report it if it repeats
502upstream_errorThe moments service failed; retry later
503upstream_unavailableThe moments service is unreachable; retry in a minute

Unknown paths on the website return 404 with a Markdown body when you send Accept: text/markdown, listing where to go next (llms.txt, search, sitemap, docs).