cURL
curl --request GET \ --url https://api.example.com/codes/{version_id}/sources/{source_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "solc_version": "<string>", "path": "<string>", "is_imported": true, "is_known_target": true, "n_entry_points": 123, "content": "<string>" }
get a specific source (file) for a code version. Includes raw content
API key in Bearer token format
Successful Response