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

# Read a saved lifecycle assessment and its immutable definition

> Returns the last successful saved assessment, including skipped-rule reasons and bounded evidence.
It can precede the active revision during initialization. Null assessment and definition mean no
saved result. Does not evaluate rules.



## OpenAPI

````yaml /api-reference/openapi/ingest.json get /v1/card-definitions/{cardId}/entries/{entryId}/lifecycles/{lifecycleId}
openapi: 3.1.1
info:
  title: Occtoo Ingest API
  description: >-
    Submit source entries to the authenticated Occtoo tenant. Tenant identity
    always comes from the credential; it is never accepted from the route or
    request body.


    ## Authentication and access


    Select **Authorize** to reuse the existing Occtoo browser session, provide a
    tenant-scoped bearer token, or send an organization API key through
    `x-api-key`. The legacy import operations accept either the established
    `import-datasource` permission or the tenant-application `write:sources`
    scope. `POST /sources/<sourceId>` accepts only `write:sources`.


    Kinde application scopes are projected unchanged by the gateway.
    `AuthorizeAny` gives applications, users, and organization API keys one
    endpoint policy while preserving the established provider permission. Tenant
    applications use `write:sources` as the capability and Occtoo-owned resource
    grants to allow every source or selected sources. Legacy data-provider
    applications remain restricted to their assigned sources.


    The credential-exchange endpoint is an anonymous convenience for server-side
    data-provider integrations. It accepts a provider id and secret in the
    request body and is not an OAuth client-credentials endpoint.


    ## Payload rules


    - Entry keys must be unique within a request, compared case-insensitively.

    - Property ids are canonicalized to lowercase at rest.

    - A property id may repeat only when its language differs.

    - Reserved system properties are rejected.

    - Request, entry and property-value ceilings are tenant-configured and
    returned in validation errors when exceeded.


    `POST /sources/<sourceId>` accepts native JSON strings, numbers, booleans,
    nulls, and string arrays. Configured properties require the matching JSON
    shape. Missing or untyped properties are inferred from their JSON values;
    string arrays use the configured delimiter or `,` when none is set. Values
    are serialized to strings before they enter the existing asynchronous ingest
    pipeline.


    `POST /datasources/<dataSource>/import` returns `202` when accepted for
    asynchronous processing.


    Retry `429` and transient `5xx` responses with bounded exponential backoff.
    Do not retry a successful `202` merely because downstream processing has not
    completed.


    Machine-readable contract:
    [OpenAPI](https://api.occtoo.com/openapi/ingest.json)
  version: 1.0.0
  summary: Validate and ingest tenant-scoped source entries.
servers:
  - url: https://api.occtoo.com
    description: Occtoo public API
security: []
tags:
  - name: Ingest
    description: Submit source-entry payloads for asynchronous processing.
  - name: Sources
    description: Submit strongly typed JSON source entries.
  - name: Authentication
    description: Exchange registered data-provider credentials for an Occtoo bearer token.
  - name: Cards
    description: Indexed card search and saved lifecycle explanations. Requires read:cards.
paths:
  /v1/card-definitions/{cardId}/entries/{entryId}/lifecycles/{lifecycleId}:
    get:
      tags:
        - Cards
      summary: Read a saved lifecycle assessment and its immutable definition
      description: >-
        Returns the last successful saved assessment, including skipped-rule
        reasons and bounded evidence.

        It can precede the active revision during initialization. Null
        assessment and definition mean no

        saved result. Does not evaluate rules.
      operationId: GetEntryLifecycle
      parameters:
        - name: cardId
          in: path
          required: true
          schema:
            type: string
        - name: entryId
          in: path
          required: true
          schema:
            type: string
        - name: lifecycleId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedLifecycleResponse'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '503':
          description: Service Unavailable
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      security:
        - kindeOAuth: []
        - bearerAuth: []
        - apiKey: []
components:
  schemas:
    SavedLifecycleResponse:
      required:
        - lifecycleId
        - activeRevision
        - assessment
        - definition
      type: object
      properties:
        lifecycleId:
          type: string
          format: uuid
        activeRevision:
          type:
            - 'null'
            - integer
          format: int64
        assessment:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SavedAssessmentResponse'
        definition:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/LifecycleDefinition'
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          description: A URI reference identifying the problem type.
        title:
          type: string
          description: A short summary of the problem.
        status:
          type: integer
        detail:
          type: string
          description: A human-readable explanation of this occurrence.
        instance:
          type: string
          description: A URI reference identifying this occurrence.
        traceId:
          type: string
          description: W3C OpenTelemetry trace id for diagnostics.
    SavedAssessmentResponse:
      required:
        - revision
        - evaluatedAt
        - state
        - firstIncompleteStepId
        - steps
      type: object
      properties:
        revision:
          type: integer
          format: int64
        evaluatedAt:
          type: string
          format: date-time
        state:
          $ref: '#/components/schemas/LifecycleReadinessState'
        firstIncompleteStepId:
          type:
            - 'null'
            - string
          format: uuid
        steps:
          type: array
          items:
            $ref: '#/components/schemas/LifecycleStepRead'
    LifecycleDefinition:
      required:
        - name
        - steps
        - briefing
        - applicability
      type: object
      properties:
        name:
          type: string
          description: The lifecycle's display name.
        steps:
          type: array
          items:
            $ref: '#/components/schemas/LifecycleStep'
          description: Steps in completion order. Earlier steps gate later ones.
        briefing:
          type:
            - 'null'
            - string
          description: Guidance for people completing this lifecycle.
        applicability:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SearchPredicate'
              description: >-
                Only matching entries are assessed. Null means every entry of
                the card definition.
      description: Holds the conditions and ordered steps of a lifecycle.
    LifecycleReadinessState:
      enum:
        - Complete
        - Incomplete
        - NotApplicable
      type: string
      description: Saved readiness of an assessed entry. Missing assessments have no state.
    LifecycleStepRead:
      required:
        - stepId
        - slug
        - requirementsSatisfied
        - complete
        - locked
        - completionReason
        - rules
      type: object
      properties:
        stepId:
          type: string
          format: uuid
        slug:
          type: string
        requirementsSatisfied:
          type: boolean
        complete:
          type: boolean
        locked:
          type: boolean
        completionReason:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/LifecycleCompletionReason'
        rules:
          type: array
          items:
            $ref: '#/components/schemas/LifecycleRuleRead'
      description: Local requirements and cumulative completion for an assessed step.
    LifecycleStep:
      required:
        - id
        - slug
        - name
        - rules
        - briefing
      type: object
      properties:
        id:
          $ref: '#/components/schemas/LifecycleComponentId'
          description: Server-generated id of the step (a UUID), kept when the step moves.
        slug:
          $ref: '#/components/schemas/LifecycleSlug'
          description: Your id for the step, unique among this lifecycle's steps.
        name:
          type: string
          description: The step's display name.
        rules:
          type: array
          items:
            $ref: '#/components/schemas/LifecycleRule'
          description: >-
            The step's rules. Only failed applicable error rules block
            completion.
        briefing:
          type:
            - 'null'
            - string
          description: Guidance for completing this step.
      description: Groups rules at one position in a lifecycle.
    SearchPredicate:
      type: object
      properties:
        and:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/SearchPredicate'
          description: Every child condition must match.
        or:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/SearchPredicate'
          description: At least one child condition must match.
        not:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SearchPredicate'
              description: The child condition must not match.
        text:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/TextPredicate'
              description: >-
                A condition on text, including substring, RE2 regex and length
                checks.
        integer:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/IntegerPredicate'
              description: A condition on an integer property.
        decimal:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/DecimalPredicate'
              description: A condition on a decimal property.
        timestamp:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/TimestampPredicate'
              description: A condition on a timestamp property.
        boolean:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BooleanPredicate'
              description: A condition on a boolean property.
        list:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/ListPredicate'
              description: A condition on list elements or length.
        hasValue:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/PropertyReference'
              description: >-
                True when a value exists. Empty text, whitespace and empty lists
                count as values.
        segment:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SegmentPredicate'
              description: Membership in a segment.
        relation:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/RelationPredicate'
              description: >-
                Tests distinct live related entries. All nested conditions apply
                to the same child.
        lifecycle:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/LifecyclePredicate'
              description: Saved readiness of the entry under an active lifecycle.
      description: >-
        Holds a typed condition on an entry. Set exactly one branch; `and` and
        `or` need at least one child.
    LifecycleCompletionReason:
      enum:
        - RequirementsSatisfied
        - NoApplicableBlockingRequirements
        - null
    LifecycleRuleRead:
      required:
        - ruleId
        - slug
        - severity
        - message
        - outcome
        - skippedReason
      type: object
      properties:
        ruleId:
          type: string
          format: uuid
        slug:
          type: string
        severity:
          $ref: '#/components/schemas/LifecycleRuleSeverity'
        message:
          type: string
        outcome:
          $ref: '#/components/schemas/LifecycleRuleOutcome'
        skippedReason:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/LifecycleRuleSkippedReason'
        evidence:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/LifecycleRuleEvidence'
              description: >-
                Bounded saved evidence for a failed rule; null for old results
                or when not collected.
      description: The authored rule and its saved outcome, from the assessed revision.
    LifecycleComponentId:
      type: string
      description: Identifies a lifecycle step or rule with a server-generated id (a UUID).
      format: uuid
    LifecycleSlug:
      type: string
      description: >-
        Identifies a lifecycle step or rule with an id you choose: up to 128
        ASCII letters, digits, `-` or `_`, starting with a letter.
    LifecycleRule:
      required:
        - id
        - slug
        - severity
        - message
        - assertion
        - precondition
      type: object
      properties:
        id:
          $ref: '#/components/schemas/LifecycleComponentId'
          description: >-
            Server-generated id of the rule (a UUID), kept when the rule moves
            between steps.
        slug:
          $ref: '#/components/schemas/LifecycleSlug'
          description: Your id for the rule, unique among all rules in this lifecycle.
        severity:
          $ref: '#/components/schemas/LifecycleRuleSeverity'
          description: '`Error` blocks completion; `Warning` and `Advisory` don''t.'
        message:
          type: string
          description: Guidance shown with this rule's outcome.
        assertion:
          $ref: '#/components/schemas/SearchPredicate'
          description: The condition an applicable entry must satisfy.
        precondition:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SearchPredicate'
              description: >-
                A false precondition skips this rule. Null means the rule always
                applies.
      description: Holds a condition and the guidance shown when it fails.
    TextPredicate:
      required:
        - property
      type: object
      properties:
        property:
          $ref: '#/components/schemas/PropertyId'
          description: Id of the card property.
        eq:
          type:
            - 'null'
            - string
          description: Equal to this value.
        neq:
          type:
            - 'null'
            - string
          description: Different from this value.
        in:
          type:
            - 'null'
            - array
          items:
            type: string
          description: Equal to any listed value.
        contains:
          type:
            - 'null'
            - string
          description: A literal substring.
        pattern:
          type:
            - 'null'
            - string
          description: A whole-value wildcard pattern using * and ?.
        ignoreCase:
          type: boolean
          description: Whether matching ignores case.
          default: false
        languages:
          type:
            - 'null'
            - array
          description: Every listed language must match. There is no language fallback.
        regex:
          type:
            - 'null'
            - string
          description: >-
            A substring pattern using the supported RE2 subset, validated
            locally.
        length:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/CountBounds'
              description: Bounds on the number of Unicode code points.
      description: Tests a text card property.
    IntegerPredicate:
      required:
        - property
      type: object
      properties:
        property:
          $ref: '#/components/schemas/PropertyId'
          description: Id of the card property.
        eq:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Equal to this value.
          format: int64
        neq:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Different from this value.
          format: int64
        in:
          type:
            - 'null'
            - array
          items:
            pattern: ^-?(?:0|[1-9]\d*)$
            type:
              - integer
              - string
            format: int64
          description: Equal to any listed value.
        lt:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Less than this value.
          format: int64
        lte:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Less than or equal to this value.
          format: int64
        gt:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Greater than this value.
          format: int64
        gte:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Greater than or equal to this value.
          format: int64
      description: Tests an integer card property.
    DecimalPredicate:
      required:
        - property
      type: object
      properties:
        property:
          $ref: '#/components/schemas/PropertyId'
          description: Id of the card property.
        eq:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
            - 'null'
            - number
            - string
          description: Equal to this value.
          format: double
        neq:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
            - 'null'
            - number
            - string
          description: Different from this value.
          format: double
        in:
          type:
            - 'null'
            - array
          items:
            pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
            type:
              - number
              - string
            format: double
          description: Equal to any listed value.
        lt:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
            - 'null'
            - number
            - string
          description: Less than this value.
          format: double
        lte:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
            - 'null'
            - number
            - string
          description: Less than or equal to this value.
          format: double
        gt:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
            - 'null'
            - number
            - string
          description: Greater than this value.
          format: double
        gte:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
            - 'null'
            - number
            - string
          description: Greater than or equal to this value.
          format: double
      description: Tests a decimal card property.
    TimestampPredicate:
      required:
        - property
      type: object
      properties:
        property:
          $ref: '#/components/schemas/PropertyId'
          description: Id of the card property.
        eq:
          type:
            - 'null'
            - string
          description: Equal to this value.
          format: date-time
        neq:
          type:
            - 'null'
            - string
          description: Different from this value.
          format: date-time
        in:
          type:
            - 'null'
            - array
          items:
            type: string
            format: date-time
          description: Equal to any listed value.
        lt:
          type:
            - 'null'
            - string
          description: Less than this value.
          format: date-time
        lte:
          type:
            - 'null'
            - string
          description: Less than or equal to this value.
          format: date-time
        gt:
          type:
            - 'null'
            - string
          description: Greater than this value.
          format: date-time
        gte:
          type:
            - 'null'
            - string
          description: Greater than or equal to this value.
          format: date-time
      description: Tests a timestamp card property.
    BooleanPredicate:
      required:
        - property
      type: object
      properties:
        property:
          $ref: '#/components/schemas/PropertyId'
          description: Id of the card property.
        eq:
          type:
            - 'null'
            - boolean
          description: Equal to this value.
        neq:
          type:
            - 'null'
            - boolean
          description: Different from this value.
        in:
          type:
            - 'null'
            - array
          items:
            type: boolean
          description: Equal to any listed value.
      description: Tests a boolean card property.
    ListPredicate:
      required:
        - property
      type: object
      properties:
        property:
          $ref: '#/components/schemas/PropertyId'
          description: Id of the card property.
        contains:
          type:
            - 'null'
            - string
          description: An exact list element to match.
        pattern:
          type:
            - 'null'
            - string
          description: A wildcard pattern applied to each element.
        ignoreCase:
          type: boolean
          description: Whether element matching ignores case.
          default: false
        languages:
          type:
            - 'null'
            - array
          description: Every listed language must match. There is no language fallback.
        length:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/CountBounds'
              description: Bounds on list length, including duplicate and empty elements.
        only:
          type:
            - 'null'
            - array
          items:
            type: string
          description: >-
            Every list element must be one of these values. An empty or missing
            list doesn't match.
      description: Tests a list card property.
    PropertyReference:
      required:
        - property
      type: object
      properties:
        property:
          $ref: '#/components/schemas/PropertyId'
          description: Id of the card property.
        languages:
          type:
            - 'null'
            - array
          description: Every listed language must match. There is no language fallback.
      description: Tests that a card property has a value.
    SegmentPredicate:
      required:
        - definitionId
        - id
      type: object
      properties:
        definitionId:
          $ref: '#/components/schemas/SegmentDefinitionId'
          description: Raw id of the segment definition (e.g. `campaigns`).
        id:
          $ref: '#/components/schemas/SegmentId'
          description: Raw id of the segment within that segment definition.
      description: Describes membership in a segment.
    RelationPredicate:
      required:
        - id
      type: object
      properties:
        id:
          $ref: '#/components/schemas/RelationId'
          description: Id of the relation. The current card determines its direction.
        where:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SearchPredicate'
              description: >-
                The condition each counted child must satisfy. Null includes all
                live children.
        count:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/CountBounds'
              description: >-
                Bounds on distinct matching children. Null requires at least one
                match.
      description: Tests live related entries.
    LifecyclePredicate:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: Id of the lifecycle (a UUID).
          format: uuid
        state:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/LifecycleReadinessState'
              description: Readiness of the whole lifecycle for the entry.
        step:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/LifecycleStepPredicate'
              description: Condition on one step.
        firstIncompleteStepId:
          type:
            - 'null'
            - string
          description: Id of the first step that's incomplete for the entry.
          format: uuid
      description: >-
        Matches entries by their saved readiness under an active lifecycle. Set
        exactly one of `state`, `step` or `firstIncompleteStepId`. Entries
        without a saved assessment stay unknown, even under `not`.
    LifecycleRuleSeverity:
      enum:
        - Error
        - Warning
        - Advisory
      type: string
      description: Sets whether a failed rule blocks its step.
    LifecycleRuleOutcome:
      enum:
        - Satisfied
        - Failed
        - Skipped
      type: string
      description: Reports the result of one rule for one entry.
    LifecycleRuleSkippedReason:
      enum:
        - PreconditionNotMet
        - null
    LifecycleRuleEvidence:
      required:
        - predicates
        - truncated
      type: object
      properties:
        predicates:
          type: array
          items:
            $ref: '#/components/schemas/LifecyclePredicateEvidence'
          description: Bounded predicate observations from the evaluated inputs.
        truncated:
          type: boolean
          description: Whether observation or byte limits omitted evidence.
      description: >-
        Bounded observations explaining a failed rule under its evaluated
        inputs.
    PropertyId:
      type: string
      description: Identifies a card property (e.g. `title`).
    CountBounds:
      type: object
      properties:
        eq:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Exactly this many.
          format: int64
        gt:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Greater than this value.
          format: int64
        gte:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Greater than or equal to this value.
          format: int64
        lt:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Less than this value.
          format: int64
        lte:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          description: Less than or equal to this value.
          format: int64
      description: Sets an exact count or a range of nonnegative counts.
    SegmentDefinitionId:
      type: string
      description: Identifies a segment definition by its raw id (e.g. `campaigns`).
    SegmentId:
      type: string
      description: Identifies a segment by its raw id within its segment definition.
    RelationId:
      type: string
      description: Identifies a relation definition by its raw id.
    LifecycleStepPredicate:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: Id of the step in the active revision (a UUID).
          format: uuid
        requirements:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/LifecycleRequirementsFilter'
              description: >-
                Whether the step's own blocking rules pass, whatever earlier
                steps say.
        completion:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/LifecycleCompletionFilter'
              description: Whether the step and every earlier step are complete.
      description: >-
        Matches one step of a lifecycle. Set exactly one of `requirements` or
        `completion`.
    LifecyclePredicateEvidence:
      required:
        - predicatePath
        - relationPath
        - cardDefinitionId
        - language
        - evaluatedCount
        - matchedCount
        - samples
        - samplesTruncated
      type: object
      properties:
        predicatePath:
          type: string
          description: JSON pointer into the assessed rule, beginning with /assertion.
        relationPath:
          type: array
          items:
            type: string
          description: Raw ids of the relations followed from the root card, in order.
        cardDefinitionId:
          type: string
          description: >-
            Raw id of the card definition whose distinct live entries were
            counted.
        language:
          type:
            - 'null'
            - string
          description: >-
            The explicit translation tested; null for a nonlocalized
            observation.
        evaluatedCount:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
          description: Exact number of distinct live entries in this predicate's context.
          format: int64
        matchedCount:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
          description: Exact number of those entries for which the predicate was true.
          format: int64
        samples:
          type: array
          items:
            $ref: '#/components/schemas/LifecycleEvidenceSample'
          description: Bounded examples, with nonmatches first and then in entry id order.
        samplesTruncated:
          type: boolean
          description: Whether more entries were evaluated than are shown in samples.
      description: >-
        Exact counts for distinct live entries at one predicate location and
        language.
    LifecycleRequirementsFilter:
      enum:
        - Satisfied
        - Failed
        - null
    LifecycleCompletionFilter:
      enum:
        - Complete
        - Incomplete
        - null
    LifecycleEvidenceSample:
      required:
        - entryId
        - matched
      type: object
      properties:
        entryId:
          type: string
          description: >-
            Raw id of the entry at evaluation time; the entry may have been
            deleted since.
        matched:
          type: boolean
          description: Whether this entry satisfied the observed predicate.
      description: >-
        An entry observed during evaluation; it may no longer exist when read
        later.
  securitySchemes:
    kindeOAuth:
      type: oauth2
      description: >-
        Sign in with the existing Occtoo Studio identity and selected
        organization.
      flows:
        authorizationCode:
          authorizationUrl: >-
            https://auth.occtoo.com/oauth2/auth?audience=https%3A%2F%2Fapi-weu.occtoo.com
          tokenUrl: https://auth.occtoo.com/oauth2/token
          scopes:
            openid: Authenticate the user with OpenID Connect.
            profile: Read the user's basic profile.
            email: Read the user's email address.
            offline: Refresh the access token without another interactive sign-in.
          x-usePkce: SHA-256
          x-scalar-redirect-uri: https://api.occtoo.com/docs/
    bearerAuth:
      type: http
      description: >-
        Tenant-scoped Occtoo access token, including Kinde machine-to-machine
        application tokens.
      scheme: bearer
      bearerFormat: JWT
    apiKey:
      type: apiKey
      description: Occtoo organization API key.
      name: x-api-key
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.