Hướng dẫn AgentFlow

get_workflow_input_contract

GET/workflows/{workflow_id}/input-contract
AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Path Parameters

workflow_id*string

Workflow definition id

Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/input-contract"
{  "form_definition_id": "b390c1bd-24be-4760-81d7-8c6a2d944ace",  "params_slots": [    {      "has_default": true,      "is_entity_ref": true,      "key": "string",      "ref_entity_key": "string",      "required": true,      "scalar_type": "string",      "title": "string"    }  ],  "published": true,  "subject": {    "kind": "undeclared"  },  "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c"}