Skip to main content
POST
Report CI job usage

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Headers

X-CostGraph-Tenant-ID
string

Tenant ID

Body

application/json

Usage line written by costgraph-agent ci

arch
string
cgroup
string
cpu_avg_cores
number
cpu_p50
number
cpu_p90
number
cpu_p95
number
cpu_p99
number
cpu_peak_cores
number
cpu_total_cores
number
disk_read_bytes
integer
disk_write_bytes
integer
egress
object[]
egress_other
object[]
ended_at
string
final
boolean
job_id
integer
kernel
string
memory_peak_bytes
integer
memory_total_bytes
integer
net_in_bytes
integer
net_out_bytes
integer
oom_kills
integer
run_attempt
integer
run_id
integer
samples
integer
series
object[]
source
string
started_at
string
version
integer

Response

OK

message
string
required
Example:

"some message"

status
string
required
Example:

"success"

data
object