---
updatedAt: 2026-09-16T15:17:35.000Z
agentTools:
  siteIndex: https://developer.n-able.com/llms.txt
  projectIndex: https://developer.n-able.com/n-able-billing-api/llms.txt
---

# Retrieve client-level only usage by timeframe

This endpoint provides detailed device-level usage data for all available products for a specified timeframe.

<br />

<Callout icon="❗️" theme="error">
  Current month data can only be pulled from the 10th of the month onward.
</Callout>

<Callout icon="📘" theme="info">
  This endpoint is for use by **Indirect and direct customers**
</Callout>

The usage data is structured as a nested format, providing records of client level data per contract.

## Sample response

```
{
    "UsageSummary": [
        {
            "AccountName": "Best MSP",
            "AdditionalCapacity": {...},
            "BpAccountId": 12348,
            "Cid": "234578",
            "Clients": [
                {
                    "ClientId": 2712428,
                    "Name": Best MSP,
                    "TotalByService": [
                        {
                            "BillingServiceName": "N-able Take Control | Concurrent User",
                            "ProductFeatureName": "0900_CONCURRENT_USER",
                            "Quantity": "1",
                            "Sku": "MSPUK-TC-TAKE_CONTROL",
                            "Uom": "Users"
                        }
                    ]
                }
            ],
            "ContractId": 234579,
            "ContractNumber": "MSP-234578-01",
            "ContractStatus": "ACTIVE",
            "Created": "2024-08-08 15:10:58.228",
            "PgaCode": "0900",
            "Pid": "0925M-0000-0000-UK",
            "ProductName": "N-able Take Control Plus | MSP | Monthly in Arrears",
            "RateClassId": "22142",
            "SfdcAccountId": "001H234578asdfIAS",
            "TenantId": "0900_0123",
            "TimeFrame": 202604,
            "Updated": "2025-09-02 00:15:15.951"
        }
    ]
}

```

<br />

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Usage retrieval API for PSA Integration",
    "description": "This API is designed to synchronize usage information of N-Able product customers with third-party tools such as PSA systems. It facilitates invoicing, billing reconciliation, and other financial operations."
  },
  "paths": {
    "/PSAUsageSummary/{sfdcid}/{TimeFrame}": {
      "post": {
        "tags": [
          "UsageDetails",
          "UsageSummary"
        ],
        "summary": "Retrieve client-level only usage by timeframe",
        "parameters": [
          {
            "in": "path",
            "name": "TimeFrame",
            "required": true,
            "description": "The billing period in YYYYMM format.",
            "example": "202401",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sfdcid",
            "required": true,
            "description": "Salesforce account ID for the requesting MSP.",
            "example": "00v99902zVlGFFIAS",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "x-api-key",
            "required": false,
            "description": "API key retrieved from developer portal. Required for authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "User-Agent",
            "required": true,
            "description": "Identifies the client application making the request. When scripting or calling this API programmatically, specify a custom User-Agent, as default User-Agents (e.g. those set automatically by HTTP libraries or tools like curl) may be blocked for security purposes.",
            "example": "PSAIntegrationClient/1.0",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Content-Length",
            "required": true,
            "description": "The size of the request body, in bytes.",
            "example": 0,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "UsageSummary": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "AccountName": {
                            "type": "string"
                          },
                          "InvoiceId": {
                            "type": "string"
                          },
                          "AdditionalCapacity": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "AdditionalCapacity": {
                                  "type": "string"
                                },
                                "SelectedGbUsageQuantity": {
                                  "type": "string"
                                },
                                "Servers": {
                                  "type": "object",
                                  "properties": {
                                    "CommittedCount": {
                                      "type": "integer"
                                    },
                                    "DeviceCount": {
                                      "type": "integer"
                                    },
                                    "FUP": {
                                      "type": "integer"
                                    },
                                    "Pool": {
                                      "type": "integer"
                                    },
                                    "UsageCount": {
                                      "type": "integer"
                                    }
                                  }
                                },
                                "TimeFrame": {
                                  "type": "integer"
                                },
                                "TotalPool": {
                                  "type": "integer"
                                },
                                "UsedGB": {
                                  "type": "string"
                                },
                                "UsedGbUsageQuantity": {
                                  "type": "string"
                                },
                                "VolumeType": {
                                  "type": "string"
                                },
                                "VirtualServers": {
                                  "type": "object",
                                  "properties": {
                                    "CommittedCount": {
                                      "type": "integer"
                                    },
                                    "DeviceCount": {
                                      "type": "integer"
                                    },
                                    "FUP": {
                                      "type": "integer"
                                    },
                                    "Pool": {
                                      "type": "integer"
                                    },
                                    "UsageCount": {
                                      "type": "integer"
                                    }
                                  }
                                },
                                "Workstations": {
                                  "type": "object",
                                  "properties": {
                                    "CommittedCount": {
                                      "type": "integer"
                                    },
                                    "DeviceCount": {
                                      "type": "integer"
                                    },
                                    "FUP": {
                                      "type": "integer"
                                    },
                                    "Pool": {
                                      "type": "integer"
                                    },
                                    "UsageCount": {
                                      "type": "integer"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "BpAccountId": {
                            "type": "integer"
                          },
                          "Cid": {
                            "type": "string"
                          },
                          "ContractId": {
                            "type": "integer"
                          },
                          "ContractNumber": {
                            "type": "string"
                          },
                          "ContractStatus": {
                            "type": "string"
                          },
                          "Created": {
                            "type": "string"
                          },
                          "PgaCode": {
                            "type": "string"
                          },
                          "Pid": {
                            "type": "string"
                          },
                          "ProductName": {
                            "type": "string"
                          },
                          "RateClassId": {
                            "type": "string"
                          },
                          "SfdcAccountId": {
                            "type": "string"
                          },
                          "TenantId": {
                            "type": "string"
                          },
                          "TimeFrame": {
                            "type": "integer"
                          },
                          "Updated": {
                            "type": "string"
                          },
                          "Clients": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "ClientId": {
                                  "type": "integer"
                                },
                                "Name": {
                                  "type": "string"
                                },
                                "TotalByService": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "BillingServiceName": {
                                        "type": "string"
                                      },
                                      "ProductFeatureName": {
                                        "type": "string"
                                      },
                                      "Quantity": {
                                        "type": "number"
                                      },
                                      "Sku": {
                                        "type": "string"
                                      },
                                      "Uom": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "500": {
            "description": "Internal Error: This error could mean you provided in invalid contract or invoice ID or combination of invoice ID and timeframe. Double-check your details. Otherwise, contact support.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "PSA Distributor Usage Detail Devices V1 ": {
                      "type": "string",
                      "example": "Failed"
                    },
                    "SfdcAccountId": {
                      "type": "string",
                      "example": "00v99902zVlGFFIAS"
                    },
                    "Error": {
                      "type": "string",
                      "example": "Internal Error. Please contact support."
                    }
                  }
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/default"
          }
        },
        "description": "This endpoint provides detailed device-level usage data for all available products for a specified timeframe."
      }
    }
  },
  "security": [
    {
      "apikey": []
    }
  ],
  "tags": [
    {
      "name": "UsageDetails",
      "description": "Endpoints for usage detail retrieval"
    }
  ],
  "servers": [
    {
      "url": "https://prod-nableboomi.n-able.com:443/ws/rest/V1/PSA_API"
    }
  ],
  "components": {
    "responses": {
      "401": {
        "description": "Unauthorized. Verify SFDCID and API key.",
        "content": {
          "*/*": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "example": "Unauthorized"
                },
                "http_status_code": {
                  "type": "integer",
                  "example": 401
                }
              }
            }
          }
        }
      },
      "default": {
        "description": "Unidentified Exception",
        "content": {
          "*/*": {
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apikey": {
        "type": "apiKey",
        "name": "X-API-Key",
        "in": "header"
      }
    }
  }
}
```