Skip to main content
Version: Current

AI Command Center API

Overview​

Manage users, processes, tasks, Buddies, jobs, and runtime data in your AI Command Center deployment.

Service origin​

https://command-center.example.com

Replace the example origin with your deployment’s HTTPS origin. Ask your administrator for the address and tenant details. Endpoint paths include /api; append them directly to the origin, without adding another /api.

Get started​

  1. Obtain an account with access to the resources you need. Ask your administrator for the appropriate roles and resource permissions.
  2. Call Get Access Token with your credentials.
  3. Copy the returned accesstoken value into the Bearer header below.
  4. Run the request with your own origin and process name. The command uses cURL in a POSIX shell.
curl --request GET \
--url 'https://command-center.example.com/api/processdefinition/byName?name=Expense-Report-Approval' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ACCESS_TOKEN'

A successful request returns 200 OK and the process definition, including its processId. See Get Process Definition for an example response.

Authentication​

Protected operations use Bearer access tokens. Login uses account credentials. Token lifetime and renewal behavior must be confirmed for your deployment.

Endpoints​

OperationMethod and pathPurpose
Complete TaskPUT /api/task/completeComplete a task using its task ID.
Create Environment VariablePOST /api/evar/createCreate an environment variable in AI Command Center.
Create Process InstancePOST /api/processinstance/createCreate a process instance using a process ID.
Create UserPOST /api/user/createCreate a user and assign roles in AI Command Center.
Get Activity Instance InfoGET /api/processinstance/activityInstanceByIdRetrieve an activity instance using its process instance ID and activity instance ID.
Get Agent DataGET /api/processinstance/agentdataRetrieve Agent Data for a process instance.
Get Access TokenPOST /api/auth/loginObtain an access token by signing in with your account credentials.
Get Job StatusGET /api/job/statusRetrieve the execution status of a job.
Get Pending TasksGET /api/task/pendingRetrieve pending tasks for a user and process.
Get Process DefinitionGET /api/processdefinition/byNameRetrieve a process definition by its name.
Get SmartBuddy by NameGET /api/smartbuddy/byNameRetrieve a SmartBuddy by its name.
Get Tasks by Process InstanceGET /api/processinstance/tasksRetrieve tasks for a process instance, including their task IDs.
Start JobPOST /api/job/startStart a job using a process and a Buddy.
Update Agent DataPOST /api/processinstance/submitAgentDataUpdate Agent Data for a process instance.
Update Workflow DataPOST /api/processinstance/submitModelDataUpdate Workflow Data for a workflow instance.
Update SmartBuddyPUT /api/smartbuddy/updateUpdate a SmartBuddy and its associated reference entries.

Next steps​

For task automation, retrieve a process definition, create an instance using its processId, list that instance’s tasks, and complete the intended task. For Buddy automation, retrieve a process and Buddy, start a job, then inspect its status. Use IDs returned by each operation instead of copying example IDs.

See Usage and troubleshooting for response conventions, retry considerations, and current reference limitations.