<@U04S8PLJWMT> I've created a connection which was...
# replication-ask-ai
v
@kapa.ai I've created a connection which was configured as a start datetime from 1st May and now I've updated the configuration and I want to update the connection state to keep it sync with connection configuration details how can I update the specific stream conversation start.. here is the response of get connection state and i want to pull connection latest { "stateType": "stream", "connectionId": "7ff7a14c-3064-4f10-bd4c-667079308ebf", "streamState": [ { "streamDescriptor": { "name": "Users" }, "streamState": { "__ab_no_cursor_state_message": true } }, { "streamDescriptor": { "name": "Queues" }, "streamState": { "__ab_no_cursor_state_message": true } }, { "streamDescriptor": { "name": "Conversation Detail query" }, "streamState": { "conversationStart": "2026-02-21T235952.372Z" } } ] }
k
You want to update the
conversationStart
cursor for the "Conversation Detail query" stream to reflect your new start datetime configuration. Option 1: Via the Airbyte UI 1. Go to Connections and click on your connection. 2. Click the Settings tab. 3. Click the Advanced dropdown. 4. Click anywhere in the Connection State to start editing. 5. Modify the
conversationStart
value for the
"Conversation Detail query"
stream to your desired date. 6. Click "Update state" to confirm. [Manage Connection State] > âš ī¸ Updates to connection state should be handled with extreme care. Updates may break your syncs, requiring a full historical sync to fix. Make changes only as directed by the Airbyte team. Option 2: Via the Internal API (Self-hosted) You can POST to
/api/v1/state/create_or_update
with the updated state. Based on your current state, here's what the payload would look like with the updated `conversationStart`:
Copy code
{
  "connectionId": "7ff7a14c-3064-4f10-bd4c-667079308ebf",
  "connectionState": {
    "stateType": "stream",
    "connectionId": "7ff7a14c-3064-4f10-bd4c-667079308ebf",
    "streamState": [
      {
        "streamDescriptor": {
          "name": "Users"
        },
        "streamState": {
          "__ab_no_cursor_state_message": true
        }
      },
      {
        "streamDescriptor": {
          "name": "Queues"
        },
        "streamState": {
          "__ab_no_cursor_state_message": true
        }
      },
      {
        "streamDescriptor": {
          "name": "Conversation Detail query"
        },
        "streamState": {
          "conversationStart": "2026-05-01T00:00:00.000Z"
        }
      }
    ]
  }
}
Replace
"2026-05-01T00:00:00.000Z"
with your desired new start datetime. Make sure to include
Content-Type: application/json
and
Accept: application/json
headers in your request. [Forum: API State Update] After the update, you can verify the change by calling
/api/v1/state/get
with your
connectionId
. 👍 0 button 👎 0 button â„šī¸ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.