data.aria.get-service ​
Read one hosted service: its voice, its tools, its auto-inputs and its bindings.
One service, with the surface it currently composes.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-aria |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
slug | string | Yes | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
service | json | No | — | — |
tools | list | No | — | — |
auto_inputs | list | No | — | — |
resources | list | No | — | — |
bindings | list | No | — | — |
endpoint | string | No | — | — |
failure_reason | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | json | No | — | — |
failed_layer | integer | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
read | SUCCESS | One service and its composed surface | service, tools |
failed | FAILURE | The action was refused or failed | failure_reason |
Business Errors ​
| Code | Message Template |
|---|---|
ARIA_SERVICE_NOT_FOUND | No such service in this organization |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.aria.get-service",
"initial_data": {
"slug": "value"
}
}