Get AOP configuration
curl --request GET \
--url https://omnicommerce.sg/api/v1/aop/{aopId}/config \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/aop/{aopId}/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/aop/{aopId}/config"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"aop_id": "<string>",
"title": "<string>",
"prompt": "<string>",
"description": "<string>",
"agentId": "<string>",
"icon": "ListTodo",
"section": "<string>",
"structured_output": {},
"structured_inputs": {},
"agent_config": {},
"user_notification_configs": {}
}AOPs
Get AOP configuration
Retrieve prompt, agent, structured inputs/output, and notification settings. Requires aops:read.
GET
/
api
/
v1
/
aop
/
{aopId}
/
config
Get AOP configuration
curl --request GET \
--url https://omnicommerce.sg/api/v1/aop/{aopId}/config \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/aop/{aopId}/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/aop/{aopId}/config"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"aop_id": "<string>",
"title": "<string>",
"prompt": "<string>",
"description": "<string>",
"agentId": "<string>",
"icon": "ListTodo",
"section": "<string>",
"structured_output": {},
"structured_inputs": {},
"agent_config": {},
"user_notification_configs": {}
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Path Parameters
Query Parameters
Required for session auth. Optional for API keys.
Maximum string length:
120Response
Success
Computed JSON Schema for user_inputs, derived from [[ placeholder ]] tokens and declared variables.