Retrieve Config

Get a config

GEThttps://api.portkey.ai/v1/configs/{slug}
Path parameters
slug*string
Response

Config details

Body
successboolean
dataobject
Response
{
  "success": false,
  "data": {
    "config": {
      "retry": {
        "on_status_codes": []
      },
      "cache": {
        "mode": "text"
      },
      "strategy": {
        "mode": "text"
      },
      "targets": [
        {
          "provider": "text",
          "virtual_key": "text"
        }
      ]
    }
  }
}

Last updated