Get Agent(s)
Agents
Get Agent(s)
POST
Get Agent(s)
Use this API to fetch a single agent or list agents in your workspace. The endpoint behaves differently based on the provided fields:
Errors:
agentIdprovided: returns a single agent. For custom agents, the response merges identity + behavioral fields from the version subcollection. For built-in agents, only sanitized public fields are returned.agentIdomitted: returns a list of agents with identity-only fields. Optionally filter byfilter(default vs custom) and/orgroupId(members of an agent group).
metadata.internal: true (e.g. crawler, screenshot) are excluded from list responses but can still be fetched individually.
Endpoint
POST https://api.velt.dev/v2/agents/get
Headers
Your API key.
Your Auth Token.
Body
Params
Example Requests
1. Get a single custom agent
2. Get a single built-in agent
3. List all agents (no filter)
4. List only custom agents
5. List agents in a group
Response
Success Response (single custom agent)
Custom agents return the full configuration including behavioral fields from the version subcollection:Any auth secrets are returned as
"__redacted__" — they are never sent back in plaintext. This applies to both rest-api strategy secrets stored in contextGathering.strategyOptions and mcp-tools server secrets stored in execution.mcpServers[].auth.Success Response (single built-in agent — sanitized)
Built-in agents return only public fields. Internal implementation fields (instructions, contextGathering, execution, postProcess, response, payloadSchema, supportedVariables) are stripped.
Success Response (list)
List rows are identity-only. Built-in agents includesystem: true; internal agents (crawler, screenshot) are omitted.
Failure Response
NOT_FOUND (agent or group not found) / INVALID_ARGUMENT (invalid filter value).

