Cisco has made the Cisco IQ APIs generally available, and has said that the beta APIs stop working on 30 November 2026. We have released Cisco.Iq.Api 1.0, a free, MIT-licensed .NET client for the new GA APIs.
What it is
A .NET client for the Cisco IQ REST APIs: asset inventory, contracts and coverage, hardware and software end-of-life bulletins, security advisories (PSIRT), field notices, assessment findings, and IAM.
- Every operation in Cisco’s five GA OpenAPI files is covered: Asset, Assessment, Product, IAM and System, 213 operations in all, including writes. The client is generated from Cisco’s own specification files, so it can be regenerated when Cisco changes them.
- API key authentication. The key is used directly as the bearer token, with the region set once on the client.
- Paging done for you. Every collection has a call that returns one page and a companion that returns
IAsyncEnumerable<T>and follows Cisco’s cursor to the end. - Merge Patch writes. A
PATCHcan leave a field out, set it, or clear it withnull. - Typed errors. Cisco’s RFC 9457 problem documents are parsed, with error codes you can branch on.
- Sensible defaults. Rate-limited requests are retried after
Retry-After, redirects are not followed so the key cannot leak, and the key never appears in logs or exceptions.
using var client = new CiscoIqV1Client(new CiscoIqV1ClientOptions
{
ApiKey = "<your-api-key>",
Region = CiscoIqV1Region.Emea
});
await foreach (var advisory in client.Products.ListProductSecurityAdvisoriesAllAsync(
new ListProductSecurityAdvisoriesRequest { Filter = "severity == \"CRITICAL\"" }))
{
Console.WriteLine($"{advisory.AdvisoryId} {advisory.Title}");
}
How far we have tested it
We would rather be plain about this than oversell it.
- Every operation is checked against the specification: method, path, body and headers.
- Read operations have been checked live against a real EMEA account: 22 list operations, cursor paging, and the first item of each collection together with its related sub-collections, with no failures.
- Writes, deletes and API key creation and revocation are generated from the specification but have not been exercised against a live account. Please try them against your own account with care before relying on them.
- Collections that were empty on our test account could not have their related items checked.
A defect in Cisco’s specification
Live testing found that one endpoint does not match Cisco’s own OpenAPI file: GET /api/assessment/v1/assessments/{id}/supportTiers is typed as a list of reference strings, but returns the full entitlement tier objects. The client follows the live service for that property, and the deviation is recorded with its evidence in the repository. Two of the regional hosts named in Cisco’s OpenAPI files also do not exist in DNS; the hosts in Cisco’s documentation do.
If you use the beta client
The existing beta client, CiscoIqClient, is still in the package, marked obsolete, and will be removed after 30 November 2026. The GA API is a new contract, not a version bump: the credential, the region handling, the paging and the filter syntax all differ. The README has a comparison table and a guide to how beta operations map to GA. The mapping is inferred from the specification files, and Cisco’s own mapping guide is the authoritative source. Six per-asset beta operations (advisories and field notices for an asset, and the affected-asset lists) have no documented GA equivalent, so we have not wrapped them.
Get it
dotnet add package Cisco.Iq.Api
- NuGet: NuGet Gallery | Cisco.Iq.Api 1.0.4
- Source, issues and the migration notes: GitHub - panoramicdata/Cisco.Iq.Api: A .NET client for the Cisco IQ Assets and Assessments REST APIs - inventory, contracts, lifecycle milestones, PSIRT advisories and field notices. · GitHub
- Cisco’s API documentation: IQ
Questions, bug reports and pull requests are welcome, either here or on GitHub.