Cisco Crosswork · Schema
collection_serviceGetCollectionJobLifeCycleStateResponse
Network AutomationService ProvidersOrchestrationNetworkingAssuranceTelecommunicationsRESTCONFYANGZero Touch ProvisioningWorkflow AutomationTraffic EngineeringMCPTelemetryOn-Premises
Properties
| Name | Type | Description |
|---|---|---|
| collection_life_cycle_states | array | Requested states associated to a collection job unique identifier. |
| query_options | object | Pagination and other query options. |
| result | object | Result reply to determine any possible issue with the request or honoring it. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-collection-service-get-collection-job-life-cycle-state-response-schema.json",
"title": "collection_serviceGetCollectionJobLifeCycleStateResponse",
"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_serviceGetCollectionJobLifeCycleStateResponse",
"type": "object",
"properties": {
"collection_life_cycle_states": {
"type": "array",
"items": {
"$ref": "#/$defs/collection_serviceCollectionLifeCycleState"
},
"description": "Requested states associated to a collection job unique identifier."
},
"query_options": {
"$ref": "#/$defs/collection_serviceQueryOptions",
"description": "Pagination and other query options."
},
"result": {
"$ref": "#/$defs/collection_serviceResult",
"description": "Result reply to determine any possible issue with the request or honoring\nit."
}
},
"$defs": {
"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_serviceCollectionLifeCycleState": {
"type": "object",
"properties": {
"life_cycle_state": {
"$ref": "#/$defs/collection_serviceLifeCycleState",
"description": "The actual collection job lifetime cycle state."
},
"application_context": {
"$ref": "#/$defs/collection_serviceApplicationContext",
"description": "The associated unique identifier for a given collection job."
},
"creation_time": {
"type": "string",
"format": "uint64",
"description": "The creation time (used as last modified time)."
}
},
"description": "CollectionState aggregate an application context to a State."
},
"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_serviceLifeCycleState": {
"type": "string",
"enum": [
"UNKNOWN_LIFE_CYCLE_STATE",
"SCHEDULED_LIFE_CYCLE_STATE",
"CREATING_LIFE_CYCLE_STATE",
"SUCCESS_LIFE_CYCLE_STATE",
"DEGRADED_LIFE_CYCLE_STATE",
"DELETING_LIFE_CYCLE_STATE",
"DELETE_FAILED_LIFE_CYCLE_STATE"
],
"default": "UNKNOWN_LIFE_CYCLE_STATE",
"title": "LifeCycleState of collection job based on current device counts.\nSee: https://confluence-eng-rtp1.cisco.com/conf/display/UXSP/CreateDeleteCollectionJobs"
},
"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."
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cisco-crosswork-collection-service-get-collection-job-life-cycle-state-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.