> ## Documentation Index
> Fetch the complete documentation index at: https://synapse-docs.apart.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Continuous Score Drift



## OpenAPI

````yaml /openapi.json post /v1/organizations/{organization_id}/apps/{app_id}/environments/{environment_id}/continuous-evaluation/score-drift
openapi: 3.1.0
info:
  description: Are we on the same page?
  title: Synapse
  version: 0.1.0
servers: []
security: []
paths:
  /v1/organizations/{organization_id}/apps/{app_id}/environments/{environment_id}/continuous-evaluation/score-drift:
    post:
      tags:
        - v1-platform
      summary: Continuous Score Drift
      operationId: >-
        continuous_score_drift_v1_organizations__organization_id__apps__app_id__environments__environment_id__continuous_evaluation_score_drift_post
      parameters:
        - in: path
          name: organization_id
          required: true
          schema:
            format: uuid
            title: Organization Id
            type: string
        - in: path
          name: app_id
          required: true
          schema:
            format: uuid
            title: App Id
            type: string
        - in: path
          name: environment_id
          required: true
          schema:
            format: uuid
            title: Environment Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContinuousAlignmentRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EvaluationDrift'
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Authentication required
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Insufficient scope
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Resource not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Request validation failed
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
          description: Internal server error
      security:
        - BearerAuth: []
        - ApiKeyAuth: []
        - SessionCookie: []
components:
  schemas:
    ContinuousAlignmentRequest:
      additionalProperties: false
      properties:
        program_id:
          format: uuid
          title: Program Id
          type: string
        subject_id:
          format: uuid
          title: Subject Id
          type: string
      required:
        - subject_id
        - program_id
      title: ContinuousAlignmentRequest
      type: object
    EvaluationDrift:
      properties:
        app_id:
          format: uuid
          title: App Id
          type: string
        axes:
          items:
            $ref: '#/components/schemas/AxisDelta'
          title: Axes
          type: array
        completed_at:
          format: date-time
          title: Completed At
          type: string
        confidence_delta:
          additionalProperties:
            anyOf:
              - type: number
              - type: 'null'
          title: Confidence Delta
          type: object
        coverage_delta:
          additionalProperties:
            anyOf:
              - type: number
              - type: 'null'
          title: Coverage Delta
          type: object
        current_versions:
          $ref: '#/components/schemas/VersionProvenance'
        cycle_number:
          minimum: 1
          title: Cycle Number
          type: integer
        environment_id:
          format: uuid
          title: Environment Id
          type: string
        evaluation_id:
          format: uuid
          title: Evaluation Id
          type: string
        has_prior:
          title: Has Prior
          type: boolean
        primary:
          $ref: '#/components/schemas/PrimaryMetricDelta'
        prior_completed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Prior Completed At
        prior_evaluation_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Prior Evaluation Id
        prior_versions:
          anyOf:
            - $ref: '#/components/schemas/VersionProvenance'
            - type: 'null'
        program_id:
          format: uuid
          title: Program Id
          type: string
        subject_id:
          format: uuid
          title: Subject Id
          type: string
      required:
        - evaluation_id
        - environment_id
        - app_id
        - program_id
        - subject_id
        - cycle_number
        - has_prior
        - primary
        - axes
        - current_versions
        - completed_at
      title: EvaluationDrift
      type: object
    ApiErrorResponse:
      additionalProperties: false
      properties:
        detail:
          anyOf:
            - $ref: '#/components/schemas/ErrorDetail'
            - type: string
            - items: {}
              type: array
            - additionalProperties: true
              type: object
          title: Detail
      required:
        - detail
      title: ApiErrorResponse
      type: object
    AxisDelta:
      properties:
        axis:
          title: Axis
          type: string
        band_changed:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Band Changed
        current_band_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Current Band Id
        current_band_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Current Band Label
        label:
          anyOf:
            - type: string
            - type: 'null'
          title: Label
        prior_band_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Prior Band Id
        prior_band_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Prior Band Label
        score:
          $ref: '#/components/schemas/NumericDelta'
      required:
        - axis
        - score
      title: AxisDelta
      type: object
    VersionProvenance:
      properties:
        adaptive_policy_version_id:
          format: uuid
          title: Adaptive Policy Version Id
          type: string
        bundle_id:
          format: uuid
          title: Bundle Id
          type: string
        context_version_id:
          format: uuid
          title: Context Version Id
          type: string
        experience_version_id:
          format: uuid
          title: Experience Version Id
          type: string
        guardrail_version_id:
          format: uuid
          title: Guardrail Version Id
          type: string
        report_template_version_id:
          format: uuid
          title: Report Template Version Id
          type: string
        scorecard_version_id:
          format: uuid
          title: Scorecard Version Id
          type: string
      required:
        - bundle_id
        - experience_version_id
        - scorecard_version_id
        - context_version_id
        - guardrail_version_id
        - adaptive_policy_version_id
        - report_template_version_id
      title: VersionProvenance
      type: object
    PrimaryMetricDelta:
      properties:
        band_changed:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Band Changed
        current:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Current
        numeric:
          $ref: '#/components/schemas/NumericDelta'
        numeric_field:
          anyOf:
            - type: string
            - type: 'null'
          title: Numeric Field
        prior:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Prior
        status_changed:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Status Changed
      required:
        - numeric
      title: PrimaryMetricDelta
      type: object
    ErrorDetail:
      additionalProperties: false
      description: Stable structured detail returned by versioned API errors.
      properties:
        code:
          title: Code
          type: string
        context:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Context
        message:
          title: Message
          type: string
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
      required:
        - code
        - message
      title: ErrorDetail
      type: object
    NumericDelta:
      properties:
        current:
          anyOf:
            - type: number
            - type: 'null'
          title: Current
        delta:
          anyOf:
            - type: number
            - type: 'null'
          title: Delta
        prior:
          anyOf:
            - type: number
            - type: 'null'
          title: Prior
      title: NumericDelta
      type: object
  securitySchemes:
    BearerAuth:
      description: Named syn_ API key or migration-only legacy key.
      scheme: bearer
      type: http
    ApiKeyAuth:
      description: Header alias for a named or legacy API key.
      in: header
      name: X-API-Key
      type: apiKey
    SessionCookie:
      description: Opaque administrator browser session.
      in: cookie
      name: synapse_session
      type: apiKey

````