Models

List available AI models in a workspace with optional filtering by modality, capabilities, and text search.

get/v1/workspaces/{workspace_id}/models

Request

  • Base URL: https://api.app.layer.ai/api
  • URL: https://api.app.layer.ai/api/v1/workspaces/{workspace_id}/models
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://auth.app.layer.ai/authorize, token URL https://auth.app.layer.ai/oauth/token)
    • OAuth 2 (client credentials, token URL https://api.app.layer.ai/api/oauth/token, scopes: generation:read)

Path parameters

workspace_idstring uuid required

Id of the workspace that owns the resource.

Query parameters

modality'image' | 'video' | 'three_d' | 'audio' | 'world' | 'text' nullable

Filter by modality

searchstring nullable

Full-text search on model name/description

supports_reference_imagesboolean nullable

Require reference image support

inpaintingboolean nullable

Require inpainting support

outpaintingboolean nullable

Require outpainting support

generate_audioboolean nullable

Require audio generation with video

text_to_3dboolean nullable

Require text-to-3D

image_to_3dboolean nullable

Require image-to-3D

text_to_speechboolean nullable

Require text-to-speech

sound_effectboolean nullable

Require sound effect generation

limitinteger

Maximum number of results to return.

cursorstring nullable

Cursor from a previous response to fetch the next page.

Response

Successful Response

Changes

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security serviceAccount was added to the API

    • info

      the security scope generation:read was removed from the endpoint's security scheme oauth2