Agent Docs

Resolve a repository or source URL to candidate equivalent source URLs.

Supply url or repo. Equivalent URLs are templates with verified:false. Name matches do not prove equal bytes or cross-source identity.

Inputs. Path, query and header fields are listed below. No request body is required.

Outputs. See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

Errors. API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

Rate limits. Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

get/api/sources/resolve

Request

  • Base URL: https://huggingbay.xyz
  • URL: https://huggingbay.xyz/api/sources/resolve
  • Auth: none required

Query parameters

repostring

Repository owner/name or a supported Chinese model alias.

urlstring

Supported upstream source URL.

regionstring

Regional source preference.

Response

Resolve a repository or source URL to candidate equivalent source URLs.

schemaVersion'hugging-bay.source-resolve.v1' required
equivalentSourcesobject[] required
regionalPreferenceobject required
notesstring required

Changes

No recorded changes to this operation across all 1 revision of this API.