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

# Check an AWS connection again: role, external ID, launch permission (EC2 dry run), GPU quota, and GPU offerings. Nothing is created in AWS



## OpenAPI

````yaml /openapi.json post /api/v1/compute/connections/{id}/verify
openapi: 3.1.0
info:
  description: >-
    Durable, authenticated control-plane operations. Mutation responses may
    outlive the requesting client.
  title: InferCrane Control API
  version: 2.3.1
servers:
  - description: Local InferCrane API and gateway
    url: http://127.0.0.1:18000
security: []
tags:
  - name: Admission
  - name: Adoption
  - name: Agents
  - name: Alerts
  - name: Async inference
  - name: Audit
  - name: Autopilot
  - name: Benchmarks
  - name: Billing
  - name: Billing administration
  - name: Burst Guard
  - name: Capacity intelligence
  - name: Changes
  - name: Compute
  - name: Context Passport
  - name: Data
  - name: Deployments
  - name: Diagnostics
  - name: Endpoints
  - name: External capacity
  - name: FinOps
  - name: Identity
  - name: Inference
  - name: Inference Lab
  - name: Inference decisions
  - name: Inference optimization
  - name: Infrastructure
  - name: Marketplace administration
  - name: Migration Proof
  - name: Model API administration
  - name: Model APIs
  - name: Model artifacts
  - name: Model catalog
  - name: Monitoring
  - name: Notifications
  - name: Operations
  - name: Planning
  - name: Providers
  - name: Recipes
  - name: Release Guard
  - name: Release evidence
  - name: Replay
  - name: Revisions
  - name: Routing
  - name: Sandboxes
  - name: Scaling
  - name: Secrets
  - name: System
  - name: Targets
  - name: Training lineage
  - name: Workspace administration
paths:
  /api/v1/compute/connections/{id}/verify:
    post:
      tags:
        - Compute
      summary: >-
        Check an AWS connection again: role, external ID, launch permission (EC2
        dry run), GPU quota, and GPU offerings. Nothing is created in AWS
      operationId: verifyComputeConnection
      parameters:
        - in: path
          name: id
          required: true
          schema:
            minLength: 1
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComputeConnectionVerification'
          description: Success
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Typed API error
      security:
        - bearerAuth: []
components:
  schemas:
    ComputeConnectionVerification:
      additionalProperties: false
      properties:
        connection:
          $ref: '#/components/schemas/ComputeConnection'
        verification:
          $ref: '#/components/schemas/AWSVerification'
      required:
        - connection
        - verification
      type: object
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/Error'
      required:
        - error
      type: object
    ComputeConnection:
      additionalProperties: false
      properties:
        adapter:
          enum:
            - runpod-pods
            - aws-ec2
          type: string
        created_at:
          format: date-time
          type: string
        id:
          type: string
        name:
          type: string
        provider:
          enum:
            - runpod
            - aws
          type: string
        status:
          enum:
            - verified
            - revoked
          type: string
        updated_at:
          format: date-time
          type: string
        verified_at:
          format: date-time
          type: string
      required:
        - id
        - name
        - provider
        - adapter
        - status
        - verified_at
        - created_at
        - updated_at
      type: object
    AWSVerification:
      additionalProperties: false
      properties:
        account_id:
          type: string
        checked_at:
          format: date-time
          type: string
        checks:
          items:
            additionalProperties: false
            properties:
              message:
                type: string
              name:
                enum:
                  - assume_role
                  - external_id_required
                  - account
                  - launch_permission
                  - gpu_quota
                  - gpu_quota_large
                  - gpu_offerings
                type: string
              state:
                enum:
                  - passed
                  - failed
                  - warning
                  - unknown
                type: string
            required:
              - name
              - state
              - message
            type: object
          type: array
        gpus:
          items:
            additionalProperties: false
            properties:
              capacity:
                description: EC2 reports free capacity only at launch.
                enum:
                  - unknown
                type: string
              gpu:
                type: string
              instance_type:
                type: string
              offered:
                enum:
                  - offered
                  - not_offered
                  - unknown
                type: string
              quota:
                enum:
                  - enough
                  - too_low
                  - unknown
                type: string
              quota_family:
                enum:
                  - G
                  - P
                type: string
              vcpus:
                type: integer
              zones:
                items:
                  type: string
                type: array
            required:
              - gpu
              - instance_type
              - vcpus
              - quota_family
              - offered
              - quota
              - capacity
            type: object
          type: array
        limitations:
          items:
            type: string
          type: array
        quota_vcpus:
          additionalProperties:
            type: integer
          description: >-
            On-demand vCPU quota by EC2 family (G, P); a family that could not
            be read is absent.
          type: object
        region:
          type: string
        verified:
          description: >-
            True only when the role is assumable with the external ID, refuses
            without it, and may launch InferCrane-tagged EC2 instances.
          type: boolean
      required:
        - verified
        - region
        - checks
        - checked_at
        - limitations
      type: object
    Error:
      properties:
        category:
          type: string
        code:
          type: string
        message:
          type: string
        remediation:
          type: string
        request_id:
          type: string
        retryable:
          type: boolean
      required:
        - code
        - message
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.