For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DiscordPlatform
DocumentationIntegrationsAPI referenceSDKsChangelog
DocumentationIntegrationsAPI referenceSDKsChangelog
  • API Reference
      • GETGet models summary
      • POSTFilter models summary
      • GETList models with filters
      • POSTFilter models
      • GETList public model catalog
      • GETList models
      • POSTCreate or update a custom model
      • GETRetrieve a model
      • PATCHUpdate a custom model
      • DELDelete a custom model
      • GETList custom providers
      • POSTCreate a custom provider
      • GETRetrieve a custom provider
      • PATCHUpdate a custom provider
      • DELDelete a custom provider
      • PUTReplace a custom model
      • PUTReplace a custom provider
  • Reference
    • Filters API Reference
LogoLogo
DiscordPlatform
API ReferenceModels

List public model catalog

GET
https://api.respan.ai/api/models/public
GET
/api/models/public
$curl https://api.respan.ai/api/models/public
200Retrieved
1{
2 "models": [
3 {
4 "model_name": "gpt-4o-mini",
5 "max_context_window": 128000,
6 "input_cost": 0.15,
7 "output_cost": 0.6,
8 "prompt_cost": 0.15,
9 "completion_cost": 0.6,
10 "provider": {
11 "provider_name": "OpenAI",
12 "provider_id": "openai",
13 "moderation": "filtered",
14 "credential_fields": [
15 "api_key"
16 ]
17 }
18 }
19 ]
20}

List built-in public models and provider metadata. This endpoint does not require authentication. By default the response is { "models": [...] }; pass unnest=true to return the array directly.

Was this page helpful?
Previous

List models

Next
Built with

Query parameters

unnestbooleanOptionalDefaults to false

If true, return the public model catalog as an array instead of { "models": [...] }.

Response

Public model catalog.
object
OR
list of objects