http
GET /projectsList the projects.
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 |
|---|---|---|---|
| cursor | query | No | |
| limit | query | No | |
| sort_by | query | No | |
| sort_order | query | No | |
| search | query | No | |
| is_template | query | No | |
| type | query | No | |
| system_managed | query | No | |
| access | query | No | |
| account_id | query | No | |
| user_id | query | No | |
| label | query | No |
Parameter contracts
JSON
1[2 {3 "schema": {4 "type": "string",5 "description": "Use page_info.next from the previous response. A null next cursor means the final page.",6 "example": "eyJpZCI6IjEyMyJ9"7 },8 "required": false,9 "name": "cursor",10 "in": "query"11 },12 {13 "schema": {14 "type": "integer",15 "minimum": 1,16 "maximum": 100,17 "default": 20,18 "description": "Integer page size from 1 to 100. Defaults to 20.",19 "example": 2020 },21 "required": false,22 "name": "limit",23 "in": "query"24 },25 {26 "schema": {27 "type": "string",28 "description": "Sort by updated_at, created_at, name, or slug. Defaults to updated_at; unknown fields also use updated_at.",29 "example": "created_at"30 },31 "required": false,32 "name": "sort_by",33 "in": "query"34 },35 {36 "schema": {37 "type": "string",38 "enum": [39 "asc",40 "desc"41 ],42 "description": "Ascending or descending order. Defaults to desc.",43 "example": "desc"44 },45 "required": false,46 "name": "sort_order",47 "in": "query"48 },49 {50 "schema": {51 "type": "string",52 "description": "Search term to filter projects by name or slug",53 "example": "my-project"54 },55 "required": false,56 "name": "search",57 "in": "query"58 },59 {60 "schema": {61 "type": "string",62 "enum": [63 "true",64 "false"65 ],66 "description": "Filter by template status (true = only templates, false = exclude templates)",67 "example": "false"68 },69 "required": false,70 "name": "is_template",71 "in": "query"72 },73 {74 "schema": {75 "type": "string",76 "enum": [77 "regular",78 "default",79 "template"80 ],81 "description": "Filter by project type",82 "example": "default"83 },84 "required": false,85 "name": "type",86 "in": "query"87 },88 {89 "schema": {90 "type": "string",91 "enum": [92 "true",93 "false"94 ],95 "description": "Filter by system managed status",96 "example": "true"97 },98 "required": false,99 "name": "system_managed",100 "in": "query"101 },102 {103 "schema": {104 "type": "string",105 "enum": [106 "all",107 "owned",108 "invited",109 "shared"110 ],111 "default": "all",112 "description": "Filter by relationship to the authenticated user: all accessible projects, owned projects, or invited projects",113 "example": "owned"114 },115 "required": false,116 "name": "access",117 "in": "query"118 },119 {120 "schema": {121 "type": "string",122 "format": "uuid",123 "description": "Only accessible projects in this account."124 },125 "required": false,126 "name": "account_id",127 "in": "query"128 },129 {130 "schema": {131 "type": "string",132 "format": "uuid",133 "description": "Filter projects by a user ID that has access to them. Non-admin user tokens may only use their own user ID.",134 "example": "660e8400-e29b-41d4-a716-446655440001"135 },136 "required": false,137 "name": "user_id",138 "in": "query"139 },140 {141 "schema": {142 "type": [143 "array",144 "null"145 ],146 "items": {147 "type": "string"148 },149 "description": "Label filters as key or key=value, repeated or comma-separated. All filters must match. Example: ?label=team=platform&label=criticality=high"150 },151 "required": false,152 "name": "label",153 "in": "query"154 }155]Responses
200
Paginated list of projects
JSON
1{2 "description": "Paginated list of projects",3 "content": {4 "application/json": {5 "schema": {6 "type": "object",7 "properties": {8 "data": {9 "type": "array",10 "items": {11 "$ref": "#/components/schemas/Project"12 }13 },14 "page_info": {15 "$ref": "#/components/schemas/PageInfo"16 }17 },18 "required": [19 "data",20 "page_info"21 ]22 }23 }24 }25}400
Invalid query or label filter
JSON
1{2 "description": "Invalid query or label filter",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}401
Authentication required
JSON
1{2 "description": "Authentication required",3 "content": {4 "application/problem+json": {5 "schema": {6 "$ref": "#/components/schemas/Problem"7 }8 }9 }10}403
Access denied to the requested project scope or user filter
JSON
1{2 "description": "Access denied to the requested project scope or user filter",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}Referenced contracts
components/schemas/Project
JSON
1{2 "type": "object",3 "properties": {4 "account_id": {5 "type": [6 "string",7 "null"8 ],9 "format": "uuid"10 },11 "account_name": {12 "type": [13 "string",14 "null"15 ]16 },17 "id": {18 "type": "string",19 "format": "uuid",20 "example": "550e8400-e29b-41d4-a716-446655440000"21 },22 "slug": {23 "type": "string",24 "example": "my-project"25 },26 "name": {27 "type": "string",28 "example": "My Project"29 },30 "description": {31 "type": "string",32 "example": "A sample project description"33 },34 "is_claimed": {35 "type": "boolean"36 },37 "features": {38 "type": "array",39 "items": {40 "type": "string"41 }42 },43 "environments": {44 "type": "array",45 "items": {46 "type": "object",47 "properties": {48 "id": {49 "type": "string",50 "format": "uuid"51 },52 "name": {53 "type": "string"54 },55 "protected": {56 "type": "boolean"57 },58 "domains": {59 "type": "array",60 "items": {61 "type": "string"62 }63 },64 "environment_variables": {65 "type": "array",66 "items": {}67 },68 "active_release_id": {69 "type": [70 "string",71 "null"72 ],73 "format": "uuid"74 },75 "server_hostname": {76 "type": [77 "string",78 "null"79 ]80 }81 },82 "required": [83 "id",84 "name"85 ]86 }87 },88 "releases": {89 "type": "array",90 "items": {91 "type": "object",92 "properties": {93 "id": {94 "type": "string",95 "format": "uuid"96 },97 "name": {98 "type": "string"99 },100 "export_status": {101 "type": "string"102 },103 "build_status": {104 "type": "string"105 },106 "deploy_status": {107 "type": "string"108 }109 },110 "required": [111 "id",112 "name"113 ]114 }115 },116 "created_at": {117 "type": "string",118 "example": "2024-01-15T10:30:00Z"119 },120 "updated_at": {121 "type": "string",122 "example": "2024-01-15T10:30:00Z"123 },124 "published_at": {125 "type": "string"126 },127 "prompt_count": {128 "type": "number"129 },130 "config": {131 "$ref": "#/components/schemas/ProjectConfig"132 },133 "provider": {134 "type": [135 "string",136 "null"137 ]138 },139 "layout": {140 "type": [141 "string",142 "null"143 ]144 },145 "type": {146 "type": "string",147 "enum": [148 "regular",149 "default",150 "template"151 ]152 },153 "system_managed": {154 "type": "boolean"155 },156 "users": {157 "type": "array",158 "items": {159 "type": "object",160 "properties": {161 "id": {162 "type": "string"163 },164 "email": {165 "type": "string"166 },167 "name": {168 "type": "string"169 },170 "role": {171 "type": "string"172 },173 "avatar_src": {174 "type": "string"175 }176 },177 "required": [178 "id"179 ]180 }181 },182 "capabilities": {183 "type": "array",184 "items": {185 "type": "string",186 "enum": [187 "project.read",188 "project.settings.manage",189 "project.delete",190 "project.members.read",191 "project.members.manage",192 "project.invites.read",193 "project.invites.manage",194 "project.files.read",195 "project.files.write",196 "project.realtime.connect",197 "project.realtime.write",198 "project.files.admin",199 "project.uploads.read",200 "project.uploads.write",201 "project.uploads.admin",202 "project.knowledge.read",203 "project.knowledge.write",204 "project.releases.read",205 "project.releases.write",206 "project.deployments.read",207 "project.deployments.write",208 "project.deploy.execute",209 "project.runtime.manage",210 "project.channels.read",211 "project.channels.write",212 "project.sandboxes.manage",213 "project.domains.write",214 "project.environments.manage",215 "project.env_vars.write",216 "project.runs.read",217 "project.runs.write",218 "project.runs.admin",219 "project.approvals.decide",220 "project.agents.read",221 "project.agents.write",222 "project.evals.read",223 "project.evals.write",224 "project.evals.run",225 "project.conversations.read",226 "project.conversations.write",227 "project.conversations.create",228 "project.integrations.read",229 "project.integrations.connect",230 "project.integrations.configure",231 "project.api_keys.read",232 "project.api_keys.manage",233 "project.cache.read",234 "project.cache.write",235 "project.logs.read",236 "project.metrics.read",237 "project.resources.read"238 ]239 }240 },241 "capabilities_version": {242 "type": "integer"243 },244 "labels": {245 "type": "array",246 "items": {247 "type": "object",248 "properties": {249 "id": {250 "type": "string",251 "format": "uuid"252 },253 "namespace": {254 "type": "string"255 },256 "key": {257 "type": "string"258 },259 "value": {260 "type": [261 "string",262 "null"263 ]264 },265 "color": {266 "type": [267 "string",268 "null"269 ]270 }271 },272 "required": [273 "id",274 "namespace",275 "key",276 "value"277 ]278 }279 }280 },281 "required": [282 "id",283 "slug",284 "name"285 ]286}components/schemas/ProjectConfig
JSON
1{2 "type": "object",3 "properties": {4 "disable_meta_robots": {5 "type": "boolean",6 "description": "When true, the rendered site asks crawlers not to index it (noindex robots meta tag)."7 },8 "provider_id": {9 "type": [10 "string",11 "null"12 ],13 "description": "Identifier of the provider backing the project, or null when none is configured. Not necessarily a UUID."14 },15 "layout_id": {16 "type": [17 "string",18 "null"19 ],20 "description": "Identifier of the layout applied to the project, or null when none is configured."21 },22 "is_template": {23 "type": "boolean",24 "description": "Whether the project is offered in the template gallery."25 },26 "coming_soon": {27 "type": "boolean",28 "description": "Whether the template is listed as coming soon in the gallery."29 },30 "category": {31 "type": [32 "string",33 "null"34 ],35 "description": "Template gallery category, or null when uncategorised."36 },37 "description": {38 "type": [39 "string",40 "null"41 ],42 "description": "Template gallery description, or null when none is set."43 },44 "disableMetaRobots": {45 "type": "boolean",46 "description": "Legacy camelCase spelling of `disable_meta_robots`; carries the same value. Prefer `disable_meta_robots`."47 },48 "providerId": {49 "type": [50 "string",51 "null"52 ],53 "description": "Legacy camelCase spelling of `provider_id`; carries the same value. Prefer `provider_id`."54 },55 "layoutId": {56 "type": [57 "string",58 "null"59 ],60 "description": "Legacy camelCase spelling of `layout_id`; carries the same value. Prefer `layout_id`."61 },62 "isTemplate": {63 "type": "boolean",64 "description": "Legacy camelCase spelling of `is_template`; carries the same value. Prefer `is_template`."65 },66 "comingSoon": {67 "type": "boolean",68 "description": "Legacy camelCase spelling of `coming_soon`; carries the same value. Prefer `coming_soon`."69 }70 },71 "additionalProperties": false,72 "description": "Project configuration. Field names use snake_case. Legacy camelCase aliases contain the same values."73}components/schemas/PageInfo
JSON
1{2 "type": "object",3 "properties": {4 "self": {5 "type": [6 "string",7 "null"8 ],9 "description": "Cursor pointing to the current page"10 },11 "first": {12 "type": "null",13 "description": "First page cursor (always null for cursor-based pagination)"14 },15 "next": {16 "type": [17 "string",18 "null"19 ],20 "description": "Cursor for the next page (null if no more pages)"21 },22 "prev": {23 "type": [24 "string",25 "null"26 ],27 "description": "Cursor for the previous page (null if on first page)"28 }29 },30 "required": [31 "self",32 "first",33 "next",34 "prev"35 ]36}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": "listProjects",3 "tags": [4 "projects/Projects/Projects"5 ],6 "summary": "List projects",7 "description": "List the projects.",8 "parameters": [9 {10 "schema": {11 "type": "string",12 "description": "Use page_info.next from the previous response. A null next cursor means the final page.",13 "example": "eyJpZCI6IjEyMyJ9"14 },15 "required": false,16 "name": "cursor",17 "in": "query"18 },19 {20 "schema": {21 "type": "integer",22 "minimum": 1,23 "maximum": 100,24 "default": 20,25 "description": "Integer page size from 1 to 100. Defaults to 20.",26 "example": 2027 },28 "required": false,29 "name": "limit",30 "in": "query"31 },32 {33 "schema": {34 "type": "string",35 "description": "Sort by updated_at, created_at, name, or slug. Defaults to updated_at; unknown fields also use updated_at.",36 "example": "created_at"37 },38 "required": false,39 "name": "sort_by",40 "in": "query"41 },42 {43 "schema": {44 "type": "string",45 "enum": [46 "asc",47 "desc"48 ],49 "description": "Ascending or descending order. Defaults to desc.",50 "example": "desc"51 },52 "required": false,53 "name": "sort_order",54 "in": "query"55 },56 {57 "schema": {58 "type": "string",59 "description": "Search term to filter projects by name or slug",60 "example": "my-project"61 },62 "required": false,63 "name": "search",64 "in": "query"65 },66 {67 "schema": {68 "type": "string",69 "enum": [70 "true",71 "false"72 ],73 "description": "Filter by template status (true = only templates, false = exclude templates)",74 "example": "false"75 },76 "required": false,77 "name": "is_template",78 "in": "query"79 },80 {81 "schema": {82 "type": "string",83 "enum": [84 "regular",85 "default",86 "template"87 ],88 "description": "Filter by project type",89 "example": "default"90 },91 "required": false,92 "name": "type",93 "in": "query"94 },95 {96 "schema": {97 "type": "string",98 "enum": [99 "true",100 "false"101 ],102 "description": "Filter by system managed status",103 "example": "true"104 },105 "required": false,106 "name": "system_managed",107 "in": "query"108 },109 {110 "schema": {111 "type": "string",112 "enum": [113 "all",114 "owned",115 "invited",116 "shared"117 ],118 "default": "all",119 "description": "Filter by relationship to the authenticated user: all accessible projects, owned projects, or invited projects",120 "example": "owned"121 },122 "required": false,123 "name": "access",124 "in": "query"125 },126 {127 "schema": {128 "type": "string",129 "format": "uuid",130 "description": "Only accessible projects in this account."131 },132 "required": false,133 "name": "account_id",134 "in": "query"135 },136 {137 "schema": {138 "type": "string",139 "format": "uuid",140 "description": "Filter projects by a user ID that has access to them. Non-admin user tokens may only use their own user ID.",141 "example": "660e8400-e29b-41d4-a716-446655440001"142 },143 "required": false,144 "name": "user_id",145 "in": "query"146 },147 {148 "schema": {149 "type": [150 "array",151 "null"152 ],153 "items": {154 "type": "string"155 },156 "description": "Label filters as key or key=value, repeated or comma-separated. All filters must match. Example: ?label=team=platform&label=criticality=high"157 },158 "required": false,159 "name": "label",160 "in": "query"161 }162 ],163 "responses": {164 "200": {165 "description": "Paginated list of projects",166 "content": {167 "application/json": {168 "schema": {169 "type": "object",170 "properties": {171 "data": {172 "type": "array",173 "items": {174 "$ref": "#/components/schemas/Project"175 }176 },177 "page_info": {178 "$ref": "#/components/schemas/PageInfo"179 }180 },181 "required": [182 "data",183 "page_info"184 ]185 }186 }187 }188 },189 "400": {190 "description": "Invalid query or label filter",191 "content": {192 "application/problem+json": {193 "schema": {194 "$ref": "#/components/schemas/Problem"195 }196 }197 }198 },199 "401": {200 "description": "Authentication required",201 "content": {202 "application/problem+json": {203 "schema": {204 "$ref": "#/components/schemas/Problem"205 }206 }207 }208 },209 "403": {210 "description": "Access denied to the requested project scope or user filter",211 "content": {212 "application/problem+json": {213 "schema": {214 "$ref": "#/components/schemas/Problem"215 }216 }217 }218 },219 "500": {220 "description": "Server error",221 "content": {222 "application/problem+json": {223 "schema": {224 "$ref": "#/components/schemas/Problem"225 }226 }227 }228 }229 },230 "x-documentation-source-tag": "Projects",231 "x-canonical-documentation": {232 "domain": "projects",233 "resource": "Projects",234 "subgroup": "Projects",235 "name": "List projects",236 "description": "List the projects.",237 "operationId": "listProjects"238 },239 "x-mint": {240 "href": "/cloud/rest/api-reference/projects-projects-projects/list-projects"241 }242}