Take a zip, or download one from an https link, and tell what it holds
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/sourcesTake a zip, or download one from an https link, and tell what it holds (ADR 0025)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content types: application/zip, application/json
application/zip
string (binary)
application/json
object
urlstring requiredhttps only; private and reserved addresses are refused
Example
{
"url": "string"
}Responses
201 Kept for an hour
Content type: application/json
idstring requiredsha256string requiredsizeinteger (int64) requiredcreated_atstring (date-time) requireddetectionobject requiredkindstring requiredAllowed values:"static""php""wordpress""aspnet""asp""node""dotnet""python""java""go""unknown"rootstring requiredFolder inside the zip that holds the site
versionstring requiredentrystring requiredneeds_buildboolean requiredbuildstring requiredThe build the files need, when they need one
evidencearray<string> required
Example
{
"id": "string",
"sha256": "string",
"size": 0,
"created_at": "2026-01-01T00:00:00Z",
"detection": {
"kind": "static",
"root": "string",
"version": "string",
"entry": "string",
"needs_build": true,
"build": "string",
"evidence": [
"string"
]
}
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required