http
GET /projects/{project_reference}/agentsList agents. Requires project.agents.read.
Servers
JSON
1[2 {3 "url": "https://api.veryfront.com"4 }5]Authentication
JSON
1[2 {3 "bearerAuth": []4 },5 {6 "apiKeyAuth": []7 }8]JSON
1{2 "bearerAuth": {3 "type": "http",4 "scheme": "bearer",5 "bearerFormat": "JWT or API Key",6 "description": "Use a JWT bearer token or a Veryfront API key in the `Authorization` header."7 },8 "apiKeyAuth": {9 "type": "apiKey",10 "in": "header",11 "name": "X-API-Key",12 "description": "Alternative API key header for `vf_<prefix>_<secret>` tokens."13 }14}Parameters
| Name | Location | Required | Description |
|---|---|---|---|
| project_reference | path | Yes | Project slug, UUID, or domain that identifies the project. |
| runtime_target_kind | query | No | |
| target_environment_id | query | No | |
| target_branch_id | query | No | |
| source_target_kind | query | No |
Parameter contracts
JSON
1[2 {3 "schema": {4 "$ref": "#/components/schemas/ProjectReference"5 },6 "required": true,7 "description": "Project slug, UUID, or domain that identifies the project.",8 "name": "project_reference",9 "in": "path"10 },11 {12 "schema": {13 "type": [14 "string",15 "null"16 ],17 "enum": [18 "main_branch",19 "environment",20 "preview_branch",21 null22 ]23 },24 "required": false,25 "name": "runtime_target_kind",26 "in": "query"27 },28 {29 "schema": {30 "type": [31 "string",32 "null"33 ],34 "format": "uuid"35 },36 "required": false,37 "name": "target_environment_id",38 "in": "query"39 },40 {41 "schema": {42 "type": [43 "string",44 "null"45 ],46 "format": "uuid"47 },48 "required": false,49 "name": "target_branch_id",50 "in": "query"51 },52 {53 "schema": {54 "type": "string",55 "enum": [56 "project",57 "main_branch",58 "environment",59 "preview_branch"60 ]61 },62 "required": false,63 "name": "source_target_kind",64 "in": "query"65 }66]Responses
200
Discovered agents
JSON
1{2 "description": "Discovered agents",3 "content": {4 "application/json": {5 "schema": {6 "$ref": "#/components/schemas/AgentCardList"7 }8 }9 }10}400
Bad request
JSON
1{2 "description": "Bad request",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}401
Unauthorized
JSON
1{2 "description": "Unauthorized",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}403
Forbidden
JSON
1{2 "description": "Forbidden",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}404
Not found
JSON
1{2 "description": "Not found",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}500
Server error
JSON
1{2 "description": "Server error",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}503
internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.
JSON
1{2 "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}Referenced contracts
components/parameters/ProjectReference
JSON
1{2 "schema": {3 "$ref": "#/components/schemas/ProjectReference"4 },5 "required": true,6 "description": "Project slug, UUID, or domain that identifies the project.",7 "name": "project_reference",8 "in": "path"9}components/schemas/ProjectReference
JSON
1{2 "type": "string"3}components/schemas/AgentCardList
JSON
1{2 "type": "object",3 "properties": {4 "data": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "id": {10 "type": "string"11 },12 "name": {13 "type": "string"14 },15 "description": {16 "type": [17 "string",18 "null"19 ],20 "description": "Public agent summary. Saved system instructions are in the agent source document (get_agent_source)."21 },22 "provider": {23 "type": "object",24 "properties": {25 "organization": {26 "type": "string"27 },28 "url": {29 "type": "string"30 }31 },32 "required": [33 "organization",34 "url"35 ]36 },37 "version": {38 "type": "string"39 },40 "capabilities": {41 "type": "object",42 "properties": {43 "streaming": {44 "type": "boolean"45 },46 "push_notifications": {47 "type": "boolean"48 },49 "extensions": {50 "type": "array",51 "items": {52 "type": "string"53 }54 }55 },56 "required": [57 "streaming",58 "push_notifications",59 "extensions"60 ]61 },62 "default_input_modes": {63 "type": "array",64 "items": {65 "type": "string"66 }67 },68 "default_output_modes": {69 "type": "array",70 "items": {71 "type": "string"72 }73 },74 "tools": {75 "type": "array",76 "items": {77 "type": "string"78 },79 "description": "Source-selected tools summarized by the card as exact tool IDs. An empty array does not establish that tools are disabled. Read saved configuration from the agent source document and source-selected tools and integration readiness from agent capabilities; neither verifies execution grants."80 },81 "skills": {82 "type": "array",83 "items": {84 "type": "object",85 "properties": {86 "id": {87 "type": "string"88 },89 "name": {90 "type": "string"91 },92 "description": {93 "type": "string"94 },95 "tags": {96 "type": "array",97 "items": {98 "type": "string"99 }100 },101 "examples": {102 "type": "array",103 "items": {104 "type": "string"105 }106 }107 },108 "required": [109 "id",110 "name"111 ]112 }113 },114 "suggestions": {115 "type": "array",116 "items": {117 "anyOf": [118 {119 "type": "string",120 "minLength": 1121 },122 {123 "type": "object",124 "properties": {125 "title": {126 "type": "string",127 "minLength": 1128 },129 "prompt": {130 "type": "string",131 "minLength": 1132 }133 },134 "required": [135 "title",136 "prompt"137 ],138 "additionalProperties": false139 }140 ]141 }142 },143 "kind": {144 "type": "string",145 "enum": [146 "source_project_agent",147 "installed_project_agent"148 ]149 },150 "can_run": {151 "type": "boolean",152 "description": "Whether the card supports invocation. When false, inspect runtime_readiness.status and runtime_readiness.reason before starting a run. True does not prove live runtime readiness, model availability, or execution authorization. These are checked when a run starts."153 },154 "source_type": {155 "type": "string",156 "enum": [157 "project",158 "catalog_install"159 ]160 },161 "installed_access": {162 "type": "object",163 "properties": {164 "grant_id": {165 "type": "string",166 "format": "uuid"167 },168 "relation": {169 "type": "string",170 "enum": [171 "owner",172 "admin",173 "editor",174 "viewer"175 ]176 },177 "service_account_id": {178 "type": "string",179 "format": "uuid"180 },181 "project_id": {182 "type": "string",183 "format": "uuid"184 },185 "status": {186 "type": "string"187 }188 },189 "required": [190 "grant_id",191 "relation",192 "service_account_id",193 "project_id",194 "status"195 ]196 },197 "runtime_readiness": {198 "type": "object",199 "properties": {200 "status": {201 "type": "string",202 "enum": [203 "ready",204 "offline",205 "not_applicable",206 "unknown"207 ]208 },209 "reason": {210 "type": [211 "string",212 "null"213 ]214 },215 "runtime_target_kind": {216 "type": [217 "string",218 "null"219 ],220 "enum": [221 "registered_push_service",222 "pull_worker",223 null224 ]225 },226 "runtime_service_key": {227 "type": [228 "string",229 "null"230 ]231 }232 },233 "required": [234 "status",235 "reason",236 "runtime_target_kind",237 "runtime_service_key"238 ],239 "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."240 },241 "source_path": {242 "type": "string"243 },244 "edit_mode": {245 "type": "string",246 "enum": [247 "structured",248 "source_only"249 ]250 },251 "avatar_url": {252 "type": [253 "string",254 "null"255 ],256 "description": "This agent's avatar: an http(s) URL, or a root-relative path served from the project. Null when no custom avatar has been set."257 },258 "model": {259 "type": [260 "string",261 "null"262 ],263 "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."264 },265 "url": {266 "type": "string",267 "description": "URL of the agent."268 }269 },270 "required": [271 "id",272 "name",273 "description",274 "provider",275 "version",276 "capabilities",277 "default_input_modes",278 "default_output_modes",279 "tools",280 "skills",281 "kind",282 "can_run",283 "source_type",284 "source_path",285 "edit_mode",286 "model",287 "url"288 ]289 }290 },291 "diagnostics": {292 "type": "array",293 "items": {294 "type": "object",295 "properties": {296 "kind": {297 "type": "string",298 "enum": [299 "source_file_diagnostic",300 "source_agent_discovery_error",301 "source_trigger_discovery_error"302 ]303 },304 "source_kind": {305 "type": "string",306 "enum": [307 "agent",308 "prompt",309 "tool",310 "task",311 "workflow",312 "resource",313 "skill",314 "eval",315 "schedule",316 "webhook"317 ]318 },319 "source_path": {320 "type": "string",321 "minLength": 1322 },323 "source_id": {324 "type": "string",325 "minLength": 1326 },327 "code": {328 "type": "string",329 "enum": [330 "parse_error",331 "invalid_definition",332 "dynamic_definition",333 "duplicate_source_id",334 "unsupported_target",335 "manual_conflict"336 ]337 },338 "message": {339 "type": "string",340 "minLength": 1341 },342 "details": {343 "type": "object",344 "additionalProperties": {}345 }346 },347 "required": [348 "kind",349 "source_kind",350 "source_path",351 "code",352 "message"353 ]354 }355 }356 },357 "required": [358 "data"359 ]360}components/schemas/Problem
JSON
1{2 "type": "object",3 "properties": {4 "cause": {5 "type": "string",6 "enum": [7 "schedule_concurrency_forbidden",8 "schedule_fire_in_progress",9 "schedule_run_limit_reached"10 ],11 "description": "Schedule admission refusal."12 },13 "idempotency": {14 "type": "object",15 "properties": {16 "state": {17 "type": "string",18 "enum": [19 "in_progress",20 "payload_mismatch",21 "outcome_unknown"22 ]23 },24 "operation": {25 "type": "string",26 "minLength": 127 },28 "retryable": {29 "type": "boolean"30 },31 "retry_after_seconds": {32 "type": [33 "integer",34 "null"35 ],36 "minimum": 037 },38 "expires_at": {39 "type": [40 "string",41 "null"42 ]43 },44 "recovery": {45 "type": "object",46 "properties": {47 "available": {48 "type": "boolean"49 },50 "description": {51 "type": "string"52 },53 "resource_url": {54 "type": "string"55 }56 },57 "required": [58 "available",59 "description"60 ]61 }62 },63 "required": [64 "state",65 "operation",66 "retryable",67 "retry_after_seconds",68 "expires_at"69 ],70 "description": "Replay status, retry timing, and recovery lookup."71 },72 "type": {73 "type": "string",74 "description": "URI reference identifying the problem type",75 "example": "https://api.veryfront.com/errors/validation-failed"76 },77 "title": {78 "type": "string",79 "description": "Short human-readable summary of the problem",80 "example": "Validation Failed"81 },82 "status": {83 "type": "integer",84 "minimum": 100,85 "maximum": 599,86 "description": "HTTP status code",87 "example": 40088 },89 "code": {90 "type": "string",91 "description": "Stable machine-readable error code",92 "example": "RUN_INVALID_INPUT"93 },94 "detail": {95 "type": "string",96 "description": "Human-readable explanation specific to this occurrence",97 "example": "The 'email' field must be a valid email address"98 },99 "instance": {100 "type": "string",101 "description": "URI reference identifying the specific occurrence",102 "example": "/projects/my-project/members"103 },104 "slug": {105 "type": "string",106 "description": "Stable identifier for the problem type",107 "example": "validation-failed"108 },109 "category": {110 "type": "string",111 "enum": [112 "AUTH",113 "RESOURCE",114 "VALIDATION",115 "DATABASE",116 "SUBSCRIPTION",117 "INTEGRATION",118 "INTERNAL"119 ],120 "description": "API error category",121 "example": "VALIDATION"122 },123 "suggestion": {124 "type": "string",125 "description": "Suggested action to resolve the problem",126 "example": "Check the request body and query parameters against the API documentation."127 },128 "errors": {129 "type": "array",130 "items": {131 "type": "object",132 "properties": {133 "field": {134 "type": "string",135 "description": "Field path that caused the error",136 "example": "email"137 },138 "message": {139 "type": "string",140 "description": "Error message for this field",141 "example": "Invalid email format"142 },143 "code": {144 "type": "string",145 "description": "Error code for this field",146 "example": "INVALID_FORMAT"147 }148 },149 "required": [150 "field",151 "message"152 ]153 },154 "description": "Detailed field-level errors for validation failures"155 }156 },157 "required": [158 "type",159 "title",160 "status"161 ]162}Operation contract
JSON
1{2 "operationId": "listAgents",3 "tags": [4 "agents/Agents/Agents"5 ],6 "summary": "List agents",7 "description": "List agents. Requires project.agents.read.",8 "parameters": [9 {10 "$ref": "#/components/parameters/ProjectReference"11 },12 {13 "schema": {14 "type": [15 "string",16 "null"17 ],18 "enum": [19 "main_branch",20 "environment",21 "preview_branch",22 null23 ]24 },25 "required": false,26 "name": "runtime_target_kind",27 "in": "query"28 },29 {30 "schema": {31 "type": [32 "string",33 "null"34 ],35 "format": "uuid"36 },37 "required": false,38 "name": "target_environment_id",39 "in": "query"40 },41 {42 "schema": {43 "type": [44 "string",45 "null"46 ],47 "format": "uuid"48 },49 "required": false,50 "name": "target_branch_id",51 "in": "query"52 },53 {54 "schema": {55 "type": "string",56 "enum": [57 "project",58 "main_branch",59 "environment",60 "preview_branch"61 ]62 },63 "required": false,64 "name": "source_target_kind",65 "in": "query"66 }67 ],68 "responses": {69 "200": {70 "description": "Discovered agents",71 "content": {72 "application/json": {73 "schema": {74 "$ref": "#/components/schemas/AgentCardList"75 }76 }77 }78 },79 "400": {80 "description": "Bad request",81 "content": {82 "application/problem+json": {83 "schema": {84 "$ref": "#/components/schemas/Problem"85 }86 }87 }88 },89 "401": {90 "description": "Unauthorized",91 "content": {92 "application/problem+json": {93 "schema": {94 "$ref": "#/components/schemas/Problem"95 }96 }97 }98 },99 "403": {100 "description": "Forbidden",101 "content": {102 "application/problem+json": {103 "schema": {104 "$ref": "#/components/schemas/Problem"105 }106 }107 }108 },109 "404": {110 "description": "Not found",111 "content": {112 "application/problem+json": {113 "schema": {114 "$ref": "#/components/schemas/Problem"115 }116 }117 }118 },119 "500": {120 "description": "Server error",121 "content": {122 "application/problem+json": {123 "schema": {124 "$ref": "#/components/schemas/Problem"125 }126 }127 }128 },129 "503": {130 "description": "internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.",131 "content": {132 "application/problem+json": {133 "schema": {134 "$ref": "#/components/schemas/Problem"135 }136 }137 }138 }139 },140 "x-documentation-source-tag": "Project agents",141 "x-canonical-documentation": {142 "domain": "agents",143 "resource": "Agents",144 "subgroup": "Agents",145 "name": "List agents",146 "description": "List agents. Requires project.agents.read.",147 "operationId": "listAgents"148 },149 "x-mint": {150 "href": "/cloud/rest/api-reference/agents-agents-agents/list-agents"151 }152}