{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Lists approved fine-grained personal access tokens owned by organization members that can access organization resources.\n\nOnly GitHub Apps can use this endpoint.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."}},"required":["org"],"additionalProperties":false},"query":{"type":"object","properties":{"per_page":{"type":"integer","default":30,"description":"The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""},"page":{"type":"integer","default":1,"description":"The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\""},"sort":{"type":"string","enum":["created_at"],"default":"created_at","description":"The property by which to sort the results."},"direction":{"type":"string","enum":["asc","desc"],"default":"desc","description":"The direction to sort the results by."},"owner":{"type":"array","maxItems":10,"items":{"type":"string"},"examples":["owner[]=octocat1,owner[]=octocat2"],"description":"A list of owner usernames to use to filter the results."},"repository":{"type":"string","examples":["Hello-World"],"description":"The name of the repository to use to filter the results."},"permission":{"type":"string","examples":["issues_read"],"description":"The permission to use to filter the results."},"last_used_before":{"type":"string","format":"date-time","description":"Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`."},"last_used_after":{"type":"string","format":"date-time","description":"Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`."},"token_id":{"type":"array","maxItems":50,"items":{"type":"string"},"examples":["token_id[]=1,token_id[]=2"],"description":"The ID of the token"}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"List fine-grained personal access tokens with access to organization resources","id":"github.orgs.list-pat-grants","example":{"path":{"org":"example"}},"maxRequests":1,"summary":false}}