Op Lifecycle Callback
POST
/callbacks/ops/{op_run_id}/{action}
const url = 'https://example.com/callbacks/ops/example/complete';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/callbacks/ops/example/completeForward op lifecycle callbacks to pipeline-api.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” op_run_id
required
string
action
required
string
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
exampleValidation Error
Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationErrorobject
loc
required
Location
Array<string | integer>
msg
required
Message
string
type
required
Error Type
string
input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}