{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.\n\nUnder normal conditions, you can expect API data to appear within 4–6 hours after making a request. During incidents or periods of unusually high volume, it may take longer to show up.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."},"actor_type":{"type":"string","enum":["installation","classic_pat","fine_grained_pat","oauth_app","github_app_user_to_server"],"description":"The type of the actor"},"actor_id":{"type":"integer","description":"The ID of the actor"}},"required":["org","actor_type","actor_id"],"additionalProperties":false},"query":{"type":"object","properties":{"min_timestamp":{"type":"string","description":"The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`."},"max_timestamp":{"type":"string","description":"The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`."},"timestamp_increment":{"type":"string","description":"The increment of time used to breakdown the query results (5m, 10m, 1h, etc.)"}},"required":["min_timestamp","timestamp_increment"],"additionalProperties":false}},"required":["path","query"],"additionalProperties":false},"name":"Get time stats by actor","id":"github.api-insights.get-time-stats-by-actor","example":{"path":{"org":"example","actor_type":"installation","actor_id":1},"query":{"min_timestamp":"example","timestamp_increment":"example"}},"maxRequests":1,"summary":false}}