Allows creating a new agent-corpus connection.Staging behaviour:
Creates a new agent-corpus connection for staging version instead of the published agent.
Changes are propagated to the published agent via the Publish API(POST api/v2/agents/{agent_id}/publish).
Request Headers:
X-Authorization-Consistency-Token (string, optional): Authorization consistency token for read-after-write consistency. Pass the token received from a previous write operation to ensure this read reflects that write.
Returns:
A Response with the created agent-corpus connection or error message.