DevArmor Scopes API

The scopes API from DevArmor — 2 operation(s) for scopes.

Operations 5

GET /projects/{project_id}/scopes List scopes in a project #
POST /projects/{project_id}/scopes Create a new scope in a project #
GET /projects/{project_id}/scopes/{scope_id} Get a scope from a project #
PUT /projects/{project_id}/scopes/{scope_id} Update a scope in a project #
DELETE /projects/{project_id}/scopes/{scope_id} Delete a scope from a project #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/devarmor:devarmor-scopes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

devarmor-scopes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DevArmor Security Reviews Scopes API
  version: 1.14.0
tags:
- name: Scopes
paths:
  /projects/{project_id}/scopes:
    get:
      tags:
      - Scopes
      summary: List scopes in a project
      operationId: list_project_scopes
      security:
      - APIGatewayAuth: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Scope'
                title: Response List Project Scopes
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Scopes
      summary: Create a new scope in a project
      operationId: create_project_scope
      security:
      - APIGatewayAuth: []
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScopeCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Scope'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/scopes/{scope_id}:
    get:
      tags:
      - Scopes
      summary: Get a scope from a project
      operationId: get_project_scope
      security:
      - APIGatewayAuth: []
      parameters:
      - name: scope_id
        in: path
        required: true
        schema:
          type: integer
          title: Scope Id
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Scope'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Scopes
      summary: Update a scope in a project
      operationId: update_project_scope
      security:
      - APIGatewayAuth: []
      parameters:
      - name: scope_id
        in: path
        required: true
        schema:
          type: integer
          title: Scope Id
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScopeUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Scope'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Scopes
      summary: Delete a scope from a project
      operationId: delete_project_scope
      security:
      - APIGatewayAuth: []
      parameters:
      - name: scope_id
        in: path
        required: true
        schema:
          type: integer
          title: Scope Id
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Scope'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    UserRole:
      type: string
      enum:
      - admin
      - customer_support
      title: UserRole
    DataSensitivity:
      type: string
      enum:
      - pii
      - phi
      - fin
      - ip
      - cred
      - biz
      - gov
      - pci
      - op
      title: DataSensitivity
    Project:
      properties:
        symbolic_name:
          type: string
          pattern: ^[0-9a-z-]+$
          title: Symbolic Name
        title:
          type: string
          title: Title
        default:
          type: boolean
          title: Default
          default: false
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        use_memory:
          type: boolean
          title: Use Memory
          default: true
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        id:
          type: integer
          title: Id
        owner_user:
          $ref: '#/components/schemas/User'
        memory_effective:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Memory Effective
        memory_effective_reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Memory Effective Reason
      type: object
      required:
      - symbolic_name
      - title
      - id
      - owner_user
      title: Project
    Scope:
      properties:
        symbolic_name:
          type: string
          pattern: ^[0-9a-z-]+$
          title: Symbolic Name
        title:
          type: string
          title: Title
        description:
          type: string
          title: Description
        risk_owner_email:
          anyOf:
          - type: string
            format: email
          - type: 'null'
          title: Risk Owner Email
        technical_owner_email:
          anyOf:
          - type: string
            format: email
          - type: 'null'
          title: Technical Owner Email
        scope_release_date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Scope Release Date
        business_criticality:
          anyOf:
          - $ref: '#/components/schemas/Degree'
          - type: 'null'
        data_sensitivity:
          anyOf:
          - items:
              $ref: '#/components/schemas/DataSensitivity'
            type: array
          - type: 'null'
          title: Data Sensitivity
        exposure:
          anyOf:
          - $ref: '#/components/schemas/Exposure'
          - type: 'null'
        tier:
          anyOf:
          - $ref: '#/components/schemas/Tier'
          - type: 'null'
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        id:
          type: integer
          title: Id
        project:
          anyOf:
          - $ref: '#/components/schemas/Project'
          - type: 'null'
      type: object
      required:
      - symbolic_name
      - title
      - description
      - id
      title: Scope
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Tier:
      type: string
      enum:
      - mission_critical
      - business_critical
      - important
      - non_critical
      title: Tier
    User:
      properties:
        email:
          type: string
          title: Email
        name:
          type: string
          title: Name
        state:
          $ref: '#/components/schemas/UserState'
          default: active
        roles:
          items:
            $ref: '#/components/schemas/UserRole'
          type: array
          title: Roles
          default: []
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        id:
          type: integer
          title: Id
      type: object
      required:
      - email
      - name
      - id
      title: User
    ScopeCreate:
      properties:
        symbolic_name:
          type: 'null'
          title: Symbolic Name
        title:
          type: string
          title: Title
        description:
          type: string
          title: Description
        risk_owner_email:
          anyOf:
          - type: string
            format: email
          - type: 'null'
          title: Risk Owner Email
        technical_owner_email:
          anyOf:
          - type: string
            format: email
          - type: 'null'
          title: Technical Owner Email
        scope_release_date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Scope Release Date
        business_criticality:
          anyOf:
          - $ref: '#/components/schemas/Degree'
          - type: 'null'
        data_sensitivity:
          anyOf:
          - items:
              $ref: '#/components/schemas/DataSensitivity'
            type: array
          - type: 'null'
          title: Data Sensitivity
        exposure:
          anyOf:
          - $ref: '#/components/schemas/Exposure'
          - type: 'null'
        tier:
          anyOf:
          - $ref: '#/components/schemas/Tier'
          - type: 'null'
      type: object
      required:
      - title
      - description
      title: ScopeCreate
    Degree:
      type: string
      enum:
      - minimal
      - low
      - moderate
      - high
      - maximal
      title: Degree
    ScopeUpdate:
      properties:
        symbolic_name:
          type: 'null'
          title: Symbolic Name
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        risk_owner_email:
          anyOf:
          - type: string
            format: email
          - type: 'null'
          title: Risk Owner Email
        technical_owner_email:
          anyOf:
          - type: string
            format: email
          - type: 'null'
          title: Technical Owner Email
        scope_release_date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Scope Release Date
        business_criticality:
          anyOf:
          - $ref: '#/components/schemas/Degree'
          - type: 'null'
        data_sensitivity:
          anyOf:
          - items:
              $ref: '#/components/schemas/DataSensitivity'
            type: array
          - type: 'null'
          title: Data Sensitivity
        exposure:
          anyOf:
          - $ref: '#/components/schemas/Exposure'
          - type: 'null'
        tier:
          anyOf:
          - $ref: '#/components/schemas/Tier'
          - type: 'null'
      type: object
      title: ScopeUpdate
    Exposure:
      type: string
      enum:
      - internal
      - external
      title: Exposure
    UserState:
      type: string
      enum:
      - active
      - inactive
      - pending_org_approval
      title: UserState
  securitySchemes:
    APIGatewayAuth:
      type: http
      scheme: bearer