API reference
Get a registry
Get details of a specific registry
path Parameters
| name required  | string  Registry name  | 
Responses
Response samples
- 200
 - 404
 
Content type
application/json
{- "last_updated": "string",
 - "name": "string",
 - "registry": {
- "last_updated": "string",
 - "servers": {
- "property1": {
- "args": [
- "string"
 
], - "description": "string",
 - "docker_tags": [
- "string"
 
], - "env_vars": [
- {
- "default": "string",
 - "description": "string",
 - "name": "string",
 - "required": true,
 - "secret": true
 
} 
], - "image": "string",
 - "metadata": {
- "last_updated": "string",
 - "pulls": 0,
 - "stars": 0
 
}, - "name": "string",
 - "permissions": {
- "network": {
- "outbound": {
- "allow_host": [
- "string"
 
], - "allow_port": [
- 0
 
], - "allow_transport": [
- "string"
 
], - "insecure_allow_all": true
 
} 
}, - "read": [
- "string"
 
], - "write": [
- "string"
 
] 
}, - "provenance": {
- "attestation": {
- "predicate": null,
 - "predicate_type": "string"
 
}, - "cert_issuer": "string",
 - "repository_ref": "string",
 - "repository_uri": "string",
 - "runner_environment": "string",
 - "signer_identity": "string",
 - "sigstore_url": "string"
 
}, - "repository_url": "string",
 - "tags": [
- "string"
 
], - "target_port": 0,
 - "tools": [
- "string"
 
], - "transport": "string"
 
}, - "property2": {
- "args": [
- "string"
 
], - "description": "string",
 - "docker_tags": [
- "string"
 
], - "env_vars": [
- {
- "default": "string",
 - "description": "string",
 - "name": "string",
 - "required": true,
 - "secret": true
 
} 
], - "image": "string",
 - "metadata": {
- "last_updated": "string",
 - "pulls": 0,
 - "stars": 0
 
}, - "name": "string",
 - "permissions": {
- "network": {
- "outbound": {
- "allow_host": [
- "string"
 
], - "allow_port": [
- 0
 
], - "allow_transport": [
- "string"
 
], - "insecure_allow_all": true
 
} 
}, - "read": [
- "string"
 
], - "write": [
- "string"
 
] 
}, - "provenance": {
- "attestation": {
- "predicate": null,
 - "predicate_type": "string"
 
}, - "cert_issuer": "string",
 - "repository_ref": "string",
 - "repository_uri": "string",
 - "runner_environment": "string",
 - "signer_identity": "string",
 - "sigstore_url": "string"
 
}, - "repository_url": "string",
 - "tags": [
- "string"
 
], - "target_port": 0,
 - "tools": [
- "string"
 
], - "transport": "string"
 
} 
}, - "version": "string"
 
}, - "server_count": 0,
 - "version": "string"
 
}List servers in a registry
Get a list of servers in a specific registry
path Parameters
| name required  | string  Registry name  | 
Responses
Response samples
- 200
 - 404
 
Content type
application/json
{- "servers": [
- {
- "args": [
- "string"
 
], - "description": "string",
 - "docker_tags": [
- "string"
 
], - "env_vars": [
- {
- "default": "string",
 - "description": "string",
 - "name": "string",
 - "required": true,
 - "secret": true
 
} 
], - "image": "string",
 - "metadata": {
- "last_updated": "string",
 - "pulls": 0,
 - "stars": 0
 
}, - "name": "string",
 - "permissions": {
- "network": {
- "outbound": {
- "allow_host": [
- "string"
 
], - "allow_port": [
- 0
 
], - "allow_transport": [
- "string"
 
], - "insecure_allow_all": true
 
} 
}, - "read": [
- "string"
 
], - "write": [
- "string"
 
] 
}, - "provenance": {
- "attestation": {
- "predicate": null,
 - "predicate_type": "string"
 
}, - "cert_issuer": "string",
 - "repository_ref": "string",
 - "repository_uri": "string",
 - "runner_environment": "string",
 - "signer_identity": "string",
 - "sigstore_url": "string"
 
}, - "repository_url": "string",
 - "tags": [
- "string"
 
], - "target_port": 0,
 - "tools": [
- "string"
 
], - "transport": "string"
 
} 
] 
}Get a server from a registry
Get details of a specific server in a registry
path Parameters
| name required  | string  Registry name  | 
| serverName required  | string  Server name  | 
Responses
Response samples
- 200
 - 404
 
Content type
application/json
{- "server": {
- "args": [
- "string"
 
], - "description": "string",
 - "docker_tags": [
- "string"
 
], - "env_vars": [
- {
- "default": "string",
 - "description": "string",
 - "name": "string",
 - "required": true,
 - "secret": true
 
} 
], - "image": "string",
 - "metadata": {
- "last_updated": "string",
 - "pulls": 0,
 - "stars": 0
 
}, - "name": "string",
 - "permissions": {
- "network": {
- "outbound": {
- "allow_host": [
- "string"
 
], - "allow_port": [
- 0
 
], - "allow_transport": [
- "string"
 
], - "insecure_allow_all": true
 
} 
}, - "read": [
- "string"
 
], - "write": [
- "string"
 
] 
}, - "provenance": {
- "attestation": {
- "predicate": null,
 - "predicate_type": "string"
 
}, - "cert_issuer": "string",
 - "repository_ref": "string",
 - "repository_uri": "string",
 - "runner_environment": "string",
 - "signer_identity": "string",
 - "sigstore_url": "string"
 
}, - "repository_url": "string",
 - "tags": [
- "string"
 
], - "target_port": 0,
 - "tools": [
- "string"
 
], - "transport": "string"
 
} 
}Response samples
- 200
 
Content type
application/json
{- "servers": [
- {
- "created": "string",
 - "id": "string",
 - "image": "string",
 - "labels": {
- "property1": "string",
 - "property2": "string"
 
}, - "name": "string",
 - "ports": [
- {
- "containerPort": 0,
 - "hostPort": 0,
 - "protocol": "string"
 
} 
], - "state": "string",
 - "status": "string"
 
} 
] 
}Create a new server
Create and start a new server
Request Body schema: application/jsonrequired
Create server request
| authz_config | string  Authorization configuration  | 
| cmd_arguments | Array of strings  Command arguments to pass to the container  | 
| env_vars | Array of strings  Environment variables to set in the container  | 
| host | string  Host to bind to  | 
| image | string  Docker image to use  | 
| name | string  Name of the server  | 
object (v1.oidcOptions)   OIDC configuration options  | |
| permission_profile | string  Permission profile to apply  | 
Array of objects (secrets.SecretParameter)   Secret parameters to inject  | |
| target_port | integer  Port to expose from the container  | 
| transport | string  Transport configuration  | 
| volumes | Array of strings  Volume mounts  | 
Responses
Request samples
- Payload
 
Content type
application/json
{- "authz_config": "string",
 - "cmd_arguments": [
- "string"
 
], - "env_vars": [
- "string"
 
], - "host": "string",
 - "image": "string",
 - "name": "string",
 - "oidc": {
- "audience": "string",
 - "client_id": "string",
 - "issuer": "string",
 - "jwks_url": "string"
 
}, - "permission_profile": "string",
 - "secrets": [
- {
- "name": "string",
 - "target": "string"
 
} 
], - "target_port": 0,
 - "transport": "string",
 - "volumes": [
- "string"
 
] 
}Response samples
- 201
 - 400
 - 409
 
Content type
application/json
{- "name": "string",
 - "port": 0
 
}Get server details
Get details of a specific server
path Parameters
| name required  | string  Server name  | 
Responses
Response samples
- 200
 - 404
 
Content type
application/json
{- "created": "string",
 - "id": "string",
 - "image": "string",
 - "labels": {
- "property1": "string",
 - "property2": "string"
 
}, - "name": "string",
 - "ports": [
- {
- "containerPort": 0,
 - "hostPort": 0,
 - "protocol": "string"
 
} 
], - "state": "string",
 - "status": "string"
 
}