openapi: 3.2.0 info: title: Ad Seller System Core API description: IAB OpenDirect 2.1 compliant seller agent for programmatic advertising. Supports product discovery, tiered pricing, proposal evaluation, multi-round negotiation, deal execution, order management, and change requests. contact: name: IAB Tech Lab url: https://iabtechlab.com/ license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 version: 1.0.0 tags: - name: Core description: Health check and API root paths: /: get: tags: - Core summary: Root description: API root. operationId: root__get responses: '200': description: Successful Response content: application/json: schema: {} /health: get: tags: - Core summary: Health description: Health check endpoint. operationId: health_health_get responses: '200': description: Successful Response content: application/json: schema: {} /api/v1/inventory-sync/status: get: tags: - Core summary: Get Inventory Sync Status description: Get the current status of the periodic inventory sync scheduler. operationId: get_inventory_sync_status_api_v1_inventory_sync_status_get responses: '200': description: Successful Response content: application/json: schema: {} /api/v1/inventory-sync/trigger: post: tags: - Core summary: Trigger Inventory Sync description: 'Manually trigger an inventory sync. Args: incremental: If true, only sync items changed since last sync (based on stored sync watermark). Full sync if false or no previous watermark exists.' operationId: trigger_inventory_sync_api_v1_inventory_sync_trigger_post parameters: - name: incremental in: query required: false schema: type: boolean default: false title: Incremental responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /api/v1/inventory-sync/watermark: get: tags: - Core summary: Get Sync Watermark description: Get the last sync watermark (used for incremental sync). operationId: get_sync_watermark_api_v1_inventory_sync_watermark_get responses: '200': description: Successful Response content: application/json: schema: {} components: schemas: ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError