{"service":"CircleCI REST API","base_url":"https://circleci.com/api/v1","auth":{"type":"apikey","header":"circle-token"},"intents":[{"id":"get_current_user","method":"GET","path":"/me","returns":"Signed in user information"},{"id":"list_projects","method":"GET","path":"/projects","returns":"All followed projects with build information"},{"id":"list_recent_builds","method":"GET","path":"/recent-builds","params":{"limit":"number","offset":"number"},"returns":"Last 30 recent builds ordered by build number"},{"id":"get_project_builds","method":"GET","path":"/project/{username}/{project}","params":{"username":"string","project":"string","limit":"number","offset":"number","filter":"string"},"returns":"Build summary for last 30 builds"},{"id":"trigger_build","method":"POST","path":"/project/{username}/{project}","params":{"username":"string","project":"string"},"returns":"Summary of triggered build"},{"id":"trigger_branch_build","method":"POST","path":"/project/{username}/{project}/tree/{branch}","params":{"username":"string","project":"string","branch":"string"},"returns":"Summary of triggered build"},{"id":"get_build_details","method":"GET","path":"/project/{username}/{project}/{build_num}","params":{"username":"string","project":"string","build_num":"number"},"returns":"Full details for single build"},{"id":"get_build_artifacts","method":"GET","path":"/project/{username}/{project}/{build_num}/artifacts","params":{"username":"string","project":"string","build_num":"number"},"returns":"Artifacts produced by build"},{"id":"get_build_tests","method":"GET","path":"/project/{username}/{project}/{build_num}/tests","params":{"username":"string","project":"string","build_num":"number"},"returns":"Test metadata for build"},{"id":"cancel_build","method":"POST","path":"/project/{username}/{project}/{build_num}/cancel","params":{"username":"string","project":"string","build_num":"number"},"returns":"Summary of cancelled build"},{"id":"retry_build","method":"POST","path":"/project/{username}/{project}/{build_num}/retry","params":{"username":"string","project":"string","build_num":"number"},"returns":"Summary of retried build"},{"id":"clear_build_cache","method":"DELETE","path":"/project/{username}/{project}/build-cache","params":{"username":"string","project":"string"},"returns":"Status message"},{"id":"list_checkout_keys","method":"GET","path":"/project/{username}/{project}/checkout-key","params":{"username":"string","project":"string"},"returns":"Checkout keys"},{"id":"create_checkout_key","method":"POST","path":"/project/{username}/{project}/checkout-key","params":{"username":"string","project":"string"},"returns":"Created checkout key"},{"id":"get_checkout_key","method":"GET","path":"/project/{username}/{project}/checkout-key/{fingerprint}","params":{"username":"string","project":"string","fingerprint":"string"},"returns":"Checkout key details"},{"id":"delete_checkout_key","method":"DELETE","path":"/project/{username}/{project}/checkout-key/{fingerprint}","params":{"username":"string","project":"string","fingerprint":"string"},"returns":"Status message"},{"id":"list_env_vars","method":"GET","path":"/project/{username}/{project}/envvar","params":{"username":"string","project":"string"},"returns":"Environment variables"},{"id":"create_env_var","method":"POST","path":"/project/{username}/{project}/envvar","params":{"username":"string","project":"string"},"returns":"Created environment variable"},{"id":"get_env_var","method":"GET","path":"/project/{username}/{project}/envvar/{name}","params":{"username":"string","project":"string","name":"string"},"returns":"Environment variable value"},{"id":"delete_env_var","method":"DELETE","path":"/project/{username}/{project}/envvar/{name}","params":{"username":"string","project":"string","name":"string"},"returns":"Status message"}]}