arazzo: 1.0.1 info: title: Affinda Configure and Embed Resume Search summary: Read the resume search config, update its weights, then mint a signed embeddable search URL. description: >- Prepares an embeddable Search & Match experience. The current resume search configuration is read, an updated configuration is written to adjust field weights and display options, and a signed URL is minted so the search tool can be embedded on a web page. Every step spells out its request inline so the flow can be read and executed without opening the underlying OpenAPI description. version: 1.0.0 sourceDescriptions: - name: affindaV3Api url: ../openapi/affinda-v3-openapi.yml type: openapi workflows: - workflowId: configure-resume-search-embed summary: Read, update, then embed the resume search tool. description: >- Reads the current resume search config, writes an updated config, and creates a signed embeddable search URL. inputs: type: object required: - config properties: config: type: object description: The resume search configuration to apply (weights, displayable fields, etc.). steps: - stepId: getConfig description: Read the current resume search configuration. operationId: getResumeSearchConfig successCriteria: - condition: $statusCode == 200 outputs: currentConfig: $response.body - stepId: updateConfig description: Write the updated resume search configuration. operationId: updateResumeSearchConfig requestBody: contentType: application/json payload: $inputs.config successCriteria: - condition: $statusCode == 200 outputs: updatedConfig: $response.body - stepId: createEmbedUrl description: >- Mint a signed URL for the embeddable resume search tool so it can be placed on a web page. operationId: createResumeSearchEmbedUrl requestBody: contentType: application/json payload: configOverride: $inputs.config successCriteria: - condition: $statusCode == 200 outputs: embed: $response.body outputs: updatedConfig: $steps.updateConfig.outputs.updatedConfig embed: $steps.createEmbedUrl.outputs.embed