You can use the Veracode SCA Agent REST API to programmatically extract high-level workspace information on specific Agent-Based Scanning workspaces or all workspaces to which you have access. You can also filter your workspaces on library, vulnerability, and license.
Ensure you access the APIs with the domain for your region.
Veracode SCA Agent API Specification
The Veracode SCA Agent API specification is available from SwaggerHub.