{
  "info": {
    "_postman_id": "cf1dafda-88ef-4dba-8e88-0706311746b1",
    "name": "Speakeasy Artifacts CodeSamples API",
    "description": "The Subscriptions API manages subscriptions for CLI and registry events",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:59:36.000Z",
    "updatedAt": "2026-07-28T02:59:36.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-cf1dafda-88ef-4dba-8e88-0706311746b1"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "code_sample",
          "item": [
            {
              "name": "preview",
              "item": [
                {
                  "name": "async",
                  "item": [
                    {
                      "name": "{jobID}",
                      "item": [
                        {
                          "name": "Poll for the Result of an Asynchronous Code Sample Preview Generation",
                          "id": "046ba114-95bd-4afa-adc1-7e8a94f13e7e",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/code_sample/preview/async/:jobID",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "code_sample",
                                "preview",
                                "async",
                                ":jobID"
                              ],
                              "variable": [
                                {
                                  "id": "32b31b1b-670e-4d90-8e77-be933acd6fd6",
                                  "key": "jobID",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the job to check the status and retrieve results"
                                }
                              ]
                            },
                            "description": "Poll for the result of an asynchronous Code Sample preview generation."
                          },
                          "response": [
                            {
                              "id": "73d80feb-db63-4979-bfcd-e433f8598079",
                              "name": "Job is still in progress",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "x-api-key",
                                    "value": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/code_sample/preview/async/:jobID",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    "code_sample",
                                    "preview",
                                    "async",
                                    ":jobID"
                                  ],
                                  "variable": [
                                    {
                                      "key": "jobID"
                                    }
                                  ]
                                }
                              },
                              "status": "Accepted",
                              "code": 202,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"status\": \"running\"\n}",
                              "createdAt": "2026-07-28T02:59:37.000Z",
                              "updatedAt": "2026-07-28T02:59:37.000Z",
                              "uid": "35240-73d80feb-db63-4979-bfcd-e433f8598079"
                            },
                            {
                              "id": "a6e2867c-6a24-458d-90c4-bbbe43c0c1a4",
                              "name": "OK",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "x-api-key",
                                    "value": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/code_sample/preview/async/:jobID",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    "code_sample",
                                    "preview",
                                    "async",
                                    ":jobID"
                                  ],
                                  "variable": [
                                    {
                                      "key": "jobID"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"snippets\": [\n    {\n      \"path\": \"<string>\",\n      \"method\": {\n        \"description\": \"The HTTP method of the operation\"\n      },\n      \"operationId\": \"<string>\",\n      \"language\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"path\": \"<string>\",\n      \"method\": {\n        \"description\": \"The HTTP method of the operation\"\n      },\n      \"operationId\": \"<string>\",\n      \"language\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T02:59:37.000Z",
                              "updatedAt": "2026-07-28T02:59:37.000Z",
                              "uid": "35240-a6e2867c-6a24-458d-90c4-bbbe43c0c1a4"
                            },
                            {
                              "id": "178e4a23-6553-49d6-8012-00fa659e429a",
                              "name": "Error",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "x-api-key",
                                    "value": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/code_sample/preview/async/:jobID",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    "code_sample",
                                    "preview",
                                    "async",
                                    ":jobID"
                                  ],
                                  "variable": [
                                    {
                                      "key": "jobID"
                                    }
                                  ]
                                }
                              },
                              "status": "Bad Request",
                              "code": 400,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"message\": \"<string>\",\n  \"status_code\": \"<integer>\"\n}",
                              "createdAt": "2026-07-28T02:59:37.000Z",
                              "updatedAt": "2026-07-28T02:59:37.000Z",
                              "uid": "35240-178e4a23-6553-49d6-8012-00fa659e429a"
                            },
                            {
                              "id": "50259969-40a7-4e15-a628-efca5951c659",
                              "name": "Error",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "x-api-key",
                                    "value": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/code_sample/preview/async/:jobID",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    "code_sample",
                                    "preview",
                                    "async",
                                    ":jobID"
                                  ],
                                  "variable": [
                                    {
                                      "key": "jobID"
                                    }
                                  ]
                                }
                              },
                              "status": "Internal Server Error",
                              "code": 500,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"message\": \"<string>\",\n  \"status_code\": \"<integer>\"\n}",
                              "createdAt": "2026-07-28T02:59:37.000Z",
                              "updatedAt": "2026-07-28T02:59:37.000Z",
                              "uid": "35240-50259969-40a7-4e15-a628-efca5951c659"
                            }
                          ],
                          "createdAt": "2026-07-28T02:59:37.000Z",
                          "updatedAt": "2026-07-28T02:59:37.000Z",
                          "uid": "35240-046ba114-95bd-4afa-adc1-7e8a94f13e7e"
                        }
                      ],
                      "id": "69abda45-38ee-4a24-97a9-41daf9f036b1",
                      "createdAt": "2026-07-28T02:59:37.000Z",
                      "updatedAt": "2026-07-28T02:59:37.000Z",
                      "uid": "35240-69abda45-38ee-4a24-97a9-41daf9f036b1"
                    },
                    {
                      "name": "Initiate Asynchronous Code Sample Preview Generation from a File and Configuration Parameters, Receiving an Async JobID Response for Polling",
                      "id": "3b5a1a84-9b59-48a8-a566-10a28e2394a0",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "multipart/form-data"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "formdata",
                          "formdata": [
                            {
                              "description": "(Required) The OpenAPI file to be uploaded",
                              "key": "schema_file",
                              "type": "file",
                              "value": null
                            },
                            {
                              "description": "(Required) The language to generate code samples for",
                              "key": "language",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "The name of the package",
                              "key": "package_name",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "The SDK class name",
                              "key": "sdk_class_name",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "A list of operations IDs to generate code samples for",
                              "key": "operation_ids",
                              "value": "<string>,<string>",
                              "type": "text"
                            }
                          ]
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/code_sample/preview/async",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "code_sample",
                            "preview",
                            "async"
                          ]
                        },
                        "description": "This endpoint generates Code Sample previews from a file and configuration parameters, receiving an async JobID response for polling."
                      },
                      "response": [
                        {
                          "id": "168cd42f-e27f-4e86-85d1-b23d4489a5e6",
                          "name": "Job accepted, returns a job ID to poll for status and result",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "multipart/form-data"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "x-api-key",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "formdata",
                              "formdata": [
                                {
                                  "description": "(Required) The OpenAPI file to be uploaded",
                                  "key": "schema_file",
                                  "type": "file"
                                },
                                {
                                  "description": "(Required) The language to generate code samples for",
                                  "key": "language",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "The name of the package",
                                  "key": "package_name",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "The SDK class name",
                                  "key": "sdk_class_name",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "A list of operations IDs to generate code samples for",
                                  "key": "operation_ids",
                                  "value": "<string>,<string>",
                                  "type": "text"
                                }
                              ]
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/code_sample/preview/async",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "code_sample",
                                "preview",
                                "async"
                              ]
                            }
                          },
                          "status": "Accepted",
                          "code": 202,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"job_id\": \"<string>\",\n  \"status\": \"pending\"\n}",
                          "createdAt": "2026-07-28T02:59:37.000Z",
                          "updatedAt": "2026-07-28T02:59:37.000Z",
                          "uid": "35240-168cd42f-e27f-4e86-85d1-b23d4489a5e6"
                        },
                        {
                          "id": "c69c9e4d-badc-42bf-abb9-751cf53ef722",
                          "name": "Error",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "multipart/form-data"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "x-api-key",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "formdata",
                              "formdata": [
                                {
                                  "description": "(Required) The OpenAPI file to be uploaded",
                                  "key": "schema_file",
                                  "type": "file"
                                },
                                {
                                  "description": "(Required) The language to generate code samples for",
                                  "key": "language",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "The name of the package",
                                  "key": "package_name",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "The SDK class name",
                                  "key": "sdk_class_name",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "A list of operations IDs to generate code samples for",
                                  "key": "operation_ids",
                                  "value": "<string>,<string>",
                                  "type": "text"
                                }
                              ]
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/code_sample/preview/async",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "code_sample",
                                "preview",
                                "async"
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"message\": \"<string>\",\n  \"status_code\": \"<integer>\"\n}",
                          "createdAt": "2026-07-28T02:59:37.000Z",
                          "updatedAt": "2026-07-28T02:59:37.000Z",
                          "uid": "35240-c69c9e4d-badc-42bf-abb9-751cf53ef722"
                        },
                        {
                          "id": "7d50f2a7-5ef7-4a8e-acdd-9d07f178909b",
                          "name": "Error",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "multipart/form-data"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "x-api-key",
                                "value": "<API Key>"
                              }
                            ],
                            "body": {
                              "mode": "formdata",
                              "formdata": [
                                {
                                  "description": "(Required) The OpenAPI file to be uploaded",
                                  "key": "schema_file",
                                  "type": "file"
                                },
                                {
                                  "description": "(Required) The language to generate code samples for",
                                  "key": "language",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "The name of the package",
                                  "key": "package_name",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "The SDK class name",
                                  "key": "sdk_class_name",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "A list of operations IDs to generate code samples for",
                                  "key": "operation_ids",
                                  "value": "<string>,<string>",
                                  "type": "text"
                                }
                              ]
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/code_sample/preview/async",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                "code_sample",
                                "preview",
                                "async"
                              ]
                            }
                          },
                          "status": "Internal Server Error",
                          "code": 500,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"message\": \"<string>\",\n  \"status_code\": \"<integer>\"\n}",
                          "createdAt": "2026-07-28T02:59:37.000Z",
                          "updatedAt": "2026-07-28T02:59:37.000Z",
                          "uid": "35240-7d50f2a7-5ef7-4a8e-acdd-9d07f178909b"
                        }
                      ],
                      "createdAt": "2026-07-28T02:59:37.000Z",
                      "updatedAt": "2026-07-28T02:59:37.000Z",
                      "uid": "35240-3b5a1a84-9b59-48a8-a566-10a28e2394a0"
                    }
                  ],
                  "id": "179def3a-1461-4229-a3a8-58b52ad67dc0",
                  "createdAt": "2026-07-28T02:59:37.000Z",
                  "updatedAt": "2026-07-28T02:59:37.000Z",
                  "uid": "35240-179def3a-1461-4229-a3a8-58b52ad67dc0"
                },
                {
                  "name": "Generate Code Sample Previews from a File and Configuration Parameters",
                  "id": "3d3a5244-f8ae-42d0-8a50-dc90397fadc3",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "multipart/form-data"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "formdata",
                      "formdata": [
                        {
                          "description": "(Required) The OpenAPI file to be uploaded",
                          "key": "schema_file",
                          "type": "file",
                          "value": null
                        },
                        {
                          "description": "(Required) The language to generate code samples for",
                          "key": "language",
                          "value": "<string>",
                          "type": "text"
                        },
                        {
                          "description": "The name of the package",
                          "key": "package_name",
                          "value": "<string>",
                          "type": "text"
                        },
                        {
                          "description": "The SDK class name",
                          "key": "sdk_class_name",
                          "value": "<string>",
                          "type": "text"
                        },
                        {
                          "description": "A list of operations IDs to generate code samples for",
                          "key": "operation_ids",
                          "value": "<string>,<string>",
                          "type": "text"
                        }
                      ]
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v1/code_sample/preview",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "code_sample",
                        "preview"
                      ]
                    },
                    "description": "This endpoint generates Code Sample previews from a file and configuration parameters."
                  },
                  "response": [
                    {
                      "id": "af3fb0a3-9c27-4de1-9a02-d75860779252",
                      "name": "OK",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "multipart/form-data"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "x-api-key",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "formdata",
                          "formdata": [
                            {
                              "description": "(Required) The OpenAPI file to be uploaded",
                              "key": "schema_file",
                              "type": "file"
                            },
                            {
                              "description": "(Required) The language to generate code samples for",
                              "key": "language",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "The name of the package",
                              "key": "package_name",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "The SDK class name",
                              "key": "sdk_class_name",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "A list of operations IDs to generate code samples for",
                              "key": "operation_ids",
                              "value": "<string>,<string>",
                              "type": "text"
                            }
                          ]
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/code_sample/preview",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "code_sample",
                            "preview"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"snippets\": [\n    {\n      \"path\": \"<string>\",\n      \"method\": {\n        \"description\": \"The HTTP method of the operation\"\n      },\n      \"operationId\": \"<string>\",\n      \"language\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"path\": \"<string>\",\n      \"method\": {\n        \"description\": \"The HTTP method of the operation\"\n      },\n      \"operationId\": \"<string>\",\n      \"language\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}",
                      "createdAt": "2026-07-28T02:59:37.000Z",
                      "updatedAt": "2026-07-28T02:59:37.000Z",
                      "uid": "35240-af3fb0a3-9c27-4de1-9a02-d75860779252"
                    },
                    {
                      "id": "4ce8162c-c040-4fa5-bef0-6196cd1f1d23",
                      "name": "Error",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "multipart/form-data"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "x-api-key",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "formdata",
                          "formdata": [
                            {
                              "description": "(Required) The OpenAPI file to be uploaded",
                              "key": "schema_file",
                              "type": "file"
                            },
                            {
                              "description": "(Required) The language to generate code samples for",
                              "key": "language",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "The name of the package",
                              "key": "package_name",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "The SDK class name",
                              "key": "sdk_class_name",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "A list of operations IDs to generate code samples for",
                              "key": "operation_ids",
                              "value": "<string>,<string>",
                              "type": "text"
                            }
                          ]
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/code_sample/preview",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "code_sample",
                            "preview"
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"message\": \"<string>\",\n  \"status_code\": \"<integer>\"\n}",
                      "createdAt": "2026-07-28T02:59:37.000Z",
                      "updatedAt": "2026-07-28T02:59:37.000Z",
                      "uid": "35240-4ce8162c-c040-4fa5-bef0-6196cd1f1d23"
                    },
                    {
                      "id": "7003ef75-4204-4dce-a392-704e7311751b",
                      "name": "Error",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "multipart/form-data"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "x-api-key",
                            "value": "<API Key>"
                          }
                        ],
                        "body": {
                          "mode": "formdata",
                          "formdata": [
                            {
                              "description": "(Required) The OpenAPI file to be uploaded",
                              "key": "schema_file",
                              "type": "file"
                            },
                            {
                              "description": "(Required) The language to generate code samples for",
                              "key": "language",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "The name of the package",
                              "key": "package_name",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "The SDK class name",
                              "key": "sdk_class_name",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "A list of operations IDs to generate code samples for",
                              "key": "operation_ids",
                              "value": "<string>,<string>",
                              "type": "text"
                            }
                          ]
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/code_sample/preview",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            "code_sample",
                            "preview"
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"message\": \"<string>\",\n  \"status_code\": \"<integer>\"\n}",
                      "createdAt": "2026-07-28T02:59:37.000Z",
                      "updatedAt": "2026-07-28T02:59:37.000Z",
                      "uid": "35240-7003ef75-4204-4dce-a392-704e7311751b"
                    }
                  ],
                  "createdAt": "2026-07-28T02:59:37.000Z",
                  "updatedAt": "2026-07-28T02:59:37.000Z",
                  "uid": "35240-3d3a5244-f8ae-42d0-8a50-dc90397fadc3"
                }
              ],
              "id": "1ee13d28-27ce-4330-8360-eb1ed483bba3",
              "createdAt": "2026-07-28T02:59:37.000Z",
              "updatedAt": "2026-07-28T02:59:37.000Z",
              "uid": "35240-1ee13d28-27ce-4330-8360-eb1ed483bba3"
            },
            {
              "name": "Retrieve Usage Snippets",
              "id": "1b1441b0-de53-41ec-8cc0-90f850b0388e",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/code_sample?registry_url=<string>&operation_ids=<string>&operation_ids=<string>&method_paths=[object Object]&method_paths=[object Object]&languages=<string>&languages=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "code_sample"
                  ],
                  "query": [
                    {
                      "description": "(Required) The registry URL from which to retrieve the snippets.",
                      "key": "registry_url",
                      "value": "<string>"
                    },
                    {
                      "description": "The operation IDs to retrieve snippets for.",
                      "key": "operation_ids",
                      "value": "<string>"
                    },
                    {
                      "description": "The operation IDs to retrieve snippets for.",
                      "key": "operation_ids",
                      "value": "<string>"
                    },
                    {
                      "description": "The method paths to retrieve snippets for.",
                      "key": "method_paths",
                      "value": "[object Object]"
                    },
                    {
                      "description": "The method paths to retrieve snippets for.",
                      "key": "method_paths",
                      "value": "[object Object]"
                    },
                    {
                      "description": "The languages to retrieve snippets for.",
                      "key": "languages",
                      "value": "<string>"
                    },
                    {
                      "description": "The languages to retrieve snippets for.",
                      "key": "languages",
                      "value": "<string>"
                    }
                  ]
                },
                "description": "Retrieve usage snippets from an OpenAPI document stored in the registry. Supports filtering by language and operation ID."
              },
              "response": [
                {
                  "id": "45eb8ca6-c5ca-47ef-bc0a-ca7d45bb6589",
                  "name": "OK",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-key",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/code_sample?registry_url=<string>&operation_ids=<string>&method_paths=[object Object]&languages=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "code_sample"
                      ],
                      "query": [
                        {
                          "description": "(Required) The registry URL from which to retrieve the snippets.",
                          "key": "registry_url",
                          "value": "<string>"
                        },
                        {
                          "description": "The operation IDs to retrieve snippets for.",
                          "key": "operation_ids",
                          "value": "<string>"
                        },
                        {
                          "description": "The method paths to retrieve snippets for.",
                          "key": "method_paths",
                          "value": "[object Object]"
                        },
                        {
                          "description": "The languages to retrieve snippets for.",
                          "key": "languages",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"snippets\": [\n    {\n      \"path\": \"<string>\",\n      \"method\": {\n        \"description\": \"The HTTP method of the operation\"\n      },\n      \"operationId\": \"<string>\",\n      \"language\": \"<string>\",\n      \"code\": \"<string>\"\n    },\n    {\n      \"path\": \"<string>\",\n      \"method\": {\n        \"description\": \"The HTTP method of the operation\"\n      },\n      \"operationId\": \"<string>\",\n      \"language\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  ]\n}",
                  "createdAt": "2026-07-28T02:59:37.000Z",
                  "updatedAt": "2026-07-28T02:59:37.000Z",
                  "uid": "35240-45eb8ca6-c5ca-47ef-bc0a-ca7d45bb6589"
                },
                {
                  "id": "98986e03-fa87-412d-b95f-f21aee9056b2",
                  "name": "Default error response",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-key",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/code_sample?registry_url=<string>&operation_ids=<string>&method_paths=[object Object]&languages=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "code_sample"
                      ],
                      "query": [
                        {
                          "description": "(Required) The registry URL from which to retrieve the snippets.",
                          "key": "registry_url",
                          "value": "<string>"
                        },
                        {
                          "description": "The operation IDs to retrieve snippets for.",
                          "key": "operation_ids",
                          "value": "<string>"
                        },
                        {
                          "description": "The method paths to retrieve snippets for.",
                          "key": "method_paths",
                          "value": "[object Object]"
                        },
                        {
                          "description": "The languages to retrieve snippets for.",
                          "key": "languages",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"message\": \"<string>\",\n  \"status_code\": \"<integer>\"\n}",
                  "createdAt": "2026-07-28T02:59:37.000Z",
                  "updatedAt": "2026-07-28T02:59:37.000Z",
                  "uid": "35240-98986e03-fa87-412d-b95f-f21aee9056b2"
                }
              ],
              "createdAt": "2026-07-28T02:59:37.000Z",
              "updatedAt": "2026-07-28T02:59:37.000Z",
              "uid": "35240-1b1441b0-de53-41ec-8cc0-90f850b0388e"
            }
          ],
          "id": "a417716b-ce58-4166-a2da-e093f3ee9061",
          "createdAt": "2026-07-28T02:59:37.000Z",
          "updatedAt": "2026-07-28T02:59:37.000Z",
          "uid": "35240-a417716b-ce58-4166-a2da-e093f3ee9061"
        }
      ],
      "id": "c16e6f54-74a2-499c-aae5-60dff977ac4e",
      "createdAt": "2026-07-28T02:59:37.000Z",
      "updatedAt": "2026-07-28T02:59:37.000Z",
      "uid": "35240-c16e6f54-74a2-499c-aae5-60dff977ac4e"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "x-api-key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.prod.speakeasy.com"
    }
  ]
}