2023-12-07 17:57:20 +00:00
[@actions/artifact ](../README.md ) / UploadArtifactResponse
# Interface: UploadArtifactResponse
Response from the server when an artifact is uploaded
## Table of contents
### Properties
2024-12-17 18:05:45 +00:00
- [digest ](UploadArtifactResponse.md#digest )
2023-12-07 17:57:20 +00:00
- [id ](UploadArtifactResponse.md#id )
- [size ](UploadArtifactResponse.md#size )
## Properties
2024-12-17 18:05:45 +00:00
### digest
• `Optional` **digest** : `string`
The SHA256 digest of the artifact that was created. Not provided if no artifact was uploaded
#### Defined in
[src/internal/shared/interfaces.ts:19 ](https://github.com/actions/toolkit/blob/f522fdf/packages/artifact/src/internal/shared/interfaces.ts#L19 )
___
2023-12-07 17:57:20 +00:00
### id
• `Optional` **id** : `number`
The id of the artifact that was created. Not provided if no artifact was uploaded
This ID can be used as input to other APIs to download, delete or get more information about an artifact: https://docs.github.com/en/rest/actions/artifacts
#### Defined in
2024-12-17 18:05:45 +00:00
[src/internal/shared/interfaces.ts:14 ](https://github.com/actions/toolkit/blob/f522fdf/packages/artifact/src/internal/shared/interfaces.ts#L14 )
2023-12-07 17:57:20 +00:00
___
### size
• `Optional` **size** : `number`
Total size of the artifact in bytes. Not provided if no artifact was uploaded
#### Defined in
2024-12-17 18:05:45 +00:00
[src/internal/shared/interfaces.ts:8 ](https://github.com/actions/toolkit/blob/f522fdf/packages/artifact/src/internal/shared/interfaces.ts#L8 )