Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5069f8f
feat: add agents.conversations.* code channel methods
zimeg Sep 23, 2026
a9f095b
docs: trim scope + channel notes from agents.conversations.* javadoc
zimeg Sep 23, 2026
8ab3843
chore(web-api): commit regenerated rate_limit_tiers for agents.conver…
zimeg Sep 25, 2026
3bc9336
refactor(methods): address review on agents.conversations
zimeg Sep 25, 2026
22357d2
test(methods): make agents.conversations remote test a full lifecycle
zimeg Sep 25, 2026
de2b06a
test(methods): clean up the agents.conversations remote canvas + asserts
zimeg Sep 25, 2026
e14612e
feat(methods): model agents.conversations response fields from live c…
zimeg Sep 25, 2026
44fa563
test(methods): remove the agents.conversations view by its returned v…
zimeg Sep 25, 2026
643a88c
test(methods): exercise agents.conversations views with an HTML view
zimeg Sep 25, 2026
878f12c
refactor(methods): order agents.conversations before agents.sessions
zimeg Sep 25, 2026
9d6eff1
refactor(methods): drop class javadoc from agents.conversations respo…
zimeg Sep 25, 2026
0310ebf
refactor(methods): trim agents.conversations request class javadoc to…
zimeg Sep 25, 2026
2c62833
docs(methods): align agents.conversations request field docs with doc…
zimeg Sep 25, 2026
43efb59
feat(methods): add typed args for agents.conversations complex fields
zimeg Sep 25, 2026
d42ca35
refactor(methods): drop title/status from agents.conversations.setPro…
zimeg Sep 29, 2026
abeb9b4
test(methods): use Arrays.asList for JDK 8 compatibility
zimeg Sep 29, 2026
2a13114
fix(methods): trim listViews View to the fields the API returns
zimeg Sep 29, 2026
360fded
test: record getCanvas comments as captured instead of a file comment…
zimeg Sep 29, 2026
7ba4762
fix(methods): drop *AsString twins from agents.conversations complex …
zimeg Sep 29, 2026
5717c42
fix: address review on agents.conversations methods
zimeg Sep 29, 2026
a3988df
docs: match agents.conversations argument descriptions to the reference
zimeg Sep 29, 2026
4fd812e
feat: add should_escape to agents.conversations.setCommands commands
zimeg Sep 29, 2026
958da6e
feat: add the code_channel repository properties to agents.conversati…
zimeg Sep 30, 2026
32157e2
test: set every code channel property in the agents.conversations rem…
zimeg Sep 30, 2026
f15bc87
Revert "test: set every code channel property in the agents.conversat…
zimeg Sep 30, 2026
c325b6c
Revert "feat: add the code_channel repository properties to agents.co…
zimeg Sep 30, 2026
7ac65f1
test: record getCanvas comments from an existing canvas with comments
zimeg Sep 30, 2026
36f1262
test: cover agents.conversations methods with the mock server
zimeg Sep 30, 2026
8a648ff
feat(models): add record_channel, code_channel, and agent_session con…
zimeg Sep 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions json-logs/samples/api/agents.conversations.archive.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ok": false,
"error": "",
"warning": "",
"needed": "",
"provided": ""
}
8 changes: 8 additions & 0 deletions json-logs/samples/api/agents.conversations.create.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"ok": false,
"channel_id": "C00000000",
"warning": "",
"error": "",
"needed": "",
"provided": ""
}
29 changes: 29 additions & 0 deletions json-logs/samples/api/agents.conversations.getCanvas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"ok": false,
"canvas_id": "F00000000",
"title": "",
"content": "",
"comments": [
{
"id": "",
"ts": "",
"user_id": "",
"text": "",
"quoted_text": "",
"is_resolved": false,
"replies": [
{
"ts": "",
"user_id": "",
"text": ""
}
],
"has_more_replies": false
}
],
"has_more_comments": false,
"warning": "",
"error": "",
"needed": "",
"provided": ""
}
17 changes: 17 additions & 0 deletions json-logs/samples/api/agents.conversations.listViews.json

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📚 note: Aligning with docs soon but right now this seems right

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Agreed. This sample matches what the API returns today, and we can follow up if the docs land on a different shape.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"ok": false,
"error": "",
"warning": "",
"needed": "",
"provided": "",
"views": [
{
"view_id": "",
"view_key": "",
"file_id": "F00000000",
"label": "",
"content_version": 12345,
"date_added": 12345
}
]
}
9 changes: 9 additions & 0 deletions json-logs/samples/api/agents.conversations.removeView.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"ok": false,
"error": "",
"warning": "",
"needed": "",
"provided": "",
"channel_id": "C00000000",
"view_id": ""
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"ok": false,
"error": "",
"warning": "",
"needed": "",
"provided": "",
"canvas_id": "F00000000",
"sections_changed_count": 12345
}
9 changes: 9 additions & 0 deletions json-logs/samples/api/agents.conversations.setCommands.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"ok": false,
"error": "",
"warning": "",
"needed": "",
"provided": "",
"channel_id": "C00000000",
"command_count": 12345
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"ok": false,
"error": "",
"warning": "",
"needed": "",
"provided": "",
"channel_id": "C00000000"
}
13 changes: 13 additions & 0 deletions json-logs/samples/api/agents.conversations.setView.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"ok": false,
"error": "",
"warning": "",
"needed": "",
"provided": "",
"channel_id": "C00000000",
"view_id": "",
"file_id": "F00000000",
"content_version": 12345,
"type": "",
"canvas_id": "F00000000"
}
36 changes: 34 additions & 2 deletions json-logs/samples/api/conversations.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,40 @@
"type": ""
}
],
"has_slack_connect_invite_created": false
}
"has_slack_connect_invite_created": false,
"record_channel": {
"record_id": "",
"record_type": "",
"record_label": "",
"record_label_plural": ""
},
"code_channel": {
"context_bar_items": [
{
"key": "",
"label": "",
"icon": "",
"url": "https://www.example.com/",
"bot_user_id": "U00000000"
}
]
},
"agent_session": {
"status": "",
"agent_bot_user_ids": [
""
],
"encoded_agent_bot_user_ids": [
"U00000000"
],
"title": "",
"origin_link": {
"channel_id": "C00000000",
"ts": "0000000000.000000"
}
}
},
"is_open": false
},
"error": "",
"needed": "",
Expand Down
9 changes: 9 additions & 0 deletions metadata/web-api/rate_limit_tiers.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@
"admin.workflows.permissions.lookup": "Tier2",
"admin.workflows.search": "Tier2",
"admin.workflows.unpublish": "Tier2",
"agents.conversations.archive": "Tier2",
"agents.conversations.create": "Tier2",
"agents.conversations.getCanvas": "Tier3",
"agents.conversations.listViews": "Tier3",
"agents.conversations.removeView": "Tier3",
"agents.conversations.setCanvasContent": "Tier3",
"agents.conversations.setCommands": "Tier1",
"agents.conversations.setProperties": "Tier3",
"agents.conversations.setView": "Tier3",
"agents.sessions.rename": "Tier3",
"agents.sessions.setStatus": "Tier3",
"api.test": "Tier4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@
import com.slack.api.methods.request.admin.users.*;
import com.slack.api.methods.request.admin.users.unsupported_versions.AdminUsersUnsupportedVersionsExportRequest;
import com.slack.api.methods.request.admin.workflows.*;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsArchiveRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsCreateRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsGetCanvasRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsListViewsRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsRemoveViewRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsSetCanvasContentRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsSetCommandsRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsSetPropertiesRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsSetViewRequest;
import com.slack.api.methods.request.agents.sessions.AgentsSessionsRenameRequest;
import com.slack.api.methods.request.agents.sessions.AgentsSessionsSetStatusRequest;
import com.slack.api.methods.request.api.ApiTestRequest;
Expand Down Expand Up @@ -180,6 +189,15 @@
import com.slack.api.methods.response.admin.users.*;
import com.slack.api.methods.response.admin.users.unsupported_versions.AdminUsersUnsupportedVersionsExportResponse;
import com.slack.api.methods.response.admin.workflows.*;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsArchiveResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsCreateResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsGetCanvasResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsListViewsResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsRemoveViewResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsSetCanvasContentResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsSetCommandsResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsSetPropertiesResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsSetViewResponse;
import com.slack.api.methods.response.agents.sessions.AgentsSessionsRenameResponse;
import com.slack.api.methods.response.agents.sessions.AgentsSessionsSetStatusResponse;
import com.slack.api.methods.response.api.ApiTestResponse;
Expand Down Expand Up @@ -800,6 +818,46 @@ CompletableFuture<AdminConversationsWhitelistListGroupsLinkedToChannelResponse>

CompletableFuture<AdminWorkflowsUnpublishResponse> adminWorkflowsUnpublish(RequestConfigurator<AdminWorkflowsUnpublishRequest.AdminWorkflowsUnpublishRequestBuilder> req);

// ------------------------------
// agents.conversations
// ------------------------------

CompletableFuture<AgentsConversationsArchiveResponse> agentsConversationsArchive(AgentsConversationsArchiveRequest req);

CompletableFuture<AgentsConversationsArchiveResponse> agentsConversationsArchive(RequestConfigurator<AgentsConversationsArchiveRequest.AgentsConversationsArchiveRequestBuilder> req);

CompletableFuture<AgentsConversationsCreateResponse> agentsConversationsCreate(AgentsConversationsCreateRequest req);

CompletableFuture<AgentsConversationsCreateResponse> agentsConversationsCreate(RequestConfigurator<AgentsConversationsCreateRequest.AgentsConversationsCreateRequestBuilder> req);

CompletableFuture<AgentsConversationsGetCanvasResponse> agentsConversationsGetCanvas(AgentsConversationsGetCanvasRequest req);

CompletableFuture<AgentsConversationsGetCanvasResponse> agentsConversationsGetCanvas(RequestConfigurator<AgentsConversationsGetCanvasRequest.AgentsConversationsGetCanvasRequestBuilder> req);

CompletableFuture<AgentsConversationsListViewsResponse> agentsConversationsListViews(AgentsConversationsListViewsRequest req);

CompletableFuture<AgentsConversationsListViewsResponse> agentsConversationsListViews(RequestConfigurator<AgentsConversationsListViewsRequest.AgentsConversationsListViewsRequestBuilder> req);

CompletableFuture<AgentsConversationsRemoveViewResponse> agentsConversationsRemoveView(AgentsConversationsRemoveViewRequest req);

CompletableFuture<AgentsConversationsRemoveViewResponse> agentsConversationsRemoveView(RequestConfigurator<AgentsConversationsRemoveViewRequest.AgentsConversationsRemoveViewRequestBuilder> req);

CompletableFuture<AgentsConversationsSetCanvasContentResponse> agentsConversationsSetCanvasContent(AgentsConversationsSetCanvasContentRequest req);

CompletableFuture<AgentsConversationsSetCanvasContentResponse> agentsConversationsSetCanvasContent(RequestConfigurator<AgentsConversationsSetCanvasContentRequest.AgentsConversationsSetCanvasContentRequestBuilder> req);

CompletableFuture<AgentsConversationsSetCommandsResponse> agentsConversationsSetCommands(AgentsConversationsSetCommandsRequest req);

CompletableFuture<AgentsConversationsSetCommandsResponse> agentsConversationsSetCommands(RequestConfigurator<AgentsConversationsSetCommandsRequest.AgentsConversationsSetCommandsRequestBuilder> req);

CompletableFuture<AgentsConversationsSetPropertiesResponse> agentsConversationsSetProperties(AgentsConversationsSetPropertiesRequest req);

CompletableFuture<AgentsConversationsSetPropertiesResponse> agentsConversationsSetProperties(RequestConfigurator<AgentsConversationsSetPropertiesRequest.AgentsConversationsSetPropertiesRequestBuilder> req);

CompletableFuture<AgentsConversationsSetViewResponse> agentsConversationsSetView(AgentsConversationsSetViewRequest req);

CompletableFuture<AgentsConversationsSetViewResponse> agentsConversationsSetView(RequestConfigurator<AgentsConversationsSetViewRequest.AgentsConversationsSetViewRequestBuilder> req);

// ------------------------------
// agents.sessions
// ------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,20 @@ private Methods() {
public static final String ADMIN_WORKFLOWS_SEARCH = "admin.workflows.search";
public static final String ADMIN_WORKFLOWS_UNPUBLISH = "admin.workflows.unpublish";

// ------------------------------
// agents.conversations
// ------------------------------

public static final String AGENTS_CONVERSATIONS_ARCHIVE = "agents.conversations.archive";
public static final String AGENTS_CONVERSATIONS_CREATE = "agents.conversations.create";
public static final String AGENTS_CONVERSATIONS_GET_CANVAS = "agents.conversations.getCanvas";
public static final String AGENTS_CONVERSATIONS_LIST_VIEWS = "agents.conversations.listViews";
public static final String AGENTS_CONVERSATIONS_REMOVE_VIEW = "agents.conversations.removeView";
public static final String AGENTS_CONVERSATIONS_SET_CANVAS_CONTENT = "agents.conversations.setCanvasContent";
public static final String AGENTS_CONVERSATIONS_SET_COMMANDS = "agents.conversations.setCommands";
public static final String AGENTS_CONVERSATIONS_SET_PROPERTIES = "agents.conversations.setProperties";
public static final String AGENTS_CONVERSATIONS_SET_VIEW = "agents.conversations.setView";

// ------------------------------
// agents.sessions
// ------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@
import com.slack.api.methods.request.admin.users.*;
import com.slack.api.methods.request.admin.users.unsupported_versions.AdminUsersUnsupportedVersionsExportRequest;
import com.slack.api.methods.request.admin.workflows.*;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsArchiveRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsCreateRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsGetCanvasRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsListViewsRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsRemoveViewRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsSetCanvasContentRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsSetCommandsRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsSetPropertiesRequest;
import com.slack.api.methods.request.agents.conversations.AgentsConversationsSetViewRequest;
import com.slack.api.methods.request.agents.sessions.AgentsSessionsRenameRequest;
import com.slack.api.methods.request.agents.sessions.AgentsSessionsSetStatusRequest;
import com.slack.api.methods.request.api.ApiTestRequest;
Expand Down Expand Up @@ -193,6 +202,15 @@
import com.slack.api.methods.response.admin.users.*;
import com.slack.api.methods.response.admin.users.unsupported_versions.AdminUsersUnsupportedVersionsExportResponse;
import com.slack.api.methods.response.admin.workflows.*;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsArchiveResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsCreateResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsGetCanvasResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsListViewsResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsRemoveViewResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsSetCanvasContentResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsSetCommandsResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsSetPropertiesResponse;
import com.slack.api.methods.response.agents.conversations.AgentsConversationsSetViewResponse;
import com.slack.api.methods.response.agents.sessions.AgentsSessionsRenameResponse;
import com.slack.api.methods.response.agents.sessions.AgentsSessionsSetStatusResponse;
import com.slack.api.methods.response.api.ApiTestResponse;
Expand Down Expand Up @@ -1137,6 +1155,73 @@ AdminWorkflowsUnpublishResponse adminWorkflowsUnpublish(
RequestConfigurator<AdminWorkflowsUnpublishRequest.AdminWorkflowsUnpublishRequestBuilder> req)
throws IOException, SlackApiException;

// ------------------------------
// agents.conversations
// ------------------------------

AgentsConversationsArchiveResponse agentsConversationsArchive(AgentsConversationsArchiveRequest req)
throws IOException, SlackApiException;

AgentsConversationsArchiveResponse agentsConversationsArchive(
RequestConfigurator<AgentsConversationsArchiveRequest.AgentsConversationsArchiveRequestBuilder> req)
throws IOException, SlackApiException;

AgentsConversationsCreateResponse agentsConversationsCreate(AgentsConversationsCreateRequest req)
throws IOException, SlackApiException;

AgentsConversationsCreateResponse agentsConversationsCreate(
RequestConfigurator<AgentsConversationsCreateRequest.AgentsConversationsCreateRequestBuilder> req)
throws IOException, SlackApiException;

AgentsConversationsGetCanvasResponse agentsConversationsGetCanvas(AgentsConversationsGetCanvasRequest req)
throws IOException, SlackApiException;

AgentsConversationsGetCanvasResponse agentsConversationsGetCanvas(
RequestConfigurator<AgentsConversationsGetCanvasRequest.AgentsConversationsGetCanvasRequestBuilder> req)
throws IOException, SlackApiException;

AgentsConversationsListViewsResponse agentsConversationsListViews(AgentsConversationsListViewsRequest req)
throws IOException, SlackApiException;

AgentsConversationsListViewsResponse agentsConversationsListViews(
RequestConfigurator<AgentsConversationsListViewsRequest.AgentsConversationsListViewsRequestBuilder> req)
throws IOException, SlackApiException;

AgentsConversationsRemoveViewResponse agentsConversationsRemoveView(AgentsConversationsRemoveViewRequest req)
throws IOException, SlackApiException;

AgentsConversationsRemoveViewResponse agentsConversationsRemoveView(
RequestConfigurator<AgentsConversationsRemoveViewRequest.AgentsConversationsRemoveViewRequestBuilder> req)
throws IOException, SlackApiException;

AgentsConversationsSetCanvasContentResponse agentsConversationsSetCanvasContent(AgentsConversationsSetCanvasContentRequest req)
throws IOException, SlackApiException;

AgentsConversationsSetCanvasContentResponse agentsConversationsSetCanvasContent(
RequestConfigurator<AgentsConversationsSetCanvasContentRequest.AgentsConversationsSetCanvasContentRequestBuilder> req)
throws IOException, SlackApiException;

AgentsConversationsSetCommandsResponse agentsConversationsSetCommands(AgentsConversationsSetCommandsRequest req)
throws IOException, SlackApiException;

AgentsConversationsSetCommandsResponse agentsConversationsSetCommands(
RequestConfigurator<AgentsConversationsSetCommandsRequest.AgentsConversationsSetCommandsRequestBuilder> req)
throws IOException, SlackApiException;

AgentsConversationsSetPropertiesResponse agentsConversationsSetProperties(AgentsConversationsSetPropertiesRequest req)
throws IOException, SlackApiException;

AgentsConversationsSetPropertiesResponse agentsConversationsSetProperties(
RequestConfigurator<AgentsConversationsSetPropertiesRequest.AgentsConversationsSetPropertiesRequestBuilder> req)
throws IOException, SlackApiException;

AgentsConversationsSetViewResponse agentsConversationsSetView(AgentsConversationsSetViewRequest req)
throws IOException, SlackApiException;

AgentsConversationsSetViewResponse agentsConversationsSetView(
RequestConfigurator<AgentsConversationsSetViewRequest.AgentsConversationsSetViewRequestBuilder> req)
throws IOException, SlackApiException;

// ------------------------------
// agents.sessions
// ------------------------------
Expand Down
Loading
Loading