Endpoint
Authentication
Use any supported authentication header:| Header | Example |
|---|---|
Authorization | Bearer $PIPELLM_API_KEY |
x-api-key | $PIPELLM_API_KEY |
Code Examples
- cURL
- Python
- Node.js
Response
Response Fields
| Field | Type | Description |
|---|---|---|
object | string | Always "list" |
data | array | Array of model objects |
data[].id | string | Model ID, used in API requests |
data[].display_name | string | Human-readable model name |
data[].type_target | string | API format: openai or anthropic |
data[].created_at | string | Model creation timestamp (RFC3339) |
total | integer | Total number of available models |