API

DesktopLocalAgentModel

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/organizations/{organization_id}/desktop_local_agent/models list The model catalog for standalone Desktop Local inference

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

desktop_local_agent_models, err := client.DesktopLocalAgentModel(nil).List(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(desktop_local_agent_models)

Lua

Construct client as shown in the Lua setup, then call the operations:

local desktop_local_agent_models, err = client:DesktopLocalAgentModel():list({ organization_id = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$desktop_local_agent_models = $client->DesktopLocalAgentModel()->list(["organization_id" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

desktop_local_agent_models = client.DesktopLocalAgentModel().list({"organization_id": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

desktop_local_agent_models = client.DesktopLocalAgentModel.list({ "organization_id" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const desktop_local_agent_models = await client.DesktopLocalAgentModel().list({ organization_id: "example" })

Fields

Field Type Required Description
id string Yes Id
name string Yes Name

list

GET /api/v1/organizations/{organization_id}/desktop_local_agent/models

Operation ID: api_v1_organization_desktop_local_agent_models.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes

Responses

200: The model catalog for standalone Desktop Local inference

application/json

Property Type Required Description
models array of object Yes
models[].id string Yes
models[].name string Yes
401: Authentication required
403: Forbidden
404: Desktop Local preview or organization is unavailable to the account
422: Unprocessable entity
502: Bad gateway