inference-endpoints

Check if the user has access to the inference endpoint

post/api/inference-endpoints/{namespace}/auth-check/{perms}

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/inference-endpoints/{namespace}/auth-check/{perms}
  • Auth: HTTP bearer

Path parameters

namespacestring required
perms'read' | 'write' | 'infer' required

Query parameters

ownstring
is_creatorstring
creator_idstring
incur_coststring
resource_group_idstring
repo_idstring

Response

The user has access to the inference endpoint/resource

resourceGroupIdstring

Changes

    • info

      for the query request parameter incur_cost, the type was generalized from no type to string

    • info

      for the query request parameter is_creator, the type was generalized from no type to string

    • info

      for the query request parameter own, the type was generalized from no type to string