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

# Get a resource by id



## OpenAPI

````yaml /api/openapi.json get /api/reinforcements/{id}
openapi: 3.1.0
info:
  title: Aquila API
  version: 1.0.0
  description: >-
    Event-driven reconnaissance platform API. All /api/* routes except
    /api/public/* require an authenticated session (cookie), an X-Api-Key
    header, or a bearer token. Auth endpoints under /api/auth/* are generated by
    Better Auth.
servers:
  - url: https://aquila.attaxr.com
  - url: http://localhost
security: []
tags:
  - name: AI
  - name: Agents
  - name: Bulk Delete
  - name: Chat
  - name: Constraints
  - name: Dashboard
  - name: Events
  - name: JS
  - name: JS Analysis
  - name: JS Monitoring
  - name: Leads
  - name: MCP Key
  - name: Models
  - name: Notification Channels
  - name: Notification Event Preferences
  - name: Notifications
  - name: OOB
  - name: Provider Keys
  - name: Public Shares
  - name: Reinforcements
  - name: Reports
  - name: Scans
  - name: Schedules
  - name: Shares
  - name: Tools
  - name: User Profiles
  - name: V1
  - name: Vulnerabilities
  - name: Workflows
paths:
  /api/reinforcements/{id}:
    get:
      tags:
        - Reinforcements
      summary: Get a resource by id
      operationId: getApiReinforcementsId
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The resource.
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                properties:
                  _id:
                    type: string
                  userId:
                    type: string
                  assetId:
                    type: string
                  assetValue:
                    type: string
                  assetType:
                    default: ''
                    type: string
                  vulnerabilities:
                    minItems: 1
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        description:
                          default: ''
                          type: string
                        poc:
                          type: string
                        stepsToReproduce:
                          type: string
                        cvss:
                          type: string
                        impact:
                          type: string
                        otherInfo:
                          type: string
                        category:
                          type: object
                          properties:
                            name:
                              type: string
                            severity:
                              default: medium
                              type: string
                              enum:
                                - info
                                - low
                                - medium
                                - high
                                - critical
                            isCustom:
                              default: false
                              type: boolean
                          required:
                            - name
                            - severity
                            - isCustom
                          additionalProperties: false
                        aiGeneratedName:
                          default: false
                          type: boolean
                        aiGeneratedDesc:
                          default: false
                          type: boolean
                      required:
                        - name
                        - description
                        - category
                        - aiGeneratedName
                        - aiGeneratedDesc
                      additionalProperties: false
                  agentProcessing:
                    default: {}
                    type: object
                    properties:
                      structuredOutput:
                        type: object
                        propertyNames:
                          type: string
                        additionalProperties: {}
                      insights:
                        type: string
                      learningData:
                        type: object
                        propertyNames:
                          type: string
                        additionalProperties: {}
                      enrichedVulnerabilities:
                        type: array
                        items:
                          type: object
                          propertyNames:
                            type: string
                          additionalProperties: {}
                      twinMemoryId:
                        type: string
                      twinMemoryIds:
                        type: array
                        items:
                          type: string
                      evidenceContext:
                        type: string
                      agentDiscoveryMethodology:
                        type: string
                      anomalies:
                        type: array
                        items:
                          type: object
                          properties:
                            description:
                              type: string
                            impact:
                              type: string
                            patternType:
                              default: methodology
                              type: string
                              enum:
                                - hidden_endpoint
                                - undocumented_parameter
                                - unusual_behavior
                                - language_specific_path
                                - methodology
                          required:
                            - description
                            - patternType
                          additionalProperties: false
                      reusablePatterns:
                        type: array
                        items:
                          type: object
                          properties:
                            pattern:
                              type: string
                            description:
                              type: string
                            applicableAssetTypes:
                              type: string
                            confidence:
                              type: number
                              minimum: 0
                              maximum: 1
                          required:
                            - pattern
                            - description
                          additionalProperties: false
                      recommendations:
                        type: string
                      processedAt: {}
                    additionalProperties: false
                  status:
                    default: pending
                    type: string
                    enum:
                      - pending
                      - processing
                      - completed
                      - failed
                  userNotes:
                    default: ''
                    type: string
                  reportContent:
                    type: string
                  reportFileName:
                    type: string
                  discoveryMethodology:
                    type: string
                  reconIQContribution:
                    default: 0
                    type: number
                    minimum: 0
                    maximum: 1000
                  createdAt:
                    default: '2026-09-18T11:34:11.700Z'
                  updatedAt:
                    default: '2026-09-18T11:34:11.700Z'
                required:
                  - userId
                  - assetId
                  - assetValue
                  - assetType
                  - vulnerabilities
                  - agentProcessing
                  - status
                  - userNotes
                  - reconIQContribution
                  - createdAt
                  - updatedAt
                additionalProperties: false
        '401':
          description: No valid session cookie or API key.
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: No such id for this owner.
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
      security:
        - apiKeyCookie: []
        - apiKeyHeader: []
        - bearerAuth: []
components:
  securitySchemes:
    apiKeyCookie:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: Browser session cookie set by Better Auth sign-in.
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: Personal API key (aquila_… prefix; settings → API keys).
    bearerAuth:
      type: http
      scheme: bearer
      description: Personal API key sent as a bearer token.

````