GenAI Integration

List cached content entries (Gemini format)

GET
/genai/v1beta/cachedContents
AuthorizationBearer <token>

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

In: header

Query Parameters

pageSize?integer
pageToken?string

Header Parameters

x-model-provider?string

Response Body

curl -X GET "http://localhost:8080/genai/v1beta/cachedContents?pageSize=0&pageToken=string" \  -H "x-model-provider: string"
{}
{
  "error": {
    "code": 0,
    "message": "string",
    "status": "string",
    "details": [
      {
        "@type": "string",
        "fieldViolations": [
          {
            "description": "string"
          }
        ]
      }
    ]
  }
}
On this page

On this page

No Headings