http
GET /agentsList agents across projects.
Servers
JSON
[ { "url": "https://api.veryfront.com" }]Authentication
JSON
[ { "bearerAuth": [] }, { "apiKeyAuth": [] }]JSON
{ "bearerAuth": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT or API Key", "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header." }, "apiKeyAuth": { "type": "apiKey", "in": "header", "name": "X-API-Key", "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens." }}Parameters
Parameter contracts
JSON
[ { "schema": { "type": "string", "format": "uuid" }, "required": false, "name": "account_id", "in": "query" }, { "schema": { "type": "string", "description": "Opaque cursor returned from `page_info.next` or `page_info.prev`." }, "required": false, "name": "cursor", "in": "query" }, { "schema": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50, "description": "Maximum number of agents to return, from 1 to 100." }, "required": false, "name": "limit", "in": "query" }, { "schema": { "type": "string", "minLength": 1, "maxLength": 200, "description": "Case-insensitive search across agent names, agent IDs, and project names. Requires `sort_by=project_name` with `sort_order=asc` and `access=all`, with no `kind` or `runtime_status` filter. Any cursor must come from a page with compatible search options. Other combinations return `400`." }, "required": false, "name": "search", "in": "query" }, { "schema": { "type": "string", "minLength": 1, "maxLength": 200, "description": "Optional project slug or ID to narrow the account-wide collection." }, "required": false, "name": "project_reference", "in": "query" }, { "schema": { "type": "string", "enum": [ "all", "project", "shared" ], "default": "all", "description": "Access source filter. `shared` is reserved for direct shared-agent grants and currently returns an empty set. Public templates are listed by the agent template catalog, not here." }, "required": false, "name": "access", "in": "query" }, { "schema": { "type": "string", "enum": [ "source_project_agent", "installed_project_agent" ], "description": "Filter by project-agent kind." }, "required": false, "name": "kind", "in": "query" }, { "schema": { "type": "string", "enum": [ "ready", "offline", "not_applicable", "unknown" ], "description": "Filter by runtime readiness status." }, "required": false, "name": "runtime_status", "in": "query" }, { "schema": { "type": [ "array", "null" ], "items": { "type": "string" }, "description": "Label filters as key or key=value, repeated or comma-separated. All filters must match. Applied before pagination. Example: ?label=team=platform&label=criticality=high" }, "required": false, "name": "label", "in": "query" }, { "schema": { "type": "string", "enum": [ "name", "project_name", "updated_at" ], "default": "project_name", "description": "Field to sort by. Ties break by agent row ID ascending." }, "required": false, "description": "Field to sort by. Ties break by agent row ID ascending.", "name": "sort_by", "in": "query" }, { "schema": { "type": "string", "enum": [ "asc", "desc" ], "default": "asc", "description": "Sort direction. Defaults to asc, the order the directory has always used." }, "required": false, "description": "Sort direction. Defaults to asc, the order the directory has always used.", "name": "sort_order", "in": "query" }]Responses
200
Paginated account-wide accessible agents
JSON
{ "description": "Paginated account-wide accessible agents", "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "description": "Opaque stable account-wide agent row ID." }, "agent_id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "avatar_url": { "type": [ "string", "null" ] }, "kind": { "type": "string", "enum": [ "source_project_agent", "installed_project_agent" ] }, "source_type": { "type": "string", "enum": [ "project", "catalog_install" ] }, "can_run": { "type": "boolean", "description": "Whether a run can start on this agent. False when the project has no billing owner; starting a run there fails with 422 project-billing-owner-missing. True does not prove live runtime readiness, model availability, or execution authorization; these are checked when a run starts." }, "provider": { "type": "object", "properties": { "organization": { "type": "string" }, "url": { "type": "string" } }, "required": [ "organization", "url" ] }, "version": { "type": "string" }, "capabilities": { "type": "object", "properties": { "streaming": { "type": "boolean" }, "push_notifications": { "type": "boolean" }, "extensions": { "type": "array", "items": { "type": "string" } } }, "required": [ "streaming", "push_notifications", "extensions" ] }, "default_input_modes": { "type": "array", "items": { "type": "string" } }, "default_output_modes": { "type": "array", "items": { "type": "string" } }, "tools": { "type": "array", "items": { "type": "string" } }, "skills": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "examples": { "type": "array", "items": { "type": "string" } } }, "required": [ "id", "name" ] } }, "suggestions": { "type": "array", "items": { "anyOf": [ { "type": "string", "minLength": 1 }, { "type": "object", "properties": { "title": { "type": "string", "minLength": 1 }, "prompt": { "type": "string", "minLength": 1 } }, "required": [ "title", "prompt" ], "additionalProperties": false } ] } }, "project": { "type": "object", "properties": { "account_id": { "type": [ "string", "null" ], "format": "uuid" }, "account_name": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reference": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "reference", "name" ] }, "access": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "project", "project_install", "shared" ] }, "relation": { "type": "string", "enum": [ "owner", "admin", "editor", "viewer" ] } }, "required": [ "type", "relation" ] }, "runtime_readiness": { "type": "object", "properties": { "status": { "type": "string", "enum": [ "ready", "offline", "not_applicable", "unknown" ] }, "reason": { "type": [ "string", "null" ] }, "runtime_target_kind": { "type": [ "string", "null" ], "enum": [ "registered_push_service", "pull_worker", null ] }, "runtime_service_key": { "type": [ "string", "null" ] } }, "required": [ "status", "reason", "runtime_target_kind", "runtime_service_key" ], "description": "Readiness of a registered push or pull runtime service, when one applies. For a source agent, not_applicable means this service check does not apply; it does not mean the agent cannot run. This field does not verify model availability or execution access." }, "model": { "type": [ "string", "null" ], "description": "Model identifier exposed by the agent card. Null does not mean a model is required or identify the model a run will use. Model selection and availability are checked at run admission." }, "url": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] }, "labels": { "type": "array", "items": { "$ref": "#/components/schemas/Label" }, "description": "The agent's labels in its project's main source, as `GET .../agents/{agent_id}/labels` lists them." } }, "required": [ "id", "agent_id", "name", "description", "kind", "source_type", "can_run", "provider", "version", "capabilities", "default_input_modes", "default_output_modes", "tools", "skills", "project", "access", "runtime_readiness", "model", "url", "updated_at", "labels" ] } }, "page_info": { "allOf": [ { "$ref": "#/components/schemas/PageInfo" }, { "type": "object", "properties": { "next": { "type": [ "string", "null" ], "description": "Opaque cursor to continue matching rows or remaining scan work. Follow it even when this page has no agents; null means no continuation remains." } } } ] } }, "required": [ "data", "page_info" ] } } }}400
Bad request
JSON
{ "description": "Bad request", "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/Problem" } } }}401
Unauthorized
JSON
{ "description": "Unauthorized", "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/Problem" } } }}403
Forbidden
JSON
{ "description": "Forbidden", "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/Problem" } } }}500
Server error
JSON
{ "description": "Server error", "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/Problem" } } }}503
internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.
JSON
{ "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.", "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/Problem" } } }}Referenced contracts
components/schemas/Label
JSON
{ "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Label UUID." }, "resource_kind": { "type": "string", "enum": [ "project", "project_agent" ], "description": "Resource to which the label is assigned." }, "project_id": { "type": "string", "format": "uuid", "description": "Project UUID containing the labeled resource." }, "source_target_kind": { "type": [ "string", "null" ] }, "source_agent_id": { "type": [ "string", "null" ] }, "namespace": { "type": "string", "description": "Normalized label namespace. API-created labels use user." }, "key": { "type": "string", "description": "Normalized lowercase label key." }, "value": { "type": [ "string", "null" ], "description": "Trimmed label value, or null for a key-only label." }, "color": { "type": [ "string", "null" ], "description": "Trimmed display color, or null when unset." }, "created_at": { "type": "string", "description": "Creation time as an ISO 8601 timestamp." }, "updated_at": { "type": "string", "description": "Last update time as an ISO 8601 timestamp." } }, "required": [ "id", "resource_kind", "project_id", "namespace", "key", "value", "created_at", "updated_at" ]}components/schemas/PageInfo
JSON
{ "type": "object", "properties": { "self": { "type": [ "string", "null" ], "description": "Cursor pointing to the current page" }, "first": { "type": "null", "description": "First page cursor (always null for cursor-based pagination)" }, "next": { "type": [ "string", "null" ], "description": "Cursor for the next page (null if no more pages)" }, "prev": { "type": [ "string", "null" ], "description": "Cursor for the previous page (null if on first page)" } }, "required": [ "self", "first", "next", "prev" ]}components/schemas/Problem
JSON
{ "type": "object", "properties": { "cause": { "type": "string", "enum": [ "schedule_concurrency_forbidden", "schedule_fire_in_progress", "schedule_run_limit_reached" ], "description": "Schedule admission refusal." }, "idempotency": { "type": "object", "properties": { "state": { "type": "string", "enum": [ "in_progress", "payload_mismatch", "outcome_unknown" ] }, "operation": { "type": "string", "minLength": 1 }, "retryable": { "type": "boolean" }, "retry_after_seconds": { "type": [ "integer", "null" ], "minimum": 0 }, "expires_at": { "type": [ "string", "null" ] }, "recovery": { "type": "object", "properties": { "available": { "type": "boolean" }, "description": { "type": "string" }, "resource_url": { "type": "string" } }, "required": [ "available", "description" ] } }, "required": [ "state", "operation", "retryable", "retry_after_seconds", "expires_at" ], "description": "Replay status, retry timing, and recovery lookup." }, "type": { "type": "string", "description": "URI reference identifying the problem type", "example": "https://api.veryfront.com/errors/validation-failed" }, "title": { "type": "string", "description": "Short human-readable summary of the problem", "example": "Validation Failed" }, "status": { "type": "integer", "minimum": 100, "maximum": 599, "description": "HTTP status code", "example": 400 }, "code": { "type": "string", "description": "Stable machine-readable error code", "example": "RUN_INVALID_INPUT" }, "detail": { "type": "string", "description": "Human-readable explanation specific to this occurrence", "example": "The 'email' field must be a valid email address" }, "instance": { "type": "string", "description": "URI reference identifying the specific occurrence", "example": "/projects/my-project/members" }, "slug": { "type": "string", "description": "Stable identifier for the problem type", "example": "validation-failed" }, "category": { "type": "string", "enum": [ "AUTH", "RESOURCE", "VALIDATION", "DATABASE", "SUBSCRIPTION", "INTEGRATION", "INTERNAL" ], "description": "API error category", "example": "VALIDATION" }, "suggestion": { "type": "string", "description": "Suggested action to resolve the problem", "example": "Check the request body and query parameters against the API documentation." }, "errors": { "type": "array", "items": { "type": "object", "properties": { "field": { "type": "string", "description": "Field path that caused the error", "example": "email" }, "message": { "type": "string", "description": "Error message for this field", "example": "Invalid email format" }, "code": { "type": "string", "description": "Error code for this field", "example": "INVALID_FORMAT" } }, "required": [ "field", "message" ] }, "description": "Detailed field-level errors for validation failures" } }, "required": [ "type", "title", "status" ]}Operation contract
JSON
{ "operationId": "listAccessibleAgents", "tags": [ "agents/Agents/Agents" ], "summary": "List agents across projects", "description": "List agents across projects.", "parameters": [ { "schema": { "type": "string", "format": "uuid" }, "required": false, "name": "account_id", "in": "query" }, { "schema": { "type": "string", "description": "Opaque cursor returned from `page_info.next` or `page_info.prev`." }, "required": false, "name": "cursor", "in": "query" }, { "schema": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50, "description": "Maximum number of agents to return, from 1 to 100." }, "required": false, "name": "limit", "in": "query" }, { "schema": { "type": "string", "minLength": 1, "maxLength": 200, "description": "Case-insensitive search across agent names, agent IDs, and project names. Requires `sort_by=project_name` with `sort_order=asc` and `access=all`, with no `kind` or `runtime_status` filter. Any cursor must come from a page with compatible search options. Other combinations return `400`." }, "required": false, "name": "search", "in": "query" }, { "schema": { "type": "string", "minLength": 1, "maxLength": 200, "description": "Optional project slug or ID to narrow the account-wide collection." }, "required": false, "name": "project_reference", "in": "query" }, { "schema": { "type": "string", "enum": [ "all", "project", "shared" ], "default": "all", "description": "Access source filter. `shared` is reserved for direct shared-agent grants and currently returns an empty set. Public templates are listed by the agent template catalog, not here." }, "required": false, "name": "access", "in": "query" }, { "schema": { "type": "string", "enum": [ "source_project_agent", "installed_project_agent" ], "description": "Filter by project-agent kind." }, "required": false, "name": "kind", "in": "query" }, { "schema": { "type": "string", "enum": [ "ready", "offline", "not_applicable", "unknown" ], "description": "Filter by runtime readiness status." }, "required": false, "name": "runtime_status", "in": "query" }, { "schema": { "type": [ "array", "null" ], "items": { "type": "string" }, "description": "Label filters as key or key=value, repeated or comma-separated. All filters must match. Applied before pagination. Example: ?label=team=platform&label=criticality=high" }, "required": false, "name": "label", "in": "query" }, { "schema": { "type": "string", "enum": [ "name", "project_name", "updated_at" ], "default": "project_name", "description": "Field to sort by. Ties break by agent row ID ascending." }, "required": false, "description": "Field to sort by. Ties break by agent row ID ascending.", "name": "sort_by", "in": "query" }, { "schema": { "type": "string", "enum": [ "asc", "desc" ], "default": "asc", "description": "Sort direction. Defaults to asc, the order the directory has always used." }, "required": false, "description": "Sort direction. Defaults to asc, the order the directory has always used.", "name": "sort_order", "in": "query" } ], "responses": { "200": { "description": "Paginated account-wide accessible agents", "content": { "application/json": { "schema": { "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "description": "Opaque stable account-wide agent row ID." }, "agent_id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "avatar_url": { "type": [ "string", "null" ] }, "kind": { "type": "string", "enum": [ "source_project_agent", "installed_project_agent" ] }, "source_type": { "type": "string", "enum": [ "project", "catalog_install" ] }, "can_run": { "type": "boolean", "description": "Whether a run can start on this agent. False when the project has no billing owner; starting a run there fails with 422 project-billing-owner-missing. True does not prove live runtime readiness, model availability, or execution authorization; these are checked when a run starts." }, "provider": { "type": "object", "properties": { "organization": { "type": "string" }, "url": { "type": "string" } }, "required": [ "organization", "url" ] }, "version": { "type": "string" }, "capabilities": { "type": "object", "properties": { "streaming": { "type": "boolean" }, "push_notifications": { "type": "boolean" }, "extensions": { "type": "array", "items": { "type": "string" } } }, "required": [ "streaming", "push_notifications", "extensions" ] }, "default_input_modes": { "type": "array", "items": { "type": "string" } }, "default_output_modes": { "type": "array", "items": { "type": "string" } }, "tools": { "type": "array", "items": { "type": "string" } }, "skills": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "tags": { "type": "array", "items": { "type": "string" } }, "examples": { "type": "array", "items": { "type": "string" } } }, "required": [ "id", "name" ] } }, "suggestions": { "type": "array", "items": { "anyOf": [ { "type": "string", "minLength": 1 }, { "type": "object", "properties": { "title": { "type": "string", "minLength": 1 }, "prompt": { "type": "string", "minLength": 1 } }, "required": [ "title", "prompt" ], "additionalProperties": false } ] } }, "project": { "type": "object", "properties": { "account_id": { "type": [ "string", "null" ], "format": "uuid" }, "account_name": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reference": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "reference", "name" ] }, "access": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "project", "project_install", "shared" ] }, "relation": { "type": "string", "enum": [ "owner", "admin", "editor", "viewer" ] } }, "required": [ "type", "relation" ] }, "runtime_readiness": { "type": "object", "properties": { "status": { "type": "string", "enum": [ "ready", "offline", "not_applicable", "unknown" ] }, "reason": { "type": [ "string", "null" ] }, "runtime_target_kind": { "type": [ "string", "null" ], "enum": [ "registered_push_service", "pull_worker", null ] }, "runtime_service_key": { "type": [ "string", "null" ] } }, "required": [ "status", "reason", "runtime_target_kind", "runtime_service_key" ], "description": "Readiness of a registered push or pull runtime service, when one applies. For a source agent, not_applicable means this service check does not apply; it does not mean the agent cannot run. This field does not verify model availability or execution access." }, "model": { "type": [ "string", "null" ], "description": "Model identifier exposed by the agent card. Null does not mean a model is required or identify the model a run will use. Model selection and availability are checked at run admission." }, "url": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] }, "labels": { "type": "array", "items": { "$ref": "#/components/schemas/Label" }, "description": "The agent's labels in its project's main source, as `GET .../agents/{agent_id}/labels` lists them." } }, "required": [ "id", "agent_id", "name", "description", "kind", "source_type", "can_run", "provider", "version", "capabilities", "default_input_modes", "default_output_modes", "tools", "skills", "project", "access", "runtime_readiness", "model", "url", "updated_at", "labels" ] } }, "page_info": { "allOf": [ { "$ref": "#/components/schemas/PageInfo" }, { "type": "object", "properties": { "next": { "type": [ "string", "null" ], "description": "Opaque cursor to continue matching rows or remaining scan work. Follow it even when this page has no agents; null means no continuation remains." } } } ] } }, "required": [ "data", "page_info" ] } } } }, "400": { "description": "Bad request", "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/Problem" } } } }, "401": { "description": "Unauthorized", "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/Problem" } } } }, "403": { "description": "Forbidden", "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/Problem" } } } }, "500": { "description": "Server error", "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/Problem" } } } }, "503": { "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.", "content": { "application/problem+json": { "schema": { "$ref": "#/components/schemas/Problem" } } } } }, "x-documentation-source-tag": "Accessible agents", "x-canonical-documentation": { "domain": "agents", "resource": "Agents", "subgroup": "Agents", "name": "List agents across projects", "description": "List agents across projects.", "operationId": "listAccessibleAgents" }, "x-mint": { "href": "/cloud/rest/api-reference/agents-agents-agents/list-agents-across-projects" }}