---
title: "Matching access requests for an agent"
url: "https://real-estate-agency.apim.eu/apis/access-requests/versions/85552175-ec5d-4510-b24d-c293a66d9945/operations/matchingAgents"
---

> Full API specification: https://real-estate-agency.apim.eu/apis/access-requests/versions/85552175-ec5d-4510-b24d-c293a66d9945.md

# Matching access requests for an agent

`GET` `/matching/agents/{agentId}`

Operation ID: `matchingAgents`

Returns requests with a matching capability profile, sorted descending by score.

## Path parameters

- `agentId` (string, required)

## Query parameters

- `min_points` (integer, optional)

## Responses

- `200` - Results

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Access & Onboarding Requests
  version: 1.0.0
servers:
  - url: https://api.nexora.example/v1
    description: Production
  - url: https://sandbox.api.nexora.example/v1
    description: Sandbox
paths:
  /matching/agents/{agentId}:
    parameters:
      - name: agentId
        in: path
        required: true
        schema:
          type: string
          example: agt_8f2c1a
    get:
      tags:
        - Matching
      summary: Matching access requests for an agent
      description: Returns requests with a matching capability profile, sorted
        descending by score.
      operationId: matchingAgents
      parameters:
        - name: min_points
          in: query
          schema:
            type: integer
            minimum: 0
            maximum: 100
            default: 60
      responses:
        "200":
          description: Results
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: "#/components/schemas/Score"
security:
  - apiKey: []
components:
  schemas:
    Score:
      type: object
      properties:
        request_id:
          type: string
          example: req_71ab
        agent_id:
          type: string
          example: agt_8f2c1a
        points:
          type: integer
          minimum: 0
          maximum: 100
          example: 82
        rating:
          type: string
          enum:
            - low
            - medium
            - high
        criteria:
          type: array
          items:
            $ref: "#/components/schemas/Criterion"
    Criterion:
      type: object
      properties:
        criterion:
          type: string
          example: budget_fit
        met:
          type: boolean
          example: true
        weight:
          type: integer
          example: 30
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: apikey
      description: |
        Every call carries an API key in the `apikey` header. You generate the
        key in the Nexora AI portal under "My Apps"; it's shown exactly once.

        Each key has the scopes it's allowed to use attached to it. If one is
        missing, the API responds with `403` and `code: "scope_missing"`; the
        missing scope is in `details[].field`.
```
