{
  "opencollection": "1.0.0",
  "info": {
    "name": "Hedra Web Public API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Public",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/web-app/public/models",
            "params": [
              {
                "name": "types",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "List Models"
        },
        {
          "info": {
            "name": "List Voices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/web-app/public/voices",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "List Voices"
        },
        {
          "info": {
            "name": "List Assets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/web-app/public/assets",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "query"
              },
              {
                "name": "ids",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "List Assets"
        },
        {
          "info": {
            "name": "Create Asset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/web-app/public/assets",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Create Asset"
        },
        {
          "info": {
            "name": "Upload Asset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/web-app/public/assets/:id/upload",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Upload Asset"
        },
        {
          "info": {
            "name": "List ",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/web-app/public/generations",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "query"
              },
              {
                "name": "created_before",
                "value": "",
                "type": "query"
              },
              {
                "name": "created_after",
                "value": "",
                "type": "query"
              },
              {
                "name": "prompt_query",
                "value": "",
                "type": "query"
              },
              {
                "name": "agent_thread_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "ids",
                "value": "",
                "type": "query"
              },
              {
                "name": "paging_params",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "List "
        },
        {
          "info": {
            "name": "Generate Asset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/web-app/public/generations",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Generate Asset"
        },
        {
          "info": {
            "name": "Get Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/web-app/public/generations/:generation_id/status",
            "params": [
              {
                "name": "generation_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get Status"
        },
        {
          "info": {
            "name": "Get Credits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/web-app/public/billing/credits",
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Get Credits"
        }
      ]
    }
  ],
  "bundled": true
}