{
  "opencollection": "1.0.0",
  "info": {
    "name": "The Companies actions prompts API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "prompts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "fetchPrompts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.thecompaniesapi.com/v2/prompts",
            "params": [
              {
                "name": "companyId",
                "value": "",
                "type": "query"
              },
              {
                "name": "context",
                "value": "",
                "type": "query"
              },
              {
                "name": "feature",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "listId",
                "value": "",
                "type": "query"
              },
              {
                "name": "model",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "prompt",
                "value": "",
                "type": "query"
              },
              {
                "name": "search",
                "value": "",
                "type": "query"
              },
              {
                "name": "size",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Fetch prompts history."
        },
        {
          "info": {
            "name": "deletePrompt",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.thecompaniesapi.com/v2/prompts/:promptId",
            "params": [
              {
                "name": "promptId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete a prompt."
        },
        {
          "info": {
            "name": "productPrompt",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.thecompaniesapi.com/v2/prompts/product",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Query the product prompt."
        },
        {
          "info": {
            "name": "promptToSegmentation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.thecompaniesapi.com/v2/prompts/segmentation",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Convert a query to a segmentation."
        }
      ]
    }
  ],
  "bundled": true
}