API Key Management
Get API Key IP Access Policy
GET
Retrieve the current IP access policy of a single API key, that is, the list of source IPs allowed to use the key. If the key has never been configured, an empty list is returned, meaning the source IP is not restricted.
The IP access policy applies to model invocation endpoints only. When the source IP of a request is not in the allowed list, the model call is rejected; management endpoints (including these IP access policy read/write endpoints, billing queries, etc.) are not restricted by source IP.
Permissions
The target API key must belong to the caller’s team. When querying a key that the caller has no permission for or that does not belong to the team, the endpoint does not reveal whether the target key exists and returns a permission error uniformly.
Request Headers
Path Parameters
Response Parameters
Last modified on October 12, 2026