

# AgenticContext

Describes an agentic context, including its body.

## Contents
<a name="API_AgenticContext_Contents"></a>

 ** ContextType **   <a name="WorkSpaces-Type-AgenticContext-ContextType"></a>
The type of the context. Valid values:  
+  `STEERING` – Guidance that shapes how the agent behaves.
+  `SKILL` – A reusable capability that the agent can use.
+  `WORKFLOW` – A multi-step procedure that the agent follows.
Type: String  
Valid Values: `STEERING | SKILL | WORKFLOW`   
Required: Yes

 ** CreatedAt **   <a name="WorkSpaces-Type-AgenticContext-CreatedAt"></a>
The time when the context was created.  
Type: Timestamp  
Required: Yes

 ** Id **   <a name="WorkSpaces-Type-AgenticContext-Id"></a>
The identifier of the context.  
Type: String  
Length Constraints: Minimum length of 15. Maximum length of 64.  
Pattern: `^wsactx-[0-9a-z]{8,57}$`   
Required: Yes

 ** Name **   <a name="WorkSpaces-Type-AgenticContext-Name"></a>
The name of the context.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** TargetFilePath **   <a name="WorkSpaces-Type-AgenticContext-TargetFilePath"></a>
The name of the Markdown file that the context is written to on the WorkSpace, for example `code-review.md`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `^(?!\.\.?$)[A-Za-z0-9._-]+$`   
Required: Yes

 ** UpdatedAt **   <a name="WorkSpaces-Type-AgenticContext-UpdatedAt"></a>
The time when the context was last updated.  
Type: Timestamp  
Required: Yes

 ** ContextBody **   <a name="WorkSpaces-Type-AgenticContext-ContextBody"></a>
The Markdown content of the context.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1048576.  
Required: No

 ** ContextBodySizeBytes **   <a name="WorkSpaces-Type-AgenticContext-ContextBodySizeBytes"></a>
The size of the context body, in UTF-8 bytes.  
Type: Integer  
Valid Range: Minimum value of 1.  
Required: No

 ** Description **   <a name="WorkSpaces-Type-AgenticContext-Description"></a>
The description of the context.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 255.  
Required: No

## See Also
<a name="API_AgenticContext_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/workspaces-2015-04-08/AgenticContext) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/workspaces-2015-04-08/AgenticContext) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/workspaces-2015-04-08/AgenticContext) 