Get Operation
Get an operation by id
Request
URI
GET
https://{api_host}/api/vsr-guardrails/{org_id}/operations/{operation_id}
COPY
Path Parameters
string
org_id
Required
organization identifier
string
operation_id
Required
operation identifier
Responses
200
OK
Returns
Operation
of type(s)
application/json
{
"id": "string",
"org_id": "string",
"operation_type": "string",
"resource_type": "string",
"resource_id": "string",
"task_id": "string",
"operation_config": {
"operation_config": {}
},
"output": {
"output": {}
},
"state": "string",
"task_details": {},
"created_timestamp": "string",
"updated_timestamp": "string"
}
string
id
Optional
Identifier of the operation
string
org_id
Required
Identifier of the organization
string
operation_type
Required
Type of the operation
string
resource_type
Optional
Resource type to perform the operation
string
resource_id
Optional
Identifier of the resource
string
task_id
Optional
Identifier of scheduler task created for operation
object
operation_config
Optional
Extra config info of the operation
object
output
Optional
Output of the operation
string
state
Optional
Operation state
object
task_details
Optional
Details of scheduler task created for operation
string As date-time
As date-time
created_timestamp
Optional
The created timestamp
string As date-time
As date-time
updated_timestamp
Optional
The updated timestamp
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/vsr-guardrails/{org_id}/operations/{operation_id}
Operation Operations
GET
Get Operation