v1
latestOpenAPI 3.1.0BSD-32026-07-2471176175.5 KBcostformation
Submit an asynchronous CostFormation definition publish job. Returns a job ID, initial status of pending, and a poll_url to check progress. Use the Get a publish job endpoint to poll for completion.
post/v2/costformation/definitions/async
Headers
cloudzero-idempotency-keystring
If passed, any subsequent operation with the same value for this header will return the exact same result. This is true for all responses, i.e. successes and errors.
cloudzero-test-keystring
If passed, the operation executes in the namespace specified by this key. Resource mutations in the namespace last for 1 hour.
Request body
Response
Successful Operation
Example response
{
"job_id": "job-abc123",
"status": "pending",
"poll_url": "/v2/costformation/publish-jobs/job-abc123"
}