PUT /organization/config/telemetry-export
Points runner telemetry at an OTLP endpoint the organization owns. `secret` is write-only: omit it to keep the stored credential, send an empty string to clear it.
Authorization
JWTKeyAuth In: header
Request Body
application/json
Telemetry export configuration
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/organization/config/telemetry-export" \ -H "Content-Type: application/json" \ -d '{}'{ "auth_header_name": "string", "enabled": true, "headers": { "property1": "string", "property2": "string" }, "logs_endpoint": "string", "metrics_endpoint": "string", "provider": "datadog", "resource_attrs": { "property1": "string", "property2": "string" }, "secret": "string", "secret_hint": "string", "secret_set": true}POST /organization/config/telemetry-export/test
Verifies endpoint and credentials by posting a one-datapoint OTLP payload for every configured signal. Returns the endpoint's response rather than failing the request, so a rejected credential comes back as a 200 with the error described.
GET /org_metrics/job_runner_recommendations
Returns, for every GitHub job in the organization's last 7 days that should move to a different runner size, a right-sizing recommendation (derived from the job's aggregate CPU/memory usage across all its runs) plus a sample of its most recent runs.