Grepr LiteLLM Integration API

The LiteLLM Integration API from Grepr — 4 operation(s) for litellm integration.

Operations 7

GET /v1/integrations/litellm List all LiteLLM integrations #
POST /v1/integrations/litellm Create a LiteLLM integration #
DELETE /v1/integrations/litellm/{id} Delete a LiteLLM integration #
GET /v1/integrations/litellm/{id} Get a LiteLLM integration #
PUT /v1/integrations/litellm/{id} Update a LiteLLM integration #
PUT /v1/integrations/litellm/{id}/api-key Creates or updates a LiteLLM integration API key #
GET /v1/integrations/litellm/{id}/models Models 2 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/grepr:grepr-litellm-integration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

grepr-litellm-integration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Grepr LiteLLM Integration API
  version: 1.0.0
  description: 'Operations tagged LiteLLM Integration across 2 of this provider''s published API definitions: grepr-openapi.json, grepr.json. Each path carries the servers of the definition it was published in.'
tags:
- name: LiteLLM Integration
paths:
  /v1/integrations/litellm:
    get:
      operationId: list_8
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemsCollectionReadLiteLlm'
          description: Integrations retrieved successfully
        '401':
          description: Unauthorized
      security:
      - grepr-api-key: []
      - grepr-oidc: []
      summary: List all LiteLLM integrations
      tags:
      - LiteLLM Integration
    post:
      operationId: create_6
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WriteLiteLlm'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadLiteLlm'
          description: Integration created successfully
        '401':
          description: Unauthorized
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadLiteLlm'
          description: Integration already exists.
      security:
      - grepr-api-key: []
      - grepr-oidc: []
      summary: Create a LiteLLM integration
      tags:
      - LiteLLM Integration
  /v1/integrations/litellm/{id}:
    delete:
      operationId: delete_6
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Integration deleted successfully
        '401':
          description: Unauthorized
      security:
      - grepr-api-key: []
      - grepr-oidc: []
      summary: Delete a LiteLLM integration
      tags:
      - LiteLLM Integration
    get:
      operationId: get_8
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadLiteLlm'
          description: Integration retrieved successfully
        '401':
          description: Unauthorized
        '404':
          description: Integration not found.
      security:
      - grepr-api-key: []
      - grepr-oidc: []
      summary: Get a LiteLLM integration
      tags:
      - LiteLLM Integration
    put:
      operationId: update_4
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WriteLiteLlm'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadLiteLlm'
          description: Integration updated successfully
        '401':
          description: Unauthorized
        '404':
          description: Integration not found.
        '409':
          description: Integration was modified or deleted concurrently.
      security:
      - grepr-api-key: []
      - grepr-oidc: []
      summary: Update a LiteLLM integration
      tags:
      - LiteLLM Integration
  /v1/integrations/litellm/{id}/api-key:
    put:
      operationId: upsertApiKey_2
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SecretApi'
      responses:
        '204':
          description: API key upserted successfully.
        '400':
          description: Invalid API key.
        '401':
          description: Unauthorized
        '404':
          description: Integration not found.
        '503':
          description: LiteLLM is rate-limiting or unavailable; retry later.
      security:
      - grepr-api-key: []
      - grepr-oidc: []
      summary: Creates or updates a LiteLLM integration API key
      tags:
      - LiteLLM Integration
  /v1/integrations/litellm/{id}/models:
    get:
      operationId: models_2
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemsCollectionString'
          description: default response
      security:
      - grepr-api-key: []
      - grepr-oidc: []
      tags:
      - LiteLLM Integration
      summary: Models 2
      x-summary-source: derived
components:
  schemas:
    ReadLiteLlm:
      properties:
        createdAt:
          description: Timestamp when the integration was created.
          format: date-time
          readOnly: true
          type: string
        id:
          description: The integration id
          type: string
        jobIds:
          description: List of job IDs associated with the integration.
          items:
            description: List of job IDs associated with the integration.
            type: string
          type: array
          uniqueItems: true
        name:
          description: Name of the integration.
          example: my_integration
          pattern: '[a-zA-Z0-9 _-]{1,128}'
          type: string
        organizationId:
          description: Organization ID of the integration.
          type: string
        payload:
          $ref: '#/components/schemas/LiteLlm'
        teamIds:
          description: The team IDs that this integration is associated with.
          items:
            description: The team IDs that this integration is associated with.
            type: string
          type: array
          uniqueItems: true
        type:
          description: The type of the integration. This is used to determine the payload type.
          enum:
          - litellm
          type: string
        updatedAt:
          description: Timestamp when the integration was last updated.
          format: date-time
          readOnly: true
          type: string
        version:
          description: Version of the integration. Should be increased by one for every new update in order for the write to succeed. Otherwise, a '409 Conflict' will be returned.
          example: 0
          format: int32
          minimum: 0
          type: integer
      required:
      - createdAt
      - id
      - jobIds
      - name
      - organizationId
      - payload
      - type
      - updatedAt
      - version
      type: object
    WriteLiteLlm:
      properties:
        name:
          description: Name of the integration.
          example: my_integration
          pattern: '[a-zA-Z0-9 _-]{1,128}'
          type: string
        payload:
          $ref: '#/components/schemas/LiteLlm'
        teamIds:
          default: []
          description: The team IDs that this integration is associated with.
          items:
            description: The team IDs that this integration is associated with.
            type: string
          type: array
          uniqueItems: true
        type:
          description: The type of the integration. This is used to determine the payload type.
          enum:
          - litellm
          type: string
        version:
          description: Version of the integration. Should be increased by one for every new update in order for the write to succeed. Otherwise, a '409 Conflict' will be returned.
          example: 0
          format: int32
          minimum: 0
          type: integer
      required:
      - name
      - payload
      - type
      - version
      type: object
    ItemsCollectionString:
      properties:
        items:
          default: []
          items:
            type: string
          type: array
      type: object
    SecretApi:
      description: Secret wrapper for API responses
      properties:
        secret:
          description: The secret value
          type: string
      required:
      - secret
      type: object
    LiteLlm:
      description: The payload containing integration data.
      properties:
        apiKey:
          description: Masked API key for LiteLLM
          example: '**************ey'
          readOnly: true
          type: string
        baseUrl:
          description: Base URL of the LiteLLM proxy.
          example: https://litellm.example.com/team-a
          type: string
        integrationMaxTokens:
          description: Total tokens all agents using this integration may consume per max-tokens window. Null uses the default of 200,000,000.
          example: 200000000
          format: int64
          minimum: 1
          type: integer
        maxTokensWindowHours:
          description: Length in hours of the UTC-aligned max tokens window; must be a divisor of 24. Null uses the default of 1.
          example: 24
          format: int32
          maximum: 24
          minimum: 1
          type: integer
        validateKeysOnSave:
          default: true
          description: Indicates whether to validate the API key when saving.
          example: true
          type: boolean
      required:
      - baseUrl
      type: object
      x-type:
        type: litellm
    ItemsCollectionReadLiteLlm:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/ReadLiteLlm'
          type: array
      type: object
  securitySchemes:
    grepr-api-key:
      in: header
      name: GREPR-API-KEY
      type: apiKey
    grepr-oidc:
      bearerFormat: JWT
      openIdConnectUrl: https://grepr-prod.us.auth0.com/.well-known/openid-configuration
      type: openIdConnect
x-refined-from:
- grepr-openapi.json
- grepr.json
x-tagGroups:
- name: Integrations
  tags:
  - Grepr-hosted Data Warehouse Integration
  - External S3 Data Warehouse Integration
  - Datadog Integration
  - New Relic Integration
  - Splunk Integration
  - Sumo Logic Integration
  - OpenTelemetry Integration
- name: Pipelines
  tags:
  - Jobs
  - Templates
  - Datasets
  - Status Metrics
  - External Triggers
  - Job Actions
  - Triggers
- name: Pipeline Components
  tags:
  - Operations
  - Transforms
  - Sources
  - Sinks
- name: Administration
  tags:
  - Users
  - Teams
  - Roles
  - Permission
  - Invitations
  - Activity Logs
- name: Organization
  tags:
  - Organizations
  - Access Configuration
  - Grepr API Key
  - Service Accounts
  - Signup
- name: Query & Analysis
  tags:
  - Job Anomalies
  - Grok Parsing
  - Query Parsing
  - Validation
- name: System
  tags:
  - Manifest