v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Function as a Service

List namespaces

Retrieve a list of namespaces in the project and region. Each namespace includes its associated functions and their deployment status.

get/cloud/v1/faas/namespaces/{project_id}/{region_id}

Path parameters

project_idinteger required

Project ID

Example:1

Project ID

region_idinteger required

Region ID

Example:1

Region ID

Query parameters

limitinteger

Optional. Limit the number of returned items

Example:1000

Optional. Limit the number of returned items

offsetinteger

Optional. Offset value is used to exclude the first set of records from the result

Optional. Offset value is used to exclude the first set of records from the result

order_by'created_at.asc' | 'created_at.desc' | 'name.asc' | 'name.desc'

Ordering fields and directions.

searchstring

Search through which value

Example:search-value

Search through which value

Response

OK

countinteger required

Number of objects

Example response

{
  "count": 1,
  "results": [
    {
      "created_at": "2023-08-22T11:21:00Z",
      "description": "This is a sample namespace.",
      "envs": {
        "ENV_VAR": "value"
      },
      "functions": [
        {
          "autoscaling": {
            "max_instances": 5,
            "min_instances": 1
          },
          "build_message": "Building",
          "build_status": "Building",
          "code_text": "def main():\n    return 'Hello World'",
          "created_at": "2023-08-22T11:21:00Z",
          "dependencies": "numpy==1.21.0\npandas==1.3.0",
          "deploy_status": {
            "deployed": 1
          },
          "description": "This is a sample function.",
          "enable_api_key": true,
          "endpoint": "https://example.com/function-name",
          "envs": {
            "ENV_VAR": "value"
          },
          "flavor": "64m-64MB",
          "id": "c8a920ad-b5a4-47d5-b8b9-0e6c35cd800f",
          "main_method": "run",
          "name": "function-name",
          "runtime": "python3.7.12",
          "status": "Running",
          "timeout": 5
        }
      ],
      "functions_deploy_status": {
        "deployed": 1
      },
      "name": "namespace-name",
      "status": "Active"
    }
  ]
}