{
  "info": {
    "_postman_id": "7c848f0b-cc74-4c32-8c3b-b383f7b01038",
    "name": "Cloudflare Workers AI API",
    "description": "The Cloudflare Workers AI API enables developers to run machine learning models on Cloudflare's global network via a REST API. It supports text generation, embeddings, image classification, speech recognition, and other AI tasks with OpenAI-compatible endpoints for chat completions, text completions, and embeddings.\n\nContact Support:\n Name: Cloudflare Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T13:17:16.000Z",
    "updatedAt": "2026-06-05T13:17:17.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-7c848f0b-cc74-4c32-8c3b-b383f7b01038"
  },
  "item": [
    {
      "name": "accounts",
      "item": [
        {
          "name": "{account_id}",
          "item": [
            {
              "name": "ai",
              "item": [
                {
                  "name": "run",
                  "item": [
                    {
                      "name": "{model}",
                      "item": [
                        {
                          "name": "Cloudflare Execute Ai Model",
                          "id": "910f26da-38c3-465a-9c9c-ce5485ffb3e0",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"prompt\": \"<string>\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    },\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    }\n  ],\n  \"image\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"text\": \"<string>\",\n  \"source_lang\": \"<string>\",\n  \"target_lang\": \"<string>\",\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/accounts/:account_id/ai/run/:model",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "accounts",
                                ":account_id",
                                "ai",
                                "run",
                                ":model"
                              ],
                              "variable": [
                                {
                                  "id": "ff7bf305-4160-4077-8b19-0c0411dbc277",
                                  "key": "account_id",
                                  "value": "<string>",
                                  "description": "(Required) The unique identifier of the Cloudflare account."
                                },
                                {
                                  "id": "4e4f65ec-cfca-4def-b3ca-e491f815fe7e",
                                  "key": "model",
                                  "value": "<string>",
                                  "description": "(Required) The model identifier to execute, e.g. @cf/meta/llama-3.1-8b-instruct."
                                }
                              ]
                            },
                            "description": "Run an AI model on Cloudflare's global network. The model parameter specifies which model to invoke from the Workers AI catalog. Supports text generation, text-to-image, image classification, speech-to-text, translation, summarization, and embedding models."
                          },
                          "response": [
                            {
                              "id": "6fa0f842-4f29-4fac-9234-a4ece74abd43",
                              "name": "Model executed successfully.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"prompt\": \"<string>\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    },\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    }\n  ],\n  \"image\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"text\": \"<string>\",\n  \"source_lang\": \"<string>\",\n  \"target_lang\": \"<string>\",\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/run/:model",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "run",
                                    ":model"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    },
                                    {
                                      "key": "model"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"result\": {\n    \"response\": \"<string>\"\n  },\n  \"success\": \"<boolean>\"\n}",
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-6fa0f842-4f29-4fac-9234-a4ece74abd43"
                            },
                            {
                              "id": "026446f0-590d-41f0-ba26-216c59e57780",
                              "name": "Bad request due to invalid input.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"prompt\": \"<string>\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    },\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    }\n  ],\n  \"image\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"text\": \"<string>\",\n  \"source_lang\": \"<string>\",\n  \"target_lang\": \"<string>\",\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/run/:model",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "run",
                                    ":model"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    },
                                    {
                                      "key": "model"
                                    }
                                  ]
                                }
                              },
                              "status": "Bad Request",
                              "code": 400,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-026446f0-590d-41f0-ba26-216c59e57780"
                            },
                            {
                              "id": "9b6d2a21-d2b7-422c-8380-d20ec3f95339",
                              "name": "Unauthorized.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"prompt\": \"<string>\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    },\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    }\n  ],\n  \"image\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"text\": \"<string>\",\n  \"source_lang\": \"<string>\",\n  \"target_lang\": \"<string>\",\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/run/:model",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "run",
                                    ":model"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    },
                                    {
                                      "key": "model"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-9b6d2a21-d2b7-422c-8380-d20ec3f95339"
                            },
                            {
                              "id": "f6abfa30-8ff8-4a63-8c0a-6503dff13120",
                              "name": "Model not found.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"prompt\": \"<string>\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    },\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    }\n  ],\n  \"image\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"text\": \"<string>\",\n  \"source_lang\": \"<string>\",\n  \"target_lang\": \"<string>\",\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/run/:model",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "run",
                                    ":model"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    },
                                    {
                                      "key": "model"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-f6abfa30-8ff8-4a63-8c0a-6503dff13120"
                            }
                          ],
                          "createdAt": "2026-06-05T13:17:17.000Z",
                          "updatedAt": "2026-06-05T13:17:17.000Z",
                          "uid": "35240-910f26da-38c3-465a-9c9c-ce5485ffb3e0"
                        }
                      ],
                      "id": "bc059958-89e9-4f19-8651-edb2e84df4d7",
                      "createdAt": "2026-06-05T13:17:17.000Z",
                      "updatedAt": "2026-06-05T13:17:17.000Z",
                      "uid": "35240-bc059958-89e9-4f19-8651-edb2e84df4d7"
                    }
                  ],
                  "id": "1fb4ee2c-29c8-4936-a08a-c151c266edfa",
                  "createdAt": "2026-06-05T13:17:17.000Z",
                  "updatedAt": "2026-06-05T13:17:17.000Z",
                  "uid": "35240-1fb4ee2c-29c8-4936-a08a-c151c266edfa"
                },
                {
                  "name": "v1",
                  "item": [
                    {
                      "name": "chat",
                      "item": [
                        {
                          "name": "completions",
                          "item": [
                            {
                              "name": "Cloudflare Create Chat Completion",
                              "id": "f4b41907-39fd-40fe-9d50-b99cf5446ed9",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"model\": \"<string>\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    },\n    {\n      \"role\": \"assistant\",\n      \"content\": \"<string>\"\n    }\n  ],\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"top_p\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/chat/completions",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "v1",
                                    "chat",
                                    "completions"
                                  ],
                                  "variable": [
                                    {
                                      "id": "9ec54989-9e26-4b16-a77c-2cf06b954f87",
                                      "key": "account_id",
                                      "value": "<string>",
                                      "description": "(Required) The unique identifier of the Cloudflare account."
                                    }
                                  ]
                                },
                                "description": "OpenAI-compatible endpoint for chat completions. Accepts a messages array and returns a model-generated response. Supports streaming via server-sent events."
                              },
                              "response": [
                                {
                                  "id": "2c121984-6dbd-4cba-9a78-68c603f67552",
                                  "name": "Chat completion generated successfully.",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: bearer",
                                        "key": "Authorization",
                                        "value": "Bearer <token>"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"model\": \"<string>\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    },\n    {\n      \"role\": \"assistant\",\n      \"content\": \"<string>\"\n    }\n  ],\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"top_p\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/chat/completions",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "accounts",
                                        ":account_id",
                                        "ai",
                                        "v1",
                                        "chat",
                                        "completions"
                                      ],
                                      "variable": [
                                        {
                                          "key": "account_id"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "OK",
                                  "code": 200,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"id\": \"<string>\",\n  \"object\": \"<string>\",\n  \"created\": \"<integer>\",\n  \"model\": \"<string>\",\n  \"choices\": [\n    {\n      \"index\": \"<integer>\",\n      \"message\": {\n        \"role\": \"<string>\",\n        \"content\": \"<string>\"\n      },\n      \"finish_reason\": \"length\"\n    },\n    {\n      \"index\": \"<integer>\",\n      \"message\": {\n        \"role\": \"<string>\",\n        \"content\": \"<string>\"\n      },\n      \"finish_reason\": \"stop\"\n    }\n  ],\n  \"usage\": {\n    \"prompt_tokens\": \"<integer>\",\n    \"completion_tokens\": \"<integer>\",\n    \"total_tokens\": \"<integer>\"\n  }\n}",
                                  "createdAt": "2026-06-05T13:17:17.000Z",
                                  "updatedAt": "2026-06-05T13:17:17.000Z",
                                  "uid": "35240-2c121984-6dbd-4cba-9a78-68c603f67552"
                                },
                                {
                                  "id": "d25bbf4c-29f2-4c1b-92b4-6b7b81a5b194",
                                  "name": "Bad request.",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: bearer",
                                        "key": "Authorization",
                                        "value": "Bearer <token>"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"model\": \"<string>\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    },\n    {\n      \"role\": \"assistant\",\n      \"content\": \"<string>\"\n    }\n  ],\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"top_p\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/chat/completions",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "accounts",
                                        ":account_id",
                                        "ai",
                                        "v1",
                                        "chat",
                                        "completions"
                                      ],
                                      "variable": [
                                        {
                                          "key": "account_id"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Bad Request",
                                  "code": 400,
                                  "_postman_previewlanguage": "text",
                                  "header": [],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": null,
                                  "createdAt": "2026-06-05T13:17:17.000Z",
                                  "updatedAt": "2026-06-05T13:17:17.000Z",
                                  "uid": "35240-d25bbf4c-29f2-4c1b-92b4-6b7b81a5b194"
                                },
                                {
                                  "id": "3ec23782-888c-448a-9fa1-796519a3b992",
                                  "name": "Unauthorized.",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: bearer",
                                        "key": "Authorization",
                                        "value": "Bearer <token>"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"model\": \"<string>\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"<string>\"\n    },\n    {\n      \"role\": \"assistant\",\n      \"content\": \"<string>\"\n    }\n  ],\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"top_p\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/chat/completions",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "accounts",
                                        ":account_id",
                                        "ai",
                                        "v1",
                                        "chat",
                                        "completions"
                                      ],
                                      "variable": [
                                        {
                                          "key": "account_id"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Unauthorized",
                                  "code": 401,
                                  "_postman_previewlanguage": "text",
                                  "header": [],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": null,
                                  "createdAt": "2026-06-05T13:17:17.000Z",
                                  "updatedAt": "2026-06-05T13:17:17.000Z",
                                  "uid": "35240-3ec23782-888c-448a-9fa1-796519a3b992"
                                }
                              ],
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-f4b41907-39fd-40fe-9d50-b99cf5446ed9"
                            }
                          ],
                          "id": "0f47f709-123d-4da4-b7e9-f97f54d68ccd",
                          "createdAt": "2026-06-05T13:17:17.000Z",
                          "updatedAt": "2026-06-05T13:17:17.000Z",
                          "uid": "35240-0f47f709-123d-4da4-b7e9-f97f54d68ccd"
                        }
                      ],
                      "id": "50ddf9d6-7632-4690-aa1b-7e47c5280be1",
                      "createdAt": "2026-06-05T13:17:17.000Z",
                      "updatedAt": "2026-06-05T13:17:17.000Z",
                      "uid": "35240-50ddf9d6-7632-4690-aa1b-7e47c5280be1"
                    },
                    {
                      "name": "completions",
                      "item": [
                        {
                          "name": "Cloudflare Create Text Completion",
                          "id": "e5e46149-a4e0-4468-9821-107b04bb0654",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"model\": \"<string>\",\n  \"prompt\": \"<string>\",\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/completions",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "accounts",
                                ":account_id",
                                "ai",
                                "v1",
                                "completions"
                              ],
                              "variable": [
                                {
                                  "id": "742fb738-1147-4fb5-96ec-a8d54f031966",
                                  "key": "account_id",
                                  "value": "<string>",
                                  "description": "(Required) The unique identifier of the Cloudflare account."
                                }
                              ]
                            },
                            "description": "OpenAI-compatible endpoint for text completions. Accepts a prompt string and returns a model-generated continuation."
                          },
                          "response": [
                            {
                              "id": "ae174c15-c020-4031-9933-c6da221ed875",
                              "name": "Text completion generated successfully.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"model\": \"<string>\",\n  \"prompt\": \"<string>\",\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/completions",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "v1",
                                    "completions"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-ae174c15-c020-4031-9933-c6da221ed875"
                            },
                            {
                              "id": "2d819cc4-4381-408f-b993-95b08eb358ad",
                              "name": "Bad request.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"model\": \"<string>\",\n  \"prompt\": \"<string>\",\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/completions",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "v1",
                                    "completions"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Bad Request",
                              "code": 400,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-2d819cc4-4381-408f-b993-95b08eb358ad"
                            },
                            {
                              "id": "1888c8e7-7239-4139-8018-da3f7912098f",
                              "name": "Unauthorized.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"model\": \"<string>\",\n  \"prompt\": \"<string>\",\n  \"max_tokens\": \"<integer>\",\n  \"temperature\": \"<number>\",\n  \"stream\": \"<boolean>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/completions",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "v1",
                                    "completions"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-1888c8e7-7239-4139-8018-da3f7912098f"
                            }
                          ],
                          "createdAt": "2026-06-05T13:17:17.000Z",
                          "updatedAt": "2026-06-05T13:17:17.000Z",
                          "uid": "35240-e5e46149-a4e0-4468-9821-107b04bb0654"
                        }
                      ],
                      "id": "fbd6bf57-a0e1-4bbd-a8f9-dc41a5407022",
                      "createdAt": "2026-06-05T13:17:17.000Z",
                      "updatedAt": "2026-06-05T13:17:17.000Z",
                      "uid": "35240-fbd6bf57-a0e1-4bbd-a8f9-dc41a5407022"
                    },
                    {
                      "name": "embeddings",
                      "item": [
                        {
                          "name": "Cloudflare Create Embeddings",
                          "id": "5fac9bdf-c2c7-47d9-8d82-2775b2fac1f7",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/embeddings",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "accounts",
                                ":account_id",
                                "ai",
                                "v1",
                                "embeddings"
                              ],
                              "variable": [
                                {
                                  "id": "f55f790e-ad0d-40bb-b845-b91706143a30",
                                  "key": "account_id",
                                  "value": "<string>",
                                  "description": "(Required) The unique identifier of the Cloudflare account."
                                }
                              ]
                            },
                            "description": "OpenAI-compatible endpoint for generating text embeddings. Converts text into numerical vector representations for semantic search, similarity analysis, and classification."
                          },
                          "response": [
                            {
                              "id": "9e65ff1f-6a22-44fc-94c0-bce56453a67d",
                              "name": "Embeddings generated successfully.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/embeddings",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "v1",
                                    "embeddings"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"object\": \"<string>\",\n  \"data\": [\n    {\n      \"object\": \"<string>\",\n      \"index\": \"<integer>\",\n      \"embedding\": [\n        \"<number>\",\n        \"<number>\"\n      ]\n    },\n    {\n      \"object\": \"<string>\",\n      \"index\": \"<integer>\",\n      \"embedding\": [\n        \"<number>\",\n        \"<number>\"\n      ]\n    }\n  ],\n  \"model\": \"<string>\",\n  \"usage\": {\n    \"prompt_tokens\": \"<integer>\",\n    \"total_tokens\": \"<integer>\"\n  }\n}",
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-9e65ff1f-6a22-44fc-94c0-bce56453a67d"
                            },
                            {
                              "id": "3b6a99d3-a469-409e-88e6-e7c623d12102",
                              "name": "Bad request.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/embeddings",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "v1",
                                    "embeddings"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Bad Request",
                              "code": 400,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-3b6a99d3-a469-409e-88e6-e7c623d12102"
                            },
                            {
                              "id": "769dfed7-188b-404d-862c-d6d1b441d671",
                              "name": "Unauthorized.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/embeddings",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "v1",
                                    "embeddings"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-769dfed7-188b-404d-862c-d6d1b441d671"
                            }
                          ],
                          "createdAt": "2026-06-05T13:17:17.000Z",
                          "updatedAt": "2026-06-05T13:17:17.000Z",
                          "uid": "35240-5fac9bdf-c2c7-47d9-8d82-2775b2fac1f7"
                        }
                      ],
                      "id": "7f2ecdd2-5e7f-4649-8d84-008211c00a48",
                      "createdAt": "2026-06-05T13:17:17.000Z",
                      "updatedAt": "2026-06-05T13:17:17.000Z",
                      "uid": "35240-7f2ecdd2-5e7f-4649-8d84-008211c00a48"
                    },
                    {
                      "name": "responses",
                      "item": [
                        {
                          "name": "Cloudflare Create Response",
                          "id": "387f000b-9b71-488a-bcb4-356fc23a7b9d",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/responses",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "accounts",
                                ":account_id",
                                "ai",
                                "v1",
                                "responses"
                              ],
                              "variable": [
                                {
                                  "id": "1552a7e5-f187-41c1-9483-828df220353d",
                                  "key": "account_id",
                                  "value": "<string>",
                                  "description": "(Required) The unique identifier of the Cloudflare account."
                                }
                              ]
                            },
                            "description": "OpenAI-compatible responses endpoint for generating model responses with additional tool use and structured output capabilities."
                          },
                          "response": [
                            {
                              "id": "ad951bb3-31f5-417a-aa3b-acacc74e6303",
                              "name": "Response generated successfully.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/responses",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "v1",
                                    "responses"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-ad951bb3-31f5-417a-aa3b-acacc74e6303"
                            },
                            {
                              "id": "f6d872de-de1a-4438-831d-787263493046",
                              "name": "Bad request.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/responses",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "v1",
                                    "responses"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Bad Request",
                              "code": 400,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-f6d872de-de1a-4438-831d-787263493046"
                            },
                            {
                              "id": "d36c78e4-a9c1-4630-addf-98b8f242fcfc",
                              "name": "Unauthorized.",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/accounts/:account_id/ai/v1/responses",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "accounts",
                                    ":account_id",
                                    "ai",
                                    "v1",
                                    "responses"
                                  ],
                                  "variable": [
                                    {
                                      "key": "account_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T13:17:17.000Z",
                              "updatedAt": "2026-06-05T13:17:17.000Z",
                              "uid": "35240-d36c78e4-a9c1-4630-addf-98b8f242fcfc"
                            }
                          ],
                          "createdAt": "2026-06-05T13:17:17.000Z",
                          "updatedAt": "2026-06-05T13:17:17.000Z",
                          "uid": "35240-387f000b-9b71-488a-bcb4-356fc23a7b9d"
                        }
                      ],
                      "id": "89111950-7e0e-4bd9-8c85-71ffefc85c10",
                      "createdAt": "2026-06-05T13:17:17.000Z",
                      "updatedAt": "2026-06-05T13:17:17.000Z",
                      "uid": "35240-89111950-7e0e-4bd9-8c85-71ffefc85c10"
                    }
                  ],
                  "id": "291d2e3c-bce7-4b37-bad0-7141ddc15b0b",
                  "createdAt": "2026-06-05T13:17:17.000Z",
                  "updatedAt": "2026-06-05T13:17:17.000Z",
                  "uid": "35240-291d2e3c-bce7-4b37-bad0-7141ddc15b0b"
                }
              ],
              "id": "1c98ff81-93fb-4b1d-b2a4-c46c94b20e5a",
              "createdAt": "2026-06-05T13:17:17.000Z",
              "updatedAt": "2026-06-05T13:17:17.000Z",
              "uid": "35240-1c98ff81-93fb-4b1d-b2a4-c46c94b20e5a"
            }
          ],
          "id": "70a6a3d4-4f6b-4cf2-9a98-499988c3870d",
          "createdAt": "2026-06-05T13:17:17.000Z",
          "updatedAt": "2026-06-05T13:17:17.000Z",
          "uid": "35240-70a6a3d4-4f6b-4cf2-9a98-499988c3870d"
        }
      ],
      "id": "3f966a9d-194b-4bf6-bc06-4ac5d8cca235",
      "createdAt": "2026-06-05T13:17:17.000Z",
      "updatedAt": "2026-06-05T13:17:17.000Z",
      "uid": "35240-3f966a9d-194b-4bf6-bc06-4ac5d8cca235"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.cloudflare.com/client/v4"
    }
  ]
}