{"openapi":"3.1.0","info":{"title":"Cloudflare Images (BYOK) API","version":"0.1.0","description":"Cloudflare Images (BYOK) lets an AI assistant read your own Cloudflare Images data through the Cloudflare Images API with a key you supply (Cloudflare API token with Images read permission). Read-only: 6 tools (list_images, list_images_cursor, get_image, get_images_usage, list_variants, get_variant). The BYOK key travels with each request, is used for that one call only and is never stored,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-cloudflare-images.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-cloudflare-images/docs"},"termsOfService":"https://connectorbay.com/byok-cloudflare-images/terms"},"servers":[{"url":"https://byok-cloudflare-images.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-cloudflare-images/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_images":{"post":{"operationId":"list_images","summary":"List images stored in Cloudflare Images with id, filename, upload date, creator, signed-URL flag, custom metadata and de","description":"List images stored in Cloudflare Images with id, filename, upload date, creator, signed-URL flag, custom metadata and delivery URLs. Paged by number. Use for \"What images are in my Cloudflare Images library\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL or returned by the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"page":{"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"per_page":{"anyOf":[{"maximum":100,"minimum":10,"type":"integer"},{"type":"null"}],"default":50,"description":"Images per page (10 to 100 here; the service allows more).","title":"Per Page"},"creator":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only images uploaded with this creator tag.","title":"Creator"}},"required":["account_id"],"title":"list_imagesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_images_cursor":{"post":{"operationId":"list_images_cursor","summary":"List images using a continuation token (version 2 listing), newest or oldest first, optionally for one creator. Use for ","description":"List images using a continuation token (version 2 listing), newest or oldest first, optionally for one creator. Use for \"Page through my Cloudflare Images newest first\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL or returned by the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"continuation_token":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Token from the previous page's response to fetch the next page.","title":"Continuation Token"},"per_page":{"anyOf":[{"maximum":100,"minimum":10,"type":"integer"},{"type":"null"}],"default":50,"description":"Images per page (10 to 100 here; the service allows more).","title":"Per Page"},"sort_order":{"anyOf":[{"enum":["asc","desc"],"type":"string"},{"type":"null"}],"default":"desc","description":"Sort by upload date.","title":"Sort Order"},"creator":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only images uploaded with this creator tag.","title":"Creator"}},"required":["account_id"],"title":"list_images_cursorArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_image":{"post":{"operationId":"get_image","summary":"Get one image's id, filename, upload date, creator, metadata, signed-URL requirement and delivery URLs for each variant.","description":"Get one image's id, filename, upload date, creator, metadata, signed-URL requirement and delivery URLs for each variant. Use for \"Show Cloudflare Images image 2cdc28f0-017a-49c4-9ed7-87056c83901\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL or returned by the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"image_id":{"description":"Cloudflare Images image id, as returned by list_images.","maxLength":120,"title":"Image Id","type":"string"}},"required":["account_id","image_id"],"title":"get_imageArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_images_usage":{"post":{"operationId":"get_images_usage","summary":"Show how many images are stored and how many the plan allows. Use for \"How many images am I storing in Cloudflare Images","description":"Show how many images are stored and how many the plan allows. Use for \"How many images am I storing in Cloudflare Images versus my limit\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL or returned by the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"}},"required":["account_id"],"title":"get_images_usageArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_variants":{"post":{"operationId":"list_variants","summary":"List the image variants (named resize presets) defined in the account with fit, width, height and metadata options. Use ","description":"List the image variants (named resize presets) defined in the account with fit, width, height and metadata options. Use for \"What image variants are set up in Cloudflare Images\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL or returned by the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"}},"required":["account_id"],"title":"list_variantsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_variant":{"post":{"operationId":"get_variant","summary":"Get one image variant's resize options and whether it ignores the signed-URL requirement. Use for \"Show the thumbnail va","description":"Get one image variant's resize options and whether it ignores the signed-URL requirement. Use for \"Show the thumbnail variant in Cloudflare Images\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_id":{"description":"Cloudflare account id (32-character hex string shown in the dashboard URL or returned by the Cloudflare connector's list_accounts).","maxLength":40,"title":"Account Id","type":"string"},"variant_id":{"description":"Variant name, as returned by list_variants (for example public or thumbnail).","maxLength":64,"title":"Variant Id","type":"string"}},"required":["account_id","variant_id"],"title":"get_variantArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}