http
POST /agent-runtimes/push-servicesRegister a runtime service.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
service_name | string | Yes | |
service_key | string | ||
scope_kind | string | Project-scoped registrations require project.runtime.manage; global registrations require platform administrator access. | |
project_reference | string,null | ||
agent_id | string,null | ||
base_url | string | ||
managed_source | object | ||
invoke_url | string | ||
capabilities | object,null | ||
metadata | object,null | ||
version | string,null | ||
runtime | string,null | ||
region | string,null |
Responses
| Status | Description |
|---|---|
| 201 | Registers or refreshes a push-based agent runtime service endpoint. Project-scoped registrations require project.runtime.manage; global registrations require platform administrator access. |
| 400 | Bad request |
| 401 | Unauthorized |
| 403 | Global registration without platform administrator access, or project registration without project.runtime.manage. |
| 404 | Not found |
| 500 | Server error |
| 503 | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly. |