Cerebras ListModels

Cerebras ListModels

Certified

List available Cerebras models

Calls the Cerebras Models API (GET /models) and returns the models available to your API key.

yaml
type: io.kestra.plugin.cerebras.ListModels

List available Cerebras models and log them.

yaml
id: list_cerebras_models
namespace: company.team

tasks:
  - id: list_models
    type: io.kestra.plugin.cerebras.ListModels
    apiKey: "{{ secret('CEREBRAS_API_KEY') }}"

  - id: log_models
    type: io.kestra.plugin.core.log.Log
    message: "Available models: {{ outputs.list_models.models }}"
Properties

Cerebras API key

Sent as a Bearer token. Store it in a secret, e.g. {{ secret('CEREBRAS_API_KEY') }}.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
Defaulthttps://api.cerebras.ai/v1

Cerebras API base URL

Defaults to https://api.cerebras.ai/v1. Override it to target a different Cerebras-compatible endpoint.

Available models

Models returned by the API, in the order received. Empty when no model is available.

Definitions
createdstring
Formatdate-time

Creation date

Model creation time. Null when the API does not provide a meaningful timestamp.

idstring

Model ID

Identifier to use as model in ChatCompletion.

ownedBystring

Model owner