Authentication
Code Ocean uses Access Tokens to authenticate requests. You can view and manage your access tokens from within your Dashboard under Access Tokens.
Last updated
Was this helpful?
Was this helpful?
curl https://{domain}/api/v1/capsules/4bc97533-6eb4-48ac-966f-648548a756d2 \
-u "cop_xxxxxxxxxx:"Authorization: Basic {encoded-token}$ pip install codeoceanfrom codeocean import CodeOcean
client = CodeOcean(domain="https://{domain}", token="cop_xxxxxxxxxx")