Skip to content
KismetKismetDevelopers
Beta accessllms.txt

get Collection Media Import

View .md

GET /v1/developer/collections/{collection}/media/imports/{id}

Operation ID: getCollectionMediaImport

Collection-owned image library import. Plan first, then confirm the exact digest. Persistent jobs and authority fail closed; HTTPS DNS/redirect checks, MIME/bytes/pixel/10 MiB bounds apply before the canonical uploader. Four new jobs per collection per refill hour, up to 50 images per job. Source query strings remain private. This does not publish Articles or activate serving routes. Jobs/results expire after 24 hours; explicit resume skips already settled sources. CMS library writes are distinct from TEST/LIVE booking authority.

Field Value
Maturity preview
Required capability media.read
Freshness class authenticated-state
Quota cost 1

All operations require a Kismet Developer Bearer credential. Collection and resource authority is resolved from the credential’s installation grants; identifiers in the URL never grant access.

Name In Type Required Description
collection path string yes
id path string yes

This operation has no JSON request body.

Set KISMET_API_ORIGIN=https://api.ksmt.app and configure KISMET_DEVELOPER_API_KEY in your environment. Run server-credential requests from your backend, not browser code.

Terminal window
curl --request GET \
"$KISMET_API_ORIGIN/v1/developer/collections/example-collection/media/imports/11111111-1111-4111-8111-111111111111" \
--header "Authorization: Bearer $KISMET_DEVELOPER_API_KEY" \
--header "Accept: application/json"
Status Meaning
200 Success.
400 Invalid request parameters or body.
401 Missing, invalid, expired, or inappropriate credential/session.
403 Credential lacks the required grant/capability, or an origin/CSRF check failed.
404 The authorized resource was not found.
409 Request conflicts with the installation environment or current state.
429 Rate limit or quota exceeded; inspect response metadata before retrying.
503 A required Kismet dependency is temporarily unavailable.

Content type: application/json. Required fields, nullable values, and nested structures are defined below.

View complete response schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"collectionId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"pending",
"running",
"completed",
"failed"
]
},
"publication": {
"type": "string",
"enum": [
"library_only"
]
},
"totalCount": {
"type": "integer",
"minimum": 0
},
"processedCount": {
"type": "integer",
"minimum": 0
},
"importedCount": {
"type": "integer",
"minimum": 0
},
"existingCount": {
"type": "integer",
"minimum": 0
},
"failedCount": {
"type": "integer",
"minimum": 0
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"src": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"imported",
"existing",
"failed"
]
},
"image": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"id",
"url"
],
"additionalProperties": false
},
"code": {
"type": "string"
}
},
"required": [
"src",
"status"
],
"additionalProperties": false
}
},
"errorCode": {
"type": [
"null",
"string"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"collectionId",
"status",
"publication",
"totalCount",
"processedCount",
"importedCount",
"existingCount",
"failedCount",
"results",
"errorCode",
"createdAt",
"updatedAt",
"expiresAt"
],
"additionalProperties": false
}