ALTR Control Plane API

The Control Plane API from ALTR — 1 operation(s) for control plane.

Documentation

📖
Documentation
https://altrnet.live.altr.com/api/swagger/
📖
APIReference
https://altrnet.live.altr.com/api/swagger/
📖
Authentication
https://raw.githubusercontent.com/api-evangelist/altr/refs/heads/main/authentication/altr-authentication.yml
📖
Documentation
https://api.live.altr.com/v1/unified-policy/docs
📖
APIReference
https://api.live.altr.com/v1/unified-policy/docs
📖
Documentation
https://api.live.altr.com/v1/rbac/api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/rbac/api-docs/index.html
📖
Documentation
https://docs.classification.live.altr.com/v1/docs
📖
APIReference
https://docs.classification.live.altr.com/v1/docs
📖
Documentation
https://api.live.altr.com/v1/tag/auto-tagging-api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/tag/auto-tagging-api-docs/index.html
📖
Documentation
https://api.live.altr.com/v1/tag/masking-api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/tag/masking-api-docs/index.html
📖
Documentation
https://api.live.altr.com/v1/tag/refresh-api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/tag/refresh-api-docs/index.html
📖
Documentation
https://api.live.altr.com/v1/alpha/dbx/tag-policy/docs/index.html
📖
APIReference
https://api.live.altr.com/v1/alpha/dbx/tag-policy/docs/index.html
📖
Documentation
https://api.live.altr.com/v1/dis/swagger/
📖
APIReference
https://api.live.altr.com/v1/dis/swagger/
📖
Documentation
https://api.live.altr.com/v1/snowflake/metadata-api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/snowflake/metadata-api-docs/index.html
📖
Documentation
https://api.live.altr.com/v1/query-audits/api-docs/index.html
📖
APIReference
https://api.live.altr.com/v1/query-audits/api-docs/index.html
📖
Documentation
https://api.live.altr.com/v1/dam/docs
📖
APIReference
https://api.live.altr.com/v1/dam/docs
📖
Documentation
https://docs.dam-alerting.live.altr.com/v1/dam-alerting/docs
📖
APIReference
https://docs.dam-alerting.live.altr.com/v1/dam-alerting/docs
📖
Documentation
https://docs.audit-report.live.altr.com/v1/audit-reports/docs
📖
APIReference
https://docs.audit-report.live.altr.com/v1/audit-reports/docs
📖
Documentation
https://docs.notifications.live.altr.com/v1/notification-integration/docs
📖
APIReference
https://docs.notifications.live.altr.com/v1/notification-integration/docs
📖
Documentation
https://docs.critical.live.altr.com/v2
📖
APIReference
https://docs.critical.live.altr.com/v2
📖
Documentation
https://docs.sc-control.live.altr.com/v1/repo-config-docs
📖
APIReference
https://docs.sc-control.live.altr.com/v1/repo-config-docs
📖
Documentation
https://docs.sc-control.live.altr.com/v1/audits/docs
📖
APIReference
https://docs.sc-control.live.altr.com/v1/audits/docs
📖
Documentation
https://docs.sc-control.live.altr.com/v1/sidecars/telemetry/docs
📖
APIReference
https://docs.sc-control.live.altr.com/v1/sidecars/telemetry/docs
📖
Documentation
https://docs.sc-control.live.altr.com/v1/access-tokens/docs
📖
APIReference
https://docs.sc-control.live.altr.com/v1/access-tokens/docs
📖
Documentation
https://docs.service-user.live.altr.com/v1/docs
📖
APIReference
https://docs.service-user.live.altr.com/v1/docs

Specifications

OpenAPI Specification

altr-control-plane-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@altr.com
    name: Support
  description: This API allows ALTR customers to manage data consumer access tokens.
  termsOfService: https://altr.com/info/altr-solutions-inc-terms-of-service
  title: Access Tokens Control Plane API
  version: '1.0'
servers:
- url: /v1
tags:
- name: Control Plane
paths:
  /access-tokens:
    get:
      description: This endpoint retrieves a list of access tokens for a user based on the provided query parameters.
      parameters:
      - in: query
        name: limit
        schema:
          default: 100
          maximum: 1000
          minimum: 0
          type: integer
      - description: Sorts by the time the access token was created
        in: query
        name: order_by
        schema:
          description: Sorts by the time the access token was created
          enum:
          - asc
          - desc
          type: string
      - in: query
        name: contiguous_id
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.AccessTokenQueryResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.Error'
          description: Bad request
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.Error'
          description: Too many requests, slow down and try again later
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.Error'
          description: Internal server error, try again later
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.Error'
          description: Service unavailable, try again later
      security:
      - BasicAuth: []
      summary: Get Access Tokens
      tags:
      - Control Plane
    post:
      description: This endpoint creates a new access token
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dto.CreateAccessTokenRequest'
        description: Create Access Token Request
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.CreateAccessTokenResponse'
          description: Created
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.Error'
          description: Bad request
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.Error'
          description: Too many requests, slow down and try again later
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.Error'
          description: Internal server error, try again later
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dto.Error'
          description: Service unavailable, try again later
      security:
      - BasicAuth: []
      summary: Creates Access Token
      tags:
      - Control Plane
components:
  schemas:
    dto.AccessTokenQueryResponse:
      properties:
        access_tokens:
          items:
            $ref: '#/components/schemas/dto.GetAccessTokenResponse'
          type: array
          uniqueItems: false
        contiguous_id:
          type: string
      type: object
    dto.Error:
      properties:
        code:
          type: string
        message:
          type: string
      type: object
    dto.CreateAccessTokenResponse:
      properties:
        access_token:
          type: string
        created_at:
          description: Milliseconds since epoch
          type: integer
        id:
          type: string
        valid_from:
          description: Milliseconds since epoch
          type: integer
        valid_until:
          description: Milliseconds since epoch
          type: integer
      type: object
    dto.CreateAccessTokenRequest:
      properties:
        chosen_duration_minutes:
          description: 5256000 is 10 years in minutes
          example: 3600
          maximum: 5256000
          minimum: 1
          type: integer
        display_name:
          maxLength: 255
          minLength: 1
          type: string
      required:
      - chosen_duration_minutes
      - display_name
      type: object
    dto.GetAccessTokenResponse:
      properties:
        created_at:
          description: Milliseconds since epoch
          type: integer
        display_name:
          type: string
        id:
          type: string
        valid_from:
          description: Milliseconds since epoch
          type: integer
        valid_until:
          description: Milliseconds since epoch
          type: integer
      required:
      - created_at
      - id
      - valid_from
      - valid_until
      type: object
  securitySchemes:
    basic:
      scheme: basic
      type: http
externalDocs:
  description: ALTR Documentation
  url: https://docs.altr.com/?lang=en