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,
apiKey: process.env.MAX_API_KEY,
});
const result = await max.api.getV1AgentsAgentId({
"path": {
"agent_id": "agt_example"
}
});
console.log(result);
import os
from elmax_ai import MaxClient
with MaxClient(base_url=os.environ["MAX_API_URL"], api_key=os.environ["MAX_API_KEY"]) as max:
result = max.api.get_v1_agents_agent_id(**{'path': {'agent_id': 'agt_example'}})
print(result)
Response fields
access
string
algorithm_id
string | null
allowed_tools
List of string
author
AgentAuthorResponse | null
catalog_starter_prompts
List of CatalogStarterPromptInput | null
catalog_usage_guidance
string | null
category
string | null
created_at
string | null
description
string | null
forked_from_id
string | null
id
string
is_featured
boolean
is_public
boolean
judge_config
object
judge_enabled
boolean
judge_prompt_name
string | null
judge_strategy
string | null
max_tool_rounds
integer | null
model_name
string | null
name
string
outfit
classic | studio-jacket | field-vest | null
owner_user_id
string
prompt_ref
string | null
prompt_refs
List of string | null
prompt_source
string
public_slug
string | null
published_at
string | null
repository_names
List of string
system_prompt
string | null
temperature
number | null
updated_at
string | null
Errors and recovery
401
Supply a valid credential for this route.
403
Check the credential's scopes, project, audience, ownership and current access.
404
Check the resource ID and workspace. A route may conceal private resources.
409
Refresh the resource or reuse the same request ID and request body for a retry.
422
Compare the request body and parameters with the published schema.
429
Wait for capacity or credits. Check the original operation before retrying a write.