# doctl genai agent apikeys – DigitalOcean Documentation > The subcommands of `doctl genai agent apikeys` manage your API Keys linked with agents. - [doctl genai agent apikeys create](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/apikeys/create/index.html.md): Creates an API key for your GenAI agent on your account. The command requires values for the `--name``--agent-id` The API key is created in the specified agent. - [doctl genai agent apikeys delete](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/apikeys/delete/index.html.md): Deletes an api-key for an agent by ID. - [doctl genai agent apikeys list](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/apikeys/list/index.html.md): Retrieves a list of all the api keys for your agent, including the following details: - The ApiKey ID - The ApiKey name - The ID of the user who created the Apikey - The ApiKey's Secret Key - The ApiKey deletion date, in ISO8601 combined date and time … - [doctl genai agent apikeys regenerate](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/apikeys/regenerate/index.html.md): Regenerates an api-key for an agent by ID. - [doctl genai agent apikeys update](https://docs.digitalocean.com/reference/doctl/reference/genai/agent/apikeys/update/index.html.md): Use this command to update the name of an API key.