Get resource runtime context
GET
/v1/servers/{serverId}/contextReturn the resource, its bindings, runtime manifest, and deployment diagnostics.
How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| serverId | path | string | Yes | Resource ID |
Query parameters
None.
Body schema
This endpoint does not require a request body.
None.
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Resource runtime contextapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| serverId | string | No | Resource ID. |
| server | object | No | — |
| server.id | string | No | Unique identifier. |
| server.userId | string | No | User ID. |
| server.projectId | string | No | Project ID. |
| server.name | string | No | Human-readable name. |
| server.description | string | No | Human-readable description. |
| server.kind | web_app | function | auth | agent_runtime | No | — |
| server.sourceType | string | No | — |
| server.sourceEnvironmentId | string | No | — |
| server.sourcePath | string | No | Workspace-relative file path. |
| server.region | string | No | — |
| server.runtime | string | No | — |
| server.authMode | public | private | No | — |
| server.serviceUrl | string | No | — |
| server.customDomain | string | No | — |
| server.cloudRunServiceName | string | No | — |
| server.imageUrl | string | No | — |
| server.status | draft | deploying | deployed | failed | inactive | No | Current lifecycle status. |
| server.lastDeployedAt | string | No | — |
| server.metadata | object | No | Free-form metadata object. |
| server.createdAt | string | No | ISO 8601 timestamp. |
| server.updatedAt | string | No | ISO 8601 timestamp. |
| bindings | object[] | No | — |
| bindings[].id | string | No | Unique identifier. |
| bindings[].targetType | database | auth | agent_runtime | No | — |
| bindings[].targetId | string | No | — |
| bindings[].alias | string | No | — |
| bindings[].accessMode | string | No | — |
| bindings[].metadata | object | No | Free-form metadata object. |
| runtime | object | No | — |
| runtime.version | integer | No | — |
| runtime.generatedAt | string | No | — |
| runtime.platform | object | No | — |
| runtime.platform.apiBaseUrl | string | No | — |
| runtime.platform.firebase | object | No | — |
| runtime.platform.firebase.projectId | string | No | Project ID. |
| runtime.platform.firebase.apiKey | string | No | — |
| runtime.platform.firebase.authDomain | string | No | — |
| runtime.platform.firestore | object | No | — |
| runtime.platform.firestore.projectId | string | No | Project ID. |
| runtime.platform.firestore.rootCollection | string | No | — |
| runtime.server | object | No | — |
| runtime.server.id | string | No | Unique identifier. |
| runtime.server.name | string | No | Human-readable name. |
| runtime.server.kind | string | No | — |
| runtime.server.region | string | No | — |
| runtime.server.runtime | string | No | — |
| runtime.server.authMode | string | No | — |
| runtime.server.serviceName | string | No | — |
| runtime.server.serviceUrl | string | No | — |
| runtime.connections | object | No | — |
| runtime.connections.database | object | No | — |
| runtime.connections.database.id | string | No | Unique identifier. |
| runtime.connections.database.name | string | No | Human-readable name. |
| runtime.connections.database.provider | string | No | — |
| runtime.connections.database.projectId | string | No | Project ID. |
| runtime.connections.database.rootCollection | string | No | — |
| runtime.connections.database.namespace | string | No | — |
| runtime.connections.database.location | string | No | — |
| runtime.connections.database.apiKey | string | No | — |
| runtime.connections.database.authDomain | string | No | — |
| runtime.connections.database.runtimeApiBaseUrl | string | No | — |
| runtime.connections.database.controlPlaneUrl | string | No | — |
| runtime.connections.database.sessionProtocol | string | No | — |
| runtime.connections.database.agentId | string | No | Agent ID. |
| runtime.connections.database.environmentId | string | No | Computer ID. |
| runtime.connections.database.executionMode | string | No | — |
| runtime.connections.database.streamingEnabled | boolean | No | — |
| runtime.connections.database.maxRuntimeSeconds | integer | No | — |
| runtime.connections.database.endpoints | object | No | — |
| runtime.connections.database.skills | object | No | — |
| runtime.connections.auth | object | No | — |
| runtime.connections.auth.id | string | No | Unique identifier. |
| runtime.connections.auth.name | string | No | Human-readable name. |
| runtime.connections.auth.provider | string | No | — |
| runtime.connections.auth.projectId | string | No | Project ID. |
| runtime.connections.auth.rootCollection | string | No | — |
| runtime.connections.auth.namespace | string | No | — |
| runtime.connections.auth.location | string | No | — |
| runtime.connections.auth.apiKey | string | No | — |
| runtime.connections.auth.authDomain | string | No | — |
| runtime.connections.auth.runtimeApiBaseUrl | string | No | — |
| runtime.connections.auth.controlPlaneUrl | string | No | — |
| runtime.connections.auth.sessionProtocol | string | No | — |
| runtime.connections.auth.agentId | string | No | Agent ID. |
| runtime.connections.auth.environmentId | string | No | Computer ID. |
| runtime.connections.auth.executionMode | string | No | — |
| runtime.connections.auth.streamingEnabled | boolean | No | — |
| runtime.connections.auth.maxRuntimeSeconds | integer | No | — |
| runtime.connections.auth.endpoints | object | No | — |
| runtime.connections.auth.skills | object | No | — |
| runtime.connections.agentRuntime | object | No | — |
| runtime.connections.agentRuntime.id | string | No | Unique identifier. |
| runtime.connections.agentRuntime.name | string | No | Human-readable name. |
| runtime.connections.agentRuntime.provider | string | No | — |
| runtime.connections.agentRuntime.projectId | string | No | Project ID. |
| runtime.connections.agentRuntime.rootCollection | string | No | — |
| runtime.connections.agentRuntime.namespace | string | No | — |
| runtime.connections.agentRuntime.location | string | No | — |
| runtime.connections.agentRuntime.apiKey | string | No | — |
| runtime.connections.agentRuntime.authDomain | string | No | — |
| runtime.connections.agentRuntime.runtimeApiBaseUrl | string | No | — |
| runtime.connections.agentRuntime.controlPlaneUrl | string | No | — |
| runtime.connections.agentRuntime.sessionProtocol | string | No | — |
| runtime.connections.agentRuntime.agentId | string | No | Agent ID. |
| runtime.connections.agentRuntime.environmentId | string | No | Computer ID. |
| runtime.connections.agentRuntime.executionMode | string | No | — |
| runtime.connections.agentRuntime.streamingEnabled | boolean | No | — |
| runtime.connections.agentRuntime.maxRuntimeSeconds | integer | No | — |
| runtime.connections.agentRuntime.endpoints | object | No | — |
| runtime.connections.agentRuntime.skills | object | No | — |
| diagnostics | object | No | — |
| diagnostics.ready | boolean | No | — |
| diagnostics.warnings | object[] | No | — |
| diagnostics.warnings[].code | string | No | — |
| diagnostics.warnings[].level | string | No | — |
| diagnostics.warnings[].message | string | No | Message text. |
| diagnostics.deployment | object | No | — |
| diagnostics.runtime | object | No | — |
| diagnostics.connections | object | No | — |
| diagnostics.controlPlane | object | No | — |