Documentation Index Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
Use this file to discover all available pages before exploring further.
Server path: /sirv | Type: Application | PCID required: Yes
Tool Description sirv_upload_imageUpload an image to Sirv CDN sirv_get_image_infoGet information about an image on Sirv sirv_list_filesList files in Sirv account sirv_delete_fileDelete a file from Sirv sirv_get_statsGet HTTP usage statistics for Sirv account sirv_search_filesSearch files in Sirv using Elasticsearch-style query (filename, basename, dirname, meta, size, dates) sirv_fetch_fileFetch a file from a URL and store it in Sirv sirv_get_accountGet Sirv account info (CDN URL, aliases, etc.) sirv_get_account_storageGet Sirv account storage usage sirv_download_fileGet the public URL to download a file from Sirv CDN. Sirv files are served at public URLs - no auth required. Returns downloadUrl for direct access. Use for images, PDFs, or any file stored in Sirv. sirv_get_storage_statsGet Sirv storage statistics
sirv_upload_image
Upload an image to Sirv CDN
Parameters:
Parameter Type Required Default Description filenamestring Yes — Filename for the uploaded image imageUrlstring No — URL of image to upload imageContentstring No — Base64 encoded image content folderstring No — Folder path to upload to overwriteboolean No falseOverwrite existing file
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
},
"filename" : {
"type" : "string" ,
"description" : "Filename for the uploaded image"
},
"imageUrl" : {
"type" : "string" ,
"description" : "URL of image to upload"
},
"imageContent" : {
"type" : "string" ,
"description" : "Base64 encoded image content"
},
"folder" : {
"type" : "string" ,
"description" : "Folder path to upload to"
},
"overwrite" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Overwrite existing file"
}
},
"required" : [
"PCID" ,
"filename"
]
}
sirv_get_image_info
Get information about an image on Sirv
Parameters:
Parameter Type Required Default Description filenamestring Yes — Image filename to get info for
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
},
"filename" : {
"type" : "string" ,
"description" : "Image filename to get info for"
}
},
"required" : [
"PCID" ,
"filename"
]
}
sirv_list_files
List files in Sirv account
Parameters:
Parameter Type Required Default Description dirnamestring No "/"Directory to list (e.g. /Images, /). Root ”/” is supported and lists top-level items.
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
},
"dirname" : {
"type" : "string" ,
"default" : "/" ,
"description" : "Directory to list (e.g. /Images, /). Root \" / \" is supported and lists top-level items."
}
},
"required" : [
"PCID"
]
}
sirv_delete_file
Delete a file from Sirv
Parameters:
Parameter Type Required Default Description filenamestring Yes — Filename to delete
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
},
"filename" : {
"type" : "string" ,
"description" : "Filename to delete"
}
},
"required" : [
"PCID" ,
"filename"
]
}
sirv_get_stats
Get HTTP usage statistics for Sirv account
Parameters:
Parameter Type Required Default Description startDatestring No — Start date for stats (YYYY-MM-DD) endDatestring No — End date for stats (YYYY-MM-DD)
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
},
"startDate" : {
"type" : "string" ,
"description" : "Start date for stats (YYYY-MM-DD)"
},
"endDate" : {
"type" : "string" ,
"description" : "End date for stats (YYYY-MM-DD)"
}
},
"required" : [
"PCID"
]
}
sirv_search_files
Search files in Sirv using Elasticsearch-style query (filename, basename, dirname, meta, size, dates)
Parameters:
Parameter Type Required Default Description querystring Yes — Search query (Elasticsearch syntax) sizenumber No 100Max results to return fromnumber No 0Offset for pagination sortobject No — Sort options, e.g. { “filename”: “asc” }
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
},
"query" : {
"type" : "string" ,
"description" : "Search query (Elasticsearch syntax)"
},
"size" : {
"type" : "number" ,
"default" : 100 ,
"description" : "Max results to return"
},
"from" : {
"type" : "number" ,
"default" : 0 ,
"description" : "Offset for pagination"
},
"sort" : {
"type" : "object" ,
"additionalProperties" : true ,
"description" : "Sort options, e.g. { \" filename \" : \" asc \" }"
}
},
"required" : [
"PCID" ,
"query"
]
}
sirv_fetch_file
Fetch a file from a URL and store it in Sirv
Parameters:
Parameter Type Required Default Description urlstring Yes — URL to fetch from filenamestring Yes — Destination path in Sirv (e.g. /Images/file.jpg) authobject No — Basic auth if URL requires it
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
},
"url" : {
"type" : "string" ,
"description" : "URL to fetch from"
},
"filename" : {
"type" : "string" ,
"description" : "Destination path in Sirv (e.g. /Images/file.jpg)"
},
"auth" : {
"type" : "object" ,
"properties" : {
"username" : {
"type" : "string"
},
"password" : {
"type" : "string"
}
},
"description" : "Basic auth if URL requires it"
}
},
"required" : [
"PCID" ,
"url" ,
"filename"
]
}
sirv_get_account
Get Sirv account info (CDN URL, aliases, etc.)
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
}
},
"required" : [
"PCID"
]
}
sirv_get_account_storage
Get Sirv account storage usage
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
}
},
"required" : [
"PCID"
]
}
sirv_download_file
Get the public URL to download a file from Sirv CDN. Sirv files are served at public URLs - no auth required. Returns downloadUrl for direct access. Use for images, PDFs, or any file stored in Sirv.
Parameters:
Parameter Type Required Default Description filenamestring Yes — Sirv file path (e.g. /Images/file.jpg)
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
},
"filename" : {
"type" : "string" ,
"description" : "Sirv file path (e.g. /Images/file.jpg)"
}
},
"required" : [
"PCID" ,
"filename"
]
}
sirv_get_storage_stats
Get Sirv storage statistics
{
"type" : "object" ,
"properties" : {
"PCID" : {
"type" : "string" ,
"description" : "Pink Connect ID"
}
},
"required" : [
"PCID"
]
}