max developers SDK 0.4.0
API reference

List Public Agents Catalog

GET /v1/agents/public

Request fields

FieldLocationTypeRequired
limitqueryintegerOptional
offsetqueryintegerOptional

Examples

Use the environment settings from Quickstart. Replace sample resource IDs with your own. The examples show the required request shape.

import { MaxClient } from "@elmax/api";

const max = new MaxClient({
  baseURL: process.env.MAX_API_URL,
});

const result = await max.api.getV1AgentsPublic({});
console.log(result);
import os
from elmax_ai import MaxClient

with MaxClient(base_url=os.environ["MAX_API_URL"]) as max:
    result = max.api.get_v1_agents_public(**{})
    print(result)

Response type object

Errors and recovery