diff --git a/docs/edge/en/guides/flows/inputs-id-deprecation.mdx b/docs/edge/en/guides/flows/inputs-id-deprecation.mdx index 527dcecfa..f5f2aba57 100644 --- a/docs/edge/en/guides/flows/inputs-id-deprecation.mdx +++ b/docs/edge/en/guides/flows/inputs-id-deprecation.mdx @@ -150,12 +150,14 @@ A few current behaviors to be aware of when chaining runs over the AMP REST API: it as the new run's id via `inputs.id` alongside `restoreFromStateId`: ```bash + # Example UUIDs: "inputs.id" is a fresh UUID you generated for this turn; + # "restoreFromStateId" is the UUID you pinned on the previous turn. curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_CREW_TOKEN" \ -d '{ - "inputs": {"id": "NEW-CLIENT-GENERATED-UUID", "topic": "AI Agent Frameworks"}, - "restoreFromStateId": "STATE-ID-FROM-PREVIOUS-TURN" + "inputs": {"id": "7f9c24e5-3a61-42b0-9c8b-2f1a5d6e8c33", "topic": "AI Agent Frameworks"}, + "restoreFromStateId": "123e4567-e89b-42d3-a456-426614174000" }' \ https://your-crew-url.crewai.com/kickoff ``` diff --git a/docs/edge/enterprise-api.base.yaml b/docs/edge/enterprise-api.base.yaml index 6e0d9da75..6786d3c43 100644 --- a/docs/edge/enterprise-api.base.yaml +++ b/docs/edge/enterprise-api.base.yaml @@ -149,7 +149,7 @@ paths: silently starts as a fresh session — no error is returned. See the [inputs.id deprecation guide](/en/guides/flows/inputs-id-deprecation) for migration details and operational notes. - example: "abcd1234-5678-90ef-ghij-klmnopqrstuv" + example: "123e4567-e89b-42d3-a456-426614174000" taskWebhookUrl: type: string format: uri @@ -194,7 +194,7 @@ paths: value: inputs: topic: "AI Agent Frameworks" - restoreFromStateId: "abcd1234-5678-90ef-ghij-klmnopqrstuv" + restoreFromStateId: "123e4567-e89b-42d3-a456-426614174000" responses: "200": description: Crew execution started successfully diff --git a/docs/edge/enterprise-api.en.yaml b/docs/edge/enterprise-api.en.yaml index 6e0d9da75..6786d3c43 100644 --- a/docs/edge/enterprise-api.en.yaml +++ b/docs/edge/enterprise-api.en.yaml @@ -149,7 +149,7 @@ paths: silently starts as a fresh session — no error is returned. See the [inputs.id deprecation guide](/en/guides/flows/inputs-id-deprecation) for migration details and operational notes. - example: "abcd1234-5678-90ef-ghij-klmnopqrstuv" + example: "123e4567-e89b-42d3-a456-426614174000" taskWebhookUrl: type: string format: uri @@ -194,7 +194,7 @@ paths: value: inputs: topic: "AI Agent Frameworks" - restoreFromStateId: "abcd1234-5678-90ef-ghij-klmnopqrstuv" + restoreFromStateId: "123e4567-e89b-42d3-a456-426614174000" responses: "200": description: Crew execution started successfully