dm-limits-and-best-practices

Guide CDF Data Modeling API usage with concurrency and throttling limits.

5|1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/cognitedata/builder-skills --skill dm-limits-and-best-practices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dm-limits-and-best-practices
Source: https://github.com/cognitedata/builder-skills/tree/main/skills/dm-limits-and-best-practices
Command: npx skills add https://github.com/cognitedata/builder-skills --skill dm-limits-and-best-practices

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It helps developers understand and implement optimal data modeling API calls in Cognite Data Fusion, avoiding errors and rate limits.

Core Features & Use Cases

  • Guides on Concurrency and Limits: Provides detailed instructions on avoiding 429 errors and managing request limits.
  • Best Practices for Searching and Filtering: Explains how to choose between search and filter for precise and broad queries.
  • Utilizes QueuedTaskRunner for Request Control: Demonstrates how to use semaphore-based request throttling to prevent deadlocks and throttling issues.
  • Use Case: When building an application that frequently queries large datasets from CDF, follow this Skill to ensure stable performance without exceeding API limits.

Quick Start

Use the dm-limits-and-best-practices Skill to review API best practices before implementing data access logic.

Frequently Asked Questions about dm-limits-and-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I avoid 429 errors when making CDF data modeling API calls?

To avoid 429 errors in CDF data modeling API calls, implement request throttling using a semaphore-based QueuedTaskRunner and manage concurrency to stay within API rate limits.

What is the best way to throttle CDF API requests for reliable application performance?

The best way to throttle CDF API requests is utilizing a semaphore-based QueuedTaskRunner, which controls request concurrency and prevents deadlocks or throttling issues.

When do I need to implement request throttling for Cognite Data Fusion APIs?

You need request throttling for Cognite Data Fusion APIs when building applications that frequently query large datasets, ensuring stable performance without exceeding API limits.

How does choosing between search and filter affect CDF API performance?

Choosing between search and filter affects CDF API performance by optimizing queries; use filter for broad queries and search for precise queries to maintain efficient data retrieval.

What are the concurrency limits for CDF data modeling APIs?

Concurrency limits for CDF data modeling APIs define the maximum simultaneous requests allowed; managing these limits prevents throttling and ensures reliable application performance.