{
  "info": {
    "_postman_id": "221c3da1-978a-4fb3-9310-b555dabfde93",
    "name": "TrueFoundry AI Gateway Audio Files API",
    "description": "The TrueFoundry AI Gateway API is an OpenAI-compatible proxy layer providing unified access to 1000+ language models across 30+ providers through a single endpoint. It supports chat completions, embeddings, image generation, audio processing, batch operations, file management, content moderation, and model management. The gateway provides centralized authentication, rate limiting, budget controls, observability, and MCP server orchestration.\n\nContact Support:\n Name: TrueFoundry Support\n Email: support@truefoundry.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:19:56.000Z",
    "updatedAt": "2026-07-28T03:19:56.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-221c3da1-978a-4fb3-9310-b555dabfde93"
  },
  "item": [
    {
      "name": "files",
      "item": [
        {
          "name": "{file_id}",
          "item": [
            {
              "name": "Get File",
              "id": "5662cc57-243a-4463-a18e-f5c001f86c60",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/files/:file_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "files",
                    ":file_id"
                  ],
                  "variable": [
                    {
                      "id": "4d244558-43ad-4452-89c8-4d0e786675bf",
                      "key": "file_id",
                      "value": "<string>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Returns metadata for a specific file."
              },
              "response": [
                {
                  "id": "27492d0b-eb3b-45bc-83b1-3015504074d3",
                  "name": "File metadata",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_id"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"id\": \"<string>\",\n  \"object\": \"file\",\n  \"bytes\": \"<integer>\",\n  \"created_at\": \"<integer>\",\n  \"filename\": \"<string>\",\n  \"purpose\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T03:19:56.000Z",
                  "updatedAt": "2026-07-28T03:19:56.000Z",
                  "uid": "35240-27492d0b-eb3b-45bc-83b1-3015504074d3"
                },
                {
                  "id": "4cdc319a-d897-443e-a42b-0718b3a1b1cd",
                  "name": "Resource not found",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_id"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"error\": {\n    \"message\": \"<string>\"\n  }\n}",
                  "createdAt": "2026-07-28T03:19:56.000Z",
                  "updatedAt": "2026-07-28T03:19:56.000Z",
                  "uid": "35240-4cdc319a-d897-443e-a42b-0718b3a1b1cd"
                }
              ],
              "createdAt": "2026-07-28T03:19:56.000Z",
              "updatedAt": "2026-07-28T03:19:56.000Z",
              "uid": "35240-5662cc57-243a-4463-a18e-f5c001f86c60"
            },
            {
              "name": "Delete File",
              "id": "c211d43b-8912-4513-a234-1294f91372d2",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/files/:file_id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "files",
                    ":file_id"
                  ],
                  "variable": [
                    {
                      "id": "e9bc95bf-5e45-4a77-98ad-c11e8a63e732",
                      "key": "file_id",
                      "value": "<string>",
                      "description": "(Required) "
                    }
                  ]
                },
                "description": "Deletes a file."
              },
              "response": [
                {
                  "id": "56828ebf-f3ae-4a82-a71f-520198c7fdf8",
                  "name": "Deletion confirmation",
                  "originalRequest": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_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  \"deleted\": \"<boolean>\"\n}",
                  "createdAt": "2026-07-28T03:19:56.000Z",
                  "updatedAt": "2026-07-28T03:19:56.000Z",
                  "uid": "35240-56828ebf-f3ae-4a82-a71f-520198c7fdf8"
                },
                {
                  "id": "c131eadb-a2b0-4e17-9e94-f7edee6d3449",
                  "name": "Resource not found",
                  "originalRequest": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/files/:file_id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "files",
                        ":file_id"
                      ],
                      "variable": [
                        {
                          "key": "file_id"
                        }
                      ]
                    }
                  },
                  "status": "Not Found",
                  "code": 404,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"error\": {\n    \"message\": \"<string>\"\n  }\n}",
                  "createdAt": "2026-07-28T03:19:56.000Z",
                  "updatedAt": "2026-07-28T03:19:56.000Z",
                  "uid": "35240-c131eadb-a2b0-4e17-9e94-f7edee6d3449"
                }
              ],
              "createdAt": "2026-07-28T03:19:56.000Z",
              "updatedAt": "2026-07-28T03:19:56.000Z",
              "uid": "35240-c211d43b-8912-4513-a234-1294f91372d2"
            }
          ],
          "id": "72d9fe79-577a-4a08-9cb5-b4d141ec3b3e",
          "createdAt": "2026-07-28T03:19:56.000Z",
          "updatedAt": "2026-07-28T03:19:56.000Z",
          "uid": "35240-72d9fe79-577a-4a08-9cb5-b4d141ec3b3e"
        },
        {
          "name": "List Files",
          "id": "19233a62-1f4e-4e73-a97c-3653768ddfb8",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/files?purpose=batch",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "files"
              ],
              "query": [
                {
                  "description": "Filter by file purpose",
                  "key": "purpose",
                  "value": "batch"
                }
              ]
            },
            "description": "Returns a list of uploaded files."
          },
          "response": [
            {
              "id": "645bf471-d588-4488-b99c-34165a085c21",
              "name": "List of files",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/files?purpose=batch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "files"
                  ],
                  "query": [
                    {
                      "description": "Filter by file purpose",
                      "key": "purpose",
                      "value": "batch"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"object\": \"list\",\n  \"data\": [\n    {\n      \"id\": \"<string>\",\n      \"object\": \"file\",\n      \"bytes\": \"<integer>\",\n      \"created_at\": \"<integer>\",\n      \"filename\": \"<string>\",\n      \"purpose\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"object\": \"file\",\n      \"bytes\": \"<integer>\",\n      \"created_at\": \"<integer>\",\n      \"filename\": \"<string>\",\n      \"purpose\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T03:19:56.000Z",
              "updatedAt": "2026-07-28T03:19:56.000Z",
              "uid": "35240-645bf471-d588-4488-b99c-34165a085c21"
            },
            {
              "id": "250abec3-8640-4477-a866-23363b43e735",
              "name": "Unauthorized - invalid or missing API key",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/files?purpose=batch",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "files"
                  ],
                  "query": [
                    {
                      "description": "Filter by file purpose",
                      "key": "purpose",
                      "value": "batch"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"type\": \"<string>\"\n  }\n}",
              "createdAt": "2026-07-28T03:19:56.000Z",
              "updatedAt": "2026-07-28T03:19:56.000Z",
              "uid": "35240-250abec3-8640-4477-a866-23363b43e735"
            }
          ],
          "createdAt": "2026-07-28T03:19:56.000Z",
          "updatedAt": "2026-07-28T03:19:56.000Z",
          "uid": "35240-19233a62-1f4e-4e73-a97c-3653768ddfb8"
        },
        {
          "name": "Upload File",
          "id": "5a9f632b-fdc9-4d7a-adf9-60563f9596b2",
          "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) ",
                  "key": "file",
                  "type": "file",
                  "value": null
                },
                {
                  "description": "(Required)  (This can only be one of assistants,batch,fine-tune)",
                  "key": "purpose",
                  "value": "batch",
                  "type": "text"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/files",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "files"
              ]
            },
            "description": "Upload a file for use with the API."
          },
          "response": [
            {
              "id": "b9e16a84-bb11-4627-9971-94b84eadf169",
              "name": "Uploaded file metadata",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "multipart/form-data"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": "(Required) ",
                      "key": "file",
                      "type": "file"
                    },
                    {
                      "description": "(Required)  (This can only be one of assistants,batch,fine-tune)",
                      "key": "purpose",
                      "value": "batch",
                      "type": "text"
                    }
                  ]
                },
                "url": {
                  "raw": "{{baseUrl}}/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "files"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"id\": \"<string>\",\n  \"object\": \"file\",\n  \"bytes\": \"<integer>\",\n  \"created_at\": \"<integer>\",\n  \"filename\": \"<string>\",\n  \"purpose\": \"<string>\"\n}",
              "createdAt": "2026-07-28T03:19:56.000Z",
              "updatedAt": "2026-07-28T03:19:56.000Z",
              "uid": "35240-b9e16a84-bb11-4627-9971-94b84eadf169"
            },
            {
              "id": "5bc572fd-97e8-4b7a-81cf-fafedccc1e9c",
              "name": "Bad request - invalid parameters",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "multipart/form-data"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": "(Required) ",
                      "key": "file",
                      "type": "file"
                    },
                    {
                      "description": "(Required)  (This can only be one of assistants,batch,fine-tune)",
                      "key": "purpose",
                      "value": "batch",
                      "type": "text"
                    }
                  ]
                },
                "url": {
                  "raw": "{{baseUrl}}/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "files"
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"type\": \"<string>\",\n    \"code\": \"<string>\"\n  }\n}",
              "createdAt": "2026-07-28T03:19:56.000Z",
              "updatedAt": "2026-07-28T03:19:56.000Z",
              "uid": "35240-5bc572fd-97e8-4b7a-81cf-fafedccc1e9c"
            },
            {
              "id": "0ab7c250-a4ac-4d84-8493-798ab50d0b55",
              "name": "Unauthorized - invalid or missing API key",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "multipart/form-data"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": "(Required) ",
                      "key": "file",
                      "type": "file"
                    },
                    {
                      "description": "(Required)  (This can only be one of assistants,batch,fine-tune)",
                      "key": "purpose",
                      "value": "batch",
                      "type": "text"
                    }
                  ]
                },
                "url": {
                  "raw": "{{baseUrl}}/files",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "files"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"type\": \"<string>\"\n  }\n}",
              "createdAt": "2026-07-28T03:19:56.000Z",
              "updatedAt": "2026-07-28T03:19:56.000Z",
              "uid": "35240-0ab7c250-a4ac-4d84-8493-798ab50d0b55"
            }
          ],
          "createdAt": "2026-07-28T03:19:56.000Z",
          "updatedAt": "2026-07-28T03:19:56.000Z",
          "uid": "35240-5a9f632b-fdc9-4d7a-adf9-60563f9596b2"
        }
      ],
      "id": "62fe5f78-070f-4d78-91ea-5fc9f1430202",
      "createdAt": "2026-07-28T03:19:56.000Z",
      "updatedAt": "2026-07-28T03:19:56.000Z",
      "uid": "35240-62fe5f78-070f-4d78-91ea-5fc9f1430202"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://app.truefoundry.com/api/llm"
    }
  ]
}