agents
List Agents
Changed onReturns Agents visible to the caller. Each item is the same Agent shape as GET /api/v1/agents/{agent_id}, including the environments the caller may read. The list never embeds runtime bindings. An unknown query parameter, including limit, returns 400; use page_size to set the page size.
get/api/v1/agents
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/agents
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Query parameters
page_sizeinteger
Maximum number of Agents to return
cursorstring
Opaque pagination cursor
sort_by'last_run_start_time' | 'name' | 'created_at'
Field to sort by. When name is set, exact name matches still come first.
sort_order'asc' | 'desc'
Sort direction
idstring[]
Exact Agent ids (repeat the parameter; maximum 100)
namestring
Case-insensitive partial Agent name
source_type'LSD' | 'MDA' | 'EXTERNAL' | 'FLEET'
Agent source type
Response
OK
Changes
- info
added the optional property
//to the response with the status
- info
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info