{
  "service": "cincopa",
  "displayName": "Cincopa",
  "categories": [
    "Design & Media",
    "Storage"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Token",
      "placeholder": "CINCOPA_API_TOKEN",
      "description": "Cincopa API token sent as the api_token query parameter."
    }
  ],
  "homepageUrl": "https://www.cincopa.com/",
  "actions": [
    {
      "id": "cincopa.list_asset_tags",
      "service": "cincopa",
      "name": "list_asset_tags",
      "description": "List the asset tag cloud available in a Cincopa account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "Input parameters for listing Cincopa asset tags."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "tagCloud": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "description": "The item count."
            },
            "description": "Mapping of Cincopa tag names to item counts."
          }
        },
        "additionalProperties": false,
        "required": [
          "tagCloud"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "cincopa.list_assets",
      "service": "cincopa",
      "name": "list_assets",
      "description": "List assets from a Cincopa account with optional metadata filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Free-text search term for asset metadata."
          },
          "types": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Cincopa asset type value."
            },
            "description": "Asset types to include, such as image, video, audio, or other.",
            "minItems": 1
          },
          "rid": {
            "type": "string",
            "minLength": 1,
            "description": "Exact Cincopa RID to search for."
          },
          "referenceId": {
            "type": "string",
            "minLength": 1,
            "description": "Exact Cincopa reference_id to search for."
          },
          "tag": {
            "type": "string",
            "minLength": 1,
            "description": "Asset tag filter value."
          },
          "details": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Cincopa metadata field name."
            },
            "description": "Metadata field names to request from Cincopa for each asset row.",
            "minItems": 1
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "Result page number to request from Cincopa."
          },
          "itemsPerPage": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of assets to request in one page."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing assets from a Cincopa account."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "One raw Cincopa row returned by the upstream API."
            },
            "description": "Asset rows returned by Cincopa."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "description": "The current result page returned by Cincopa."
              },
              "itemsPerPage": {
                "type": "integer",
                "description": "The number of rows requested per page."
              },
              "itemsCount": {
                "type": "integer",
                "description": "The total number of rows available for the current query."
              },
              "pageCount": {
                "type": "integer",
                "description": "The total number of pages available for the current query."
              }
            },
            "additionalProperties": false,
            "description": "Pagination metadata returned by Cincopa list endpoints."
          }
        },
        "additionalProperties": false,
        "required": [
          "items",
          "pagination"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "cincopa.list_galleries",
      "service": "cincopa",
      "name": "list_galleries",
      "description": "List galleries from a Cincopa account with optional search and tag filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "minLength": 1,
            "description": "Search term matched against gallery captions, descriptions, IDs, and tags."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "Result page number to request from Cincopa."
          },
          "itemsPerPage": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of galleries to request in one page."
          },
          "filterTags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One gallery tag filter value."
            },
            "description": "Gallery tags to include or exclude. Prefix a value with '-' to exclude it.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing galleries from a Cincopa account."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "workspace": {
            "type": "string",
            "description": "Workspace name returned by Cincopa for the request context."
          },
          "galleries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "One raw Cincopa row returned by the upstream API."
            },
            "description": "Gallery rows returned by Cincopa."
          },
          "tagCloud": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "description": "The item count."
            },
            "description": "Mapping of Cincopa tag names to item counts."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "description": "The current result page returned by Cincopa."
              },
              "itemsPerPage": {
                "type": "integer",
                "description": "The number of rows requested per page."
              },
              "itemsCount": {
                "type": "integer",
                "description": "The total number of rows available for the current query."
              },
              "pageCount": {
                "type": "integer",
                "description": "The total number of pages available for the current query."
              }
            },
            "additionalProperties": false,
            "description": "Pagination metadata returned by Cincopa list endpoints."
          }
        },
        "additionalProperties": false,
        "required": [
          "workspace",
          "galleries",
          "tagCloud",
          "pagination"
        ],
        "description": "Action output."
      }
    },
    {
      "id": "cincopa.list_gallery_items",
      "service": "cincopa",
      "name": "list_gallery_items",
      "description": "List items from one Cincopa gallery by FID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "fid": {
            "type": "string",
            "minLength": 1,
            "description": "The Cincopa gallery FID to inspect."
          },
          "details": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One Cincopa metadata field name."
            },
            "description": "Metadata field names to request from Cincopa for each gallery item.",
            "minItems": 1
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "Result page number to request from Cincopa."
          },
          "itemsPerPage": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of gallery items to request in one page."
          }
        },
        "additionalProperties": false,
        "required": [
          "fid"
        ],
        "description": "Input parameters for listing items inside one Cincopa gallery."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "fid": {
            "type": "string",
            "description": "The gallery FID returned by Cincopa."
          },
          "uploadUrl": {
            "type": "string",
            "description": "The upload URL returned for the gallery.",
            "format": "uri"
          },
          "claimed": {
            "type": "string",
            "description": "The gallery claim marker returned by Cincopa."
          },
          "spfid": {
            "type": "string",
            "description": "The secondary gallery identifier returned by Cincopa."
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "One raw Cincopa row returned by the upstream API."
            },
            "description": "Gallery item rows returned by Cincopa."
          },
          "pagination": {
            "type": "object",
            "properties": {
              "page": {
                "type": "integer",
                "description": "The current result page returned by Cincopa."
              },
              "itemsPerPage": {
                "type": "integer",
                "description": "The number of rows requested per page."
              },
              "itemsCount": {
                "type": "integer",
                "description": "The total number of rows available for the current query."
              },
              "pageCount": {
                "type": "integer",
                "description": "The total number of pages available for the current query."
              }
            },
            "additionalProperties": false,
            "description": "Pagination metadata returned by Cincopa list endpoints."
          }
        },
        "additionalProperties": false,
        "required": [
          "fid",
          "uploadUrl",
          "claimed",
          "spfid",
          "items",
          "pagination"
        ],
        "description": "Action output."
      }
    }
  ]
}
