# Search and paginate customer machines (assigned staff only) (/docs/api-reference/organization-collections/AdminCollectionsController_machines)

`GET /api/organizations/{orgId}/collection-machines`

Base URL: https://api.xentr.ai

Authentication: bearer token (`Authorization: Bearer <token>`).

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | yes | string |  |
| `page` | query | no |  |  |
| `pageSize` | query | no | 25 \| 50 \| 100 |  |
| `q` | query | no | string | Literal text search; SQL wildcard characters have no special meaning. |
| `factory` | query | no | string | Factory slug belonging to this organization. |
| `status` | query | no | "all" \| "active" \| "inactive" |  |
| `sort` | query | no | "name_asc" \| "name_desc" \| "code_asc" |  |

## Responses

### 200

Content type: `application/json`

```json
{
  "type": "object",
  "properties": {
    "total": {
      "type": "number"
    },
    "page": {
      "type": "number"
    },
    "pageSize": {
      "type": "number",
      "enum": [
        25,
        50,
        100
      ]
    },
    "pageCount": {
      "type": "number",
      "description": "Zero for an empty collection; page remains one."
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "machineType": {
            "type": "string",
            "nullable": true
          },
          "tier": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "nullable": true
          },
          "factoryId": {
            "type": "string",
            "description": "Factory slug."
          },
          "factoryName": {
            "type": "string"
          },
          "organizationName": {
            "type": "string"
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "protocol": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "id",
          "code",
          "name",
          "machineType",
          "tier",
          "isActive",
          "factoryId",
          "factoryName",
          "organizationName",
          "location",
          "protocol"
        ]
      }
    }
  },
  "required": [
    "total",
    "page",
    "pageSize",
    "pageCount",
    "items"
  ]
}
```