Skip to main content
GET
/
fastedge
/
v1
/
apps
/
{app_id}
Python
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
app = client.fastedge.apps.get(
    0,
)
print(app.plan_id)
{
  "name": "my-edge-app",
  "url": "my-edge-app.fastedge.gcore.dev",
  "binary": 12345,
  "template": 123,
  "template_name": "<string>",
  "status": 1,
  "plan_id": 123,
  "plan": "<string>",
  "env": {
    "var1": "value1",
    "var2": "value2"
  },
  "rsp_headers": {
    "header1": "value1",
    "header2": "value2"
  },
  "log": "kafka",
  "debug_until": "2023-11-07T05:31:56Z",
  "comment": "Production API gateway for customer portal",
  "api_type": "<string>",
  "networks": [
    "<string>"
  ],
  "secrets": {},
  "stores": {}
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

app_id
integer<int64>
required

Unique identifier of the application to retrieve

Response

Returns complete application configuration and metadata

name
string

Unique application name (alphanumeric, hyphens allowed)

Required string length: 1 - 64
Pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$
Example:

"my-edge-app"

url
string

Auto-generated URL where the application is accessible

Example:

"my-edge-app.fastedge.gcore.dev"

binary
integer<int64>

ID of the WebAssembly binary to deploy

Required range: x >= 1
Example:

12345

template
integer<int64>

Template ID

template_name
string

Template name

status
integer

Status code:
0 - draft (inactive)
1 - enabled
2 - disabled
5 - suspended

Required range: 0 <= x <= 2
Example:

1

plan_id
integer<int64>

Plan ID

plan
string

Plan name

env
object

Environment variables

Example:
{ "var1": "value1", "var2": "value2" }
rsp_headers
object

Extra headers to add to the response

Example:
{ "header1": "value1", "header2": "value2" }
log
enum<string> | null

Logging channel. Use 'kafka' to enable log collection (queryable via API), or 'none' to disable logging.

Available options:
kafka,
none
Example:

"kafka"

debug_until
string<date-time>

When debugging finishes

comment
string

Optional human-readable description of the application's purpose

Maximum string length: 1024
Example:

"Production API gateway for customer portal"

api_type
string

Wasm API type

networks
string[]

Networks

secrets
object

Application secrets

stores
object

Application edge stores