Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Language
string; {"enum":["en","de"]}
Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-ID
string
Server-generated request identifier. Include this when reporting an error; inbound values are not trusted.
application/json
Field
Type and limits
Required
Meaning
$
object
Yes
—
$.code
integer
Yes
—
$.message
string
Yes
—
$.details
array<object>
No
—
$.details[]
object
Yes
—
application/x-protobuf
Field
Type and limits
Required
Meaning
$
string
Yes
—
Stable error codes
csrf
insufficient_scope
invalid_origin
operator_required
forbidden
Header
Type and limits
Meaning
Cache-Control
string; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}
Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Language
string; {"enum":["en","de"]}
Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-ID
string
Server-generated request identifier. Include this when reporting an error; inbound values are not trusted.
application/json
Field
Type and limits
Required
Meaning
$
object
Yes
—
$.code
integer
Yes
—
$.message
string
Yes
—
$.details
array<object>
No
—
$.details[]
object
Yes
—
application/x-protobuf
Field
Type and limits
Required
Meaning
$
string
Yes
—
Stable error codes
invalid_workspace
not_found
Header
Type and limits
Meaning
Cache-Control
string; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}
Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Language
string; {"enum":["en","de"]}
Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-ID
string
Server-generated request identifier. Include this when reporting an error; inbound values are not trusted.
application/json
Field
Type and limits
Required
Meaning
$
object
Yes
—
$.code
integer
Yes
—
$.message
string
Yes
—
$.details
array<object>
No
—
$.details[]
object
Yes
—
application/x-protobuf
Field
Type and limits
Required
Meaning
$
string
Yes
—
Stable error codes
invalid_workspace
stale_check
result_conflict
Header
Type and limits
Meaning
Cache-Control
string; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}
Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Language
string; {"enum":["en","de"]}
Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-ID
string
Server-generated request identifier. Include this when reporting an error; inbound values are not trusted.
application/json
Field
Type and limits
Required
Meaning
$
object
Yes
—
$.code
integer
Yes
—
$.message
string
Yes
—
$.details
array<object>
No
—
$.details[]
object
Yes
—
application/x-protobuf
Field
Type and limits
Required
Meaning
$
string
Yes
—
Stable error codes
invalid_config
invalid_monitor
Header
Type and limits
Meaning
Cache-Control
string; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}
Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Language
string; {"enum":["en","de"]}
Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-ID
string
Server-generated request identifier. Include this when reporting an error; inbound values are not trusted.
application/json
Field
Type and limits
Required
Meaning
$
object
Yes
—
$.code
integer
Yes
—
$.message
string
Yes
—
$.details
array<object>
No
—
$.details[]
object
Yes
—
application/x-protobuf
Field
Type and limits
Required
Meaning
$
string
Yes
—
Stable error codes
invalid_workspace
check_capacity
Header
Type and limits
Meaning
Retry-After
string; {"pattern":"^[0-9]+$"}
Temporary server error; retry unchanged with Retry-After and the same idempotency identifier
application/json
Field
Type and limits
Required
Meaning
$
object
Yes
—
$.code
integer
Yes
—
$.message
string
Yes
—
$.details
array<object>
No
—
$.details[]
object
Yes
—
application/x-protobuf
Field
Type and limits
Required
Meaning
$
string
Yes
—
Stable error codes
unavailable
feature_unavailable
check_location_unavailable
Header
Type and limits
Meaning
Cache-Control
string; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}
Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Language
string; {"enum":["en","de"]}
Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-ID
string
Server-generated request identifier. Include this when reporting an error; inbound values are not trusted.
application/json
Field
Type and limits
Required
Meaning
$
object
Yes
—
$.code
integer
Yes
—
$.message
string
Yes
—
$.details
array<object>
No
—
$.details[]
object
Yes
—
application/x-protobuf
Field
Type and limits
Required
Meaning
$
string
Yes
—
Stable error codes
log_limit
request_too_large
Header
Type and limits
Meaning
Cache-Control
string; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}
Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Language
string; {"enum":["en","de"]}
Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-ID
string
Server-generated request identifier. Include this when reporting an error; inbound values are not trusted.
application/json
Field
Type and limits
Required
Meaning
$
object
Yes
—
$.code
integer
Yes
—
$.message
string
Yes
—
$.details
array<object>
No
—
$.details[]
object
Yes
—
application/x-protobuf
Field
Type and limits
Required
Meaning
$
string
Yes
—
Stable error codes
invalid_log
invalid_source
log_identifier_conflict
Header
Type and limits
Meaning
Cache-Control
string; {"pattern":"(?:^|,\\s*)no-store(?:,|$)"}
Private API responses prohibit storage. Public OAuth metadata is cached for 300 seconds; live streams additionally prohibit transformation.
Content-Language
string; {"enum":["en","de"]}
Language of human-readable response text, resolved from Accept-Language or the documented browser preference. Technical codes and identifiers remain stable.
X-Request-ID
string
Server-generated request identifier. Include this when reporting an error; inbound values are not trusted.
This change does not have a general retry guarantee. If the response is unclear, read the affected resource before trying again. Follow Retry-After waiting times and request new sign-in or action codes when they expire.
Replace demo IDs, timestamps and placeholders with your own values. For a retry, keep the same IDs, time and content. These examples do not run requests on this page.
Keep login links, codes, cookies and keys private. Do not print them in logs or share them in support requests.
import json
from pathlib import Path
from urllib.request import Request, urlopen
headers=json.loads((Path.home()/".config/metribeacon/headers.json").read_text())
headers["Content-Type"]="application/json"
request=Request('https://metribeacon.com/api/v1/otlp/v1/logs',headers=headers,method='POST',data='{"resourceLogs":[{"scopeLogs":[{"logRecords":[{"severityText":"INFO","body":{"stringValue":"worker ready"}}]}]}]}'.encode())
with urlopen(request,timeout=30) as response:
print(response.status)
Report a selected log stream’s collection or delivery state. A ready status alone does not prove complete delivery; cursor checkpoints are acknowledged together with their log batches. Buffered interruptions remain pending until continuity is confirmed.