Secret API key bound to an environment.
In: header
Query Parameters
1 <= value <= 20050Value in
- "pending"
- "executing"
- "executed"
- "failed"
- "declined"
- "expired"
organization: every environment of the organization this credential may read (within an AI connection’s narrowing), not only the selected one. Default environment.
Value in
- "environment"
- "organization"
Header Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/pending_actions"{ "data": [ { "id": "string", "object": "pending_action", "environment_id": "string", "status": "pending", "operation_id": "string", "summary": "string", "request": { "method": "POST", "path": "string", "route": "string", "path_params": { "property1": null, "property2": null }, "query": { "property1": null, "property2": null }, "body": null, "if_match": "string" }, "gate": { "property1": null, "property2": null }, "note": "string", "channel": "mcp", "requested_by": { "kind": "secret_key", "id": "string", "user_id": "string", "name": "string" }, "executes_as": "requester", "stalled": true, "expires_at": "string", "decided_by": "string", "decided_at": "string", "decision_note": "string", "executed_at": "string", "result": { "status": -9007199254740991, "body": null }, "review_url": "string", "checks": { "will_fail": true, "problems": [ { "code": "customer_not_found", "message": "string" } ] }, "resolved_body": null, "created_at": "string", "updated_at": "string", "version": -9007199254740991 } ], "next_cursor": "string", "has_more": true}Secret API key bound to an environment.
In: header
Header Parameters
Required. Official clients generate a UUID when omitted by the caller.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/pending_actions" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{ "operation_id": "delete_segments_id", "path": { "id": "seg_00000000000000000000000000000001" }, "note": "The segment was a test" }'{ "id": "string", "object": "pending_action", "environment_id": "string", "status": "pending", "operation_id": "string", "summary": "string", "request": { "method": "POST", "path": "string", "route": "string", "path_params": { "property1": null, "property2": null }, "query": { "property1": null, "property2": null }, "body": null, "if_match": "string" }, "gate": { "property1": null, "property2": null }, "note": "string", "channel": "mcp", "requested_by": { "kind": "secret_key", "id": "string", "user_id": "string", "name": "string" }, "executes_as": "requester", "stalled": true, "expires_at": "string", "decided_by": "string", "decided_at": "string", "decision_note": "string", "executed_at": "string", "result": { "status": -9007199254740991, "body": null }, "review_url": "string", "checks": { "will_fail": true, "problems": [ { "code": "customer_not_found", "message": "string" } ] }, "resolved_body": null, "created_at": "string", "updated_at": "string", "version": -9007199254740991}Secret API key bound to an environment.
In: header
Path Parameters
Header Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/pending_actions/string"{ "id": "string", "object": "pending_action", "environment_id": "string", "status": "pending", "operation_id": "string", "summary": "string", "request": { "method": "POST", "path": "string", "route": "string", "path_params": { "property1": null, "property2": null }, "query": { "property1": null, "property2": null }, "body": null, "if_match": "string" }, "gate": { "property1": null, "property2": null }, "note": "string", "channel": "mcp", "requested_by": { "kind": "secret_key", "id": "string", "user_id": "string", "name": "string" }, "executes_as": "requester", "stalled": true, "expires_at": "string", "decided_by": "string", "decided_at": "string", "decision_note": "string", "executed_at": "string", "result": { "status": -9007199254740991, "body": null }, "review_url": "string", "checks": { "will_fail": true, "problems": [ { "code": "customer_not_found", "message": "string" } ] }, "resolved_body": null, "created_at": "string", "updated_at": "string", "version": -9007199254740991, "confirmation": { "csrf_token": "string" }}Authorization
session Browser session; local and staging use their configured runtime cookie prefix.
In: cookie
Header Parameters
Required. Official clients generate a UUID when omitted by the caller.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/pending_action_approvals" \ -H "Idempotency-Key: string" \ -H "X-Orishare-Environment: string" \ -H "Content-Type: application/json" \ -d '{ "pending_action_id": "pact_00000000000000000000000000000001" }'{ "id": "string", "object": "pending_action", "environment_id": "string", "status": "pending", "operation_id": "string", "summary": "string", "request": { "method": "POST", "path": "string", "route": "string", "path_params": { "property1": null, "property2": null }, "query": { "property1": null, "property2": null }, "body": null, "if_match": "string" }, "gate": { "property1": null, "property2": null }, "note": "string", "channel": "mcp", "requested_by": { "kind": "secret_key", "id": "string", "user_id": "string", "name": "string" }, "executes_as": "requester", "stalled": true, "expires_at": "string", "decided_by": "string", "decided_at": "string", "decision_note": "string", "executed_at": "string", "result": { "status": -9007199254740991, "body": null }, "review_url": "string", "checks": { "will_fail": true, "problems": [ { "code": "customer_not_found", "message": "string" } ] }, "resolved_body": null, "created_at": "string", "updated_at": "string", "version": -9007199254740991}Authorization
session Browser session; local and staging use their configured runtime cookie prefix.
In: cookie
Header Parameters
Required. Official clients generate a UUID when omitted by the caller.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/pending_action_declines" \ -H "Idempotency-Key: string" \ -H "X-Orishare-Environment: string" \ -H "Content-Type: application/json" \ -d '{ "pending_action_id": "pact_00000000000000000000000000000001" }'{ "id": "string", "object": "pending_action", "environment_id": "string", "status": "pending", "operation_id": "string", "summary": "string", "request": { "method": "POST", "path": "string", "route": "string", "path_params": { "property1": null, "property2": null }, "query": { "property1": null, "property2": null }, "body": null, "if_match": "string" }, "gate": { "property1": null, "property2": null }, "note": "string", "channel": "mcp", "requested_by": { "kind": "secret_key", "id": "string", "user_id": "string", "name": "string" }, "executes_as": "requester", "stalled": true, "expires_at": "string", "decided_by": "string", "decided_at": "string", "decision_note": "string", "executed_at": "string", "result": { "status": -9007199254740991, "body": null }, "review_url": "string", "checks": { "will_fail": true, "problems": [ { "code": "customer_not_found", "message": "string" } ] }, "resolved_body": null, "created_at": "string", "updated_at": "string", "version": -9007199254740991}