API docsAPI reference

Project model catalog

Use GET /api/v1/models?project={id} to read a project’s public model catalog, including its chosen providers and resale prices. Omit project for platform models; append &type=video or another type to filter.

GET/api/v1/modelsPublic · No API key

Request

cURL
curl 'https://01router.com/api/v1/models?project=YOUR_PROJECT_ID'
cURL
curl 'https://01router.com/api/v1/models?project=YOUR_PROJECT_ID&type=video'

Input parameters

Query / path parameters
project
string · queryOptional

Optional project ID. Use its published model catalog and routing configuration.

type
stringOptional

video / image / audio / chat

Allowed values:"video""image""audio""chat"

Response example

200 · application/json
{
  "object": "list",
  "project": {
    "id": "YOUR_PROJECT_ID",
    "name": "Example project"
  },
  "data": []
}

Responses are illustrative. IDs, usage, prices and results depend on the actual request.

Response fields

project
object

id, name

data
array

Project model objects: slug, name, type, vendor, description, tags, coverUrl, provider, providerName, params, prices, fromMicros and fromUnit. Prices include the project markup; these entries have one provider, not a providers array.

Use with AI

Give your coding assistant the documentation index or the full API reference, including live model parameters.