{"components":{"securitySchemes":{"bearerAuth":{"scheme":"bearer","type":"http"}}},"info":{"description":"","title":"Hugging Face","version":"1","x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","quote":{"header":"X-AISA-Cost-Mode","value":"quote"}},"x-aisa-catalogs":{"huggingface-co":{"description":"","title":"Hugging Face","x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","quote":{"header":"X-AISA-Cost-Mode","value":"quote"}},"x-aisa-document":{"facts_hash":"9502fab8aeead0293f6c06c0a48bb5845e1f1d67a4d7da68def8980f523e51c5","generator_version":"3","protocol_version":"1","schema_version":"1"},"x-aisa-plans":{"builder":1.0,"display_plan":"payg","payg":1.0,"similarweb_payg":1.0,"team":1.0,"version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"}}},"x-aisa-configured-paths":["/apis/v1/huggingface-co/hub/card","/apis/v1/huggingface-co/hub/dataset","/apis/v1/huggingface-co/hub/datasets","/apis/v1/huggingface-co/hub/model","/apis/v1/huggingface-co/hub/models"],"x-aisa-document":{"composer_version":"28","document_hash":"sha256:0ecff7b45f77e2f8af90190cf54c417de37d102595c61624f2bdf8fb21ee1c90","facts_hash":"9502fab8aeead0293f6c06c0a48bb5845e1f1d67a4d7da68def8980f523e51c5","generator_version":"3","protocol_version":"1","response_pending":[],"schema_version":"1"},"x-aisa-plans":{"builder":1.0,"display_plan":"payg","payg":1.0,"similarweb_payg":1.0,"team":1.0,"version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"},"x-aisa-provider":"huggingface-co"},"jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","openapi":"3.1.0","paths":{"/apis/v1/huggingface-co/hub/card":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"huggingface-co.hub.card","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{"repo_id":"example"}},"minimal":{"value":{"repo_id":"example"}}},"schema":{"additionalProperties":true,"properties":{"repo_id":{"type":"string"}},"required":["repo_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Card","tags":["Hugging Face"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"huggingface-co","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/huggingface-co/huggingface-co-hub-card","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"d70570297d3f"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"huggingface-co.hub.card","path":"/apis/v1/huggingface-co/hub/card"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/huggingface-co/hub/card \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"repo_id\": \"example\"\n}'"}]}},"/apis/v1/huggingface-co/hub/dataset":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"huggingface-co.hub.dataset","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{"repo_id":"example"}},"minimal":{"value":{"repo_id":"example"}}},"schema":{"additionalProperties":true,"properties":{"repo_id":{"type":"string"}},"required":["repo_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Dataset","tags":["Hugging Face"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"huggingface-co","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/huggingface-co/huggingface-co-hub-dataset","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"24ddc8b7ee78"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"huggingface-co.hub.dataset","path":"/apis/v1/huggingface-co/hub/dataset"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/huggingface-co/hub/dataset \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"repo_id\": \"example\"\n}'"}]}},"/apis/v1/huggingface-co/hub/datasets":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"huggingface-co.hub.datasets","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{}},"minimal":{"value":{}}},"schema":{"additionalProperties":true,"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Datasets","tags":["Hugging Face"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"huggingface-co","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/huggingface-co/huggingface-co-hub-datasets","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"3e26a0162a5e"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"huggingface-co.hub.datasets","path":"/apis/v1/huggingface-co/hub/datasets"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/huggingface-co/hub/datasets \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{}'"}]}},"/apis/v1/huggingface-co/hub/model":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"huggingface-co.hub.model","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{"repo_id":"example"}},"minimal":{"value":{"repo_id":"example"}}},"schema":{"additionalProperties":true,"properties":{"repo_id":{"type":"string"}},"required":["repo_id"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Model","tags":["Hugging Face"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"huggingface-co","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/huggingface-co/huggingface-co-hub-model","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"fd2a801d741e"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"huggingface-co.hub.model","path":"/apis/v1/huggingface-co/hub/model"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/huggingface-co/hub/model \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"repo_id\": \"example\"\n}'"}]}},"/apis/v1/huggingface-co/hub/models":{"post":{"description":"<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $0.0005 USD (not a fixed price). Declared unit rate: $0.0001 USD per provider_credit. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"huggingface-co.hub.models","requestBody":{"content":{"application/json":{"examples":{"default":{"value":{}},"minimal":{"value":{}}},"schema":{"additionalProperties":true,"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful response. The payload schema has not been reviewed yet."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Models","tags":["Hugging Face"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"huggingface-co","x-aisa-category":"data","x-aisa-docs-url":"https://aisa.one/docs/api-reference/huggingface-co/huggingface-co-hub-models","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_units","customer_multiplier":1.0,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":0.0005,"estimate_source":"profile_seed","evidence_source":"response_body","unit":"provider_credit","unit_rate_usd":0.0001},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-review":{"request":"runtime_binding","response":"generic","status":"unreviewed"},"x-aisa-revision":{"customer_pricing_ref":"660b80f46152","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"5dac25e3498b"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"huggingface-co.hub.models","path":"/apis/v1/huggingface-co/hub/models"},"x-aisa-status":"enabled","x-aisa-validation":"mixed","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/huggingface-co/hub/models \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{}'"}]}}},"security":[{"bearerAuth":[]}],"servers":[{"url":"https://api.aisa.one"}]}
