Filevine API AtlasHomeMain APIBulk DataIdentityWebhook events
Start here

Rate Limiting for PATs

For Certified Partner Integrations, the API Tier is determined by the Client Application ID. For Customer Client Applications, it's determined by the Tenant ID.

For Certified Partner Integrations, the API Tier is determined by the Client Application ID. For Customer Client Applications, it's determined by the Tenant ID.

Each API Tier has its own set of buckets, and each bucket is linked to specific endpoints using regular expressions. For example: - One bucket might cover /reports/* and /vitals/* endpoints. - Another bucket might cover all other endpoints (.*).

Each bucket has two limits: 1. Refill Rate per Second: This is how many requests a client can make per second at a steady rate. 2. Maximum Tokens: This allows for a short burst of requests that exceed the steady rate.

When a client makes a request: - The system calculates the tokens needed to refill the bucket based on the refill rate per second (up to the maximum). - If the bucket has at least one token, it subtracts a token and allows the request. - If the bucket has no tokens, the request is rate-limited, and the client will receive a response with HTTP status code 429 (Too Many Requests)

The response headers will include rate-limiting information under two headers: 1. RateLimit-Limit: - Maximum Tokens - Refill Rate Per Minute - Time Window (constant and always equal to 60 seconds) - API Tier Name

Example: 10;r=180;w=60;c=Example API Tier - 10: Maximum Tokens - r=180: Refill Rate Per Minute - w=60: Time Window (60 seconds) - c=Example API Tier: API Tier Name

  1. RateLimit-Remaining: - Remaining Tokens - Refill Rate Per Minute - Time Window (constant and always equal to 60 seconds) - API Tier Name

Example: 9;r=180;w=60;c=Example API Tier - 9: Remaining Tokens - r=180: Refill Rate Per Minute - w=60: Time Window (60 seconds) - c=Example API Tier: API Tier Name

Source: https://developer.filevine.io/docs/v2-us

More in Start here

Related pages