> ## Documentation Index
> Fetch the complete documentation index at: https://modelrunner.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Collection

> One published collection with its member models. Unpublished collections are not readable here.



## OpenAPI

````yaml /platform-openapi.json get /collections/{slug}
openapi: 3.1.0
info:
  title: ModelRunner Platform API
  version: 1.0.0
  description: >-
    Platform APIs: model catalog, search and collections; model pricing rate
    cards; the Serverless GPU catalog and deployment templates; file uploads and
    your asset library; account balance and usage; and webhook delivery
    management. Catalog reads are public; account-scoped routes authenticate
    with your API key (`Authorization: Key <MODELRUNNER_KEY>`). Request
    lifecycle endpoints (submit/status/result and the request list) live on the
    queue host — see the Queue API reference.
servers:
  - url: https://api.modelrunner.run
security: []
paths:
  /collections/{slug}:
    get:
      summary: Get Collection
      description: >-
        One published collection with its member models. Unpublished collections
        are not readable here.
      parameters:
        - name: slug
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CollectionWithModels'
        '404':
          description: Unknown slug, or the collection is not published.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    CollectionWithModels:
      type: object
      properties:
        id:
          type: string
          format: uuid
        slug:
          type: string
          description: URL-safe identifier used by `GET /collections/{slug}`.
        title:
          type: string
        description:
          type: string
        heroImageUrl:
          type:
            - string
            - 'null'
        isPublished:
          type: boolean
          description: Always `true` on these public reads.
        sortBy:
          type: string
          enum:
            - newest
            - name
            - category
          description: How the collection orders its members for display.
        displayOrder:
          type: integer
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        models:
          type: array
          items:
            $ref: '#/components/schemas/CollectionModelSummary'
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
        request_id:
          type: string
          description: Correlation id for support.
    CollectionModelSummary:
      type: object
      description: >-
        The trimmed model card returned inside a collection. Fetch the full
        record from `GET /models` or the per-model OpenAPI document.
      properties:
        id:
          type: string
          format: uuid
        ownerName:
          type: string
        alias:
          type: string
          description: May contain slashes. The endpoint is `ownerName/alias`.
        name:
          type:
            - string
            - 'null'
        variantName:
          type:
            - string
            - 'null'
        shortDescription:
          type: string
        category:
          type: string
        inputModalities:
          type: array
          items:
            type: string
        outputModalities:
          type: array
          items:
            type: string
        thumbnailUrl:
          type: string
        createdAt:
          type: string
          format: date-time

````