---
search:
  tags:
    - agents
    - POST
seo:
  description: >-
    Sets the agent provider. Use native for normal Leadtime custom… Reference
    for the POST /agents/{id}/connection-provider endpoint in the Leadtime
    Public API.
sidebar:
  label: Set agent connection provider
  badge: POST
title: Set agent connection provider
type: openapi-operation
---
Sets the agent provider. Use native for normal Leadtime custom agents running on the internal native agent engine. Use cursorCloud for Cursor Cloud, devin for Devin, or selfHosted for external/provider mode.

`POST /agents/{id}/connection-provider`
