!pip install vlmrun
from vlmrun.client import VLMRun
from vlmrun.client.types import AgentInfo
client = VLMRun(api_key="<VLMRUN_API_KEY>")
response: AgentInfo = client.agent.list(skip=0, limit=10)
import { VlmRun } from "vlmrun";
const client = new VlmRun({
baseURL: "https://api.vlm.run/v1",
apiKey: "<VLMRUN_API_KEY>"
});
const response = await client.agent.list();
console.log(response);
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"prompt": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"json_schema": {},
"json_sample": {},
"updated_at": "2023-11-07T05:31:56Z",
"status": "pending"
}
]Agent
List Agents
GET
/
v1
/
agent
!pip install vlmrun
from vlmrun.client import VLMRun
from vlmrun.client.types import AgentInfo
client = VLMRun(api_key="<VLMRUN_API_KEY>")
response: AgentInfo = client.agent.list(skip=0, limit=10)
import { VlmRun } from "vlmrun";
const client = new VlmRun({
baseURL: "https://api.vlm.run/v1",
apiKey: "<VLMRUN_API_KEY>"
});
const response = await client.agent.list();
console.log(response);
[
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"prompt": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"json_schema": {},
"json_sample": {},
"updated_at": "2023-11-07T05:31:56Z",
"status": "pending"
}
]!pip install vlmrun
from vlmrun.client import VLMRun
from vlmrun.client.types import AgentInfo
client = VLMRun(api_key="<VLMRUN_API_KEY>")
response: AgentInfo = client.agent.list(skip=0, limit=10)
import { VlmRun } from "vlmrun";
const client = new VlmRun({
baseURL: "https://api.vlm.run/v1",
apiKey: "<VLMRUN_API_KEY>"
});
const response = await client.agent.list();
console.log(response);
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
200 - application/json
Successful Response
ID of the agent
Name of the agent
Description of the agent
The prompt of the agent
Date and time when the agent was created (in UTC timezone)
The JSON schema of the agent's sample response
The sample JSON response from the model.
Date and time when the agent was updated (in UTC timezone)
The status of the job.
Available options:
pending, enqueued, running, completed, failed, paused