openapi: 3.1.0 info: title: Contentstack Analytics Accounts SCIM Schema Discovery API description: The Contentstack Analytics API provides access to usage and performance metrics for CMS, Launch, and Automate products within a Contentstack organization. Developers can retrieve analytics data programmatically to build custom dashboards, monitor content delivery performance, and track platform usage against plan limits. The API returns structured data suitable for aggregation with external analytics and business intelligence tools. Access is restricted to organization Owners and Admins. Requests use async job-based processing where initial POST calls queue the job and a subsequent GET call retrieves the results. version: v2 contact: name: Contentstack Support url: https://www.contentstack.com/contact termsOfService: https://www.contentstack.com/legal/terms-of-service servers: - url: https://api.contentstack.io description: AWS North America Production Server - url: https://eu-api.contentstack.com description: AWS Europe Production Server - url: https://au-api.contentstack.com description: AWS Australia Production Server security: - bearerAuth: [] - authtokenAuth: [] tags: - name: SCIM Schema Discovery description: Schema discovery endpoints implement the SCIM 2.0 service provider configuration, returning supported schemas and resource types for IdP compatibility validation. paths: /scim/v2.0/Schemas: get: operationId: getScimSchemas summary: Get SCIM schemas description: Returns the SCIM schemas supported by the Contentstack SCIM API, enabling IdP clients to understand the available attributes for User and Group resources. tags: - SCIM Schema Discovery security: [] responses: '200': description: A list of SCIM schemas supported by the API. content: application/json: schema: $ref: '#/components/schemas/ScimListResponse' /scim/v2.0/ResourceTypes: get: operationId: getScimResourceTypes summary: Get SCIM resource types description: Returns the SCIM resource types supported by the Contentstack SCIM API including Users and Groups, enabling IdP clients to discover available endpoints and their schemas. tags: - SCIM Schema Discovery security: [] responses: '200': description: A list of SCIM resource types. content: application/json: schema: $ref: '#/components/schemas/ScimListResponse' components: schemas: ScimListResponse: type: object description: A SCIM 2.0 ListResponse container for multi-resource responses. properties: schemas: type: array description: SCIM schema URNs identifying this as a ListResponse. items: type: string example: - urn:ietf:params:scim:api:messages:2.0:ListResponse totalResults: type: integer description: Total number of resources matching the query. startIndex: type: integer description: 1-based index of the first result in this page. itemsPerPage: type: integer description: Number of results returned in this response. Resources: type: array description: Array of SCIM resource objects (Users or Groups). items: type: object securitySchemes: bearerAuth: type: http scheme: bearer description: OAuth 2.0 Bearer token (M2M) with analytics access. authtokenAuth: type: apiKey in: header name: authtoken description: Contentstack user authtoken. Only organization Owners and Admins can access analytics. externalDocs: description: Contentstack Analytics API Documentation url: https://www.contentstack.com/docs/developers/apis/analytics-api