Cisco Crosswork · Schema

collection_serviceGetCollectionControlStatusResponse

CollectionControlStatusDeviceResponse indicates the list of devices for which the job is successfully processed.

Network AutomationService ProvidersOrchestrationNetworkingAssuranceTelecommunicationsRESTCONFYANGZero Touch ProvisioningWorkflow AutomationTraffic EngineeringMCPTelemetryOn-Premises

Properties

Name Type Description
collection_control_status_list array Status of job over a list of devices.
query_options object
result object
View JSON Schema on GitHub

JSON Schema

cisco-crosswork-collection-service-get-collection-control-status-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-collection-service-get-collection-control-status-response-schema.json",
  "title": "collection_serviceGetCollectionControlStatusResponse",
  "description": "CollectionControlStatusDeviceResponse indicates the list of devices for which the job is successfully processed.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-collectionservice-api-openapi.yml#/components/schemas/collection_serviceGetCollectionControlStatusResponse",
  "type": "object",
  "properties": {
    "collection_control_status_list": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/collection_serviceCollectionControlStatus"
      },
      "description": "Status of job over a list of devices."
    },
    "query_options": {
      "$ref": "#/$defs/collection_serviceQueryOptions",
      "title": "Pagination and other query options"
    },
    "result": {
      "$ref": "#/$defs/collection_serviceResult",
      "title": "Request reply , indicating whether request has accepted or rejected"
    }
  },
  "$defs": {
    "SyslogSensorPRIs": {
      "type": "object",
      "properties": {
        "facilities": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "title": "Syslog Facility , valid numbers 0 to 23"
        },
        "severities": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "title": "Syslog Severity , valid numbers 0 to 7"
        }
      },
      "title": "PRI is combination of Facility code(0-23) and Severity(0-7).\nEmpty list will result in all syslog messages getting collected.\nIf multiple items are present in the same list type, as long as any one matches, messages would be collected.\nThree digit code that's a combination of Facility and Severity"
    },
    "collection_serviceApplicationContext": {
      "type": "object",
      "properties": {
        "application_id": {
          "type": "string",
          "description": "Unique ID to identify your application. Crosswork Applications need to prefix application id with cw prefix."
        },
        "context_id": {
          "type": "string",
          "description": "Unique ID to identify your application subscription across all collection jobs. Recommended to use UUID."
        }
      },
      "title": "ApplicationContext Unique handle to identify your application's subscription . Combination of Application id and context_id\nshould be globally unique"
    },
    "collection_serviceCollectionControlStatus": {
      "type": "object",
      "properties": {
        "application_context": {
          "$ref": "#/$defs/collection_serviceApplicationContext",
          "description": "Unique handle to identify your application's collection job , serves as Key to Object on which CRUD ops are done."
        },
        "device_data": {
          "$ref": "#/$defs/collection_serviceDeviceData",
          "title": "Device Set on which operation was carried out. ** NOT A SET, might want to put id **\nDevice data"
        },
        "status": {
          "$ref": "#/$defs/collection_serviceStatus",
          "title": "Current Status of the overall job i.e, READY,NOT_READY,FAILED"
        },
        "phase": {
          "$ref": "#/$defs/collection_servicePhase",
          "title": "Current Phase of overall job, ACTIVE or TERMINATING"
        },
        "sensor_config_committed": {
          "$ref": "#/$defs/collection_serviceSensorConfigCommitted",
          "title": "Sensor config committed based on optimization"
        },
        "commit_state": {
          "$ref": "#/$defs/collection_serviceConfigurationCommitState",
          "title": "Indicates whether target state vs requested was converged on the device successfully across all jobs"
        },
        "device_error": {
          "$ref": "#/$defs/collection_serviceError",
          "title": "Any processing error encountered during commit"
        }
      },
      "title": "CollectionControlStatus  indicating success or failure on a per device basis for a given job\nContextId : robot.collector.helios.collection.device.control.status"
    },
    "collection_serviceConfigurationCommitState": {
      "type": "string",
      "enum": [
        "UNKNOWN_CONFIG_COMMIT_STATE",
        "COMMITTED",
        "NOT_COMMITTED"
      ],
      "default": "UNKNOWN_CONFIG_COMMIT_STATE",
      "description": "- COMMITTED: Control config for device was successfully converged based on target state\n - NOT_COMMITTED: Control config for device was not successfully converged based on target state",
      "title": "Collection Configuration state"
    },
    "collection_serviceDestination": {
      "type": "object",
      "properties": {
        "destination_id": {
          "type": "string",
          "title": "Unique identifier for Destination Provider in Inventory"
        },
        "context_id": {
          "type": "string",
          "description": "Destination context identifier.\nIt could be topic name if destination is message bus.\nThe combination of destination_id and context_id needs to be unique for Destination. What context id\nmeans depends on the Destination type of Destination provider.\nIf GRPC is destination type, context_id is not used and will be ignored."
        },
        "destination_name": {
          "type": "string",
          "title": "Not used during Write, Optionally filled during Get API's.\nMaps to destination provider name in DLM"
        }
      },
      "description": "Destination identifier to uniquely identify a destination\nOutput encoding format for destination is derived from Inventory destination_id."
    },
    "collection_serviceDeviceData": {
      "type": "object",
      "properties": {
        "device_id": {
          "type": "string",
          "title": "UUID of device in CW inventory"
        },
        "host_name": {
          "type": "string",
          "title": "Host name  of device in CW inventory.Optional to populate"
        }
      },
      "title": "Device Data"
    },
    "collection_serviceError": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string",
          "title": "Message is a textual description of reason for rejection, and can be safely passed on to operator through logs\nor UI"
        }
      },
      "title": "Error  associated with an Object"
    },
    "collection_serviceFilter": {
      "type": "object",
      "properties": {
        "operator": {
          "$ref": "#/$defs/collection_serviceFilterOperator",
          "title": "the filter logical or conditional operator ex. AND, OR, >, <"
        },
        "field_list": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/collection_serviceFilterField"
          },
          "title": "the filter criteria list"
        }
      },
      "title": "Filter"
    },
    "collection_serviceFilterField": {
      "type": "object",
      "properties": {
        "field": {
          "type": "string",
          "title": "field to filter on.  Only CollectionState String is supported"
        },
        "value": {
          "type": "string",
          "description": "field value to filter on.  Note for non string backend will convert to honor actual db type."
        }
      }
    },
    "collection_serviceFilterOperator": {
      "type": "string",
      "enum": [
        "UNKNOWN_OPERATOR",
        "OPERATOR_OR",
        "OPERATOR_AND",
        "OPERATOR_EQ",
        "OPERATOR_REGEX",
        "OPERATOR_CONTAINS"
      ],
      "default": "UNKNOWN_OPERATOR",
      "description": " - UNKNOWN_OPERATOR: unknown operator\n - OPERATOR_OR: OR operator filter applied across filter list\n - OPERATOR_AND: AND operator filter applied across filter list\n - OPERATOR_EQ: EQUAL operator filter applied across filter list. not supported yet.\n - OPERATOR_REGEX: REGEX operator filter applied across filter list. not supported yet.\n - OPERATOR_CONTAINS: CONTAINS operator filter applied across filter list. supported only for hostname."
    },
    "collection_servicePhase": {
      "type": "string",
      "enum": [
        "UNKNOWN_PHASE",
        "ACTIVE",
        "TERMINATING",
        "TERMINATION_FAILED",
        "DELETED"
      ],
      "default": "UNKNOWN_PHASE",
      "description": "- ACTIVE: Request is active , Collection  Job associated with app Context may be in any one of the above states\n - TERMINATING: Request is marked for deletion , Collection Job associated with app Context is queued for deletion\n - TERMINATION_FAILED: Request is marked for deletion , Collection Job was failed to be deleted, even in one of the devices.\n - DELETED: Request is successfully deleted from the Collection Service on all devices. This phase will only appear in bus\nnotifications, will not appear in GetJobStatus, as the job will be deleted from DB.",
      "title": "Phase indicates whether Request asscociated with AppContext is Alive or marked for deletion within collection service"
    },
    "collection_serviceQueryOptions": {
      "type": "object",
      "properties": {
        "page_token": {
          "type": "string",
          "title": "Page token to echo back to get next page, if collection_job_device_sets is empty or page token is empty ,\nthen there is no more results"
        },
        "page_size": {
          "type": "integer",
          "format": "int64",
          "title": "page_size"
        },
        "filter_list": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/collection_serviceFilter"
          },
          "title": "filtering options"
        },
        "filter_query": {
          "type": "string",
          "title": "Reserved for future use. Not used as of CW 3.1"
        }
      },
      "title": "Query Options"
    },
    "collection_serviceRequestResult": {
      "type": "string",
      "enum": [
        "UNKNOWN_RESULT",
        "REJECTED",
        "ACCEPTED"
      ],
      "default": "UNKNOWN_RESULT",
      "description": "- REJECTED: Request has been rejected\n - ACCEPTED: Request has been accepted for processing",
      "title": "Request - reply\nresponse"
    },
    "collection_serviceResult": {
      "type": "object",
      "properties": {
        "request_result": {
          "$ref": "#/$defs/collection_serviceRequestResult",
          "description": "ResultValue indicated accept/reject for a request, not the outcome of the work itself."
        },
        "error": {
          "$ref": "#/$defs/collection_serviceError",
          "description": "Message is a textual description of reason for rejection, and can be safely passed on to operator through logs\nor UI."
        }
      },
      "description": "Result is used to convey whether an operation (individual or in a batch)\nhas been accepted or rejected. For sync API's an error or rejection indicates failure of operation.\nA string error message accompanies rejection to support troubleshooting. For notification objects,\nrejection represents failure to do intended operation."
    },
    "collection_serviceSensorConfigCommitted": {
      "type": "object",
      "properties": {
        "sensor_input_config_committed_list": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/collection_serviceSensorInputConfigCommitted"
          }
        },
        "sensor_output_config_committed_list": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/collection_serviceSensorOutputConfigCommitted"
          }
        }
      },
      "description": "SensorConfig describing cadence from input and output side along with destination."
    },
    "collection_serviceSensorInputConfigCommitted": {
      "type": "object",
      "properties": {
        "sensor_data": {
          "$ref": "#/$defs/common_collection_dataSensorData",
          "title": "Sensor Path"
        },
        "cadence_in_millisec": {
          "type": "string",
          "format": "uint64",
          "description": "This is the cadence at which path is collected from device to collector post optimization across all apps."
        }
      }
    },
    "collection_serviceSensorOutputConfigCommitted": {
      "type": "object",
      "properties": {
        "sensor_data": {
          "$ref": "#/$defs/common_collection_dataSensorData",
          "title": "Sensor Path"
        },
        "cadence_in_millisec": {
          "type": "string",
          "format": "uint64",
          "description": "This is a cadence at which the data is sent out to a given destination\npost optimization across all apps. Take special note that for types:\n   - GNMI\nThe cadence will be adjusted to be the same as the lowest input\ncadence due to device collection limitations."
        },
        "destination": {
          "$ref": "#/$defs/collection_serviceDestination",
          "title": "Destination"
        }
      }
    },
    "collection_serviceStatus": {
      "type": "string",
      "enum": [
        "UNKNOWN_STATUS",
        "NOTREADY",
        "READY",
        "FAILED"
      ],
      "default": "UNKNOWN_STATUS",
      "description": "- NOTREADY: NOTREADY indicates that initial setup of the object is in progress,\nor being retried.\n - READY: READY indicates that initial setup of the object is complete and\ncollection organised. Status moves to READY only on success across all devices.\n - FAILED: An unrecoverable failure has occurred, associated with the object. Status moves to FAILED , even if one of the\ndevices within request encountered failure.",
      "title": "State of async Object App Context within the collection service with respect operational state on one or more devices"
    },
    "common_collection_dataCliSensor": {
      "type": "object",
      "properties": {
        "command": {
          "type": "string",
          "title": "Example show clock"
        },
        "device_package": {
          "$ref": "#/$defs/common_collection_dataDevicePackage",
          "title": "Total size  is limited to 512 characters"
        }
      }
    },
    "common_collection_dataCliYangSensor": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "title": "Example cli_xr_show_logging:syslog"
        }
      }
    },
    "common_collection_dataDevicePackage": {
      "type": "object",
      "properties": {
        "device_package_name": {
          "type": "string",
          "title": "XDE device package name"
        },
        "function_name": {
          "type": "string",
          "title": "XDE function name within package"
        },
        "parameters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/common_collection_dataKeyValue"
          },
          "title": "Parameters for custom device packages"
        }
      },
      "title": "XDE Device package"
    },
    "common_collection_dataGNMIDeviceSetting": {
      "type": "object",
      "properties": {
        "suppress_redundant": {
          "type": "boolean",
          "format": "boolean"
        },
        "heartbeat_interval": {
          "type": "string",
          "format": "uint64",
          "description": "Specifies the maximum allowable silent period in nanoseconds when\nsuppress_redundant is in use. The target should send a value at least once\nin the period specified."
        },
        "qos": {
          "$ref": "#/$defs/gnmiQOSMarking"
        },
        "allow_aggregation": {
          "type": "boolean",
          "format": "boolean"
        },
        "use_models": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/gnmiModelData"
          },
          "description": "The set of schemas that define the elements of the data tree that should\nbe sent by the target."
        },
        "updates_only": {
          "type": "boolean",
          "format": "boolean",
          "description": "An optional field to specify that only updates to current state should be\nsent to a client. If set, the initial state is not sent to the client but\nrather only the sync message followed by any subsequent updates to the\ncurrent state. For ONCE and POLL modes, this causes the server to send only\nthe sync message (Sec. 3.5.2.3)."
        }
      },
      "title": "Device settings that may or may not be supported for GNMI"
    },
    "common_collection_dataGnmiSensor": {
      "type": "object",
      "properties": {
        "path": {
          "$ref": "#/$defs/gnmiPath",
          "title": "Gnmi path\nExample {\"origin\":\"syslog-oper\",\"elem\":[{\"name\":\"syslog\"},{\"name\":\"messages\"}]}"
        },
        "mode": {
          "$ref": "#/$defs/gnmiSubscriptionMode",
          "description": "Subscription mode to be used."
        },
        "device_setting": {
          "$ref": "#/$defs/common_collection_dataGNMIDeviceSetting",
          "title": "Optional GNMI Device setting"
        }
      },
      "title": "Reference: gNMI Specification Section 3.5.1.3"
    },
    "common_collection_dataKeyValue": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string"
        },
        "bytes_value": {
          "type": "string",
          "format": "byte"
        },
        "string_value": {
          "type": "string"
        },
        "bool_value": {
          "type": "boolean",
          "format": "boolean"
        },
        "uint32_value": {
          "type": "integer",
          "format": "int64"
        },
        "uint64_value": {
          "type": "string",
          "format": "uint64"
        },
        "sint32_value": {
          "type": "integer",
          "format": "int32"
        },
        "sint64_value": {
          "type": "string",
          "format": "int64"
        },
        "double_value": {
          "type": "number",
          "format": "double"
        },
        "float_value": {
          "type": "number",
          "format": "float"
        }
      },
      "title": "Generic Key value message"
    },
    "common_collection_dataMDTSensor": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "title": "Example Cisco-IOS-XR-infra-statsd-oper:infra-statistics/interfaces/interface/latest/generic-counters"
        }
      }
    },
    "common_collection_dataSensorData": {
      "type": "object",
      "properties": {
        "snmp_sensor": {
          "$ref": "#/$defs/common_collection_dataSnmpSensor"
        },
        "snmp_yang_sensor": {
          "$ref": "#/$defs/common_collection_dataSnmpYangSensor"
        },
        "cli_yang_sensor": {
          "$ref": "#/$defs/common_collection_dataCliYangSensor"
        },
        "cli_sensor": {
          "$ref": "#/$defs/common_collection_dataCliSensor"
        },
        "mdt_sensor": {
          "$ref": "#/$defs/common_collection_dataMDTSensor"
        },
        "trap_sensor": {
          "$ref": "#/$defs/common_collection_dataTrapSensor"
        },
        "trap_yang_sensor": {
          "$ref": "#/$defs/common_collection_dataTrapYangSensor"
        },
        "gnmi_sensor": {
          "$ref": "#/$defs/common_collection_dataGnmiSensor"
        },
        "syslog_sensor": {
          "$ref": "#/$defs/common_collection_dataSyslogSensor"
        }
      },
      "title": "Sensor Data"
    },
    "common_collection_dataSnmpMib": {
      "type": "object",
      "properties": {
        "oid": {
          "type": "string",
          "title": "OID of the path Example 1.3.5.6.1"
        },
        "snmp_operation": {
          "$ref": "#/$defs/common_collection_dataSnmpOperation",
          "title": "SNMP operation type"
        }
      }
    },
    "common_collection_dataSnmpOperation": {
      "type": "string",
      "enum": [
        "UNKNOWN_SNMP_OPERATION",
        "WALK",
        "SCALAR",
        "TABLE"
      ],
      "default": "UNKNOWN_SNMP_OPERATION",
      "title": "SNMP operation types"
    },
    "common_collection_dataSnmpSensor": {
      "type": "object",
      "properties": {
        "snmp_mib": {
          "$ref": "#/$defs/common_collection_dataSnmpMib",
          "title": "Snmp mib"
        },
        "device_package": {
          "$ref": "#/$defs/common_collection_dataDevicePackage",
          "title": "Total size  is limited to 512 characters"
        }
      }
    },
    "common_collection_dataSnmpYangSensor": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "title": "Example SNMPv2-MIB:SNMPv2-MIB/system"
        }
      }
    },
    "common_collection_dataSyslogSensor": {
      "type": "object",
      "properties": {
        "pris": {
          "$ref": "#/$defs/SyslogSensorPRIs",
          "title": "List of priority levels"
        },
        "application_names": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "Empty list will result in all syslog messages getting collected\nIf multiple items are present in the same list type, as long as any one matches, messages would be collected.\nOptional list of ApplicationName's to filter upon"
        },
        "process_names": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Empty list will result in all syslog messages getting collected\nOptional list of  process_names to filter upon\nIf multiple items are present in the same list type, as long as any one matches, messages would be collected."
        }
      },
      "title": "Refer https://www.paessler.com/it-explained/syslog,https://datatracker.ietf.org/doc/rfc5424/\nExample if PRI is (165,111) , application_name is  (su,syslogd) all messages with PRI (165 or 111) and application\nname su or syslogd would be collected"
    },
    "common_collection_dataTrapSensor": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "title": "Example snmp-trap-oper:traps/notifications"
        }
      }
    },
    "common_collection_dataTrapYangSensor": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "title": "Example ISIS-MIB:notifications,SNMPv2-MIB:notifications,IF-MIB:notifications"
        }
      }
    },
    "gnmiModelData": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "organization": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "title": "ModelData is used to describe a set of schema modules. It can be used in a\nCapabilityResponse where a target reports the set of modules that it\nsupports, and within the SubscribeRequest and GetRequest messages to specify\nthe set of models from which data tree elements should be reported.\nReference: gNMI Specification Section 3.2.3"
    },
    "gnmiPath": {
      "type": "object",
      "properties": {
        "element": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Elements of the path are no longer encoded as a string, but rather within\nthe elem field as a PathElem message."
        },
        "origin": {
          "type": "string"
        },
        "elem": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/gnmiPathElem"
          }
        },
        "target": {
          "type": "string"
        }
      },
      "description": "Path encodes a data tree path as a series of repeated strings, with\neach element of the path representing a data tree node name and the\nassociated attributes.\nReference: gNMI Specification Section 2.2.2."
    },
    "gnmiPathElem": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "key": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "description": "PathElem encodes an element of a gNMI path, along with any attributes (keys)\nthat may be associated with it.\nReference: gNMI Specification Section 2.2.2."
    },
    "gnmiQOSMarking": {
      "type": "object",
      "properties": {
        "marking": {
          "type": "integer",
          "format": "int64"
        }
      },
      "title": "QOSMarking specifies the DSCP value to be set on transmitted telemetry\nupdates from the target.\nReference: gNMI Specification Section 3.5.1.2"
    },
    "gnmiSubscriptionMode": {
      "type": "string",
      "enum": [
        "TARGET_DEFINED",
        "ON_CHANGE",
        "SAMPLE"
      ],
      "default": "TARGET_DEFINED",
      "title": "SubscriptionMode is the mode of the subscription, specifying how the\ntarget must return values in a subscription.\nReference: gNMI Specification Section 3.5.1.3"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cisco-crosswork-collection-service-get-collection-control-status-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.