> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-docs-hidden-info-by-role.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List History

> ListHistory returns the change history (newest first) for a single SSO
 application — each entry is a snapshot plus who/when metadata.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples get /api/v1/apps/{app_id}/sso/applications/{id}/history
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/apps/{app_id}/sso/applications/{id}/history:
    get:
      tags:
        - SSO
      summary: List History
      description: |-
        ListHistory returns the change history (newest first) for a single SSO
         application — each entry is a snapshot plus who/when metadata.
      operationId: c1.api.sso.v1.SSOApplicationService.ListHistory
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            description: The application in your catalog that owns the SSO application.
            type: string
        - in: path
          name: id
          required: true
          schema:
            description: Unique identifier for the SSO application.
            type: string
        - in: query
          name: page_size
          schema:
            description: Page size (max 200).
            format: int32
            type: integer
        - in: query
          name: page_token
          schema:
            description: Page token for pagination.
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/c1.api.sso.v1.SSOApplicationServiceListHistoryResponse
          description: >-
            SSOApplicationServiceListHistoryResponse returns SSO application
            history
             entries.
components:
  schemas:
    c1.api.sso.v1.SSOApplicationServiceListHistoryResponse:
      description: |-
        SSOApplicationServiceListHistoryResponse returns SSO application history
         entries.
      properties:
        list:
          description: The page of history entries, newest first.
          items:
            $ref: '#/components/schemas/c1.api.sso.v1.SSOApplicationHistoryEntry'
          type:
            - array
            - 'null'
        nextPageToken:
          description: >-
            Pagination token for the next page, or empty if there are no more
            results.
          type: string
      title: Sso Application Service List History Response
      type: object
      x-speakeasy-name-override: SSOApplicationServiceListHistoryResponse
    c1.api.sso.v1.SSOApplicationHistoryEntry:
      description: |-
        SSOApplicationHistoryEntry is one version of an SSO application and its
         history metadata.
      properties:
        metadata:
          oneOf:
            - $ref: '#/components/schemas/c1.api.history.v1.HistoryEntryMetadata'
            - type: 'null'
        snapshot:
          oneOf:
            - $ref: '#/components/schemas/c1.api.sso.v1.SSOApplication'
            - type: 'null'
      title: Sso Application History Entry
      type: object
      x-speakeasy-name-override: SSOApplicationHistoryEntry
    c1.api.history.v1.HistoryEntryMetadata:
      description: |-
        HistoryEntryMetadata is the shared metadata envelope embedded on every
         per-service HistoryEntry. The strongly-typed snapshot lives on the
         per-service entry message alongside this envelope.
      properties:
        actor:
          oneOf:
            - $ref: '#/components/schemas/c1.api.history.v1.HistoryActor'
            - type: 'null'
        annotations:
          description: |-
            Server-rendered annotations: known keys carry display_label and
             (for ticket_id, etc.) display_url resolved from tenant config.
             Cap mirrors the per-object annotation ceiling (16).
          items:
            $ref: '#/components/schemas/c1.api.history.v1.HistoryAnnotation'
          type:
            - array
            - 'null'
        changeKind:
          description: |-
            Storage-model enum re-exported here for wire compatibility with the
             storage row. UNSPECIFIED should never appear on the wire.
          enum:
            - CHANGE_KIND_UNSPECIFIED
            - CHANGE_KIND_CREATE
            - CHANGE_KIND_PUT
            - CHANGE_KIND_HARD_DELETE
          type: string
          x-speakeasy-unknown-values: allow
        createdAt:
          format: date-time
          type:
            - string
            - 'null'
        id:
          description: KSUID. Same value as c1.models.history.v1.ObjectHistory.id.
          type: string
        syslogEventId:
          description: |-
            System Log event id — KSUID of the OCSF event recorded for this
             write. Empty for non-RPC writes (workflows, cron). Customer-facing
             copy says "System Log event"; the underlying format is OCSF.
          type: string
        traceId:
          description: |-
            OTel trace correlation. Empty when no valid span at write time.
             32-hex-char otel trace id or empty.
          type: string
      title: History Entry Metadata
      type: object
      x-speakeasy-name-override: HistoryEntryMetadata
    c1.api.sso.v1.SSOApplication:
      description: >
        SSOApplication is one application your users sign in to through
        ConductorOne.


        This message contains a oneof named protocol. Only a single field of the
        following list may be set at a time:
          - oidc
          - saml
      properties:
        appEntitlementId:
          description: |-
            The entitlement a user must hold to sign in. Created with the SSO
             application and not settable by the caller.
          type: string
        appId:
          description: >-
            The application in your catalog that owns this sign-in
            configuration. Its
             owners, entitlements, and access reviews govern who may sign in.
          type: string
        assertionLifetime:
          format: duration
          type:
            - string
            - 'null'
        createdAt:
          format: date-time
          type:
            - string
            - 'null'
        description:
          description: Description of the SSO application.
          type: string
        disabled:
          description: >-
            When true, sign-in through this application is refused. The
            application
             and its entitlement are left in place.
          type: boolean
        displayName:
          description: Display name for the SSO application.
          type: string
        id:
          description: Unique identifier for this SSO application.
          type: string
        oidc:
          oneOf:
            - $ref: '#/components/schemas/c1.api.sso.v1.SSOApplicationOIDCConfig'
            - type: 'null'
        saml:
          oneOf:
            - $ref: '#/components/schemas/c1.api.sso.v1.SSOApplicationSAMLConfig'
            - type: 'null'
        sectorId:
          description: |-
            The pairwise sector this application belongs to. Empty means the
             application is its own sector and shares linkability with nothing; set a
             shared value to issue one identifier across applications a user should
             appear the same to. Ignored when the subject type resolves to PUBLIC.
             Immutable once set.
          type: string
        subjectType:
          description: How the user's identifier reaches this application.
          enum:
            - SSO_SUBJECT_TYPE_UNSPECIFIED
            - SSO_SUBJECT_TYPE_PAIRWISE
            - SSO_SUBJECT_TYPE_PUBLIC
          type: string
          x-speakeasy-unknown-values: allow
        updatedAt:
          format: date-time
          type:
            - string
            - 'null'
      title: Sso Application
      type: object
      x-speakeasy-name-override: SSOApplication
    c1.api.history.v1.HistoryActor:
      description: |-
        HistoryActor is a typed reference to whoever performed the change.
         kind mirrors the storage-model ActorKind enum; user_id is set when
         kind corresponds to a user principal (API / SUPPORT) so the frontend
         can resolve the user via its own avatar / lookup hooks. Protos
         reference objects by id; the frontend renders / caches itself.

         The raw passport fields (token_id / principal_id) intentionally do not
         leave the server. Non-user actors (workflow, connector, internal) are
         identified by `kind` alone; correlating IDs (workflow_run_id, etc.)
         flow through `HistoryAnnotation` instead of being plucked into the
         actor message.
      properties:
        kind:
          description: The kind field.
          enum:
            - ACTOR_KIND_UNSPECIFIED
            - ACTOR_KIND_API
            - ACTOR_KIND_SLACK
            - ACTOR_KIND_MSTEAMS
            - ACTOR_KIND_JIRA_CLOUD
            - ACTOR_KIND_INTERNAL
            - ACTOR_KIND_SUPPORT
            - ACTOR_KIND_WORKFLOW
          type: string
          x-speakeasy-unknown-values: allow
        userId:
          description: |-
            Bare KSUID. Set when kind = ACTOR_KIND_API or ACTOR_KIND_SUPPORT.
             Empty otherwise. The frontend resolves user_id → display name via
             the same lookup paths it uses elsewhere (avatars, mentions, ...).
          type: string
      title: History Actor
      type: object
      x-speakeasy-name-override: HistoryActor
    c1.api.history.v1.HistoryAnnotation:
      description: |-
        HistoryAnnotation is a single operator-provided key/value rendered with
         per-key display metadata. Annotations are minted from the
         Tx.*WithHistoryAnnotations / db.WithHistoryAnnotations call options.
      properties:
        displayLabel:
          description: Server-rendered label, e.g. "Ticket".
          type: string
        displayUrl:
          description: |-
            Resolved from tenant config; "" if none. Frontend applies its own
             scheme allowlist.
          type: string
        displayValue:
          description: UI-friendly rendering (truncated / reshaped from raw_value).
          type: string
        key:
          description: 'Storage-side key. Bounds: ^[a-z][a-z0-9_.-]{0,63}$.'
          type: string
        kind:
          description: The kind field.
          enum:
            - ANNOTATION_KIND_UNSPECIFIED
            - ANNOTATION_KIND_GENERIC
            - ANNOTATION_KIND_TICKET
            - ANNOTATION_KIND_REASON
            - ANNOTATION_KIND_WORKFLOW
            - ANNOTATION_KIND_BATCH
            - ANNOTATION_KIND_CORRELATION
            - ANNOTATION_KIND_AUTOMATION
          type: string
          x-speakeasy-unknown-values: allow
        rawValue:
          description: >-
            Raw value as stored in ObjectHistory.annotations; storage-side
            values
             are capped at 512 bytes.
          type: string
      title: History Annotation
      type: object
      x-speakeasy-name-override: HistoryAnnotation
    c1.api.sso.v1.SSOApplicationOIDCConfig:
      description: SSOApplicationOIDCConfig is the OIDC-specific sign-in configuration.
      properties:
        claimMappings:
          description: >-
            Custom claims released to this application, in addition to the
            standard
             claims its granted scopes already release.
          items:
            $ref: '#/components/schemas/c1.api.sso.v1.OIDCClaimMapping'
          type:
            - array
            - 'null'
        idTokenSignedResponseAlg:
          description: The algorithm used to sign this application's id_token.
          enum:
            - OIDC_SIGNING_ALGORITHM_UNSPECIFIED
            - OIDC_SIGNING_ALGORITHM_EDDSA
            - OIDC_SIGNING_ALGORITHM_ES256
            - OIDC_SIGNING_ALGORITHM_RS256
          type: string
          x-speakeasy-unknown-values: allow
      title: Sso Application Oidc Config
      type: object
      x-speakeasy-name-override: SSOApplicationOIDCConfig
    c1.api.sso.v1.SSOApplicationSAMLConfig:
      description: SSOApplicationSAMLConfig is the SAML-specific sign-in configuration.
      properties:
        acsUrls:
          description: |-
            The Assertion Consumer Service URLs the assertion may be posted to.
             Matched exactly; a URL that is not in this list is refused.
          items:
            type: string
          type:
            - array
            - 'null'
        attributeMappings:
          description: >-
            The attributes released in the assertion's AttributeStatement. SAML
            has no
             scopes, so this list is the whole release: the NameID carries the
             identifier and these carry everything else.
          items:
            $ref: '#/components/schemas/c1.api.sso.v1.SAMLAttributeMapping'
          type:
            - array
            - 'null'
        encryptAssertions:
          description: Encrypt the assertion.
          type: boolean
        encryptionAlgorithm:
          description: The algorithm used when encrypt_assertions is set.
          enum:
            - SAML_ENCRYPTION_ALGORITHM_UNSPECIFIED
            - SAML_ENCRYPTION_ALGORITHM_AES256_GCM
            - SAML_ENCRYPTION_ALGORITHM_AES128_GCM
            - SAML_ENCRYPTION_ALGORITHM_AES256_CBC
          type: string
          x-speakeasy-unknown-values: allow
        nameIdFormat:
          description: >-
            Set this when the service provider requires a specific NameID
            format. This
             also selects the NameID value semantics: EMAIL_ADDRESS uses the user's
             primary email, TRANSIENT creates a new value for each sign-in, and
             PERSISTENT uses the application's pairwise subject. Immutable once set.
          enum:
            - SAML_NAME_ID_FORMAT_UNSPECIFIED
            - SAML_NAME_ID_FORMAT_PERSISTENT
            - SAML_NAME_ID_FORMAT_EMAIL_ADDRESS
            - SAML_NAME_ID_FORMAT_UNSPECIFIED_URN
            - SAML_NAME_ID_FORMAT_TRANSIENT
          type: string
          x-speakeasy-unknown-values: allow
        requireSignedAuthnRequests:
          description: |-
            Reject any AuthnRequest that is not signed by one of
             sp_signing_certificates. At least one signing certificate is required when
             this is set.
          type: boolean
        signAssertions:
          description: >-
            Sign the assertion. At least one of sign_assertions or
            sign_responses must
             be set.
          type: boolean
        signResponses:
          description: |-
            Sign the response envelope. At least one of sign_assertions or
             sign_responses must be set.
          type: boolean
        spEncryptionCertificate:
          description: >-
            The service provider's DER-encoded encryption certificate, taken
            from the
             encryption KeyDescriptor in its metadata. Required when encrypt_assertions
             is set.
          format: base64
          type: string
        spEntityId:
          description: |-
            The service provider's entity ID, taken from its metadata. It is the
             audience every assertion this application issues is restricted to, and it
             is what the service provider presents at sign-in. Set it at creation: it is
             fixed for the life of the application, because changing it re-points every
             assertion already issued. An entity ID already in use by another SSO
             application in the tenant is rejected.
          type: string
        spSigningCertificates:
          description: >-
            The service provider's DER-encoded signing certificates, taken from
            the
             signing KeyDescriptors in its metadata.
          items:
            format: base64
            type: string
          type:
            - array
            - 'null'
      required:
        - spEntityId
        - acsUrls
      title: Sso Application Saml Config
      type: object
      x-speakeasy-name-override: SSOApplicationSAMLConfig
    c1.api.sso.v1.OIDCClaimMapping:
      description: |-
        OIDCClaimMapping releases one user attribute to the application as one
         OIDC claim.
      properties:
        claimName:
          description: >-
            The name of the claim as the application sees it. Namespace custom
            claims
             so they cannot collide with the registered OIDC claim set.
          type: string
        destination:
          description: Where the claim is released.
          enum:
            - OIDC_CLAIM_DESTINATION_UNSPECIFIED
            - OIDC_CLAIM_DESTINATION_ID_TOKEN_ONLY
            - OIDC_CLAIM_DESTINATION_USERINFO_ONLY
          type: string
          x-speakeasy-unknown-values: allow
        userAttributeMappingId:
          description: >-
            The user attribute mapping that resolves the value, including its
            fallback
             chain.
          type: string
      required:
        - userAttributeMappingId
        - claimName
      title: Oidc Claim Mapping
      type: object
      x-speakeasy-name-override: OIDCClaimMapping
    c1.api.sso.v1.SAMLAttributeMapping:
      description: |-
        SAMLAttributeMapping releases one user attribute to the service provider
         as one Attribute in the assertion's AttributeStatement.
      properties:
        friendlyName:
          description: Optional FriendlyName, for service providers that display it.
          type: string
        name:
          description: The Name attribute, dictated by the service provider.
          type: string
        nameFormat:
          description: The NameFormat attribute.
          enum:
            - SAML_ATTRIBUTE_NAME_FORMAT_UNSPECIFIED
            - SAML_ATTRIBUTE_NAME_FORMAT_URI
            - SAML_ATTRIBUTE_NAME_FORMAT_BASIC
            - SAML_ATTRIBUTE_NAME_FORMAT_UNSPECIFIED_URN
          type: string
          x-speakeasy-unknown-values: allow
        userAttributeMappingId:
          description: >-
            The user attribute mapping that resolves the value, including its
            fallback
             chain.
          type: string
      required:
        - userAttributeMappingId
        - name
      title: Saml Attribute Mapping
      type: object
      x-speakeasy-name-override: SAMLAttributeMapping
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````