Documentation Index
Fetch the complete documentation index at: https://docs.encord.com/llms.txt
Use this file to discover all available pages before exploring further.
Announcing our Series C with $110M in total funding. Read more →.
Documentation Index
Fetch the complete documentation index at: https://docs.encord.com/llms.txt
Use this file to discover all available pages before exploring further.
https://api.us.encord.com) or their own private VPC (Virtual Private Cloud).ENCORD_DOMAIN Environment variableexport ENCORD_DOMAIN=https://api.us.encord.com
import os
os.environ["ENCORD_DOMAIN"] = "https://api.us.encord.com"
ENCORD_SSH_KEY or ENCORD_SSH_KEY_FILE Environment variablesexport ENCORD_SSH_KEY="<your key>"
import os
os.environ["ENCORD_SSH_KEY"] = "<your key>"
@app.post("/my-agent")
def my_agent(user_client: Annotated[EncordUserClient, Depends(dep_user_client)]):
# use agent to get project, dataset, etc
from encord_agents.core.utils import get_user_client
encord_user_client = get_user_client()
Was this page helpful?