Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
manovotny
reviewed
Mar 5, 2026
| ## Parameters | ||
|
|
||
| <Properties> | ||
| - `agentTaskId` |
Contributor
There was a problem hiding this comment.
This is documented correctly, but calling out that create() uses taskID and revoke() uses agentTaskId. It'd probably be better if they were consistently named the same.
Member
Author
There was a problem hiding this comment.
@manovotny Good call-out. I've introduced backend changes (not live yet), to add agent_task_id and deprecate task_id.
| ### Agent tasks | ||
|
|
||
| The **Agent Task** resource allows you to create agent tasks that generate URLs for creating sessions on behalf of users. This is useful for automated testing or agent-driven flows where full authentication isn't practical. The `create()` operation returns an `AgentTask` object containing a `url` that, when visited, creates a session for the specified user. | ||
|
|
Contributor
There was a problem hiding this comment.
I agree this makes the most sense in the Testing section of the docs, but I wonder if it's worth adding a similar section like this to the AI Overview page too.
Thoughts @brkalow?
Co-authored-by: Michael Novotny <manovotny@gmail.com>
Co-authored-by: Michael Novotny <manovotny@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔎 Previews:
What does this solve? What changed?
Deadline
Other resources