Generate an Experience Candidate

POST
/v1/experience/generate

Use the configured model and caller-selected exact evidence; persist only a schema-valid pending Candidate.

Authorization

BearerAuth
AuthorizationBearer <token>

Static bearer token used when local Server authentication is enabled.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/experience/generate" \  -H "Content-Type: application/json" \  -d '{    "scope_id": "string",    "source_refs": [      {        "name": "string",        "source_id": "string"      }    ],    "artifact_refs": [      {        "family": "string",        "artifact_id": "string",        "revision": 1      }    ]  }'
{  "status": "pending",  "candidate": {    "candidate_id": "string",    "version": 1,    "family": "experience",    "status": "pending",    "proposal": {      "situation": "string",      "action": "string",      "outcome": "string",      "lesson": "string"    },    "source_refs": [      {        "name": "string",        "source_id": "string"      }    ],    "artifact_refs": [      {        "family": "string",        "artifact_id": "string",        "revision": 1      }    ],    "target": {      "family": "string",      "artifact_id": "string",      "revision": 1    },    "reason": "string",    "result_artifact": {      "family": "string",      "artifact_id": "string",      "revision": 1    },    "decision_reason": "string"  }}